Slowwly

A test service to mock a slow http response


Why

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

How

Supported HTTP methods:

GET
Responds with HTTP 302
POST
Responds with HTTP 307

Parameters

Build a URL with the following params:

http://{host}/delay/{delay_time}/url/{url}
host
The host where this app is running
delay_time
Time to delay response in milliseconds
url
The URL to redirect to via response


Enter URL / Select delay


# a simple get request with 1 second delay
curl -i http://slowwly.robertomurray.co.uk/delay/1000/url/https://www.google.co.uk
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
curl -i --data "param1=value1" http://slowwly.robertomurray.co.uk/delay/3000/url/http://myapi.com/endpoint
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
curl -i -L http://slowwly.robertomurray.co.uk/delay/1000/url/https://www.google.co.uk/
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