Docker image for the Vegeta HTTP load testing tool.
To build image:
docker build -t docker-vegeta .
To run:
docker run -d -p 8000:80 --name vegeta vegeta:1.0
Simple Request:
curl --location --request POST 'http://vegeta-server/api/v1/attack' \
--header 'Content-Type: application/json' \
--data-raw '{
"rate": 10,
"duration": "10s",
"target": {
"method": "GET",
"URL": "http://some.host./and/end/point",
"scheme": "http"
}
}
'