Glossary
What we talk about when we talk about k6. In discussion about k6, some terms have a precise, technical meaning. If a certain term in these docs confuses you, consult this list for a definition.Application performance monitoring
(Or APM). The practice of monitoring the performance, availability, and reliability of a system.Checks
Checks are true/false conditions that evaluate the content of some value in the JavaScript runtime. Learn more about checksConcurrent sessions
The number of simultaneous VU requests in a test run.Data correlation
The process of taking dynamic data received from the system under test and reusing the data in a subsequent request. Learn more about correlationData parameterization
The process of turning test values into reusable parameters, e.g. through variables and shared arrays.Dynamic data
Data that might change or will change during test runs or across test runs. Common examples are order IDs, session tokens, or timestamps.Environment variables
User-definable values which may be utilized by the operating system and other programs. Learn more about environment variablesExecution segment
A partition, or fractional portion, of an overall test run.Sobek
A JavaScript engine written in Go. k6 binaries are embedded with Sobek, enabling test scripting in JavaScript. Sobek is a fork of goja. Sobek repositoryGraceful stop
A period that lets VUs finish an iteration at the end of a load test. Graceful stops prevent abrupt halts in execution.Happy path
The default system behavior that happens when a known input produces an expected output. A common mistake in performance testing happens when scripts account only for the best case (the happy path). Most load tests try to discover system errors, so test scripts should include exception handling.HTTP archive
(Or HAR file). A file containing logs of browser interactions with the system under test. All included transactions are stored as JSON-formatted text. You can use these archives to generate test scripts.Iteration
A single run in the execution of thedefault function, or scenario exec function. You can set iterations across all VUs, or per VU.
Learn more about the test lifecycle
k6 Cloud
The proper name for the entire cloud product, comprising both k6 Cloud Execution and k6 Cloud Test Results. k6 Cloud docsk6 options
Values that configure a k6 test run. You can set options with command-line flags, environment variables, and in the script. Learn more about k6 optionsKubernetes
An open-source system for automating the deployment, scaling, and management of containerized applications.Lifecycle function
A function called in a specific sequence in the k6 runtime. The most important lifecycle function is the default function, which runs the VU code. Learn more about the test lifecycleLoad test
A test that assesses the performance of the system under test in terms of concurrent users or requests per second. Learn more about load testingMetric
A measure of how the system performs during a test run.http_req_duration is an example of a built-in k6 metric. Besides built-ins, you can also create custom metrics.
Learn more about metrics
Metric sample
A single value for a metric in a test run. For example, the value ofhttp_req_duration from a single VU request.