Cache-Control header causes the user-agent to not request the resource and use the cached version until expiration.
Gatling behaves exactly as instructed.
I might want to reconsider your test design and revisit why you’re making the same virtual users loop instead of creating new ones.
I have added duration in Scenario definition because If I remove the duration my test is closing once all the users are done even before reaching the max duration.
For example, I want to run test for 2 hours with 60rps, then what should be the virtual user configuration? Kindly guide to setup the scenario correctly.
In the below Test, Test finished in 1min 30 sec (Approx) even before the max duration(10 mins) reached.
Number of users configured was 100(total)