Assuming your question means: "I want to reuse the data set, but do not want to send the same request concurrently.", then you should be able to set up the following configuration. You shouldn't need a while loop.
Thread Group
* Loop Count = 2
* Thread Count = 5
|
+-- CSV
* Recycle on EOF = true
* Stop thread on EOF = false
* Sharing mode = All threads
To break that down:
- The Loop count on the Thread Group will run the entire thread group the specified number of times, with 5 threads, each one of which will make one request from your CSV file
- The "Recycle" and "Stop thread" settings on the CSV Data Set config will cause the data set to be reused until the threads have completed.
Another way of accomplishing this is to set up a loop count as a multiple of the number of URLs you are going to sample:
Thread Group
* Loop Count = 10
* Thread Count = 1
|
+-- CSV
* Recycle on EOF = true
* Stop thread on EOF = false
* Sharing mode = All threads
That's slightly less efficient, since it means the requests have to execute serially rather than in parallel threads, but it is another way of doing it.