NAME:
validate-http-response - Basic testing for HTTP responses
USAGE:
validate-http-response [options] [URL]
VERSION:
0.6.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--code value The expected HTTP status code. Defaults to 200. (default: 200)
--method value The HTTP method to use when calling the URL. Defaults to 'GET'. (default: "GET")
--schema FILE FILE used to load JSON schema for response verification
--headers FILE FILE containing headers to send to URL
--body FILE FILE containing body content to send to URL
--silent If specified, nothing will be printed to stdout
--help, -h show help
--version, -v print the version
Run as part of a CI pipeline to test integration of changes and check for regressions.
./validate-http-response-darwin_amd64 --schema=validation/baz.json http://www.foo.bar/baz
Install dependencies: glide install
Build: make darwin-amd64
or make linux-amd64