emqx / mqtt-jmeter

MQTT JMeter Plugin
https://www.emqx.com/en
Apache License 2.0
445 stars 194 forks source link

Session expired right after the connection established #131

Open VitaliiBushylo opened 1 year ago

VitaliiBushylo commented 1 year ago

Hello, I'm new with JMeter and MQTT plugin. Please help me to figure out what do I do wrong here. I have an issue with a publishing step. This is a connection settings. image This is a publish settings. image As you can see the Connect step is successful. But the following step (Publish) is failing with an error: Client [...] publish failed: Session expired as connection was closed. image

Please assist. Thank you in advance!

chongyuanyin commented 1 year ago

From the screenshot, I can see an "MQTT DisConnect" sampler call before "MQTT Connect", was it possible that the Pub was after disconnecion?