Service which can perform load tests on other services.
Overengineed wrapper around Vegeta.
./run.sh
curl --request POST \
--url http://localhost:4000/run \
--header 'Content-Type: application/json' \
--data '
{
"endpoint": "localhost:4000/status?id=1",
"load": [
{
"duration": "10s",
"linear": {
"startRate": 1,
"endRate": 1
}
}
],
"traffic": [
{
"weight": 1,
"payload": ""
}
]
}'
curl --request GET \
--url 'http://localhost:4000/status?id=1'
curl --request DELETE \
--url http://localhost:4000/kill