Hello!
When i go to login page I get __RequestVerificationToken:
Inside RecordedSimulation with Gatling I got saved value for __RequestVerificationToken:
.exec(http(“request_17”)
.post("/TestApp/Login/Login?ReturnUrl=%2FPortal%2F")
.headers(headers_17)
.formParam("__RequestVerificationToken", “iJMOoffGP1gLJu5NXw7ZSL4W99HvByEIrhkEuBwX7xSrH05oGkUZvGR0kPYtHoxBLnvPwxS8ddldLEf1PoXDC3Ur5QK5_FlHBFH067x1f4w1”)
.formParam(“UserName”, “000001”)
.formParam(“Password”, “Test123!”)
.resources(http(“request_18”)
How can I save __RequestVerificationToken value in this script and pass it to POST request?