molasses

Slow down your remote http calls to test failure scenarios.

npm install molasses
1 downloads in the last week
4 downloads in the last month

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.
npm loves you