robin-drexler / httsleep

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

Home Page:https://httsleep.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://httsleep.herokuapp.com/


Languages

Language:JavaScript 100.0%