Types of load tests

test-types

Load test types explained by k6.

Smoke tests

Verify that your system can handle minimal load, without any problems.

Like 1 rps for 1 minute.

Load tests

Assess system performance in terms of concurrent users or requests per second.

If you want to make sure that you can handle 500 rps, you can gradually increase traffic from 0 to 500 rps in 5 minutes, and keep it this way for 10 minutes, for instance. You can do several steps in between. Like 200 rps in 2 minutes, keep for 5 minutes, 400, keep for another 5 minutes, 500, keep for 10 minutes.

Stress and Spike tests

Assess the limits and stability of your system under extreme conditions.

Stress tests

If your service handles 500 rps, you can test it like this

Spike tests

Extreme traffic for an extremely short time.
If your service handles 500 rps, you can test it like this

Soak tests

Assess the reliability and performance of your system over an extended period of time.

If your limit is 500 rps, you can run 400 rps for several hours.

Similar Posts

LEAVE A COMMENT