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

The specified number of reconnection attempts in "MQTT Connect Sampler" does not work #149

Open
WaldemarWldmrvch opened this issue Jan 12, 2024 · 0 comments

Comments

@WaldemarWldmrvch
Copy link

Hi!
I need to add 1 reconnection attempt for each of the connections to my script. After running the script with 5 connections, after a while I observe in Wireshark that the connection of the first stream disappears, then reconnection occurs (a fragment of traffic attached), but after the handshake jmeter sends a FIN packet. After that, jmeter tries to connect again and the FIN packet is sent again after the handshake.
This happens indefinitely. I thought that if I set Reconnect attempts max = 1, then there should have been 1 reconnection attempt, not an infinite number.

Could you explain to me if I have set the settings correctly in the connection creation sampler? I would also like to get an answer to the following question: can reconnection occur with loss of client data (login, password, ClientID)? There is a suspicion that this is happening (according to the development team).

Thank you in advance for your help.
MQTT_Connect_CONFIG
Wireshark_fragment

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

1 participant