jmeter:我可以使用jmeter JMeter的"JMS点对点"功能吗?向MSFT Azure服务总线队列发送消息? [英] jmeter: Can I use jmeter JMeter "JMS Point-To-Point" to send messages to MSFT Azure Service Bus queue?

查看:143
本文介绍了jmeter:我可以使用jmeter JMeter的"JMS点对点"功能吗?向MSFT Azure服务总线队列发送消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有xml消息,想将它们发送到MSFT ASB队列.

I have xml messages and want to send them to an MSFT ASB queue.

使用JMeter"JMS点对点"可以做到吗?

Is it doable with JMeter "JMS Point-To-Point"?

如果是,如何? 无法弄清楚如何配置. 我所拥有的只是ASB的连接字符串.

If yes How? Cannot figure out how to configure. All I have is a connection String to the ASB.

谢谢.

反馈1:

信息o.a.q.j.s.SaslMechanismFinder:与SASL身份验证最匹配的是:SASL-ANONYMOUS 2018-10-02 18:46:19,734 INFO o.a.q.j.JmsConnection:连接ID :: 8356a2a7-4cf2-4ab0-8ee9-240b62f5fd73:1已连接到远程Broker:amqps://.servicebus.windows.net 2018-10-02 18:46:20,321警告o.a.q.j.p.a.b.AmqpResourceBuilder:打开资源:(JmsProducerInfo {ID :: 8356a2a7-4cf2-4ab0-8ee9-240b62f5fd73:1:1:1,destination =})失败:未经授权的访问.执行此操作需要发送"声明.资源:"sb://.servicebus.windows.net/". TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52,SystemTracker:gateway7,时间戳:10/2/2018 3:46:17 PM [条件= amqp:未经授权的访问] 2018-10-02 18:46:20,321错误o.a.j.p.j.s.JMSSampler:未经授权的访问.执行此操作需要发送"声明.资源:"sb://.servicebus.windows.net/". TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52,SystemTracker:gateway7,时间戳:10/2/2018 3:46:17 PM [条件= amqp:未经授权的访问] javax.jms.JMSSecurityException:未经授权的访问.执行此操作需要发送"声明.资源:"sb://.servicebus.windows.net/". TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52,SystemTracker:gateway7,时间戳:10/2/2018 3:46:17 PM [condition = amqp:unauthorized-access]

INFO o.a.q.j.s.SaslMechanismFinder: Best match for SASL auth was: SASL-ANONYMOUS 2018-10-02 18:46:19,734 INFO o.a.q.j.JmsConnection: Connection ID::8356a2a7-4cf2-4ab0-8ee9-240b62f5fd73:1 connected to remote Broker: amqps://.servicebus.windows.net 2018-10-02 18:46:20,321 WARN o.a.q.j.p.a.b.AmqpResourceBuilder: Open of resource:(JmsProducerInfo { ID::8356a2a7-4cf2-4ab0-8ee9-240b62f5fd73:1:1:1, destination = }) failed: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://.servicebus.windows.net/'. TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52, SystemTracker:gateway7, Timestamp:10/2/2018 3:46:17 PM [condition = amqp:unauthorized-access] 2018-10-02 18:46:20,321 ERROR o.a.j.p.j.s.JMSSampler: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://.servicebus.windows.net/'. TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52, SystemTracker:gateway7, Timestamp:10/2/2018 3:46:17 PM [condition = amqp:unauthorized-access] javax.jms.JMSSecurityException: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://.servicebus.windows.net/'. TrackingId:79fda5972c644c8d8f1c33bea40987ae_G52, SystemTracker:gateway7, Timestamp:10/2/2018 3:46:17 PM [condition = amqp:unauthorized-access]

推荐答案

我可以通过使用"AMQP Publisher-Sampler"或"Java Sampler"将消息发送到Azure服务总线.与JMS点对点采样器的不同之处在于,两者均使用"SEND声明".发送消息时,"LISTEN声明"不是JMS点对点标准实现的一部分.

I could achive sending message to azure service bus by using the "AMQP Publisher-Sampler" or "Java Sampler". The difference to JMS Point-to-point Sampler is that both use "SEND claims" resp. "LISTEN claims", when sending a message, and that is not part of JMS Point to Point standard implementation.

这篇关于jmeter:我可以使用jmeter JMeter的"JMS点对点"功能吗?向MSFT Azure服务总线队列发送消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆