我可以使用Jmeter中的CSV配置控件轻松地从CSV获取用户名和密码,但是对于线程数和线程组的持续时间却无法做到这一点。
我尝试以CSV格式提供线程数和持续时间,但似乎不起作用。获得线程数始终为零。
有没有办法得到它?只是想让我的JMX动态,因此如果我只想更改线程数和持续时间并且可以轻松更新,则无需打开JMX。
答案 0 :(得分:1)
Your requirement is to parameterize the number of threads and duration. But should it be from CSV file by using CSV config element
? Because We can not do that way!
One suggestion is to keep a properties file for thread numbers and duration for each Thread Group and pass the properties file as parameter.
This is exactly explained here with more additional information as well.