Load Testing · Junior · Question 54 of 75

What does group() do in k6?

Show the answer

Correct answer: Groups requests under a name so the summary shows them together

Explanation

Groups organize a script into steps like "login" or "checkout". k6 reports a group_duration metric per group.

Further reading

Problem with a question

Load Testing · Junior · question 54

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