K6 send more request/sec then given during execution time

Hi Team,

I am using constant-arrival-rate

I observed during testing that k6 send more request/sec then given during execution time
e.g. I ran test with 20 req/sec for 10 seconds duration
I logged the time for each request, response.
After test completed, I observed for one of the second out of10 second, k6 sends 26 req/sec instead of sending 20 req/sec
I didn’t cross check for rest 9 seconds.

How this is possible, any reason for this, any docs or links to refer ?

Does k6 wait for response time before sending next request ?

Hey @shailendrakumaromkar,
what is your scenario configuration?

What you are looking for should be explained here: Open and closed models | Grafana k6 documentation.

Let me know if it helps.

1 Like