hashicorp / vault-benchmark

A tool for benchmarking usage of Vault.
Mozilla Public License 2.0
86 stars 17 forks source link

Test spec as JSON? #14

Closed cipherboy closed 1 year ago

cipherboy commented 1 year ago

Wanted to get people's thoughts on this one before I write it...

What do people feel of accepting vegeta.TestSpecification as a JSON blob rather than arguments? As we get even more options, it might be nice to have -write-default-config=/path/file.json and -test-config=/path/file.json options. This lets us prune some of these options from the CLI options (-num_*_mounts in particular) and put them in the JSON config.

cipherboy commented 1 year ago

See: https://docs.google.com/document/d/1scFlhWvqecVykxMPucA93M7MelsCg7R48x6AD6NReks/edit