Load Testing · Middle · Question 11 of 76

What does this threshold do?

thresholds: {
  http_req_failed: [{ threshold: 'rate<0.01', abortOnFail: true, delayAbortEval: '30s' }],
}
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.

Further reading

Problem with a question

Load Testing · Middle · question 11

Test yourself

Take the Load Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz