Open mulei2023 opened 2 years ago
I also need this. I hope somebody could answer here.
I'd be interested in seeing how other tools provide such functionality. Will look into this, but no promises.
@ericsouza provided an example of how this feature is implemented in drill tool - benchmarks (described) as (YAML) config. The approach vegeta tool uses is also quite neat - pass the targets to the tool via standard input. Although, it might require a bit more effort to generate custom targets (either by hand or by writing some tool).
What version of bombardier are you using?
bombardier version v1.2.5 linux/amd64
What operating system and processor architecture are you using (if relevant)?
linux/amd64 ubuntu
What you expected to happen?
eg: for GET method, target api is https://ip:port/some-route/some-method?id= can i put a collection of id in some place(like somefile), and the request use random id in my id-collection
for POST method, can i put a collection of body in somefile, and the request use randomly or for loop