{ "match": true, "comment": "XML Requests match with regex", "expected" : { "method": "POST", "path": "/", "query": {}, "headers": {"Content-Type": "application/xml"}, "matchingRules": { "body": { "$['two']['@str']": { "matchers": [ { "match": "regex", "regex": "\\w+" } ] } } }, "body": { "contentType": "application/xml", "encoded": false, "content": "" } }, "actual": { "method": "POST", "path": "/", "query": {}, "headers": {"Content-Type": "application/xml"}, "body": { "contentType": "application/xml", "encoded": false, "content": "" } } }