Virtualizing XML-based API using WireMock
I’m trying to virtualize an XML-based API using WireMock and generate a JSON response using wiremock standalone jar. The requirement is to copy a tag value from the XML request payload to the JSON response using XPath. However, I’m facing issues with the XPath expressions I’ve tried so far, and I’m not able to get it to work correctly.