hivemq-mqtt-client icon indicating copy to clipboard operation
hivemq-mqtt-client copied to clipboard

Uses cases for below HiveMQ success codes

Open Shalaka1197 opened this issue 10 months ago • 3 comments

Please tell me the valid test scenarios for below HiveMQ success codes. Is there any test cases are available for the same ?

  • SUCCESS ,NO_MATCHING_SUBSCRIBERS ,UNSPECIFIED_ERROR , IMPLEMENTATION_SPECIFIC_ERROR, NOT_AUTHORIZED , TOPIC_NAME_INVALID, PACKET_IDENTIFIER_IN_USE, QUOTA_EXCEEDED , PAYLOAD_FORMAT_INVALID

Shalaka1197 avatar Mar 27 '24 15:03 Shalaka1197

Hi @Shalaka1197 - these all come from the MQTT protocol specifications: https://mqtt.org/mqtt-specification/

Many are tested in the bundled test suite.

What's your question regarding? Does this help?

pglombardo avatar Mar 27 '24 15:03 pglombardo

@pglombardo Can I get any test classes for the same ?

Shalaka1197 avatar Mar 27 '24 15:03 Shalaka1197

Everything we have for this client is open source in this repo. For example: https://github.com/search?q=repo%3Ahivemq%2Fhivemq-mqtt-client%20NO_MATCHING_SUBSCRIBERS&type=code

pglombardo avatar Mar 28 '24 08:03 pglombardo