jmeter bzm xmpp plugin does not work in command line mode

35 views
Skip to first unread message

Volodymyr Gryniuk

unread,
Aug 17, 2017, 7:15:13 AM8/17/17
to jmeter-plugins
Hi Community!

Wrote couple of scripts using bzm xmpp plugin. They're working perfect in jmeter GUI mode. But when I tried to execute them via console command line, xmpp plugin returns error. See stack-trace below:

org.jivesoftware.smack.SmackException$ConnectionException
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:436)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:811)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
at com.blazemeter.jmeter.xmpp.actions.Connect.perform(Connect.java:18)
at com.blazemeter.jmeter.xmpp.JMeterXMPPSampler.sample(JMeterXMPPSampler.java:57)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:491)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)
at java.lang.Thread.run(Unknown Source)

Scripts which does not contains xmpp plugin works well in both GUI and console mode.

jmeter version: 3.2r 1790748
xmpp plugin version: 1.5.1

Reproduced on Win10 and Centos (non GUI mode).

Any idea of hov to resolve the issue?

Thanks. Volodymyr.

Andrey Pokhilko

unread,
Aug 17, 2017, 8:01:48 AM8/17/17
to jmeter-...@googlegroups.com

Hi,

Did you try increasing connect timeout?

Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Volodymyr Gryniuk

unread,
Aug 17, 2017, 8:56:26 AM8/17/17
to jmeter-plugins
It helps! 
Thanks.

четвер, 17 серпня 2017 р. 15:01:48 UTC+3 користувач Andrey Pokhilko написав:
Reply all
Reply to author
Forward
0 new messages