tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.51k stars 1.36k forks source link

Support Unix socket HTTP endpoints (per curl) #387

Closed zootalures closed 5 years ago

zootalures commented 5 years ago

Proposal

Some services (e.g. Docker) use Unix sockets to front HTTP traffic - I'd like to support making Vegeta call these services for load testing per curl (--unix-socket /path/to/socket)

Background

I'm already using vegeta for other load testing and benchmarking for straight HTTP and HTTP/2 services - and wasn't able to find a decent tester that supports HTTP/1.1 over unix sockets.

Workarounds

Nothing simple beyond putting an Nginx in front of the socket

tsenart commented 5 years ago

Released in https://github.com/tsenart/vegeta/releases/tag/cli%2Fv12.3.0