bombardier icon indicating copy to clipboard operation
bombardier copied to clipboard

Can the stress test using different parameters within on testflow

Open mulei2023 opened this issue 3 years ago • 3 comments

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

mulei2023 avatar Dec 23 '21 08:12 mulei2023

I also need this. I hope somebody could answer here.

heonieb avatar Feb 15 '22 15:02 heonieb

I'd be interested in seeing how other tools provide such functionality. Will look into this, but no promises.

codesenberg avatar Apr 27 '23 02:04 codesenberg

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

codesenberg avatar Sep 18 '23 15:09 codesenberg