Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT Server Setup for Testing of MQTT clients

Roger,

I have tests for malformed packets and the like too, in that case your approach is good.

But I also want to run tests with combinations of situations, and complex or randomized inputs. Then defining the correct results may be more work than it is worth.

I think there is a place for both approaches. We will be adding our existing tests for the C and Java clients. We'll be able to take a look at both styles when they're running.

I'm requesting a virtual server for Paho tests to use.

Ian



On 07/23/2013 10:44 PM, Roger Light wrote:
Hi Ian,

I use a network proxy sitting between the client and server to allow testing
of error conditions.
That's good, but only allows you to model a subset of failures. I want
to be able to test response to malformed packets, to incorrect
behaviour at the remote broker/client and that sort of thing. Using a
proxy doesn't fit that situation unless you program the proxy to do
those things, at which point you've reimplemented the few lines of
python that I wrote but with greater complexity.

Cheers,

Roger
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



Back to the top