0

The connection is not being established and the error is javax.naming.NoInitialContextException: Cannot instantiate class:com.solacesystems.jndi.SolJNDIInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.solacesystems.jndi.SolJNDIInitialContextFactory]

3 Answers3

0

You need to add in jmeter/lib folder the jar that contains the jndi classes for your JMS implementation.

This might help:

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
0

You are missing sol-jms-10.3.0.jar which you can download/ use maven from Solace JMS API site.

JMS jars need to be added to JMeter's lib folder. see JMeter classpath:

Other jars (such as JDBC, JMS implementations and any other support libraries needed by the JMeter code) should be placed in the lib directory - not the lib/ext directory, or added to user.classpath.

Ori Marko
  • 56,308
  • 23
  • 131
  • 233
0

That's definitely the issue of missing dependency of SOL JMS implementation

Please add the one like (gradle example):

implementation 'com.solacesystems:sol-jms:10.6.3'
27P
  • 1,183
  • 16
  • 22