vegeta
vegeta copied to clipboard
--resolvers is great, but also support --resolve to behave like curl
Proposal
Add a -resolve flag which works like curl's --resolve
Background
When an http server is behind a load balancer, sometimes it is nice to bypass the load balancer, but the request should otherwise be the same. I can use -header 'Host: blah' and target a private IP address, but it would be nice to support --resolve like curl.
Workarounds
-header 'Host: blah' and specify IP address when requesting a URL.
Any way to replicate that right now?