K6 was initially released by LoadImpact56 in 2017. LoadImpact was later rebranded into k6 in 2020.7 K6 was then acquired by Grafana Labs in 2021.8 It has since become a popular tool for performance testing in the developer community.9
The below script executes a GET request on the Wikipedia homepage, checks whether the HTTP status code is 200 and if we are using the HTTP/2 protocol.10
The above test case can be run with the command $ k6 run http_2.js where http_2.js is the filename in which the test case is saved in.
"Grafana k6 | Grafana k6 documentation". Grafana Labs. Retrieved 2024-10-07. https://grafana.com/docs/k6/latest/ ↩
"Load testing for engineering teams | Grafana k6". k6.io. Retrieved 2024-10-07. https://k6.io ↩
"Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs". GitHub. Retrieved 2024-10-07. https://github.com/grafana/k6-docs/issues/104#issuecomment-341728583 ↩
grafana/xk6, Grafana Labs, 2024-10-04, retrieved 2024-10-07 https://github.com/grafana/xk6 ↩
"An... other load testing tool?". k6.io. Retrieved 2024-10-07. https://k6.io/blog/another-load-testing-tool/ ↩
"Load Impact is now k6". loadimpact.com. Retrieved 2024-10-07. https://loadimpact.com/ ↩
"LoadImpact is rebranding to k6". k6.io. Retrieved 2024-10-07. https://k6.io/blog/load-impact-rebranding-to-k6/ ↩
Wiggers, Kyle (2021-06-17). "Grafana Labs acquires load-testing startup K6". VentureBeat. Retrieved 2024-10-07. https://venturebeat.com/business/grafana-labs-acquires-load-testing-startup-k6/ ↩
"Testing Tools - Ranking | OSS Insight". ossinsight.io. Retrieved 2024-10-07. https://ossinsight.io/collections/testing-tools/ ↩