https://github.com/davidcornu/molasses
Slow down your remote http calls to test failure scenarios.
https://github.com/davidcornu/molasses
Last synced: about 1 year ago
JSON representation
Slow down your remote http calls to test failure scenarios.
- Host: GitHub
- URL: https://github.com/davidcornu/molasses
- Owner: davidcornu
- Created: 2013-05-17T21:31:18.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-17T21:45:41.000Z (about 13 years ago)
- Last Synced: 2025-04-03T14:03:42.868Z (about 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Molasses
## Usage
```
$ npm install -g molasses
```
```
$ molasses
Usage: molasses --target [host]
Options:
--port Port to listen on [default: 3000]
--delay Number of milliseconds to delay the request [default: 5000]
--target URL of the resource you would like to slow down [required]
Missing required arguments: target
```
```
$ molasses --target http://127.0.0.1:5984 --port 5985 --delay 30000
Port 5985 is now slow as molasses.
```