如果我理解正確,您希望thread1讀取row1和thread2來讀取row2,從而爲每個線程提供CSV文件中的唯一值。這正是「所有線程」所做的。您可以使用調試控制器來驗證這一點。
http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config
* All threads - (the default) the file is shared between all the threads.
* Current thread group - each file is opened once for each thread group in which the element appears
* Current thread - each file is opened separately for each thread
* Identifier - all threads sharing the same identifier share the same file. So for example if you have 4 thread groups, you could use a common id for two or more of the groups to share the file between them. Or you could use the thread number to share the file between the same thread numbers in different thread groups.
你是對的,當我選擇的所有線程則每個線程都需要下一行從文件。謝謝。 – Roman