This message was deleted.
# help
s
This message was deleted.
t
I don’t think this is possible in any version, but you can achieve something similar by combining the XPath matcher with a regex value match e.g. (JSON form):
Copy code
"matchesXPath" : {
         "expression": "//date/text()",
         "matches": "20230622.*"
      }
j
@Tom i am using the wiremock recorder and the equalToXml is used after recording is stopped and it works perfectly with ${xmlunit.ignore} placeholder to ignore an element value for request matching. why isn’t it also possible for ${xmlunit.matchesRegex(20230622.*)}?