grafana / k6-docs

The k6 documentation website.
https://grafana.com/docs/k6/latest/
87 stars 220 forks source link

Update cloud.md - fix bash commands to login cloud k6 and run cloud test #1708

Closed sparshrestha closed 2 months ago

sparshrestha commented 2 months ago

k6 cloud run script.js and k6 cloud login --token <YOUR_API_TOKEN> are incorrect bash commands.

What?

  1. The correct command is k6 cloud script.js excluding the arg run

  2. The correct command is k6 cloud login --token <YOUR_API_TOKEN> replacing places of 2 args: login preceding cloud

Checklist

heitortsergent commented 2 months ago

Hi @sparshrestha, thanks for opening a PR! The k6 cloud commands have been updated in the v0.53 release, you can see more details in the release notes.

Are you having trouble using the new commands, or are you using an older release of k6 by any chance?