JMeter and TIBCO EMS

Can I use Jmeter with TIBCO EMS? Because I'm trying to connect to EMS servers through JMeter JMS pluin and am not able to succeed.

Any help on this would be greatly appreciated.

Thanks at Advence.

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)
+3
source share
4 answers

We encountered this problem in the past, but worked using the BSF Sampler and scripted using the TIB library in groovy.

+1
source

Well, it looks like your ConnectionFactory(via JNDI) was not found on the server side of the EMS. Check in TIBCO EMS that the configured connection name is factory :;)

Usually QueueConnectionFactoryshould be there as the default name.

0
  • TIBCO_HOME\ems\version\lib jmeter\lib
  • Factory: com.tibco.tibjms.naming.TibjmsInitialContextFactory
  • jmeter
0

,

Factory Original Connection: com.tibco.tibjms.naming.TibjmsInitialContextFactory

Provider URL: tcp: // hostname: 7222

ConnectionFactory: QueueConnectionFactory or (TopicConnectionFactory)

Appointment: sample

username: raghu

password: raghu

-1
source

Source: https://habr.com/ru/post/1721483/


All Articles