Using apache bench I understood -p being basically a newline delimited json file (ndjson) but it doesn't appear to work in loadtest. What is the expected format and behavior?
If file sent into -p looks like this, it works:
{"one": "works"}
If file sent into -p looks like this, I get all errors:
{"two": "doesn't work"}
{"two": "doesn't work"}
This means I can't actually use -p to send in a list of different pre-generated payloads so reduces usefulness of that mode.
Using apache bench I understood
-p
being basically a newline delimited json file (ndjson) but it doesn't appear to work inloadtest
. What is the expected format and behavior?If file sent into
-p
looks like this, it works:If file sent into
-p
looks like this, I get all errors:This means I can't actually use
-p
to send in a list of different pre-generated payloads so reduces usefulness of that mode.