Open
Description
Hi there,
we have a server that requires an idempotency key as a header and will just return the same canned response if you ask twice for the same idempotency key.
To performance stress test the server, and not just the idempotency logic, I need to have a different header for each request.
This does not seem possible with hey
yet.
- Am I missing something?
- Should I be using a different tool? I know that I can stuff like this with Locust, but it is such a pain in the a* to setup for quick and simple tests.
- What do you think about the ability for
hey
to call a small script to modify / transform each request? - I would also be fine to provide a file with one line per request to fill in for the header value.
- Perhaps the simplest way (for me as a user) would be to allow me to just call a shell tool inside a template string and have hey execute that for each request. Something like
hey -H 'Idempotency-Key: ${uuidgen}'
that is not evaluated by the shell, because of the ' (single quotes) but the ${} could be the key for hey to call out touuidgen
for each request.
Metadata
Metadata
Assignees
Labels
No labels