When i run my simulation, i am getting redirect even though transaction passed.
Can someone help me fin the root cause?
My scenario setup:
val scn = scenario_get(“getRecurringSummary”, “RecurringSummary”, “getRecurringSummary.csv”, “PolicyNumber”, requestType.payments.toString, 200)
Result:
scenario_get
is not a gatling method. I guess that is a custom method to configure your scenario.
What I guess is that your RecurringSummary
request is a POST
and the server sends a redirect (301 or 302) response to a GET
.
By default, gatling follows redirects (as a browser does).
The GET
seems faulty (404).
Please see: https://gatling.io/docs/current/http/http_protocol/#follow-redirects