mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-20 00:25:06 +01:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
[
|
|
{
|
|
Guid: Guid_1,
|
|
UpdatedAt: 2023-01-14T15:16:17,
|
|
Request: {
|
|
Path: {
|
|
Matchers: [
|
|
{
|
|
Name: WildcardMatcher,
|
|
Pattern: /foo,
|
|
IgnoreCase: false
|
|
}
|
|
]
|
|
},
|
|
Methods: [
|
|
GET
|
|
],
|
|
Params: [
|
|
{
|
|
Name: test,
|
|
Matchers: [
|
|
{
|
|
Name: LinqMatcher,
|
|
Pattern: it.Length < 10
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
Response: {
|
|
BodyDestination: SameAsSource,
|
|
Body: { msg: "Hello world!"}
|
|
}
|
|
},
|
|
{
|
|
Guid: Guid_2,
|
|
UpdatedAt: 2023-01-14T15:16:17,
|
|
Request: {
|
|
Path: {
|
|
Matchers: [
|
|
{
|
|
Name: WildcardMatcher,
|
|
Pattern: /users/post2,
|
|
IgnoreCase: false
|
|
}
|
|
]
|
|
},
|
|
Methods: [
|
|
POST
|
|
],
|
|
Body: {
|
|
Matcher: {
|
|
Name: JsonMatcher,
|
|
Pattern: {
|
|
city: Amsterdam,
|
|
country: The Netherlands
|
|
},
|
|
IgnoreCase: false,
|
|
Regex: false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |