Ensure that you have this flag *unchecked* in the JSR223 sampler if you don't want it to use the first-time cached values.
[image: image.png] On Thu, Jul 17, 2025 at 10:51 PM Naveen H <[email protected]> wrote: > *Sent hit by mistake.* > > Hi, > > In my use case I cannot use CSV Data Config due to some complex test cases. > Hence I am using JSR233 (groovy) and reading CSV files using the CSVRead > function. > > Issue is the number of lines read from the CSV file is the same as the > number of threads, Each thread always reads the same line for every > iteration. > > Example: CSV files with number 1 to 10. > Test is to use 2 threads and read the file and run for 10 times. > > *Issue:* > Thread 1 always reads line1 throughout the iterations and is the same with > thread 2. > > Is there any way to overcome this? > > *Thanks,* > Naveen > > On Thu, 17 Jul 2025 at 22:48, Naveen H <[email protected]> wrote: > > > Hi, > > > > In my use case I cannot use CSV Data Config due to some complex test > > cases. Hence I am using JSR233 (groovy) and reading CSV files using the > > CSVRead function. > > > > Issue is the number of lines read from the CSV file is the same as the > > number of threads, Each thread always reads the same line for every > > iteration.this > > > > Example: CSV files with number 1 to 10. > > Test is to read > > >
