Interact with mock services from node
node-mockey provides a nodejs client API for Mockey; a useful webservice mocking application. You can use node-mockey to turn specific scenerios on or off as well as set other configuration values from within a node environment. This can be extremely useful for development and testing complex applications.
Get latest version of Mockey, then run
java -jar Mockey.jar -t false
to start Mockey Service
npm install node-mockey
Configure mockey service to return an invalid auth response - maybe as part of a feature test.
More Docs Coming Soon.