Load Testing · Junior · Question 55 of 75

Why add tags to k6 requests?

Show the answer

Correct answer: To filter metrics and set thresholds per request type

Explanation

Tags such as name or custom ones let you see p95 for /search separately from /login, and define thresholds like http_req_duration{name:search}.

Further reading

Problem with a question

Load Testing · Junior · question 55

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