3
votes

I am doing an IBM webpshere project and IBM MQ is reauired within this project, and now, We need to use Jmeter to send message to IBM MQ,

Anyone knows how to create the test plan in Jmeter for IBM MQ message test? link and test plan are preferred.

Note, IBM MQ is a little difference with standard JMS, it provides host, queue manager, server channel, port and queue name, how can we configure this within Jmeter?

Thanks in advance.

3

3 Answers

6
votes
  1. Follow instructions from Obtaining the WebSphere MQ classes for JMS guide to get all the necessary client libraries.
  2. Place libraries from step 1 to JMeter classpath using one of following approaches:

    • add jars to /lib folder of JMeter installation
    • add the next line to user.properties file

      user.classpath=/folder/with/mq/jars

    JMeter restart will be required to pick the libraries up.

  3. Follow steps from Building a JMS Testing Plan - Apache JMeter guide to set JMeter up.
3
votes

You can use mqmeter Java Sampler Request:

https://github.com/JoseLuisSR/mqmeter

I used it and works very well.

If you have questions or comments let me know.

Thanks.

-1
votes

You should read the JMeter manual. It has a whole section on build a JMS test plan.