{"schemaVersion":1,"id":"k6","name":"k6","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/k6/","officialUrl":"https://github.com/grafana/k6","isCatalog":false,"description":"A load-testing tool with scripts and metrics: it helps model API load and check performance thresholds in CI.","tasks":["Test API performance under load","Define load and performance thresholds, then run a test in a test environment"],"categoryIds":["quality"],"subcategoryIds":["quality.testing"],"tags":["k6","test","Development"],"aliases":["grafana/k6","load-test-k6","grafana-k6","k6-load-testing"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under AGPL-3.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network.","selectionGuide":{"purpose":"Test API performance under load","chooseWhen":["Test API performance under load","Define load and performance thresholds, then run a test in a test environment"],"considerInstead":[],"requirements":["Group a metric's conditions in a thresholds array rather than repeating the property name in a JavaScript object."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network.","Duplicate thresholds keys can silently override an earlier condition and lose some pass criteria."],"faq":[{"question":"What can you use for free in k6?","answer":"Code and local use under AGPL-3.0."},{"question":"What additional costs might arise with k6?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for k6?","answer":"AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network."},{"question":"How do you get started with k6?","answer":"Define a user HTTP scenario and input dataset. Define load and performance thresholds, then run a test in a test environment. Run the check locally and save the report in CI."},{"question":"How does k6 check multiple thresholds for one metric?","answer":"Set an array of expressions under one metric name, such as limits for different percentiles. The documentation warns against duplicate keys: JavaScript retains the last entry. A breached threshold makes the test exit with a nonzero code."}],"related":[],"sources":["https://github.com/grafana/k6","https://raw.githubusercontent.com/grafana/k6/HEAD/README.md","https://raw.githubusercontent.com/grafana/k6/HEAD/LICENSE.md","https://www.open-source-tools.com/","https://raw.githubusercontent.com/grafana/k6/master/README.md","https://raw.githubusercontent.com/grafana/k6/master/LICENSE.md","https://grafana.com/docs/k6/latest/using-k6/thresholds/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Test API performance under load.","inputs":["One important workflow and its expected result.","A test environment with controlled data."],"steps":["Define a user HTTP scenario and input dataset.","Define load and performance thresholds, then run a test in a test environment.","Run the check locally and save the report in CI."],"checks":["The check detects a deliberately broken workflow.","The result can be reproduced without depending on a personal session."]},"sources":["https://github.com/grafana/k6","https://raw.githubusercontent.com/grafana/k6/HEAD/README.md","https://raw.githubusercontent.com/grafana/k6/HEAD/LICENSE.md","https://www.open-source-tools.com/","https://raw.githubusercontent.com/grafana/k6/master/README.md","https://raw.githubusercontent.com/grafana/k6/master/LICENSE.md","https://grafana.com/docs/k6/latest/using-k6/thresholds/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Test automation","kind":"tool","pricingNote":"Code and local use under AGPL-3.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/grafana/k6","label":"Official source"},{"url":"https://raw.githubusercontent.com/grafana/k6/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/grafana/k6/HEAD/LICENSE.md","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/grafana/k6/master/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/grafana/k6/master/LICENSE.md","label":"Official source"},{"url":"https://grafana.com/docs/k6/latest/using-k6/thresholds/","label":"Official source"}],"licenseGuides":[{"id":"agpl-3","title":"AGPL 3.0 — copyleft with a network-service condition","scope":null,"summary":"Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.","url":"https://opensource.org/license/agpl-3.0"}],"entryIds":[],"composition":null}