usama ibrahim
usama ibrahim

Reputation: 63

CSV Config Element Sharing Mode

I've a scenario in which there are two thread groups. Lets say both thread groups (Thread A & Thread B) contains the procedure for subscription by two different ways. Now the thing is The CSV values used by Thread A can not be used to to subscribe through Thread B (because the subscription will already be done by thread A).

So, I want to ask how to set CSV Data Set Element's Sharing Mode such that both Threads take totally separate values (Thread A doesn't use a CSV value used by Thread B and vice versa) from the same CSV file.

Upvotes: 0

Views: 758

Answers (1)

Dmitri T
Dmitri T

Reputation: 168162

Default Sharing Mode of All Threads fits your need, this way each thread (virtual user) reads next line at each iteration:

enter image description here

CSV Data Set Config setup just in case:

enter image description here

and the CSV file:

enter image description here

just make sure to place the CSV Data Set Config at the same level as Thread Groups, this way it will work as in the above screenshots.

More information:

Upvotes: 1

Related Questions