Hello Guys, sorry for basic very basic question just started with K6 .....which metric generally you consider for response times iteration_duration or http_req_duration?

Please, let me know which is exact, in my script i have added sleep(1), will it effect any results?

Hi @arun2205, welcome to the forum.

Regardless of the sleep(1) - it is the http_req_duration. If you are just doing one request and nothing else in each iteration they might be very close, but again it is the http_req_duration that measures the request … duration :smiley:

The iteration_duration is how long the execution of the default (or if configured the exec) function takes.

I hope this clears it

@mstoykov Thanks for clarification.