Load Testing · Junior · Question 55 of 75
Why add tags to k6 requests?
- 1To filter metrics and set thresholds per request type
- 2To make the server respond faster to tagged requests
- 3To skip tagged requests when the load gets too high
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}.