如何从命令行禁用特定线程组

How can i disable specific thread group from command line

我的 jmeter 脚本中有以下测试计划

    TestPlan
    -threadgroup1 
      -script1.jmx
    -threadgroup2
      -script2.jmx
    -threadgroup3
      -script3.jmx

因此,如果我从命令行为

传递以下值
    threadgroup1 ----threads1 = 2                                                                                                                                                                                                                                                                                                                                                                                                                         
    threadgroup2 ----threads2=0
    threadgroup3--- threads3=5 

它会只执行 threadgroup1 和 threadgroup3 还是有任何其他方法从命令行禁用线程组。

是的,我采用了相同的方法w/o 任何问题 & 所以我认为不执行线程组应该没问题,因为除了以编程方式更新 jmx 文件外,我看不到任何选项。