I have a csv file with 500+ rows. I am building out my tests and am looking for a way to randomly select a row from the csv file. Right now it is always going in the same order. I am using a runner to build the tests. How can I acomplish something like this?
Hello @mrjoli021, if understand correctly based on the total numbers you can set maximum and minimum (mostly as 1)
Math.floor(Math.random() * (max - min + 1)) + min;
some script like this under the “pre-request script” section helps to pick the single row ID from the CSV.