Skip to content

Delay HTTP requests to test how your app behaves when requests take longer than expected. It's an async world.

Notifications You must be signed in to change notification settings

robin-drexler/httsleep

Repository files navigation

httsleep

It's a simple service for producing delayed http calls.

Can for example be used to test asynchronous scenarios where you need to figure out how components behave when requests (for example ajax requests) take longer than in your normal environment and Chrome network throttling just is not enough. It can also be useful to test timeout behavior of client libraries.

You only need to add the number of seconds, you'd like a request to wait before it is answered, to an url. Just like: https://httsleep.herokuapp.com/3/

Can also be used to redirect: https://httsleep.herokuapp.com/3/?redirectUrl=https://httpbin.org/headers

Or proxy: https://httsleep.herokuapp.com/3/?proxyUrl=https://httpbin.org/headers

The maximun delay currently is 120 seconds.

About

Delay HTTP requests to test how your app behaves when requests take longer than expected. It's an async world.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published