Closed maiksensi closed 6 years ago
Hi @maiksensi, it seems you need to change the expected response. Therefor you should use the UI expected-response.
If this solves your problem please close the ticket.
Best, Simon
Hi @smollweide,
thank you for your fast feedback. This does indeed solve my problem. Thank for the awesome project, helped me a lot so far!
Best, Maik.
Hey,
I just tried out node-mock-server and it seems that it does not respect different status codes for responses.
say I have
desc.json
:If I access the corresponding resource, I get a expected status code of
200
and in the UI the responses is shown correctly.Changing the status code (to
204
for example) indesc.json
leads to the following behavior:200
is still returned.I guess I am missing something here. Any advice what I have to change or add so that the status code will be repsected? Please let me know if you need additional information.