ali icon indicating copy to clipboard operation
ali copied to clipboard

featreq: support for multiple URLs

Open iggy opened this issue 5 years ago • 2 comments

It would be nice to be able to specify a list of URLs to send traffic to.

Not sure how best to handle the division of URLs vs traffic, but for my personal needs a simple round-robin across the URLs would work. I.e. with 2 URLs: request1 -> url1, request2 -> url2, request3 -> url1, request4 -> url2, etc.

iggy avatar Apr 09 '21 20:04 iggy

@iggy Hey, thank you for your suggestion! Actually I'm looking into that, but at the same time I would definitely like to keep this tool as simple as possible. We need to think about other stuff, e.g. how to draw the charts, etc.

nakabonne avatar Apr 10 '21 00:04 nakabonne

Vegeta seems to support a formatted body that can contain multiple URLs/methods/body (you have to create a different type of targeter instead of using NewStaticTargeter with a single request)

It should be pretty easy to add an option that instruct the attacker to create the different type of targeter. Would you accept a pull request for that ?

raff avatar Mar 31 '22 22:03 raff