From f09724258a44b8383ae5a9afad46af934fd04524 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Tue, 27 Aug 2019 18:06:05 +0200 Subject: [PATCH] Updated Request Matching (markdown) --- Request-Matching.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Request-Matching.md b/Request-Matching.md index 0ff743b..df44efd 100644 --- a/Request-Matching.md +++ b/Request-Matching.md @@ -16,10 +16,11 @@ At this moment these matchers are supported: * [JsonMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#json-jsonmatcher) * [JsonPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#json-path-jsonpathmatcher) * [JmesPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#jmes-path-jmespathmatcher) +* [XPathMatcher](https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#xpathmatcher) * ExactMatcher * WildcardMatcher * RegexMatcher -* XPathMatcher + * SimMetricsMatcher ## Dynamic Linq (LinqMatcher) @@ -333,7 +334,7 @@ server { "things": { "name": "Wiremock" } } ``` -### XPath +### XPathMatcher Deems a match if the attribute value is valid XML and matches the XPath expression supplied. An XML document will be considered to match if any elements are returned by the XPath evaluation. WireMock delegates to [XPath2.Net](https://github.com/StefH/XPath2.Net), therefore it support up to XPath version 2.0.