Make a request to Slowwly to simulate a slow response, configurable delay in millisecs.
Test how your application responds to a slow response from external service or api.
Example of one second delay to google.co.uk: http://slowwly.robertomurray.co.uk/delay/1000/url/http://google.co.uk
Supported HTTP methods:
HTTP 302
HTTP 307
Build a URL with the following params:
http://{host}/delay/{delay_time}/url/{url}
host
delay_time
url
HTTP/1.1 302 Found Content-Type: text/html;charset=utf-8 Location: https://www.google.co.uk Content-Length: 0 # etc# a post request with some data and a 3 second delay
HTTP/1.1 307 Temporary Redirect Content-Type: text/html;charset=utf-8 Location: http://myapi.com/endpoint Content-Length: 0 # etc# an example get request with follow redirect enabled
HTTP/1.1 302 Found Content-Type: text/html;charset=utf-8 Location: https://www.google.co.uk Content-Length: 0 # etc HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=UTF-8 # etc