Switch branches/tags
Nothing to show
Find file History
Permalink
..
Failed to load latest commit information.
mbt Remove the real sockets from test generation so that the broker state… Jan 27, 2015
mqtt Fix for issue #56 - reset subscription id property list for each subs… Aug 10, 2018
specifications Get test generation and coverage measurements working again May 16, 2018
testsuites/basic Remove the real sockets from test generation so that the broker state… Jan 27, 2015
tls_testing Change server cert hostnames to localhost May 1, 2018
.gitignore Convert client_test to unittest and check session present Aug 4, 2017
MQTT Tests.ods Finish seeding test broker with conformance statements Feb 27, 2014
README.md Update README for TLS config, and add bind address config for TCP/UDP… Jan 4, 2018
bridge_testA.py Add starter bridge tests Feb 26, 2014
bridge_testB.py Add starter bridge tests Feb 26, 2014
client_test.py Add unsubscribe test PR #14 Aug 4, 2017
client_test5.py Fix for issue #56 - reset subscription id property list for each subs… Aug 10, 2018
client_testing.conf Add will delay in V5 and TCP bridge skeleton Jan 9, 2018
localhost_testing.conf Configuration improvements and fixes May 3, 2018
mqtt test spreadsheet.ods Add test check matrix Mar 13, 2014
run_proxy.py Add test proxy and coverage updates Feb 3, 2014
run_restart_proxy.py Stop V311 broker printing coverage statements already met Dec 13, 2017
run_test.py Allow multiple instances of the same observation Jan 21, 2015
startbroker.py Configuration improvements and fixes May 3, 2018
suite_generate.py Get test generation and coverage measurements working again May 16, 2018
udp.conf MQTT-SN QoS -1 Jul 27, 2018

README.md

MQTT Version 5

Start a broker:

python3 startbroker.py

Run client tests:

python3 client_test5.py

various options are available, individual tests can be run with:

python3 client_test5.py Test.test_name

As yet unimplemented features:

https://github.com/eclipse/paho.mqtt.testing/issues

Sub-packages:

mqtt/formats/MQTTV5 - packet serialization and deserialization mqtt/clients/V5 - test client implementation mqtt/brokers/V5 - test broker implementation

MQTT Version 3

Start a broker:

python3 startbroker.py

Run client tests:

python3 client_test.py

TLS

A configuration file similar to that of Eclipse Mosquitto can be passed to startbroker:

python3 startbroker.py -c client_testing.conf

so for example, a TCP listener with TLS support can be configured like this:

listener 18884 cafile tls_testing/keys/all-ca.crt certfile tls_testing/keys/server/server.crt keyfile tls_testing/keys/server/server.key require_certificate true