What problem does it solve?
k6 performance and load testing helps you measure system behavior under real traffic so you can catch slow responses, rising error rates, and bottlenecks before production.
Core Features & Use Cases
- Test scripts (JavaScript/TypeScript): Build repeatable load tests that simulate real user workflows using HTTP, WebSocket, and even browser-based scenarios.
- Quality gates (checks & thresholds): Define pass/fail criteria like latency percentiles and error-rate limits to prevent regressions.
- Scenarios & executors: Choose the right load shape (smoke, load, stress, spike, soak, breakpoint) to validate reliability and capacity.
- CI/CD and k6 Cloud: Run tests locally or stream results to Grafana Cloud k6 for team visibility and automation.
Key example use case
Prove that observability signals correlate with system behavior by designing a k6 scenario that increases load and then validating latency, failure rate, and custom metrics across the test window.
Quick Start
Tell me to create a k6 script that ramps from 0 to 100 virtual users, checks that status is 200, and fails the run if p(95) latency exceeds 800ms.