JMeter中Ultimate Thread Group插件使用

时间:2023-03-08 22:54:42
JMeter中Ultimate Thread Group插件使用

JMeter下载地址:  http://jmeter.apache.org/
Ultimate Thread Group插件下载地址: https://jmeter-plugins.org/get/

一.插件安装方式
1.在Jmeter安装目录中找到D:\apache-jmeter-5.1\lib\ext目录,将下载的jmeter-plugins-manager.jar放到ext下
2.启动JMeter,在bin目录中选择 jmeter.sh(linux)或jmeter.bat(windows)
3.菜单栏选择options -> plugins manager -> available plugins 勾选 jpgc-Standard Set 选择右下角的apply changes and restart jmeter
二.配置测试规则
1.添加-线程组-选择Ultimate Thread Group

JMeter中Ultimate Thread Group插件使用

2.设置测试规则:选择Add Row,然后填写对应信息如下
Start Threads Count-线程数(并发数):10
Initial Delay/sec-初始化延迟时间:10
Startup Time/sec-线程启动达到峰值时间:10
Hold Load For/sec-线程达到峰值后稳定执行时间:10
Shutdown Time-线程销毁缓冲时间:10

JMeter中Ultimate Thread Group插件使用

3.配置其他规则HTTP Request、View Results Tree、Aggregate Report、Transactions per Second等进行测试