Jump to content

Can not test load Tibco ems using Jmeter


Tai Bui Chi

Recommended Posts

I am trying to use Jmeter to test performance of tibco ems service, I use JMS point-to-point and JMS publisher, but not successfully. And got the below error: Response message: javax.naming.AuthenticationException: Not permitted: invalid name or password [Root exception is javax.jms.JMSSecurityException: invalid name or password] I don't know why because I used the correct usename/password Please see my images for setting in two cases:
Link to comment
Share on other sites

  • 2 months later...

I managed to make it work. You have to provide the username and password as JNDI properties

 

java.naming.security.principal

java.naming.security.credentials

 

For the JMS point-to-point, you can add it in the JNDI properties section.

 

For the JMS publisher, you'd have choose the "Use jndi.properties file" option.

 

Prepare a jndi.properties file with the following lines in it

 

java.naming.factory.initial=the initial context factory

java.naming.provider.url=jms provider url

java.naming.security.principal=username

java.naming.security.credentials=password

 

Package the file as a jar

jar cvf jndi-properties.jar jndi.properties

 

Place the jar in the jmeter lib folder and restart jmeter.

 

Hope that works for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...