简体   繁体   English

IBM MQ 8的JMeter配置

[英]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? 我正在尝试使用JMeter测试IBM MQ 8.0是否有人有我需要的各种参数的示例(也许是屏幕截图)? 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; JNDI名称请求队列:一些示例显示队列名称; some a JNDI name. 一些JNDI名称。 Now what? 怎么办?
  • JMS selector? JMS选择器?
  • Any JMS properties? 有JMS属性吗?
  • Any JNDI properties? 有JNDI属性吗?
  • InitialContext Factory? InitialContext工厂?

I assume I want to use "myserver" at port 50000, with user "myuser" and password "mypassword". 我假设我想在端口50000上使用“ myserver”,并使用用户“ myuser”和密码“ mypassword”。

The trick is to configure a JNDI context in MQExplorer before, and basically set the names of JNDI objects created there: 技巧是在MQExplorer之前配置JNDI上下文,并基本上设置在那里创建的JNDI对象的名称:

在此处输入图片说明

The following works for me with JMeter 3.2: 以下内容适用于JMeter 3.2:

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

And don't forget to add the MQ JAR to the test plan: 并且不要忘记将MQ JAR添加到测试计划中:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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