Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple web service for simulating slow network responses
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Traffic Jam

Build Status

Traffic Jam is a simple web service for demonstrating slow networks. It can be used for simulating slow network traffic for testing or teaching purposes.

Traffic Jam is hosted on Heroku


Traffic Jam expects a query string of delay to indicate how long it should delay the response. This should be a number representing the milliseconds for the delay. Because Heroku throttles requests that take longer than 30 seconds the maximum delay is 28000.

curl -i ""

After the delay you'll get a response

HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 43
Connection: keep-alive

Response from Traffic Jam with 5000ms delay

Note the response time isn't going to be exactly 5000 milliseconds but Traffic Jam will respond after that amount of time. Networks, DNS lookups etc may make the response time longer.

That's all it does. I told you it was simple.

Something went wrong with that request. Please try again.