Using Firefox RESTClient gives me the response(body) attached as screenshot.
Wanting to save i.e the “scanNumber” in this response, how do I write that in Gatling?
I have tried
14:14:36.019 [WARN ] i.g.h.a.AsyncHandlerActor - Request ‘Login page’ failed: jsonPath(“scanNumber”:"").exists failed, could not extract: could not extract : $' expected but ’ found
Is there a way to print to console (in i.e IntelliJ) the reponse I am getting in the Simulation? This would be helpful.
Given that I have managed to save the response “responsevar” above is there an easy way to also print this to console in i.e IntelliJ?
For further info on JsonPath: http://goessner.net/articles/JsonPath/ (link is provided in the documentation).
You can also easily find online JSONpath expression testers.