Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

featreq: support for multiple URLs #99

Open
iggy opened this issue Apr 9, 2021 · 2 comments
Open

featreq: support for multiple URLs #99

iggy opened this issue Apr 9, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@iggy
Copy link

iggy commented Apr 9, 2021

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.

@nakabonne nakabonne added the enhancement New feature or request label Apr 10, 2021
@nakabonne
Copy link
Owner

@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.

@raff
Copy link

raff commented Mar 31, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants