A proxy server service which can be used for integration testing written in node.js
Weld has a RESTful api which can be used to programmatically set up, interogate and tear down proxy servers. It comes with a middleware layer which parses and stores JSON. By default this cache is in redis. Different middleware applications can be written and added in the conventional way using connect.
Imagine you have a series of microservices all communicating with each other using JSON. You can use weld in between all of these connections to test a variety of situations. For example you could write a test which ensures the appropriate failures when one of the systems is uncommunicative. You could also validate the JSON transferred between the systems.
git clone git@github.com:gubber/weld.git
cd weld
node app
From here on in everything can be done with the API, the admin interface, or client libraries
POST weldserver.com:port/api/server/ServerName
{
port: 49100,
target: 'http://targetserver.com:1234'
}
GET weldserver.com:port/api/server/ServerName