环境:MAC OS X EI Capitan 10.11.3 + JMeter 2.13 + ActiveMQ 5.13
1.复制 [activemq_home]/activemq-all-5.13.0.jar 到 [jmeter_home]/lib
cp /Users/maping/Apache/activemq/activemq-all-5.13.0.jar /Users/maping/Apache/jmeter/lib/activemq-all-5.13.0.jar
2. 把 [jmeter_home]/bin 下的.sh文件增加可执行权限
cd ~/Apache/jmeter/bin
chmod a+x *.sh
如果不执行此步,会报告Permission Denied错误。
3. 启动jmeter
./jmeter.sh
4. 启动activemq
5. 配置AMQ-Point-to-Point测试计划
(1)添加Thread Group
(2)在Thread Group下添加 JMS Point-to-Point 采样器(Sampler)
(3)在Thread Group下添加 Graph Result 监听器(Listener)
(4)在Thread Group下添加 Summary Report 监听器(Listener)
(5)在Thread Group下添加 View Result Tree 监听器(Listener)
(6)在Thread Group下添加 Aggregate Report 监听器(Listener)
6. 运行测试
参考文献:
1. http://jmeter.apache.org/usermanual/build-jms-point-to-point-test-plan.html
1.复制 [activemq_home]/activemq-all-5.13.0.jar 到 [jmeter_home]/lib
cp /Users/maping/Apache/activemq/activemq-all-5.13.0.jar /Users/maping/Apache/jmeter/lib/activemq-all-5.13.0.jar
2. 把 [jmeter_home]/bin 下的.sh文件增加可执行权限
cd ~/Apache/jmeter/bin
chmod a+x *.sh
如果不执行此步,会报告Permission Denied错误。
3. 启动jmeter
./jmeter.sh
4. 启动activemq
5. 配置AMQ-Point-to-Point测试计划
(1)添加Thread Group
(2)在Thread Group下添加 JMS Point-to-Point 采样器(Sampler)
(3)在Thread Group下添加 Graph Result 监听器(Listener)
(4)在Thread Group下添加 Summary Report 监听器(Listener)
(5)在Thread Group下添加 View Result Tree 监听器(Listener)
(6)在Thread Group下添加 Aggregate Report 监听器(Listener)
6. 运行测试
参考文献:
1. http://jmeter.apache.org/usermanual/build-jms-point-to-point-test-plan.html
没有评论:
发表评论