Skip to content

robin-drexler/httsleep

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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