0

I am trying to log into a local OpenFire XMPP server through JMeter. I've followed tutorials and have my XMPP Samplers inside JMeter. The Connect one is fine. The log in one gives me an error of SmackException$NoResponseException: null.

I'm thinking it has something to do with certificates or some sort, which is why it's unable to log in. When I use a GUI client like Pidgin to log in, I have to accept certificates (which are the default ones, so self-signed I'm guessing) but this is timing out and giving me that response. How can I bypass this?

ninchicken
  • 99
  • 1
  • 8

1 Answers1

0

Looking into XMPP Plugin source code it appears that it should accept all the certificates no matter of their validity just like JMeter does for HTTP Request samplers so the issue must be somewhere else

Try increasing logging verbosity for the XMPP plugin by adding the next line to log4j2.xml file (lives in "bin" folder of your JMeter installation)

<Logger name="com.blazemeter.jmeter.xmpp" level="debug" />

and on JMeter restart you should see way more information regarding what's going on in jmeter.log file

Going forward be aware that it's possible to import self-signed certificates into JVM truststore and point JMeter to the truststore by javax.net.ssl.trustStore property

Dmitri T
  • 159,985
  • 5
  • 83
  • 133