Hi all,

According to hasitha's mail I have identified following test cases to
include in the MQTT tests.

*Functional Tests*


   - Test MQTT for QOS 0,1 and 2
   - Test long topic hierarchies
   - Test MQTT wildcards
   - Test duplicate client Id
   - Test last will testament



*Load Tests*


   - Number of clients - 50 subscribers, 50 publishers with 100000 messages
   - QOS 0,1 and 2 with 100000 messages
   - Disconnection between send/receive for 100000 messages
   - Payload Size 1MB message send/receive


Please provide if there are any other scenarios that needs to be tested for
MQTT.

Thanks,
Akalanka

On Thu, Oct 30, 2014 at 3:18 PM, Hasitha Amal De Silva <[email protected]>
wrote:

> 2nd link is not valid. The correct one is :
> https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client
>
> Thanks
>
> On Thu, Oct 30, 2014 at 3:13 PM, Hasitha Amal De Silva <[email protected]>
> wrote:
>
>> Hi all,
>>
>> Following up on MQTT integration for MB 3.0.0 we need to do $subject to
>> our automated test suite.
>>
>> I have attached herewith the functional test suite used by Pamod to
>> perform basic tests in early days [1] . We will modify and add this into
>> our test cases collection in a generic way.
>>
>> In terms of performance tests, the following aspects need to be covered.
>> (Add if I missed any)
>>
>> 1. Multiple subscribers / publishers
>>
>> 2. Multiple queues
>>
>> 3. Large messages (1 MB max for now)
>>
>> 4. Multi-threaded subscribers/ publishers
>>
>> We should ideally be able to inject above 4 tests into the functional
>> test cases as parameters. That way, we'll get full coverage.
>>
>> I have made an MQTT client [1] which supports multi-threaded
>> publishers/subscribers (improving on Pamod's initial version). Its still a
>> work in progress. We can modify it as needed and once stabilized, place it
>> as the standard client used within our tests.
>>
>> Akalanka and me will be initially working on these.
>>
>> Appreciate your feedback on any additional test scenarios / improvements
>> .
>>
>>
>> [1] ​:
>> https://drive.google.com/file/d/0B1soNraLsHdmbzNsZ19ZTWFwTzA/view?usp=sharing
>> [2] : https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client​
>>
>>
>>
>> --
>> Cheers,
>>
>> Hasitha Amal De Silva
>>  Software Engineer
>> Mobile : 0772037426
>> Blog    : http://devnutshell.tumblr.com/
>> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>>
>
>
>
> --
> Cheers,
>
> Hasitha Amal De Silva
>  Software Engineer
> Mobile : 0772037426
> Blog    : http://devnutshell.tumblr.com/
> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>



-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to