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 A. Light b2a9daf1db 02 broker subpub tests with v5 support 6 years ago
..
c Fix unexpected behaviour when reusing a mid after a publish is denied. 7 years ago
01-connect-anon-denied.pwfile Initial contribution. 12 years ago
01-connect-anon-denied.py 01 broker tests with v5 support 6 years ago
01-connect-bad-packet.py 01 broker tests with v5 support 6 years ago
01-connect-disconnect-v5.py Fix v5 DISCONNECT packets with remaining length == 2. 6 years ago
01-connect-duplicate.py 01 broker tests with v5 support 6 years ago
01-connect-invalid-id-0.py 01 broker tests with v5 support 6 years ago
01-connect-invalid-id-missing.py Fix printing on broker tests. 7 years ago
01-connect-invalid-id-utf8.py 01 broker tests with v5 support 6 years ago
01-connect-invalid-protonum.py Fix printing on broker tests. 7 years ago
01-connect-invalid-reserved.py Fix printing on broker tests. 7 years ago
01-connect-success.py 01 broker tests with v5 support 6 years ago
01-connect-uname-invalid-utf8.py 01 broker tests with v5 support 6 years ago
01-connect-uname-no-flag.py 01 broker tests with v5 support 6 years ago
01-connect-uname-no-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-no-password-denied.py 01 broker tests with v5 support 6 years ago
01-connect-uname-password-denied-no-will.py 01 broker tests with v5 support 6 years ago
01-connect-uname-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-password-denied.py 01 broker tests with v5 support 6 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 01 broker tests with v5 support 6 years ago
01-connect-uname-password-success.pwfile Initial contribution. 12 years ago
01-connect-uname-password-success.py 01 broker tests with v5 support 6 years ago
01-connect-uname-pwd-no-flag.py 01 broker tests with v5 support 6 years ago
02-shared-qos0-v5.py Fix incorrect shared subscription topic of '$shared.' 6 years ago
02-subhier-crash.py Fix printing on broker tests. 7 years ago
02-subpub-qos0-retain-as-publish.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos0-send-retain.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos0-subscription-id.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos0-topic-alias-unknown.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos0-topic-alias.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos0.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-bad-pubcomp.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-bad-pubrec.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-message-expiry-retain.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-message-expiry-will.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-message-expiry.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1-nolocal.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos1.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-1322.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-bad-puback-1.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-bad-puback-2.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-bad-pubcomp.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-pubrec-error.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-receive-maximum-1.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-receive-maximum-2.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2-receive-maximum-helper.py 02 broker subpub tests with v5 support 6 years ago
02-subpub-qos2.py 02 broker subpub tests with v5 support 6 years ago
02-subscribe-dollar-v5.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-invalid-utf8.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-long-topic.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-persistence-flipflop.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-qos0.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-qos1.py 02 broker subscribe tests with v5 support 6 years ago
02-subscribe-qos2.py 02 broker subscribe tests with v5 support 6 years ago
02-unsubscribe-invalid-no-topic.py 02 broker unsubscribe tests with v5 support 6 years ago
02-unsubscribe-qos0.py 02 broker unsubscribe tests with v5 support 6 years ago
02-unsubscribe-qos1.py 02 broker unsubscribe tests with v5 support 6 years ago
02-unsubscribe-qos2-multiple.py 02 broker unsubscribe tests with v5 support 6 years ago
02-unsubscribe-qos2.py 02 broker unsubscribe tests with v5 support 6 years ago
03-pattern-matching.py 03 broker tests with v5 support 6 years ago
03-publish-b2c-disconnect-qos1.py Simpler v5 session expiry in tests. 6 years ago
03-publish-b2c-disconnect-qos2.py Simpler v5 session expiry in tests. 6 years ago
03-publish-b2c-qos1-len.py 03 broker tests with v5 support 6 years ago
03-publish-b2c-qos2-len.py 03 broker tests with v5 support 6 years ago
03-publish-b2c-timeout-qos1.py 03 broker tests with v5 support 6 years ago
03-publish-b2c-timeout-qos2.py 03 broker tests with v5 support 6 years ago
03-publish-c2b-disconnect-qos2.py Simpler v5 session expiry in tests. 6 years ago
03-publish-c2b-qos2-len.py 03 broker tests with v5 support 6 years ago
03-publish-c2b-timeout-qos2.py 03 broker tests with v5 support 6 years ago
03-publish-dollar-v5.py Fix printing on broker tests. 7 years ago
03-publish-dollar.py Fix printing on broker tests. 7 years ago
03-publish-invalid-utf8.py 03 broker tests with v5 support 6 years ago
03-publish-long-topic.py 03 broker tests with v5 support 6 years ago
03-publish-qos1-max-inflight.py 03 broker tests with v5 support 6 years ago
03-publish-qos1-no-subscribers-v5.py Fix printing on broker tests. 7 years ago
03-publish-qos1-queued-bytes.conf broker: support byte based queueing 9 years ago
03-publish-qos1-queued-bytes.py Fix printing on broker tests. 7 years ago
03-publish-qos1-retain-disabled.py 03 broker tests with v5 support 6 years ago
03-publish-qos1.py 03 broker tests with v5 support 6 years ago
03-publish-qos2-max-inflight.py 03 broker tests with v5 support 6 years ago
03-publish-qos2.py 03 broker tests with v5 support 6 years ago
04-retain-check-source-persist-diff-port.py 04 broker tests with v5 support 6 years ago
04-retain-check-source-persist.py 04 broker tests with v5 support 6 years ago
04-retain-check-source.py 04 broker tests with v5 support 6 years ago
04-retain-qos0-clear.py 04 broker tests with v5 support 6 years ago
04-retain-qos0-fresh.py 04 broker tests with v5 support 6 years ago
04-retain-qos0-repeated.py 04 broker tests with v5 support 6 years ago
04-retain-qos0.py 04 broker tests with v5 support 6 years ago
04-retain-qos1-qos0.py 04 broker tests with v5 support 6 years ago
04-retain-upgrade-outgoing-qos.py 04 broker tests with v5 support 6 years ago
05-clean-session-qos1.py 05 broker tests with v5 support 6 years ago
05-session-expiry-v5.py Fix printing on broker tests. 7 years ago
06-bridge-b2br-disconnect-qos1.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-b2br-disconnect-qos2.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-b2br-late-connection-retain.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-b2br-late-connection.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-b2br-remapping.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-br2b-disconnect-qos1.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-br2b-disconnect-qos2.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-br2b-remapping.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-fail-persist-resend-qos1.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-fail-persist-resend-qos2.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-no-local.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-per-listener-settings.py Fixes for 06 broker v5 tests 6 years ago
06-bridge-reconnect-local-out.py Fixes for 06 broker v5 tests 6 years ago
07-will-delay-reconnect.py Simplify ping checking in tests. 6 years ago
07-will-delay-recover.py Simplify ping checking in tests. 6 years ago
07-will-delay-session-expiry.py Fix Will not being sent if will delay greater than session expiry. 6 years ago
07-will-delay-session-expiry2.py Extra test for issue 1401. 6 years ago
07-will-delay.py Fix printing on broker tests. 7 years ago
07-will-disconnect-with-will.py Fix printing on broker tests. 7 years ago
07-will-invalid-utf8.py 07 broker tests with v5 support 6 years ago
07-will-no-flag.py 07 broker tests with v5 support 6 years ago
07-will-null-topic.py 07 broker tests with v5 support 6 years ago
07-will-null.py 07 broker tests with v5 support 6 years ago
07-will-properties.py Test for Will property usage. 7 years ago
07-will-qos0.py Simpler v5 session expiry in tests. 6 years ago
07-will-reconnect-1273.py Simpler v5 session expiry in tests. 6 years ago
07-will-takeover.py Add "ready" message to will takeover test. 6 years ago
08-ssl-bridge-helper.py Convert tests to Python 3 7 years ago
08-ssl-bridge.py Fix printing on broker tests. 7 years ago
08-ssl-connect-cert-auth-crl.py Fix printing on broker tests. 7 years ago
08-ssl-connect-cert-auth-expired.py Updated SSL test files, plus a new empty crl file. 6 years ago
08-ssl-connect-cert-auth-revoked.py Fix printing on broker tests. 7 years ago
08-ssl-connect-cert-auth-without.py Refactor handle__connect() ahead of extended auth changes. 7 years ago
08-ssl-connect-cert-auth.py Fix printing on broker tests. 7 years ago
08-ssl-connect-identity.py Fix printing on broker tests. 7 years ago
08-ssl-connect-no-auth-wrong-ca.py Fix printing on broker tests. 7 years ago
08-ssl-connect-no-auth.py Fix printing on broker tests. 7 years ago
08-ssl-connect-no-identity.py Fix printing on broker tests. 7 years ago
08-ssl-hup-disconnect.py Fix clients using `use_identity_as_*` being disconnected on SIGHUP. 6 years ago
08-tls-psk-bridge.psk Initial contribution. 12 years ago
08-tls-psk-bridge.py Fix printing on broker tests. 7 years ago
08-tls-psk-pub.psk Initial contribution. 12 years ago
08-tls-psk-pub.py Fix printing on broker tests. 7 years ago
09-acl-access-variants.py Simplify ping checking in tests. 6 years ago
09-acl-change.py Simplify ping checking in tests. 6 years ago
09-acl-empty-file.py Simplify ping checking in tests. 6 years ago
09-auth-bad-method.py Fix printing on broker tests. 7 years ago
09-extended-auth-change-username.py Some tests weren't using python3. 6 years ago
09-extended-auth-multistep-reauth.py Some tests weren't using python3. 6 years ago
09-extended-auth-multistep.py Some tests weren't using python3. 6 years ago
09-extended-auth-single.py Some tests weren't using python3. 6 years ago
09-extended-auth-single2.py Some tests weren't using python3. 6 years ago
09-extended-auth-unsupported.py Some tests weren't using python3. 6 years ago
09-plugin-auth-acl-pub.py Simplify ping checking in tests. 6 years ago
09-plugin-auth-acl-sub-denied.py Fix printing on broker tests. 7 years ago
09-plugin-auth-acl-sub.py Fix printing on broker tests. 7 years ago
09-plugin-auth-context-params.py Fix printing on broker tests. 7 years ago
09-plugin-auth-defer-unpwd-fail.py Fix printing on broker tests. 7 years ago
09-plugin-auth-defer-unpwd-success.py Fix printing on broker tests. 7 years ago
09-plugin-auth-msg-params.py Fix printing on broker tests. 7 years ago
09-plugin-auth-unpwd-fail.py Fix printing on broker tests. 7 years ago
09-plugin-auth-unpwd-success.py Fix printing on broker tests. 7 years ago
09-plugin-auth-v2-unpwd-fail.py Fix printing on broker tests. 7 years ago
09-plugin-auth-v2-unpwd-success.py Fix printing on broker tests. 7 years ago
09-pwfile-parse-invalid.py Refactor handle__connect() ahead of extended auth changes. 7 years ago
10-listener-mount-point.py 10 broker tests with v5 support 6 years ago
11-message-expiry.py Simpler v5 session expiry in tests. 6 years ago
11-persistent-subscription-no-local.py Simpler v5 session expiry in tests. 6 years ago
11-persistent-subscription-v5.py Simpler v5 session expiry in tests. 6 years ago
11-persistent-subscription.py 11 broker tests with v5 support 6 years ago
11-pub-props.py Fix printing on broker tests. 7 years ago
11-subscription-id.py Simpler v5 session expiry in tests. 6 years ago
12-prop-assigned-client-identifier.py Fix zero length client ids being rejected for MQTT v5 clients. 6 years ago
12-prop-maximum-packet-size-broker.py Fix printing on broker tests. 7 years ago
12-prop-maximum-packet-size-connect.py Fix printing on broker tests. 7 years ago
12-prop-maximum-packet-size-publish-qos1.py Simplify ping checking in tests. 6 years ago
12-prop-maximum-packet-size-publish-qos2.py Simplify ping checking in tests. 6 years ago
12-prop-maximum-packet-size-publish.py Simplify ping checking in tests. 6 years ago
12-prop-response-topic-correlation-data.py Fix printing on broker tests. 7 years ago
12-prop-response-topic.py Fix printing on broker tests. 7 years ago
12-prop-server-keepalive.py Fix printing on broker tests. 7 years ago
12-prop-session-expiry-invalid.py Fix printing on broker tests. 7 years ago
12-prop-subpub-content-type.py Convert tests to Python 3 7 years ago
12-prop-subpub-payload-format.py Convert tests to Python 3 7 years ago
12-prop-topic-alias-invalid.py Fix printing on broker tests. 7 years ago
Makefile 02 broker subpub tests with v5 support 6 years ago
mosq_test_helper.py Disallow writing to $ topics where appropriate. 7 years ago
prop_subpub_helper.py Fix printing on broker tests. 7 years ago
readme.txt Check for authentication method on CONNECT, and reject. 7 years ago
test.py 02 broker subpub tests with v5 support 6 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