You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mosquitto/test/broker
Roger Light 8a8d13cf96 Shared subscription support. 7 years ago
..
c Merge branch 'master' into mqtt5 7 years ago
01-connect-anon-denied.pwfile Initial contribution. 12 years ago
01-connect-anon-denied.py Use test helper for importing modules. 7 years ago
01-connect-bad-packet.py Add test for first packet not being CONNECT. 7 years ago
01-connect-disconnect-v5.py Tests and fixes for shortened DISCONNECT packets. 7 years ago
01-connect-duplicate-v5.py Add test for duplicate CONNECT. 7 years ago
01-connect-duplicate.py Add test for duplicate CONNECT. 7 years ago
01-connect-invalid-id-0-311.py Use test helper for importing modules. 7 years ago
01-connect-invalid-id-0.py Use test helper for importing modules. 7 years ago
01-connect-invalid-id-missing.py Add broker test for assigned client id. 7 years ago
01-connect-invalid-id-utf8.py Use test helper for importing modules. 7 years ago
01-connect-invalid-protonum.py Use test helper for importing modules. 7 years ago
01-connect-invalid-reserved.py Use test helper for importing modules. 7 years ago
01-connect-success-v5.py Use test helper for importing modules. 7 years ago
01-connect-success.py Use test helper for importing modules. 7 years ago
01-connect-uname-invalid-utf8.py Use test helper for importing modules. 7 years ago
01-connect-uname-no-flag.py Use test helper for importing modules. 7 years ago
01-connect-uname-no-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-no-password-denied.py Use test helper for importing modules. 7 years ago
01-connect-uname-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-password-denied.py Use test helper for importing modules. 7 years ago
01-connect-uname-password-success-no-tls.pwfile [457373] Fix tests when compiled with WITH_TLS=no. 11 years ago
01-connect-uname-password-success-no-tls.py Use test helper for importing modules. 7 years ago
01-connect-uname-password-success.pwfile Initial contribution. 12 years ago
01-connect-uname-password-success.py Use test helper for importing modules. 7 years ago
01-connect-uname-pwd-no-flag.py Use test helper for importing modules. 7 years ago
02-shared-qos0-v5.py Shared subscription support. 7 years ago
02-subhier-crash.py Use test helper for importing modules. 7 years ago
02-subpub-qos0-retain-as-publish.py Tests and fixes for subscription options. 7 years ago
02-subpub-qos0-send-retain.py Tests and fixes for subscription options. 7 years ago
02-subpub-qos0-subscription-id.py Test and fix for subscription identifiers not being updated. 7 years ago
02-subpub-qos0-topic-alias-unknown.py Send DISCONNECT on invalid topic alias, plus test. 7 years ago
02-subpub-qos0-topic-alias.py Add alias support to the broker. 7 years ago
02-subpub-qos0-v5.py Use test helper for importing modules. 7 years ago
02-subpub-qos0.py Use test helper for importing modules. 7 years ago
02-subpub-qos1-bad-pubcomp.py Update merged tests. 7 years ago
02-subpub-qos1-bad-pubrec.py Update merged tests. 7 years ago
02-subpub-qos1-message-expiry-retain.py Tests and support for QoS 1 reporting of no subscribers on publish. 7 years ago
02-subpub-qos1-message-expiry-will.py Session expiry interval support - not working for file persistence. 7 years ago
02-subpub-qos1-message-expiry.py Session expiry interval support - not working for file persistence. 7 years ago
02-subpub-qos1-nolocal.py Tests and fixes for subscription options. 7 years ago
02-subpub-qos1-v5.py Use test helper for importing modules. 7 years ago
02-subpub-qos1.py Use test helper for importing modules. 7 years ago
02-subpub-qos2-bad-puback-1.py Update merged tests. 7 years ago
02-subpub-qos2-bad-puback-2.py Update merged tests. 7 years ago
02-subpub-qos2-bad-pubcomp.py Update merged tests. 7 years ago
02-subpub-qos2-pubrec-error-helper.py Support PUBREC reason code >=0x80 as partial qos2 flow. 7 years ago
02-subpub-qos2-pubrec-error.py Support PUBREC reason code >=0x80 as partial qos2 flow. 7 years ago
02-subpub-qos2-receive-maximum-1.py Finalise test proplists in the packet gen funcs. 7 years ago
02-subpub-qos2-receive-maximum-2.py Finalise test proplists in the packet gen funcs. 7 years ago
02-subpub-qos2-receive-maximum-helper.py Broker tests for Receive Maximum. 7 years ago
02-subpub-qos2-v5.py Use test helper for importing modules. 7 years ago
02-subpub-qos2.py Use test helper for importing modules. 7 years ago
02-subscribe-dollar-v5.py Disallow writing to $ topics where appropriate. 7 years ago
02-subscribe-invalid-utf8.py Use test helper for importing modules. 7 years ago
02-subscribe-persistence-flipflop.py Use test helper for importing modules. 7 years ago
02-subscribe-qos0.py Use test helper for importing modules. 7 years ago
02-subscribe-qos1.py Use test helper for importing modules. 7 years ago
02-subscribe-qos2.py Use test helper for importing modules. 7 years ago
02-unsubscribe-invalid-no-topic.py Use test helper for importing modules. 7 years ago
02-unsubscribe-qos0.py Use test helper for importing modules. 7 years ago
02-unsubscribe-qos1.py Use test helper for importing modules. 7 years ago
02-unsubscribe-qos2-multiple-v5.py v5 report reason code=no sub when unsubscribing. 7 years ago
02-unsubscribe-qos2-multiple.py Add test for multiple unsubscribe. 7 years ago
02-unsubscribe-qos2-v5.py v5 report reason code=no sub when unsubscribing. 7 years ago
02-unsubscribe-qos2.py Use test helper for importing modules. 7 years ago
03-pattern-matching-helper.py Use test helper for importing modules. 7 years ago
03-pattern-matching.py Speed up pattern matching test. 7 years ago
03-publish-b2c-disconnect-qos1-helper.py Use test helper for importing modules. 7 years ago
03-publish-b2c-disconnect-qos1.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-b2c-disconnect-qos2-helper.py Use test helper for importing modules. 7 years ago
03-publish-b2c-disconnect-qos2.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-b2c-qos1-len-helper.py Tests and fixes for truncated PUB* packets 7 years ago
03-publish-b2c-qos1-len.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-b2c-qos2-len-helper.py Tests and fixes for truncated PUB* packets 7 years ago
03-publish-b2c-qos2-len.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-b2c-timeout-qos1-helper.py Use test helper for importing modules. 7 years ago
03-publish-b2c-timeout-qos1.py Use test helper for importing modules. 7 years ago
03-publish-b2c-timeout-qos2-helper.py Use test helper for importing modules. 7 years ago
03-publish-b2c-timeout-qos2.py Use test helper for importing modules. 7 years ago
03-publish-c2b-disconnect-qos2.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-c2b-qos2-len.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
03-publish-c2b-timeout-qos2.py Use test helper for importing modules. 7 years ago
03-publish-dollar-v5.py Tests and support for QoS 1 reporting of no subscribers on publish. 7 years ago
03-publish-dollar.py Use test helper for importing modules. 7 years ago
03-publish-invalid-utf8.py Use test helper for importing modules. 7 years ago
03-publish-qos1-no-subscribers-v5.py Tests and support for QoS 1 reporting of no subscribers on publish. 7 years ago
03-publish-qos1-queued-bytes.conf broker: support byte based queueing 9 years ago
03-publish-qos1-queued-bytes.py Use test helper for importing modules. 7 years ago
03-publish-qos1-retain-disabled.py Use test helper for importing modules. 7 years ago
03-publish-qos1.py Use test helper for importing modules. 7 years ago
03-publish-qos2.py Use test helper for importing modules. 7 years ago
04-retain-check-source-persist-diff-port.py Update merged tests. 7 years ago
04-retain-check-source-persist.py Update merged tests. 7 years ago
04-retain-check-source.py Update merged tests. 7 years ago
04-retain-qos0-clear.py Use test helper for importing modules. 7 years ago
04-retain-qos0-fresh.py Use test helper for importing modules. 7 years ago
04-retain-qos0-repeated.py Use test helper for importing modules. 7 years ago
04-retain-qos0.py Use test helper for importing modules. 7 years ago
04-retain-qos1-qos0.py Use test helper for importing modules. 7 years ago
04-retain-upgrade-outgoing-qos.py Use test helper for importing modules. 7 years ago
05-clean-session-qos1-helper.py Use test helper for importing modules. 7 years ago
05-clean-session-qos1.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
05-session-expiry-v5.py Session expiry interval support - not working for file persistence. 7 years ago
06-bridge-b2br-disconnect-qos1.py Use test helper for importing modules. 7 years ago
06-bridge-b2br-disconnect-qos2.py Use test helper for importing modules. 7 years ago
06-bridge-b2br-remapping.py Use test helper for importing modules. 7 years ago
06-bridge-br2b-disconnect-qos1-helper.py Use test helper for importing modules. 7 years ago
06-bridge-br2b-disconnect-qos1.py Use test helper for importing modules. 7 years ago
06-bridge-br2b-disconnect-qos2-helper.py Use test helper for importing modules. 7 years ago
06-bridge-br2b-disconnect-qos2.py Use test helper for importing modules. 7 years ago
06-bridge-br2b-remapping.py Use test helper for importing modules. 7 years ago
06-bridge-fail-persist-resend-qos1.py Use test helper for importing modules. 7 years ago
06-bridge-fail-persist-resend-qos2.py Use test helper for importing modules. 7 years ago
06-bridge-per-listener-settings.py Use test helper for importing modules. 7 years ago
06-bridge-reconnect-local-out-helper.py Use test helper for importing modules. 7 years ago
06-bridge-reconnect-local-out.py Use test helper for importing modules. 7 years ago
07-will-delay-reconnect.py Will delay tests and implementation. 7 years ago
07-will-delay-recover.py Session expiry interval support - not working for file persistence. 7 years ago
07-will-delay.py Will delay tests and implementation. 7 years ago
07-will-disconnect-with-will.py Handle DISCONNECT with will. 7 years ago
07-will-invalid-utf8.py Use test helper for importing modules. 7 years ago
07-will-no-flag.py Use test helper for importing modules. 7 years ago
07-will-null-helper.py Use test helper for importing modules. 7 years ago
07-will-null-topic.py Use test helper for importing modules. 7 years ago
07-will-null.py Use test helper for importing modules. 7 years ago
07-will-qos0-helper.py Use test helper for importing modules. 7 years ago
07-will-qos0.py Use test helper for importing modules. 7 years ago
08-ssl-bridge-helper.py Use test helper for importing modules. 7 years ago
08-ssl-bridge.py Update tests to not use TLS 1.0. 7 years ago
08-ssl-connect-cert-auth-crl.py Use test helper for importing modules. 7 years ago
08-ssl-connect-cert-auth-expired.py Fix some ssl tests. 7 years ago
08-ssl-connect-cert-auth-revoked.py Fix some ssl tests. 7 years ago
08-ssl-connect-cert-auth-without.py Fix some ssl tests. 7 years ago
08-ssl-connect-cert-auth.py Use test helper for importing modules. 7 years ago
08-ssl-connect-identity.py Use test helper for importing modules. 7 years ago
08-ssl-connect-no-auth-wrong-ca.py Use test helper for importing modules. 7 years ago
08-ssl-connect-no-auth.py Update tests to not use TLS 1.0. 7 years ago
08-ssl-connect-no-identity.py Use test helper for importing modules. 7 years ago
08-tls-psk-bridge.psk Initial contribution. 12 years ago
08-tls-psk-bridge.py Use test helper for importing modules. 7 years ago
08-tls-psk-pub.psk Initial contribution. 12 years ago
08-tls-psk-pub.py Use test helper for importing modules. 7 years ago
09-acl-empty-file.py Update merged tests. 7 years ago
09-auth-bad-method.py Check for authentication method on CONNECT, and reject. 7 years ago
09-plugin-auth-acl-sub-denied.py Update merged tests. 7 years ago
09-plugin-auth-acl-sub.py Use test helper for importing modules. 7 years ago
09-plugin-auth-context-params.py Use test helper for importing modules. 7 years ago
09-plugin-auth-defer-unpwd-fail.py Use test helper for importing modules. 7 years ago
09-plugin-auth-defer-unpwd-success.py Use test helper for importing modules. 7 years ago
09-plugin-auth-msg-params.py Use test helper for importing modules. 7 years ago
09-plugin-auth-unpwd-fail.py Use test helper for importing modules. 7 years ago
09-plugin-auth-unpwd-success.py Use test helper for importing modules. 7 years ago
09-plugin-auth-v2-unpwd-fail.py Use test helper for importing modules. 7 years ago
09-plugin-auth-v2-unpwd-success.py Use test helper for importing modules. 7 years ago
09-pwfile-parse-invalid.py Update merged tests. 7 years ago
10-listener-mount-point-helper.py Use test helper for importing modules. 7 years ago
10-listener-mount-point.py Use test helper for importing modules. 7 years ago
11-persistent-subscription.py Rename "resv" in connack to "flags" to better match v5 spec. 7 years ago
12-prop-assigned-client-identifier.py Finalise test proplists in the packet gen funcs. 7 years ago
12-prop-maximum-packet-size-broker.py Broker configurable max_packet_size 7 years ago
12-prop-maximum-packet-size-connect.py Tests and implementation for maximum packet size. 7 years ago
12-prop-maximum-packet-size-publish-qos1.py Fix dropping oversize messages for QoS>0. 7 years ago
12-prop-maximum-packet-size-publish-qos2.py Fix dropping oversize messages for QoS>0. 7 years ago
12-prop-maximum-packet-size-publish.py Tests and implementation for maximum packet size. 7 years ago
12-prop-response-topic-correlation-data.py Finalise test proplists in the packet gen funcs. 7 years ago
12-prop-response-topic.py Finalise test proplists in the packet gen funcs. 7 years ago
12-prop-server-keepalive.py Add max_keepalive, for limiting keepalives of MQTT v5 clients. 7 years ago
12-prop-session-expiry-invalid.py Finalise test proplists in the packet gen funcs. 7 years ago
12-prop-subpub-content-type.py Finalise test proplists in the packet gen funcs. 7 years ago
12-prop-subpub-payload-format.py Finalise test proplists in the packet gen funcs. 7 years ago
Makefile Shared subscription support. 7 years ago
mosq_test_helper.py Disallow writing to $ topics where appropriate. 7 years ago
prop_subpub_helper.py Add tests for Content Type property sending. 7 years ago
readme.txt Check for authentication method on CONNECT, and reject. 7 years ago
test.py Shared subscription support. 7 years ago

readme.txt

----- 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