如何使用 JMeter 测试 JBossMQ JMS 队列

发布于 2024-07-25 20:03:16 字数 689 浏览 2 评论 0原文

我想使用 JMeter 测试我可以将消息发送到 JBossMQ (JBoss 4.2.3 JMS 队列)。 如果我能做到这一点,那么我将能够构建一些负载和其他测试。

JBoss 几乎是开箱即用的,是一个名为servername 的服务器。 由于默认设置了一些队列,所以让我们使用队列 A,根据 ${JBOSS_HOME}/server/default/deploy/jms/jbossmq-destinations-service.xml 具有

 <mbean code="org.jboss.mq.server.jmx.Queue"
         name="jboss.mq.destination:service=Queue,name=A">
    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
 </mbean>

JMeter 想要知道的值:

  • QueueConnectionFactory
  • JNDIname 请求队列
  • any JMS 属性
  • 任何 JNDI 属性
  • 提供者 URL

您能帮我填写这些框吗?

I'd like to use JMeter test that I can send a message to a JBossMQ (JBoss 4.2.3 JMS Queue). If I get that far then I will be able to build some load and other tests.

JBoss is pretty much straight out of the box and is a server called servername. Since there are some queues set up by default, lets use Queue A which according to ${JBOSS_HOME}/server/default/deploy/jms/jbossmq-destinations-service.xml has the values

 <mbean code="org.jboss.mq.server.jmx.Queue"
         name="jboss.mq.destination:service=Queue,name=A">
    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
 </mbean>

JMeter wants to know:

  • QueueConnectionFactory
  • JNDIname Request queue
  • any JMS properties
  • any JNDI properties
  • a provider URL

can you please help me fill in the boxes?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半暖夏伤 2024-08-01 20:03:16

您可以从 JBoss MQ 客户端示例中找到所需的值: http://www.jboss.org /community/wiki/QueueExample

You can find the desired values from the JBoss MQ client examples: http://www.jboss.org/community/wiki/QueueExample.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文