Responds with user specified delay. Designed to test your applications for a scenario with high latency
For example following request will return this document in plain text format with 2 seconds delay
http://late-response.teivaz.com/?
l=2000
&
t=text/plain
And this request will return an jpeg image after 5 second pause
http://late-response.teivaz.com/?
l=5000
&
t=image/jpeg
l
- integer, number of ms to wait before response. Ensures that response will be deliver not earlier than specified amount of time within range 0 - 10,000 millisecondst
- mime type
text/html
- ...?t=text/htmltext/plain
- ...?t=text/plaintext/xml
- ...?t=text/xmltext/markdown
- ...?t=text/markdownimage/gif
- ...?t=image/gifimage/png
- ...?t=image/pngimage/svg+xml
- ...?t=image/svg%2Bxmlimage/jpeg
- ...?t=image/jpegimage/x-icon
- ...?t=image/x-iconimage/bmp
- ...?t=image/bmp
Feedback, feature requests, and bugs send here https://github.com/Teivaz/late-response/issues
Copyright (c) 2016 Teivaz under Zlib License