JMeter configuration for IBM MQ 8

与世无争的帅哥 提交于 2019-12-19 11:51:30

问题


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".


回答1:


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:



来源:https://stackoverflow.com/questions/46200688/jmeter-configuration-for-ibm-mq-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!