0

I have a HTTP request in a thread group that reads from a single column csv file to get values to populate a parameter in the request URL.

Below is my configuration for these: thread group http request csv data

There are 30 values in the csv data file.

My goal is to have each thread start at the beginning of the file once it gets to the end, effectively infinitely looping through the data values until the scheduler duration expires. However, what actually happens is some requests try and use (see screenshot below) and therefore fail. failing requests

I have tried this but that just stops at the 30th iteration i.e. the end of the csv data file.

I assume I have some config option(s) wrong but I can't find anything online to suggest what they might be. Can anyone point me in the right direction (what i should be searching for?) or provide a solution?

Jack
  • 391
  • 5
  • 25

1 Answers1

2

Most probably it's test data issue, double check your CSV file and make sure it doesn't contain empty lines, if they are - remove them and your test should start working as expected.

For small files with only one column you can use __StringFromFile() function - it's much easier to set up and use.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133