IBM MQ 8的JMeter配置 [英] JMeter configuration for IBM MQ 8
问题描述
我正在尝试使用JMeter测试IBM MQ 8.0 有人有我需要的各种参数的示例(也许是屏幕截图)吗?我发现了几个例子,但是非常不一致. 更准确地说,我应该填写什么?
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工厂?
- JNDI名称请求队列:一些示例显示了队列名称;一些JNDI名称.怎么办?
- JMS选择器?
- 是否有JMS属性?
- 是否有JNDI属性?
- InitialContext Factory?
我假设我想在端口50000上使用"myserver",并使用用户"myuser"和密码"mypassword".
I assume I want to use "myserver" at port 50000, with user "myuser" and password "mypassword".
推荐答案
技巧是在之前的MQExplorer中配置JNDI上下文,并基本上设置在那里创建的JNDI对象的名称:
The trick is to configure a JNDI context in MQExplorer before, and basically set the names of JNDI objects created there:
以下内容适用于JMeter 3.2:
The following works for me with JMeter 3.2:
不要忘记将MQ JAR添加到测试计划中:
And don't forget to add the MQ JAR to the test plan:
这篇关于IBM MQ 8的JMeter配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!