Load Testing · Junior · Question 17 of 75
What load does this k6 configuration create?
export const options = {
vus: 10,
duration: '30s',
};- 110 requests in total, spread evenly over 30 seconds
- 210 virtual users running the script in a loop for 30 seconds
- 330 virtual users, each running the script 10 times
Show the answer
Correct answer: 10 virtual users running the script in a loop for 30 seconds
Explanation
vus sets the number of concurrent virtual users and duration how long they keep iterating. The total number of requests depends on how fast each iteration runs.