jemeter 测试步骤



jemeter 可以直接测试服务器性能状态以及各种指标

本次打包配置的是针对activemq 的测试,已经将所有涉及到的插件包和配置打包。

执行步骤
1 将 ServerAgent-2.2.1 在目标服务器上运行。
2 执行apache-jmeter-3.1/bin/jmeter.bat 或者 jmeter
3 新建执行计划 和线程组
4 给线程组添加Sampler-JMS Point-to-Point
5 在JMS Point-to-Point 添加ConnectionFactory 、发送队列testQueue666和接收队列(接收队列不添加则表示不接收消息)
   在JMS Properties 中添加属性 JMSSampler.useSecurity.properties false java.lang.Boolean
   在JNDI Properties中添加 org.apache.activemq.jndi.ActiveMQInitialContextFactory
   在JNDI Properties中添加 queue.testQueue666 com.activemq.test.testQueue666
   在Provider URL 中添加 tcp://172.16.0.15:1887

6 启动测试
   后端执行脚本
   windows > jmeter -n -t ./templates/JMS-Point-to-Point.jmx -l ./report/20171103activemq-02.jtl

猜你喜欢

转载自annan211.iteye.com/blog/2410568