JMeter 和 TIBCO EMS
是否可以将 Jmeter 与 TIBCO EMS 一起使用?因为我尝试通过 JMeter JMS 插件连接到 EMS 服务器,但无法成功。
对此的任何帮助将不胜感激。
编辑:错误日志
WARN - jmeter.protocol.jms.sampler.JMSSampler: Name not found: 'com.tibco.tibjms.TibjmsQueueConnectionFactory' javax.naming.NameNotFoundException: Name not found: 'com.tibco.tibjms.TibjmsQueueConnectionFactory'
at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:713)
at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:489)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:295)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:504)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:984)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:985)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:967)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:479)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:468)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
at java.lang.Thread.run(Unknown Source)
Is it possible to use Jmeter with TIBCO EMS? Because I am trying to connect to EMS servers through JMeter JMS plugin and not able to succeed on that.
Any help on this would be greatly appreciated.
EDIT: Error Log
WARN - jmeter.protocol.jms.sampler.JMSSampler: Name not found: 'com.tibco.tibjms.TibjmsQueueConnectionFactory' javax.naming.NameNotFoundException: Name not found: 'com.tibco.tibjms.TibjmsQueueConnectionFactory'
at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:713)
at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:489)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:295)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:504)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:984)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:985)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:967)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:479)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:468)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
at java.lang.Thread.run(Unknown Source)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们过去确实遇到过这个问题,但使用 BSF Sampler 解决了这个问题,并使用 groovy 中的 tib 库编写了脚本。
We did come across this problem in the past but worked around using BSF Sampler and scripted using tib library in groovy.
嗯,听起来好像在 EMS 服务器端找不到您的
ConnectionFactory
(通过 JNDI)。在 TIBCO EMS 中检查配置的连接工厂名称是什么;)通常
QueueConnectionFactory
应作为默认名称。Well that sounds like your
ConnectionFactory
(via JNDI) could not be found on the EMS Server side. Check within TIBCO EMS what the configured connection factory names are ;)Usually
QueueConnectionFactory
should be there as default name.