mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-31 22:53:27 +02:00
* Read only .json files as static mapping files and fix current folder for BodyAsFile * include .json again * LocalFileSystemHandler_ReadResponseBodyAsFile_Throws * Read array from static mappings folder * xml soap example
24 lines
420 B
JSON
24 lines
420 B
JSON
{
|
|
"Guid": "00000002-ee28-4f29-ae63-1ac9b0802d87",
|
|
"Priority": 0,
|
|
"Request": {
|
|
"Path": {
|
|
"Matchers": [
|
|
{
|
|
"Name": "ExactMatcher",
|
|
"Pattern": "/response/staticfile"
|
|
}
|
|
]
|
|
},
|
|
"Methods": [
|
|
"get"
|
|
]
|
|
},
|
|
"Response": {
|
|
"StatusCode": 200,
|
|
"BodyAsFile": "MyXmlResponse.xml",
|
|
"Headers": {
|
|
"Content-Type": "application/xml"
|
|
}
|
|
}
|
|
} |