API Testing · Senior · Question 11 of 75
How should a load test define success?
- 1The API doesn't crash completely during the test run
- 2The test finishes within the time slot in the CI
- 3SLO-style thresholds like p95 and error rate at a target load
Show the answer
Correct answer: SLO-style thresholds like p95 and error rate at a target load
Explanation
Thresholds such as p95 < 300 ms, errors < 0.1% at 500 RPS turn a load test into a pass/fail gate.