Week of Testing Day 4: Streaming results to the cloud and stepped load profiles on k6
Nicole discusses how to stream the results of load tests run locally to the k6 Cloud and how to recreate a stepped load profile using k6, compared to a load testing tool like JMeter.
Note from Nicole: I realized after this video that I was mixing `let` and `var` in this video. They have different implications on scope, and I would recommend you use `let` or `const` in your own scripts. Also, there are other ways to achieve the stepped load profile, but this is one way to do it.
0:57 Setting the project and name to be used for the streamed test run
1:49 Copying k6 Cloud API token and logging in via the CLI
2:30 Running the test and outputting results to the k6 Cloud
2:58 Viewing streamed results on k6 Cloud
4:05 The stepped load profile
6:09 Using the constant-vus executor in a k6 scenario
10:57 Running the stepped load profile test locally
Installation instructions for k6: https://k6.io/docs/getting-started/installation
k6 on GitHub: https://github.com/loadimpact/k6
Scale up your load tests on the k6 Cloud: https://k6.io
k6 on Twitter: @k6_io