set of tools to develop and debug http services
1.1K
Vivisectr is a tool that help test and develop http(s) services.
It includes:
Start vivisectr and use it address as webhook endpoint. Vivisectr will response for all incoming http requets with predefined response and will write out incoming webhookd details into console.
Run webserver:
docker run -p 9090:9090 zadoev/vivisectr
Make http request to the server:
curl -X POST -d '{"some": "data"}' -H "Content-Type: application/json" "http://127.0.0.1:9090/any_path?any=arg"
Check http request details:
listening http on http://127.0.0.1:9090 webserver default response is: 'OK'
POST /any_path?any=arg HTTP/1.1
User-Agent: curl/7.77.0
Accept: */*
Content-Type: application/json
Content-Length: 16
{"some": "data"}
---- end of request---
Configuration options:
full configuration example:
docker run -p 9090:9191 zadoev/vivisectr /vivisectr -port 9191 -response KO
# Webserver is accessable by the http://127.0.0.1:9191 ,default response is: 'KO'
curl -X POST -d '{"some": "data"}' -H "Content-Type: application/json" "http://127.0.0.1:9090/any_path?any=arg"
Content type
Image
Digest
sha256:ea1630ebc…
Size
3.6 MB
Last updated
over 3 years ago
docker pull zadoev/vivisectr