mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-14 22:33:35 +01:00
* wip... * x * . * . * . * r * 1.4.21-preview-02 * 1.4.21-preview-03 * . * usings * wip * . * ut * . * . * . * tests * . * comments * readme
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"id": "ef53ea56-f118-4b3a-8c69-a9484851d99a",
|
|
"name": "weatherforecast",
|
|
"request": {
|
|
"path": "/WeatherForecast/register-city",
|
|
"method": "POST",
|
|
"headers": {
|
|
"XXX": {
|
|
"contains": "xml"
|
|
}
|
|
},
|
|
"queryParameters": {
|
|
"search_term": {
|
|
"equalTo": "WireMock"
|
|
}
|
|
},
|
|
"bodyPatterns": [
|
|
{
|
|
"equalToJson": {
|
|
"cityName": "São Paulo",
|
|
"cityCode": 5001
|
|
},
|
|
"ignoreArrayOrder": true,
|
|
"ignoreExtraElements": true
|
|
}
|
|
]
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"body": "[{\"date\":\"2021-09-09T20:44:48.0992639-03:00\",\"temperatureC\":51,\"temperatureF\":123,\"summary\":\"Hot\"},{\"date\":\"2021-09-10T20:44:48.0992692-03:00\",\"temperatureC\":34,\"temperatureF\":93,\"summary\":\"Mild\"},{\"date\":\"2021-09-11T20:44:48.0992696-03:00\",\"temperatureC\":43,\"temperatureF\":109,\"summary\":\"Sweltering\"},{\"date\":\"2021-09-12T20:44:48.0992698-03:00\",\"temperatureC\":46,\"temperatureF\":114,\"summary\":\"Cool\"},{\"date\":\"2021-09-13T20:44:48.0992701-03:00\",\"temperatureC\":3,\"temperatureF\":37,\"summary\":\"Freezing\"}]",
|
|
"headers": {
|
|
"Content-Type": "application/json; charset=utf-8"
|
|
}
|
|
},
|
|
"uuid": "ef53ea56-f118-4b3a-8c69-a9484851d99a",
|
|
"persistent": true,
|
|
"insertionIndex": 1
|
|
} |