Skip to main content

Simple GET Request

The most basic k6 test makes a single HTTP GET request:

Load Test with Stages

Use stages (ramping) to control the number of virtual users over time:
The stages configuration creates a realistic load pattern: ramp up, sustain load, then ramp down.

HTTP Methods

k6 supports all standard HTTP methods:

Working with JSON

Sending and parsing JSON data: