Extract xml request value and sum a number to return in the response

47 views
Skip to first unread message

Iacopo Bonechi

unread,
Dec 9, 2022, 12:31:03 PM12/9/22
to wiremock-user
Hello,

I'm stuck with this problem, i'm working in wiremock studio with xPath helper, i need to get a field from request, manipulate that, and return in the response.

it' possible to add a number to this expression :    
{{soapXPath request.body '/activatePaymentNoticeReq/amount/text()'}} ?

for example  {{soapXPath request.body '/activatePaymentNoticeReq/amount/text()'}} + 1;

Thanks for help
Reply all
Reply to author
Forward
0 new messages