For Loadtesting Apache Active MQ , JMS-Point-to-Point sampler in Jmeter will help us. Think that you do not have JNDI settings and no apache activemq for JMS messaging, instead IBM Websphere MQ is in place. One day your manager is coming and asking you to test IBM MQ using open source testing tool as they do not ready to pay for small scale performance testing.
In that case , here is the steps to use Jmeter to load test IBM Websphere MQ.
The content here is pretty much precious as I have spent almost 2 months to figure out.Hence it will save your valuable time 🙂
- Below are the Java and MQ jars needed. Download these jar files and place it under Jmeter’s libext directory. ‘jmeter-jms-skip-jndi-0.0.1.jar‘ is the jar contains the MQ declaration and coding to connect it. You can down it from the URL : ‘http://www.java2s.com/Code/Jar/j/Downloadjmeterjmsskipjndi001jar.htm‘
- Open Jmeter -> File-> New->TestPlan -> Add Thread Group
- Under Thread Group add Samplers->JMS Point-to-Point Sampler and configure the parameter. As given in the below Screenshot.
- Run Jmeter Script and Enjoy IBM MQ load testing .