Observing Error Codes for MQTT Sub Sampler, SUBACK contains only Error Codes
ManikandarajThirumeni opened this issue · 1 comments
Hi All,
For the very first attempt of MQTT Sub Sampler, Response code is shown as 200, but the received message is shown as 0.
And all the remaining attempts of MQTT Sub Sampler are failing with Error Code 501.
Note : MQTT Pub Sampler is working fine for the same topic.
Don't use GUI mode for load testing !, only for Test creation and Test debugging.
For load testing, use CLI Mode (was NON GUI):
jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
Modify current env variable HEAP="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m" in the jmeter batch file
Check : https://jmeter.apache.org/usermanual/best-practices.html
Feb 18, 2021 6:47:36 PM net.xmeter.samplers.mqtt.hivemq.HiveMQTTClient connect
INFO: Connect client: AA-BB-CC-DD-EE-EF
Feb 18, 2021 6:47:37 PM net.xmeter.samplers.mqtt.hivemq.HiveMQTTClient connect
INFO: Connected client: AA-BB-CC-DD-EE-EF
Feb 18, 2021 6:47:37 PM net.xmeter.samplers.SubSampler lambda$listenToTopics$3
INFO: subscribe failed
com.hivemq.client.mqtt.mqtt3.exceptions.Mqtt3SubAckException: SUBACK contains only Error Codes
Have attached the Screenshots for reference. Please let me know your inputs.
Thanks,
Manikandaraj
Same problem, any solutions?