Reputation: 1245
In one of my Jmeter scripts (5.11), I am trying to use one CSV file for inputs for all test threads defined.
But when I execute the scripts and check for the request body, it takes the first row for both thread groups. My assumption was, it takes one row for each iteration, like for local CSV Data Set Config, under thread group. Please sugges why it is happing so and how to fix this.
Upvotes: 0
Views: 599
Reputation: 168162
Set "Sharing Mode" to All threads
, this way each thread will read next line on each iteration:
Demo (used __threadGroupName() and __threadNum() functions for visualization):
More information: CSV Data Set Config in Sharing Mode - Made Easy
Upvotes: 1