Hi please have a look at the below scenarios . The same code is running if i remove session=> . When i add session it says there were no request sent during simulation since it is not sending any .
val scn1 = scenario(“LaunchAction”).exec(
session => {
http(“Poll report status page report”)
.get(“myURL/rest/reports”)
.queryParam(“applicationId”, “GHERKINS”)
.queryParam(“requestor”, “GHERKINSS”)
.queryParam(“id”, “1”)
.check(xpath("//status").saveAs(“responseStatus”))
session
})
I need to add few prints etc in between . Can you please help me in this