I have a stub file that i'm sending via the c# admin api to a standalone wiremock instance. I'm getting the expected response back when i send via postman except the response body is always empty, even though in my file i have this:
"Response": {
"Delay": 500,
"UseTransformer": true,
"StatusCode": 205,
"BodyAsJson": { "result": "PRIO = 1 . test" },
"Headers": {
"Content-Type": "application/json",
"a": "b"
}
}
I see the expected header a b but nothing in the body. Also if i change it to be plain text:
"Response": {
"Delay": 500,
"UseTransformer": true,
"StatusCode": 205,
"body": "Hello world!",
"Headers": {
"Content-Type": "application/text",
"a": "b"
}
This doesn't work either - what am i doing wrong ?