.exec(session =>{
println("TheResult 1(" + session("Result").as[String]+")")
session}).exec(Request)
.exec(session =>{
println("TheResult 2(" + session("Result").as[String]+")")
session})
So calling on purpose two sequential identical GET requests ".exec(Request)" with no header (Request is a ChainBuilder).
The first one always goes fine, but the second one always fails (I get 304), and I have noticed that Gatling automatically adds the "If-None-Match=" header to the second one.
Why is this happening?
I don't want that the header is added to the second request, so How can I overcome this?
Thanks in advance,
BR,
Luca