K6 (software)
K6 is an open-source load testing tool developed by Grafana Labs. It is designed to help developers and engineers test the performance and reliability of their systems, particularly APIs, microservices, and websites. K6 is both an HTTP load and functional test tool, written in Go and using the goja embedded JavaScript interpreter for test scripting purposes. Tests are written in ECMAScript 6 using the Babel transpiler. There is support for HTTP/2, TLS, test assertions, ramp up and down, duration, number of iterations etc. Standard metrics include reports to standard out but can include collectors that report to time-series databases which can be visualized in real-time. There is a Jenkins plugin that can be combined with thresholds (global pass/fail criteria).
K6 is an open-source load testing tool developed by Grafana Labs. It is designed to help developers and engineers test the performance and reliability of their systems, particularly APIs, microservices, and websites. K6 is both an HTTP load and functional test tool, written in Go and using the goja embedded JavaScript interpreter for test scripting purposes. Tests are written in ECMAScript 6 using the Babel transpiler. There is support for HTTP/2, TLS, test assertions, ramp up and down, duration, number of iterations etc. Standard metrics include reports to standard out but can include collectors that report to time-series databases which can be visualized in real-time. There is a Jenkins plugin that can be combined with thresholds (global pass/fail criteria). 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. import http from "k6/http"; import { check } from "k6"; export default function() { check(http.get("https://www.wikipedia.org/"), { "status is 200": (r) => r.status == 200, "protocol is HTTP/2": (r) => r.proto == "HTTP/2.0", }); } 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.
References
- Grafana k6 | Grafana k6 documentation · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Grafana k6 | Grafana k6 documentation." 2024-10-06. https://grafana.com/docs/k6/latest/. Accessed 24 November 2026.
Chicago "Grafana k6 | Grafana k6 documentation." 2024-10-06. https://grafana.com/docs/k6/latest/.
APA encyclopegia.org. (2024). Grafana k6 | Grafana k6 documentation. Retrieved November 24, 2026, from https://grafana.com/docs/k6/latest/
- Release v2.0.0 · grafana/k6 · retrieved 2026-07-21 · rev 1365388836
Cite this reference
MLA "Release v2.0.0 · grafana/k6." "Release v2. 2026-07-21. https://github.com/grafana/k6/releases/tag/v2.0.0. Accessed 24 November 2026.
Chicago "Release v2.0.0 · grafana/k6." "Release v2. 2026-07-21. https://github.com/grafana/k6/releases/tag/v2.0.0.
APA "Release v2. (2026). Release v2.0.0 · grafana/k6. Retrieved November 24, 2026, from https://github.com/grafana/k6/releases/tag/v2.0.0
- Load testing for engineering teams | Grafana k6 · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Load testing for engineering teams | Grafana k6." 2024-10-06. https://k6.io. Accessed 24 November 2026.
Chicago "Load testing for engineering teams | Grafana k6." 2024-10-06. https://k6.io.
APA encyclopegia.org. (2024). Load testing for engineering teams | Grafana k6. Retrieved November 24, 2026, from https://k6.io
- An... other load testing tool? · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "An... other load testing tool?." "An. 2024-10-06. https://k6.io/blog/another-load-testing-tool/. Accessed 24 November 2026.
Chicago "An... other load testing tool?." "An. 2024-10-06. https://k6.io/blog/another-load-testing-tool/.
APA "An. (2024). An... other load testing tool?. Retrieved November 24, 2026, from https://k6.io/blog/another-load-testing-tool/
- Load Impact is now k6 · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Load Impact is now k6." 2024-10-06. https://loadimpact.com/. Accessed 24 November 2026.
Chicago "Load Impact is now k6." 2024-10-06. https://loadimpact.com/.
APA encyclopegia.org. (2024). Load Impact is now k6. Retrieved November 24, 2026, from https://loadimpact.com/
- LoadImpact is rebranding to k6 · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "LoadImpact is rebranding to k6." 2024-10-06. https://k6.io/blog/load-impact-rebranding-to-k6/. Accessed 24 November 2026.
Chicago "LoadImpact is rebranding to k6." 2024-10-06. https://k6.io/blog/load-impact-rebranding-to-k6/.
APA encyclopegia.org. (2024). LoadImpact is rebranding to k6. Retrieved November 24, 2026, from https://k6.io/blog/load-impact-rebranding-to-k6/
- Grafana Labs acquires load-testing startup K6 · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Grafana Labs acquires load-testing startup K6." Wiggers, Kyle (2021-06-17). 2024-10-06. https://venturebeat.com/business/grafana-labs-acquires-load-testing-startup-k6/. Accessed 24 November 2026.
Chicago "Grafana Labs acquires load-testing startup K6." Wiggers, Kyle (2021-06-17). 2024-10-06. https://venturebeat.com/business/grafana-labs-acquires-load-testing-startup-k6/.
APA Wiggers, Kyle (2021-06-17). (2024). Grafana Labs acquires load-testing startup K6. Retrieved November 24, 2026, from https://venturebeat.com/business/grafana-labs-acquires-load-testing-startup-k6/
- Testing Tools - Ranking | OSS Insight · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Testing Tools - Ranking | OSS Insight." 2024-10-06. https://ossinsight.io/collections/testing-tools/. Accessed 24 November 2026.
Chicago "Testing Tools - Ranking | OSS Insight." 2024-10-06. https://ossinsight.io/collections/testing-tools/.
APA encyclopegia.org. (2024). Testing Tools - Ranking | OSS Insight. Retrieved November 24, 2026, from https://ossinsight.io/collections/testing-tools/
- Reliable, predictable, and scalable performance testing: Grafana k6 1.0 is here · retrieved 2025-10-02 · rev 1365388836
Cite this reference
MLA "Reliable, predictable, and scalable performance testing: Grafana k6 1.0 is here." "Reliable, predictable, and scalable performance testing: Grafana k6 1. 2025-10-02. https://grafana.com/blog/2025/05/07/grafana-k6-1.0-release/. Accessed 24 November 2026.
Chicago "Reliable, predictable, and scalable performance testing: Grafana k6 1.0 is here." "Reliable, predictable, and scalable performance testing: Grafana k6 1. 2025-10-02. https://grafana.com/blog/2025/05/07/grafana-k6-1.0-release/.
APA "Reliable, predictable, and scalable performance testing: Grafana k6 1. (2025). Reliable, predictable, and scalable performance testing: Grafana k6 1.0 is here. Retrieved November 24, 2026, from https://grafana.com/blog/2025/05/07/grafana-k6-1.0-release/
- Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs · retrieved 2024-10-06 · rev 1365388836
Cite this reference
MLA "Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs." a b "Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs". 2024-10-06. https://github.com/grafana/k6-docs/issues/104#issuecomment-341728583. Accessed 24 November 2026.
Chicago "Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs." a b "Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs". 2024-10-06. https://github.com/grafana/k6-docs/issues/104#issuecomment-341728583.
APA a b "Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs". (2024). Create Wikipedia page for K6 · Issue #104 · grafana/k6-docs. Retrieved November 24, 2026, from https://github.com/grafana/k6-docs/issues/104#issuecomment-341728583
Cite this article
MLA
"K6 (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/k6-software. Accessed 24 November 2026.
Chicago
"K6 (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/k6-software.
APA
encyclopegia.org. (2026). K6 (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/k6-software
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON