Flash (flash.siwalik.in)
Flash lets you simulate a slow server response, when you make a request. This can come handy while testing how your application responds to a slow external service or API.
Right now Flash supports only GET
requests with configurable delay and URL parameters.
Using Flash is really easy. eg. On visiting https://flash.siwalik.in/delay/5000/url/api.github.com You'll be redirected to api.github.com's response after a 5000ms delay.
https://flash-the-slow-api.herokuapp.com/delay/{delay_time}
https://flash-the-slow-api.herokuapp.com/delay/{delay_time}/url/{url}
Learn more on usage here - documentation link.
$ git clone git@github.com:siwalikm/Flash.git
$ cd Flash
$ npm install
$ npm start
$ npm test
If you're using vs-code for development, I've already included the launch.json
scripts for running app and test server in debug mode.
For contributing, please raise a pull request with your code and test. You can also contribute by reporting issues and adding feature requests.
This project is available for use under the MIT software license.