Run the "hey" load testing tool in docker. This fork of "hey" adds metrics exposed in prometheus format
docker run -ti dezmodue/hey -c 1 -n 1 -t 1 https://www.example.com
Summary: Total: 0.4609 secs Slowest: 0.4605 secs Fastest: 0.4605 secs Average: 0.4605 secs Requests/sec: 2.1699
Response time histogram: 0.461 [1] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] | 0.461 [0] |
Latency distribution: 0% in 0.0000 secs 0% in 0.0000 secs 0% in 0.0000 secs 0% in 0.0000 secs 0% in 0.0000 secs 0% in 0.0000 secs 0% in 0.0000 secs
Details (average, fastest, slowest): DNS+dialup: 0.3497 secs, 0.4605 secs, 0.4605 secs DNS-lookup: 0.0017 secs, 0.0017 secs, 0.0017 secs req write: 0.0002 secs, 0.0002 secs, 0.0002 secs resp wait: 0.1100 secs, 0.1100 secs, 0.1100 secs resp read: 0.0006 secs, 0.0006 secs, 0.0006 secs
Status code distribution: [200] 1 responses
Content type
Image
Digest
Size
285.9 MB
Last updated
about 8 years ago
docker pull dezmodue/hey