Week of Testing Day 3: Installing k6 and running a load test

Week of Testing Day 3: Installing k6 and running a load test

k6
Dec 14, 2020

How do you get started with the k6 open-source load testing tool? Here's a step-by-step walkthrough of installing k6 and running your very first load test. Timestamps below!

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.

1:06 Installing k6
3:22 Why adding assertions or checks in your script is so important
4:15 How to add checks in k6
11:22 Scripting an HTTP POST request in k6
11:39 Using Chrome Developer Tools to see requests on the protocol level

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