mosquitto/test/broker
2019-03-21 21:43:36 +00:00
..
c Merge branch 'master' into mqtt5 2018-12-19 14:11:11 +00:00
01-connect-anon-denied.pwfile Initial contribution. 2014-05-07 23:27:00 +01:00
01-connect-anon-denied.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-bad-packet.py Add test for first packet not being CONNECT. 2018-12-19 22:17:56 +00:00
01-connect-disconnect-v5.py Tests and fixes for shortened DISCONNECT packets. 2019-01-17 18:51:23 +00:00
01-connect-duplicate-v5.py Add test for duplicate CONNECT. 2018-12-19 22:17:39 +00:00
01-connect-duplicate.py Add test for duplicate CONNECT. 2018-12-19 22:17:39 +00:00
01-connect-invalid-id-0-311.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-invalid-id-0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-invalid-id-missing.py Add broker test for assigned client id. 2018-12-05 20:26:43 +00:00
01-connect-invalid-id-utf8.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-invalid-protonum.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-invalid-reserved.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-success-v5.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-success.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-invalid-utf8.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-no-flag.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-no-password-denied.pwfile Initial contribution. 2014-05-07 23:27:00 +01:00
01-connect-uname-no-password-denied.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-password-denied.pwfile Initial contribution. 2014-05-07 23:27:00 +01:00
01-connect-uname-password-denied.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-password-success-no-tls.pwfile [457373] Fix tests when compiled with WITH_TLS=no. 2015-01-16 21:39:42 +00:00
01-connect-uname-password-success-no-tls.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-password-success.pwfile Initial contribution. 2014-05-07 23:27:00 +01:00
01-connect-uname-password-success.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
01-connect-uname-pwd-no-flag.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-shared-qos0-v5.py Shared subscription support. 2019-03-14 06:48:33 +00:00
02-subhier-crash.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos0-retain-as-publish.py Tests and fixes for subscription options. 2018-12-19 12:54:04 +00:00
02-subpub-qos0-send-retain.py Tests and fixes for subscription options. 2018-12-19 12:54:04 +00:00
02-subpub-qos0-subscription-id.py Test and fix for subscription identifiers not being updated. 2019-02-18 12:24:19 +00:00
02-subpub-qos0-topic-alias-unknown.py Send DISCONNECT on invalid topic alias, plus test. 2019-01-25 22:53:31 +00:00
02-subpub-qos0-topic-alias.py Add alias support to the broker. 2019-01-18 21:30:34 +00:00
02-subpub-qos0-v5.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos1-bad-pubcomp.py Update merged tests. 2019-03-03 22:04:22 +00:00
02-subpub-qos1-bad-pubrec.py Update merged tests. 2019-03-03 22:04:22 +00:00
02-subpub-qos1-message-expiry-retain.py Tests and support for QoS 1 reporting of no subscribers on publish. 2019-03-04 07:36:35 +00:00
02-subpub-qos1-message-expiry-will.py Session expiry interval support - not working for file persistence. 2019-03-06 14:47:16 +00:00
02-subpub-qos1-message-expiry.py Session expiry interval support - not working for file persistence. 2019-03-06 14:47:16 +00:00
02-subpub-qos1-nolocal.py Tests and fixes for subscription options. 2018-12-19 12:54:04 +00:00
02-subpub-qos1-v5.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos2-bad-puback-1.py Update merged tests. 2019-03-03 22:04:22 +00:00
02-subpub-qos2-bad-puback-2.py Update merged tests. 2019-03-03 22:04:22 +00:00
02-subpub-qos2-bad-pubcomp.py Update merged tests. 2019-03-03 22:04:22 +00:00
02-subpub-qos2-pubrec-error-helper.py Support PUBREC reason code >=0x80 as partial qos2 flow. 2019-01-09 15:00:12 +00:00
02-subpub-qos2-pubrec-error.py Support PUBREC reason code >=0x80 as partial qos2 flow. 2019-01-09 15:00:12 +00:00
02-subpub-qos2-receive-maximum-1.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
02-subpub-qos2-receive-maximum-2.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
02-subpub-qos2-receive-maximum-helper.py Broker tests for Receive Maximum. 2019-01-03 23:32:39 +00:00
02-subpub-qos2-v5.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subpub-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subscribe-dollar-v5.py Disallow writing to $ topics where appropriate. 2019-03-03 22:00:30 +00:00
02-subscribe-invalid-utf8.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subscribe-persistence-flipflop.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subscribe-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subscribe-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-subscribe-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-unsubscribe-invalid-no-topic.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-unsubscribe-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-unsubscribe-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
02-unsubscribe-qos2-multiple-v5.py v5 report reason code=no sub when unsubscribing. 2019-02-17 10:14:02 +00:00
02-unsubscribe-qos2-multiple.py Add test for multiple unsubscribe. 2019-01-25 21:38:33 +00:00
02-unsubscribe-qos2-v5.py v5 report reason code=no sub when unsubscribing. 2019-02-17 10:14:02 +00:00
02-unsubscribe-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-pattern-matching-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-pattern-matching.py Merge branch 'master' 2019-03-16 10:05:38 +00:00
03-publish-b2c-disconnect-qos1-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-b2c-disconnect-qos1.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-b2c-disconnect-qos2-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-b2c-disconnect-qos2.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-b2c-qos1-len-helper.py Tests and fixes for truncated PUB* packets 2019-01-17 17:24:31 +00:00
03-publish-b2c-qos1-len.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-b2c-qos2-len-helper.py Tests and fixes for truncated PUB* packets 2019-01-17 17:24:31 +00:00
03-publish-b2c-qos2-len.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-b2c-timeout-qos1-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-b2c-timeout-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-b2c-timeout-qos2-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-b2c-timeout-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-c2b-disconnect-qos2.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-c2b-qos2-len.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
03-publish-c2b-timeout-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-dollar-v5.py Tests and support for QoS 1 reporting of no subscribers on publish. 2019-03-04 07:36:35 +00:00
03-publish-dollar.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-invalid-utf8.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-qos1-no-subscribers-v5.py Tests and support for QoS 1 reporting of no subscribers on publish. 2019-03-04 07:36:35 +00:00
03-publish-qos1-queued-bytes.conf broker: support byte based queueing 2016-09-09 17:27:39 +00:00
03-publish-qos1-queued-bytes.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-qos1-retain-disabled.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
03-publish-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-check-source-persist-diff-port.py Update merged tests. 2019-03-03 22:04:22 +00:00
04-retain-check-source-persist.py Update merged tests. 2019-03-03 22:04:22 +00:00
04-retain-check-source.py Update merged tests. 2019-03-03 22:04:22 +00:00
04-retain-qos0-clear.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-qos0-fresh.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-qos0-repeated.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-qos1-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
04-retain-upgrade-outgoing-qos.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
05-clean-session-qos1-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
05-clean-session-qos1.py Rename "resv" in connack to "flags" to better match v5 spec. 2019-01-22 12:12:18 +00:00
05-session-expiry-v5.py Session expiry interval support - not working for file persistence. 2019-03-06 14:47:16 +00:00
06-bridge-b2br-disconnect-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-b2br-disconnect-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-b2br-late-connection-retain.py Fix delayed bridge local subs causing missing messages. 2019-02-28 15:38:15 +00:00
06-bridge-b2br-late-connection.py Fix delayed bridge local subs causing missing messages. 2019-02-28 15:38:15 +00:00
06-bridge-b2br-remapping.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-br2b-disconnect-qos1-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-br2b-disconnect-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-br2b-disconnect-qos2-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-br2b-disconnect-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-br2b-remapping.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-fail-persist-resend-qos1.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-fail-persist-resend-qos2.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-per-listener-settings.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-reconnect-local-out-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
06-bridge-reconnect-local-out.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-delay-reconnect.py Will delay tests and implementation. 2019-02-27 09:27:34 +00:00
07-will-delay-recover.py Session expiry interval support - not working for file persistence. 2019-03-06 14:47:16 +00:00
07-will-delay.py Will delay tests and implementation. 2019-02-27 09:27:34 +00:00
07-will-disconnect-with-will.py Handle DISCONNECT with will. 2019-02-27 09:27:34 +00:00
07-will-invalid-utf8.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-no-flag.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-null-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-null-topic.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-null.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-qos0-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
07-will-qos0.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-bridge-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-bridge.py Update tests to not use TLS 1.0. 2019-02-28 12:08:26 +00:00
08-ssl-connect-cert-auth-crl.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-connect-cert-auth-expired.py Fix broker TLS tests. 2019-02-13 11:51:52 +00:00
08-ssl-connect-cert-auth-revoked.py Fix broker TLS tests. 2019-02-13 11:51:52 +00:00
08-ssl-connect-cert-auth-without.py Fix broker TLS tests. 2019-02-13 11:51:52 +00:00
08-ssl-connect-cert-auth.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-connect-identity.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-connect-no-auth-wrong-ca.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-ssl-connect-no-auth.py Update tests to not use TLS 1.0. 2019-02-28 12:08:26 +00:00
08-ssl-connect-no-identity.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-tls-psk-bridge.psk Initial contribution. 2014-05-07 23:27:00 +01:00
08-tls-psk-bridge.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
08-tls-psk-pub.psk Initial contribution. 2014-05-07 23:27:00 +01:00
08-tls-psk-pub.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-acl-access-variants.py Add missing test. 2019-02-27 09:37:02 +00:00
09-acl-empty-file.py Update merged tests. 2019-03-03 22:04:22 +00:00
09-auth-bad-method.py Check for authentication method on CONNECT, and reject. 2019-03-06 16:12:36 +00:00
09-plugin-auth-acl-sub-denied.py Update merged tests. 2019-03-03 22:04:22 +00:00
09-plugin-auth-acl-sub.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-context-params.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-defer-unpwd-fail.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-defer-unpwd-success.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-msg-params.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-unpwd-fail.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-unpwd-success.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-v2-unpwd-fail.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-plugin-auth-v2-unpwd-success.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
09-pwfile-parse-invalid.py Update merged tests. 2019-03-03 22:04:22 +00:00
10-listener-mount-point-helper.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
10-listener-mount-point.py Use test helper for importing modules. 2018-11-27 11:26:21 +00:00
11-persistent-subscription-no-local.py Add subscription-identifier and options to persistence. 2019-03-21 14:19:48 +00:00
11-persistent-subscription-v5.py Add subscription-identifier and options to persistence. 2019-03-21 14:19:48 +00:00
11-persistent-subscription.py Add subscription-identifier and options to persistence. 2019-03-21 14:19:48 +00:00
11-pub-props.py Persist message store publish properties. 2019-03-21 21:43:36 +00:00
12-prop-assigned-client-identifier.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
12-prop-maximum-packet-size-broker.py Broker configurable max_packet_size 2019-02-19 15:57:20 +00:00
12-prop-maximum-packet-size-connect.py Tests and implementation for maximum packet size. 2019-02-18 19:50:51 +00:00
12-prop-maximum-packet-size-publish-qos1.py Fix dropping oversize messages for QoS>0. 2019-02-21 08:31:54 +00:00
12-prop-maximum-packet-size-publish-qos2.py Fix dropping oversize messages for QoS>0. 2019-02-21 08:31:54 +00:00
12-prop-maximum-packet-size-publish.py Tests and implementation for maximum packet size. 2019-02-18 19:50:51 +00:00
12-prop-response-topic-correlation-data.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
12-prop-response-topic.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
12-prop-server-keepalive.py Add max_keepalive, for limiting keepalives of MQTT v5 clients. 2018-12-06 08:49:02 +00:00
12-prop-session-expiry-invalid.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
12-prop-subpub-content-type.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
12-prop-subpub-payload-format.py Finalise test proplists in the packet gen funcs. 2019-01-08 18:37:38 +00:00
Makefile Persist message store publish properties. 2019-03-21 21:43:36 +00:00
mosq_test_helper.py Disallow writing to $ topics where appropriate. 2019-03-03 22:00:30 +00:00
prop_subpub_helper.py Add tests for Content Type property sending. 2018-12-05 13:28:26 +00:00
readme.txt Check for authentication method on CONNECT, and reject. 2019-03-06 16:12:36 +00:00
test.py Persist message store publish properties. 2019-03-21 21:43:36 +00:00

----- Broker Tests -----

This folder contains a number of tests to exercise the functionality of the
broker. Feel free to add more.

Numbering is as follows:

01: Connection tests
02: Subscribe/unsubscribe tests
03: Publish tests
04: Retained message tests
05: Session management tests
06: Bridge tests
07: Will tests
08: TLS tests
09: Auth tests
10: Listener tests
11: Persistence tests
12: Property tests