Hi Tom,
Is there a way in where we can ask Wiremock to serve responses based on a string value present (or absent) in the request body? I understand that we can use the 'matchesXPath' parameter to validate for the presence of a node in a request body, but wanted to know if the search can be done with a "contains" function instead (for the entire request body)? So far my attempts at this have failed. My goal is to serve a particular response when a certain string is absent in the request body but I was not able to make much progress. Could you please help me out?
I apologize if a way is already mentioned in the Wiremock documentation - kindly point me to the right text if that is the case.
Regards,
Vishnu