vegeta

HTTP load testing tool and library for benchmarking APIs

brewmacoslinux
Try with needOr install directly
Source

About

HTTP load testing tool and library

Commands

vegeta

Examples

Basic load test with 100 requests per second for 30 seconds$ echo 'GET http://example.com' | vegeta attack -duration=30s -rate=100 | vegeta report
Load test multiple endpoints from a file and generate HTML report$ vegeta attack -targets=targets.txt -duration=60s -rate=50 | vegeta report -type=html > report.html
Run load test with custom headers and display latency metrics$ echo 'GET http://api.example.com/users' | vegeta attack -duration=10s -rate=200 -header='Authorization: Bearer token' | vegeta dump | vegeta report -type=text