Skip to content

A middleware for gor to verify against regressions on your acc environment

Notifications You must be signed in to change notification settings

HuygensING/gor-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gor tester

A gor middleware app that allows you to verify if your acc server is sending (more or less) the same responses as your prod server.

(last tested with gor 1.0.0)

getting up and running

Build it with

mvn package

Run it with

gor --input-raw <your-prod-server> --output-http=<your-staging-server> --middleware "./target/appassembler/bin/gor-tester default_config.yml" --input-raw-track-response

What does it do?

gor will send each request that was sent to the production server to your staging server. This middleware will compare the response from the acceptation server to that of the production server.

The middleware allows you to write rules that

The middleware also allows you to write rules that

Gor sends the requests and responses in an undefined order to the middleware, but your rule's methods will always be called with the data you need (the middleware stores data if needed and waits for the rest to arrive).

How do I use it?

A few rules are provided. You configure them in a yaml file. There is a good chance that the provided rules are not enough and you'll have to add some rules of yourself.

Pull requests welcome :)

About

A middleware for gor to verify against regressions on your acc environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages