Skip to content
/ weld Public

Integration testing / service virtualization tool. A proxy server service

License

Notifications You must be signed in to change notification settings

davobutt/weld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weld

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.

Usage Example

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.

Build Status

Build Status Coverage Status Code Climate

Integration testing with weld

Install

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

API

Create a proxy server

POST weldserver.com:port/api/server/ServerName

{
	port: 49100,
	target: 'http://targetserver.com:1234'
}

Check status

GET weldserver.com:port/api/server/ServerName

About

Integration testing / service virtualization tool. A proxy server service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages