Tai Bui Chi Posted December 23, 2018 Share Posted December 23, 2018 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 More sharing options...
Jibril Hassan 4 Posted March 1, 2019 Share Posted March 1, 2019 Any comments on this issue greatly appriciated. I'm also facing the same. Link to comment Share on other sites More sharing options...
Jibril Hassan 4 Posted March 6, 2019 Share Posted March 6, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now