Sign inSign up

vishnunair/docker-vegeta

By vishnunair

•Updated over 9 years ago

Image
0

10K+

vishnunair/docker-vegeta repository overview

⁠docker-vegeta

Vegeta is a versatile HTTP load testing tool built out of need to drill HTTP services with a constant request rate. It can be used both as a command line utility and a library.

Here I am using it inside a docker container to run the HTTP LOAD TESTS

#USAGE

vishnu@server:~/docker-vegeta$ sudo docker run -d --name vegeta -it vishnunair/docker-vegeta 

vishnu@server:~/docker-vegeta$ sudo docker exec -it vegeta bash

Here I am testing google.com

root@46a08bbcb4df:/go# echo "GET https://google.com/" | vegeta attack -duration=5s -rate=5 -timeout=1m | tee output.bin | vegeta report

#If you want the output in the HTML format

root@46a08bbcb4df:/go# cat output.bin | vegeta report -reporter=output > output.html

#If you want the output in the JSON format

root@46a08bbcb4df:/go# cat output.bin | vegeta report -inputs=output.bin -reporter=json > metrics.json

Tag summary

Content type

Image

Digest

sha256:a7b13e870…

Size

308.4 MB

Last updated

over 9 years ago

docker pull vishnunair/docker-vegeta