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?
- 队列连接工厂?
- JNDI 名称请求队列:一些示例显示队列名称;一些 JNDI 名称.怎么办?
- JMS 选择器?
- 任何 JMS 属性?
- 任何 JNDI 属性?
- InitialContext 工厂?
我假设我想在端口 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屋!