Hi, very new to gatling, scala etc so please accept my apologies…
Using the following example…
val scn = scenario("Scenario Name").repeat(repeatTimes) {
feed(cNumbers)
.exec(http("request_1")
.get("/c/" + "${c_number}")
.queryParam( """access_token""", """$£$£""")
check (status.is(200))
check (jsonPath("$.c_name").is("${name}"))
check (jsonPath("$.type").is("${c_type}"))
)
}
If any of the Checks fail, is there a way to simply print out the c_number data that was fed in so that I can find out where something failed and just check if it was data issue ?
I've tried to put a println in there but it doesn't seem to like it! Where would I put it?
Thank you in advance