hivemq-mqtt-client
hivemq-mqtt-client copied to clipboard
Uses cases for below HiveMQ success codes
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
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 Can I get any test classes for the same ?
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