Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vegeta Docker

Docker image for the Vegeta HTTP load testing tool.

Usage

To display help:

docker run --rm -i devogopan/vegeta

Example:

docker run --rm -i devogopan/vegeta sh -c \
"echo 'GET https://www.example.com' | vegeta attack -rate=10 -duration=30s | tee results.bin | vegeta report"

For full documentation see Vegeta.

Usage in Kubernetes

To display help:

kubectl run vegeta --rm --attach --restart=Never --image="devogopan/vegeta"

Example:

kubectl run vegeta --rm --attach --restart=Never --image="devogopan/vegeta" -- sh -c \
"echo 'GET https://www.example.com' | vegeta attack -rate=10 -duration=30s | tee results.bin | vegeta report"
# Start vegeta with nohup
echo "Starting load test..."
truncate -s 0 vegeta.out
nohup kubectl run vegeta --rm --stdin --restart=Never --image="devogopan/vegeta:v12.12.0" -- sh -c \
"echo 'GET https://nginx.aegle.info' | vegeta attack -insecure -rate=50 -duration=30s -connect-to=nginx.aegle.info:443:172.18.64.11:443 | tee results.bin | vegeta report " > vegeta.out 2>&1 &

echo "Load test started in background. You can check progress with: tail -f vegeta.out"

cat vegeta.out

License

MIT License - see the LICENSE file for details

About

Docker image for the Vegeta HTTP load testing tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages