Hi Akalanka,

Srinath an i had a discussion. One of the aspects Srinath pointed out was
to assure the use case when there're let's say 3 subscribers bound to the
same topic and two subscribers acked instantly but the third took more time
to ack which will result in the message being assigned to the retry cycle.
At a time like that we need a test to verify the following,

1) Ensure that the subscribers who acked will not receive duplicate
messages.
2) The subscriber with acked later received the message,

Thanks,
Pamod

On Mon, Nov 3, 2014 at 4:45 PM, Akalanka Pagoda Arachchi <[email protected]
> wrote:

> 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 <078-4721791>*
>



-- 
*Pamod Sylvester *
 *Senior Software Engineer *
Integration Technologies Team, WSO2 Inc.; http://wso2.com
email: [email protected] cell: +94 77 7779495
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to