K6 Shared-Iteration Scenario Issue

Hello,

I have a scenario where I have 5 iterations shared across 5 VUs.
In each iteration we send 260 requests. So, at the end of test we should see total 1300 requests sent.

But, I see that the number of requests sent are always less than 1300, that is, sometimes I see 10000 requests sent, or sometimes 11000. The number is random & each time we see different number of requests sent. But, always less than the desired number of requests.

I don’t see from the execution log that any request is dropped or any other error. It just doesn’t produce required number of requests.

Any idea why it could be happening?

Thank you!!

Hey,

It would be helpful if you could share an extract from the script to give us a better idea of exactly how you’re trying to execute the above. It could also help you to add some console.log() lines to help you see where requests are being dropped.

Cheers

Hello,

I found the cause for requests drop.
It was due to maxDuration property. It was by default set to 10 mins.
So setting that property to higher value resolved the issue.

Thank you!!