Load Testing · Junior · Question 22 of 75

Which built-in k6 metric holds the total time of an HTTP request?

Show the answer

Correct answer: http_req_duration

Explanation

http_req_duration is sending + waiting + receiving. http_req_connecting is only the TCP connection, and iteration_duration covers the whole loop of the default function.

Further reading

Problem with a question

Load Testing · Junior · question 22

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