Lucas
April 15, 2021, 9:13am
1
Anyone have any answer to the below?
I have run the script using 1VU and 1 Iteration.
In http_req_duration, how come the avg, min, med, max, p(90) and p(95) are all different?
I have attached the screen capture below.
Many thanks and appreciate for the help and advise.
Lucas
April 15, 2021, 9:38am
2
I found out the reason.
If I prepare the data in
export function setup()
and uses k6 http.post; the duration will includes what is in setup().
Since it is in setup , I do not understand why k6 want to include the stats as output?
Is there anyway or any settings I could do to avoid this?
Thanks.
Lucas
April 19, 2021, 1:54am
3
Hi Guys,
Anyone have any idea on how to prevent those post/get in the setup() method not to output as metrics?
Thanks for the help.
Lucas
April 21, 2021, 1:53am
5
@ned Thank you so much for your advise.
Hope that k6 Team will implement this soonest in the next release.
Cheers.