Hi
I’m having trouble to implement xpath to store the response data.
Response Body:
some value
389259413609672301
BDD Tester
Code:
.exec(http("ABC")
.put("")
.body(ElFileBody("src/test/scala/mdm/scripts/ABC/Body.xml"))
.check(xpath("/*/PartyId/").saveAs("PartyId"))
))
When trying this I'm getting type mismatch error. Is this the right way to implement xpath? I'm new to gatling and couldn't find much info on xpath online.
Thanks in advance