JMeter测试ActiveMQ
1、环境: jmeter版本:apache-jmeter-2.8 ActiveMQ版本:apache-activemq-5.4.3
2、测试:
2.1 将%ActiveHome%/lib下的jar拷贝到%JMeterHome%/lib下
2.2 运行%JMeterHome%/bin/jmeter.bat
2.3 在Sample里选择JMS point-point,配置见图
;
在网上找了另外一种方法,需要创建一个jndi.properties文件,然后将该文件打包到%ActiveHome%/bin下的ApacheJMeter.jar中,目的是为了将jndi.properties加入到classpath下;
这种方法,可以在JMS Point-to-Point页面的“JNDI Properties”中添加来完成,而取代将jndi.properties加入到classpath中;
公司有限制,无法上传图片