Web services 每个线程具有不同参数的JMeter测试计划

Web services 每个线程具有不同参数的JMeter测试计划,web-services,rest,wcf-data-services,jmeter,stress-testing,Web Services,Rest,Wcf Data Services,Jmeter,Stress Testing,我需要用JMeter测试web设备。 我已经用线程组500创建了测试计划。 我需要为每个线程传递新的参数值。 我听说过“CSV数据集配置”,但它不允许我想要的,因为如果我设置“共享模式”=“所有线程”,那么每个线程将尝试从文件的每一行读取-我想为第一个线程传递文件中的第一个值,为第二个线程传递第二个值,依此类推。当然,我可以用一行创建500个文件,但这种方法既愚蠢又缓慢。 我怎样才能以最好的方式做到这一点?谢谢 如果我理解正确,您希望thread1读取第1行,thread2读取第2行,从而从CS

我需要用JMeter测试web设备。 我已经用线程组500创建了测试计划。 我需要为每个线程传递新的参数值。 我听说过“CSV数据集配置”,但它不允许我想要的,因为如果我设置“共享模式”=“所有线程”,那么每个线程将尝试从文件的每一行读取-我想为第一个线程传递文件中的第一个值,为第二个线程传递第二个值,依此类推。当然,我可以用一行创建500个文件,但这种方法既愚蠢又缓慢。
我怎样才能以最好的方式做到这一点?谢谢

如果我理解正确,您希望thread1读取第1行,thread2读取第2行,从而从CSV文件中为每个线程指定一个唯一的值。这正是“所有线程”所做的。您可以使用调试控制器来验证这一点


你们是对的,当我选择所有线程时,每个线程从文件中取下一行。谢谢
* 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.