Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When server had some error, after client reconnect success, cann't receive any message #134

Open
lycherish opened this issue Nov 24, 2022 · 1 comment

Comments

@lycherish
Copy link

Hi Team,

Jmeter (V5.1.1) not receiving MQTT message when the below server exception occurs. Please help
xmeter JAR : mqtt-xmeter-2.0.2-jar-with-dependencies.jar
Test Scenario: Cluster high-availability scenarios, jmeter connect nginx server, and then subscriber topic,after the server occur, the client can automatically reconnect, and expect to continue receiving new messages

Exception:
After the server is disconnected, the client is automatically reconnected, there is a new connect between client and server, but somebody else publish a new msg, the Mqtt Sub Sampler can not receive new message.

I guess when reconnect succuess, the sampler don't know the connect changed,and there is no monitor for connect change.

Could you help me fix this issue, thank you very much.

@Jadeite09
Copy link
Contributor

  1. Please make sure set clientid and clean session=false
  2. Which MQTT broker version used

@chongyuanyin chongyuanyin changed the title When server had some error,after client reconnect success,cann't receive any message When server had some error, after client reconnect success, cann't receive any message Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants