Welcome! This repository is a collection of k6-related things to help me understand what it is and how it works.
Installation docs on k6 found here.
Run k6 with the following command on the CLI:
k6 run script.js
Just as the title mentioned, here is the following command to run a 30 second, 10-VU load test:
k6 run --vus 10 --duration 30s script.js
- [] k6 installed
- [] A clean directory to experiment in.
- [] Something to do during the minute or two when k6 runs the longest example tests
- [] Optional: jq to filter some results
- See tutorials here
- Documentation: https://k6.io/docs/get-started/resources/
- k6 Source Code: https://github.com/grafana/k6
- k6 tutorial: https://k6.io/docs/examples/tutorials/get-started-with-k6/#before-you-start
- k6 tutorial (Testing for Performance): https://k6.io/docs/examples/tutorials/get-started-with-k6/test-for-performance/