Use wildcard in SOAP request body for matching

I have a SOAP based mock-server in postman which accepts and responds with โ€˜text/xmlโ€™ request-responses. I am using x-mock-match-request-body: true header field for the matching.

My issue is that in my request body, I want to use wildcard so that my request can be matched for any given value in place of wildcard. Here is an example:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body>
<ns2:transactionID>{{transactionID}}</ns2:transactionID>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

My goal is to accept request body with any value for the {{transactionID}}.
I am trying to use wildcard here, but it does not seem to be working in this case.

Any idea, about how to achieve this via Postman mock-server?

1 Like