vegeta icon indicating copy to clipboard operation
vegeta copied to clipboard

--resolvers is great, but also support --resolve to behave like curl

Open jrwren opened this issue 1 year ago • 1 comments

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.

jrwren avatar Oct 13 '22 14:10 jrwren

Any way to replicate that right now?

DaazKu avatar Aug 18 '23 16:08 DaazKu