I've found the following idiom useful:
${__CSVRead(data_file.txt,${__Random(1,500,)})}
This way, the data that's picked from the file is random, and if it's a large enough
file, that
might solve your problem.
Another way to do it would be to break the data file into a number of pieces equal to
One way to do this would be to use loop controller to run for _random()
times and increment _csvread. Once the loop has run thru, your _csvread
would be at the random point and you can start your test case from
there. Since _csvread cannot be done by itself, I put it in a HTTP (do
nothing) sampler
2 matches
Mail list logo