Hello all,
I am trying to do a recording simulation in HAR converter mode.
The HAR file has all the cookies but the generated simulation does not have cookies in request.
Am i missing some thing here?
Am i missing some thing here?
Yes, 2 things:
- that Gatling handles cookies automatically (cookies sent from the server are automatically stored and sent back on the matching requests)
- that cookies are only valid for a short period of time and in a given context, so they mustn’t be hardcoded in the test. You must either include your authentication process in your scenario so your virtual users each get a fresh cookie, or populate your cookies manually (weird, but well), with the addCookie.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.