jmeter脚本设置
Jenkins设置
运行代码设置
cd /home/jmeterWorkplace/performceTps/script
/home/app/apache-jmeter-5.4.3/bin/jmeter -n -t jenkins_test.jmx -Jtarget_rate=${target_rate} -Jramp_up_time=${ramp_up_time} -Jramp_up_step_count=${ramp_up_step_count} -Jhold_target_time=${hold_target_time} -l result.jtl
运行效果