Hi all,
I have some code that looks something like this
.exec(http("request_52")
.post("/service/login")
.headers(headers_52)
.body(RawFileBody("RecordedSimulation_0052_request.txt")).check(bodyString.saveAs("result")))
In my actual application sending a GET to this URL returns a 405 not allowed (as this endpoint only accepts POST)
This means my Gatling script fails as it is getting a 405, also the server is in the wrong state as it hasn't had a successful POST.
I've set up fiddler and my script is set to proxy both http/https traffic to fiddler.
In fiddler I see
- POST /service/login HTTP/1.1 with a response HTTP/1.1 301 MOVED PERMANENTLY, then
- CONNECT myserver:443 HTTP/1.1 with a response HTTP/1.1 200 Connection Established, then
Any ideas? Have I found a bug or am I misreading?
Thanks!
Dave.