Hi, do I understand correctly that if I need to ch...
# help
i
Hi, do I understand correctly that if I need to check if received request Soap body contains xml data valid according specific schema I need to implement request matcher extensions?
l
Hi Are you saying the xml matchers don't work in your case ? https://wiremock.org/docs/request-matching/#xml-equality
i
Xml matchers as far as I have seen are best when you whan to check for specific xml tag presence or your xml has quite limited amount of variations. In our case xmls are quite huge. For now we are matching by mandatory tag and it works fine, but I got question from tester if app would start sending xml with some other mandatory data missing will the error be returned. Thats why I started thinking about validation by schema.
l
Ah, I see. We definitely have a json schema matcher but I don't think we have much in the way of xml schema matching
👍 1