A modern load testing tool, using Go and JavaScript

"like unit testing, for performance"

k6 is a modern load testing tool, building on Load Impact's years of experience. It provides a clean, approachable JavaScript scripting API, distributed and cloud execution, and orchestration via a REST API.

Get Started    Guides

The k6 module contains k6-specific functionality.


Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.

Throws an error, failing and aborting the current VU script iteration immediately.

Runs code inside a group. Used to organize results in a test.

Suspends VU execution for the specified duration.


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.