Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » MQTT conformance test (Test specification when testing a client )
MQTT conformance test [message #1779703] Thu, 11 January 2018 12:29 Go to next message
Li L is currently offline Li LFriend
Messages: 1
Registered: January 2018
Junior Member

I have been looking at the MQTT Conformance/Interoperability Testing project and have a few questions when it comes to conformance testing of a client. From what I understand I should use the model broker and run tests against that broker to measure the specification coverage of the tests.
Are there any test cases implemented and/or specified for clients to use?
Will some of the Client Test column tests in the MQTT Tests excel be implemented or is it up to each client to implement its own test cases?
Will the Statement No in the excel file be updated to the released 3.1.1 standard instead of the Draft version that is currently used?
Re: MQTT conformance test [message #1780166 is a reply to message #1779703] Thu, 18 January 2018 10:19 Go to previous message
Ian Craggs is currently offline Ian CraggsFriend
Messages: 76
Registered: March 2013

yes, you can use the model broker to run the client against. It will tell you on termination which conformance statements have been encountered during the testing. My original goal was to generate an abstract test suite which would apply to any client library. To run against a specific library then this abstract suite would have to be translated to the API of the library.

At this point, you can write your own test suite, and the model broker will give you an idea of the completeness of your testing. The coverage matrix in the spreadsheet is really a minimal coverage set, a stepping stone to the complete coverage suite which I have not yet achieved.

There is also a specific Eclipse IoT Testware project which you might like to look at:
Previous Topic:paho mqtt raspberry and esp8266
Next Topic:Useful client tool presentation
Goto Forum:

Current Time: Sat Oct 31 14:29:04 GMT 2020

Powered by FUDForum. Page generated in 0.01824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top