One might want to flush the whole HTTP cache (for the virtual user) :
exec(flushHttpCache)
val scen = scenario("My Requests")
.repeat(10) {
exec(request1).pause(1.second).exec(request2).exec(flushHttpCache)
}
scen.inject(atOnceUsers(5))
Does that mean that each and every request will include an HTTP Header to prevent the server from replying with a cached response?
Thanks
exec(flushHttpCache)
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Just wondering why this is not done by default in Gatling, if is the normal browser behaviour?
Yep true, does that means that disabling it is going to create an unrealistic user case? Why someone would use it then?