Skip to content

Teivaz/late-response

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Late-response

Responds with user specified delay. Designed to test your applications for a scenario with high latency
For example following request will return this document in plain text format with 2 seconds delay
http://late-response.teivaz.com/?l=2000&t=text/plain
And this request will return an jpeg image after 5 second pause
http://late-response.teivaz.com/?l=5000&t=image/jpeg

How to use? Just add query parametes:

  • l - integer, number of ms to wait before response. Ensures that response will be deliver not earlier than specified amount of time within range 0 - 10,000 milliseconds
  • t - mime type

Currently supported mime types:

Feedback

Feedback, feature requests, and bugs send here https://github.com/Teivaz/late-response/issues

Author and license

Copyright (c) 2016 Teivaz under Zlib License

Releases

No releases published

Packages

No packages published