I would like to mock a web service response for an HTTP 503 (Error 503--Service Unavailable) when The server is unable to handle the request due to a temporary overloading or maintenance of the server. What is the best strategy? Thanks, D
Asked
Active
Viewed 6,528 times
4 Answers
13

thdoan
- 18,421
- 1
- 62
- 57
-
Perfect answer. Didn't know that was a thing. Thanks! – Matt Long May 07 '19 at 14:27
-
I really like this answer, I was searching exactly this. Thank you. – fakturk Jan 02 '21 at 12:50
1
Use xml mimic, you can mock almost everything with http response without the need for real server.

user3406366
- 11
- 1
1
the use : https://designer.mocky.io/ for test 503 http request

Donis Sousa
- 11
- 1
-
2Good start for helping out in answering this question! Your answer could be a bit better if it provided an example of how to use the tool. Maybe provide a basic example? – Lenna Nov 17 '20 at 18:29