Updated Stubbing and Request Matching (markdown)

Stef Heyenrath
2018-05-19 08:45:58 +02:00
parent 4b628cd674
commit 92ea3cb235

@@ -215,7 +215,7 @@ All of the standard helpers (template functions) provided by the C# Handlebars i
`{{capitalize request.query.search}}`
## Stub priority
It is sometimes the case that youll want to declare two or more stub mappings that “overlap”, in that a given request would be a match for more than one of them. By default, WireMock.NET will use the most recently added matching stub to satisfy the request. However, in some cases it is useful to exert more control.
It is sometimes the case that youll want to declare two or more stub mappings that “overlap”, in that a given request would be a match for more than one of them.
One example of this might be where you want to define a catch-all stub for any URL that doesnt match any more specific cases. Adding a priority to a stub mapping facilitates this: