Load Testing · Junior · Question 18 of 75

What does this stages setting describe?

export const options = {
  stages: [
    { duration: '2m', target: 100 },
    { duration: '5m', target: 100 },
    { duration: '1m', target: 0 },
  ],
};
Show the answer

Correct answer: Ramp up to 100 VUs, hold for 5 minutes, then ramp down

Explanation

Each stage moves the VU count linearly to target over duration. This is the classic ramp-up, steady state and ramp-down shape.

Further reading

Problem with a question

Load Testing · Junior · question 18

Test yourself

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

Take this quiz