我需要在从用户那里获得输入后,在运行时将线程组、提升时间和循环计数传递给JMeter脚本。set /p thread=Enter the count for thread groups: set /p loopcount=Enter the loopcount:
%cd%\jmeter -n -t E
我正在尝试参数化JMeter测试,以便能够使用相同的测试计划运行负载测试、压力测试和浸润负载测试。为此,我将以下内容定义为用户定义的变量(Test ->添加-> Config Element ->用户定义变量)rampUp=${__P(rampUp,1)}schedulerEnabled=${__P(schedulerEnabled,fals