Open siom79 opened 3 months ago
Thank you for the detailed bug report! Looks like a bug, we'll take a look
Hi @siom79 👋 ,
Can you try removing order: random
from your config? I believe this is happening because when you select order
, then a specific row is passed (randomly) to the VU, rather than the entire thing.
Hi @bernardobridge ,
when removing order: random
the loop variable works and the variables are set to random rows from the file. I wasn't expecting that.
Is is possible to fix it such that it also works when setting order: random
although it might be redundant? Or at least output an error message?
But: When running the exactly same config against my "real" application and I look into the logs, I see that the variables are not filled with random values from the file but they are all the same (from the first 10 lines). That was the reason why I have set order: random
. So why does it work with a simpel node-server, but not with a real application? What might be the difference there?
Version info:
Running this command:
I expected to see this happen:
The CSV file contains comma separated values that should be used as JSON payload for the POST requests. I expect that for each request data from the CSV file is used.
Instead, this happened:
The JSON elements are just "empty", captured with a simple
http
-Node Server:We only see the fields behandlungsjahr, but not vnr, vznr, etc.
Files being used:
The CSV file
test.csv
:The CSV file basic_auth.csv contains only one line with the base64 encoded data for the basic auth login.