Load Testing · Middle · Question 11 of 76
What does this threshold do?
thresholds: {
http_req_failed: [{ threshold: 'rate<0.01', abortOnFail: true, delayAbortEval: '30s' }],
}- 1Retries the failed requests for 30 seconds before failing the test
- 2Stops the test early if errors exceed 1%, but not in the first 30 s
- 3Ignores all errors that happen in the first 30 seconds of the test
Show the answer
Correct answer: Stops the test early if errors exceed 1%, but not in the first 30 s
Explanation
abortOnFail ends the run as soon as the threshold fails, saving time and protecting the system. delayAbortEval waits so early noise doesn't abort it.