From 8fca9e7685e60ee7a811218e8f2f262e31de7b0a Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Fri, 31 Aug 2018 18:12:44 +0200 Subject: [PATCH] Updated Request Matchers (markdown) --- Request-Matchers.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Request-Matchers.md b/Request-Matchers.md index 002c20c..d495299 100644 --- a/Request-Matchers.md +++ b/Request-Matchers.md @@ -37,6 +37,35 @@ server #### JSON Mapping option ``` js +{ + "Guid": "67ae335b-5d79-42dc-8ca7-236280ab91ec", + "Priority": 0, + "Request": { + "Path": { + "Matchers": [ + { + "Name": "WildcardMatcher", + "Pattern": "/linq" + } + ] + }, + "Params": [ + { + "Name": "from", + "Matchers": [ + { + "Name": "LinqMatcher", + "Pattern": "DateTime.Parse(it) > \"2018-03-01 00:00:00\"" + } + ] + } + ], + "Body": {} + }, + "Response": { + "Body": "linq match !!!" + } +} ``` ## JSON (JsonMatcher)