check and regex seems not working. I noticed the last redirect has gatling.http.referer in session but I could not get it out. Any ideas? Thanks in advance.
Have you tried currentLocation? https://github.com/excilys/gatling/wiki/Checks#location
currentLocation works but when i send post to b.com/randomString, all cookies from redirection is gone. I think galting handles cookies all by default. Maybe i need to extract cookie from last redirection and set that in my new post request?
Which version do you use? Cookies are supposed to be handled properly, even during a redirect chain.
gatling 2 snapshot, not latest snapshot tho.
How old? IIRC, with fixed such a bug a while ago.
An April version.
a little more information about this.
i try to send post to b.com/3, but request doesnt have ssid in cookie so the post fails.
looks like latest gatling snapshot has that issue fixed.
I was pretty sure of it, but glad you confirmed!