Connect / Express middleware that causes chaos
This is loosely inspired by chaos monkey. The basic idea is that you can drop it into your connect / express app and see how your clients get on when things go wrong. You might want to have it enabled by an environment variable so you can switch it on and off easily.
$ npm install connect-chaos
var chaos = ;// anything can happenapp;// requests might be delayed by 2000ms (default)app