简体   繁体   中英

JMeter configuration for IBM MQ 8

I am trying to use JMeter to test IBM MQ 8.0 Does anyone have an example (maybe a screenshot) of the various parameters I need? I found several examples, but very inconsistent... More precisely, what should I fill in?

截图

  • QueueConnection Factory?
  • JNDI name Request Queue: some example shows a queue name; some a JNDI name. Now what?
  • JMS selector?
  • Any JMS properties?
  • Any JNDI properties?
  • InitialContext Factory?

I assume I want to use "myserver" at port 50000, with user "myuser" and password "mypassword".

The trick is to configure a JNDI context in MQExplorer before, and basically set the names of JNDI objects created there:

在此处输入图片说明

The following works for me with JMeter 3.2:

在此处输入图片说明 在此处输入图片说明

And don't forget to add the MQ JAR to the test plan:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM