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 786d468570 MID reuse test. 4 years ago
..
c Implement plugin wrappers for v2, v3, v4 4 years ago
data Merge branch 'master' into develop 4 years ago
01-connect-575314.py Fix test 4 years ago
01-connect-accept-protocol.py Add `accept_protocol_versions` option. 4 years ago
01-connect-allow-anonymous.py Breaking: allow_anonymous defaults to false. 5 years ago
01-connect-disconnect-v5.py Strict protocol compliance fixes, and extensive test suite. 4 years ago
01-connect-global-max-clients.py Add `global_max_clients` option. 4 years ago
01-connect-global-max-connections.py Add global_max_connections option. 4 years ago
01-connect-max-connections.py Fix `max_connections` option not being correctly counted. 4 years ago
01-connect-max-keepalive.py Apply max_keepalive to MQTT v3.1.1 and v3.1 clients. 4 years ago
01-connect-take-over.py Send DISCONNECT With session-takeover return code. 4 years ago
01-connect-uname-no-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-no-password-denied.py Tests should typically use `listener` instead of `port`. 4 years ago
01-connect-uname-or-anon.pwfile Breaking: allow_anonymous defaults to false. 5 years ago
01-connect-uname-or-anon.py Breaking: allow_anonymous defaults to false. 5 years ago
01-connect-uname-password-denied-no-will.py Tests should typically use `listener` instead of `port`. 4 years ago
01-connect-uname-password-denied.pwfile Initial contribution. 12 years ago
01-connect-uname-password-denied.py Tests should typically use `listener` instead of `port`. 4 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 Tests should typically use `listener` instead of `port`. 4 years ago
01-connect-windows-line-endings.py Fix problem parsing config files with Windows line endings. 4 years ago
01-connect-zero-length-id.py The broker now sends the receive-maximum property for MQTT v5 CONNACKs. 5 years ago
02-shared-nolocal.py $share subscription with no-local not allowed. 4 years ago
02-shared-qos0-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subhier-crash.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-b2c-topic-alias.py Merge branch 'master' into develop 4 years ago
02-subpub-qos0-long-topic.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-oversize-payload.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-queued-bytes.py Fix QoS 0 messages not being delivered when max_queued_bytes was configured. 5 years ago
02-subpub-qos0-retain-as-publish.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-send-retain.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-subscription-id.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-topic-alias-unknown.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos0-topic-alias.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos1-message-expiry-retain.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos1-message-expiry-will.py Merge branch 'master' into develop 4 years ago
02-subpub-qos1-message-expiry.py Merge branch 'master' into develop 4 years ago
02-subpub-qos1-nolocal.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos1-oversize-payload.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos1.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos2-1322.py Merge branch 'master' into develop 4 years ago
02-subpub-qos2-max-inflight-bytes.py Fix test. 4 years ago
02-subpub-qos2-pubrec-error.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos2-receive-maximum-1.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos2-receive-maximum-2.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-qos2.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subpub-recover-subscriptions.py Fix $share subscriptions not being recovered for durable clients. 4 years ago
02-subscribe-dollar-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subscribe-invalid-utf8.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subscribe-long-topic.py Convert tests to be able to run on the same broker where possible. 5 years ago
02-subscribe-persistence-flipflop.py Merge branch 'master' into develop 4 years ago
03-pattern-matching.py Simplify "expect_packet" tests. 5 years ago
03-publish-b2c-disconnect-qos1.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-b2c-disconnect-qos2.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-b2c-qos1-len.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-b2c-qos2-len.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-c2b-disconnect-qos2.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-c2b-qos2-len.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-dollar-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-dollar.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-invalid-utf8.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-long-topic.py Merge branch 'master' into develop 4 years ago
03-publish-qos1-max-inflight-expire.py Merge branch 'master' into develop 4 years ago
03-publish-qos1-max-inflight.py Tests should typically use `listener` instead of `port`. 4 years ago
03-publish-qos1-no-subscribers-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-qos1-queued-bytes.conf broker: support byte based queueing 9 years ago
03-publish-qos1-queued-bytes.py Simplify "expect_packet" tests. 5 years ago
03-publish-qos1-retain-disabled.py Breaking: allow_anonymous defaults to false. 5 years ago
03-publish-qos1.py Convert tests to be able to run on the same broker where possible. 5 years ago
03-publish-qos2-max-inflight-exceeded.py Enforce receive maximum on MQTT v5. 5 years ago
03-publish-qos2-max-inflight.py Tests should typically use `listener` instead of `port`. 4 years ago
03-publish-qos2-reuse-mid.py MID reuse test. 4 years ago
03-publish-qos2.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-check-source-persist-diff-port.py Tests should typically use `listener` instead of `port`. 4 years ago
04-retain-check-source-persist.py Tests should typically use `listener` instead of `port`. 4 years ago
04-retain-check-source.py Tests should typically use `listener` instead of `port`. 4 years ago
04-retain-qos0-clear.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-qos0-fresh.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-qos0-repeated.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-qos0.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-qos1-qos0.py Convert tests to be able to run on the same broker where possible. 5 years ago
04-retain-upgrade-outgoing-qos.py Tests should typically use `listener` instead of `port`. 4 years ago
05-clean-session-qos1.py Convert tests to be able to run on the same broker where possible. 5 years ago
05-session-expiry-v5.py Check whether broker should be started. 4 years ago
06-bridge-b2br-disconnect-qos1.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-b2br-disconnect-qos2.py Merge branch 'master' into develop 4 years ago
06-bridge-b2br-late-connection-retain.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-b2br-late-connection.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-b2br-remapping.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-br2b-disconnect-qos1.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-br2b-disconnect-qos2.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-br2b-remapping.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-clean-session-core.py Merge branch 'master' into develop 4 years ago
06-bridge-clean-session-csF-lcsF.py Parallelise bridge clean session test. 4 years ago
06-bridge-clean-session-csF-lcsN.py Parallelise bridge clean session test. 4 years ago
06-bridge-clean-session-csF-lcsT.py Parallelise bridge clean session test. 4 years ago
06-bridge-clean-session-csT-lcsF.py Parallelise bridge clean session test. 4 years ago
06-bridge-clean-session-csT-lcsN.py Parallelise bridge clean session test. 4 years ago
06-bridge-clean-session-csT-lcsT.py Parallelise bridge clean session test. 4 years ago
06-bridge-config-reload.py Test fixes. 5 years ago
06-bridge-fail-persist-resend-qos1.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-fail-persist-resend-qos2.py Merge branch 'master' into develop 4 years ago
06-bridge-no-local.py Convert tests to be able to run on the same broker where possible. 5 years ago
06-bridge-outgoing-retain.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-per-listener-settings.py Tests should typically use `listener` instead of `port`. 4 years ago
06-bridge-reconnect-local-out.py Tests should typically use `listener` instead of `port`. 4 years ago
07-will-delay-invalid-573191.py Add missing test file. 4 years ago
07-will-delay-reconnect.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-delay-recover.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-delay-session-expiry.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-delay-session-expiry2.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-delay.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-disconnect-with-will.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-invalid-utf8.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-no-flag.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-null-topic.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-null.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-oversize-payload.py Fix `message_size_limit` not applying to the Will payload. 5 years ago
07-will-per-listener.py Fix LWT messages not being delivered if `per_listener_settings` was set to true 4 years ago
07-will-properties.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-qos0.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-reconnect-1273.py Convert tests to be able to run on the same broker where possible. 5 years ago
07-will-takeover.py Convert tests to be able to run on the same broker where possible. 5 years ago
08-ssl-bridge-helper.py Convert tests to Python 3 7 years ago
08-ssl-bridge.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-cert-auth-crl.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-cert-auth-expired-allowed.py Fix test. 4 years ago
08-ssl-connect-cert-auth-expired.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-cert-auth-revoked.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-cert-auth-without.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-cert-auth.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-identity.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-no-auth-wrong-ca.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-no-auth.py Tests should typically use `listener` instead of `port`. 4 years ago
08-ssl-connect-no-identity.py Merge branch 'master' into develop 4 years ago
08-ssl-hup-disconnect.py Simplify "expect_packet" tests. 5 years ago
08-tls-psk-bridge.psk Initial contribution. 12 years ago
08-tls-psk-bridge.py Tests should typically use `listener` instead of `port`. 4 years ago
08-tls-psk-pub.psk Initial contribution. 12 years ago
08-tls-psk-pub.py Tests should typically use `listener` instead of `port`. 4 years ago
09-acl-access-variants.py Tests should typically use `listener` instead of `port`. 4 years ago
09-acl-change.py Tests should typically use `listener` instead of `port`. 4 years ago
09-acl-empty-file.py Tests should typically use `listener` instead of `port`. 4 years ago
09-auth-bad-method.py Convert tests to be able to run on the same broker where possible. 5 years ago
09-extended-auth-change-username.py Tests should typically use `listener` instead of `port`. 4 years ago
09-extended-auth-multistep-reauth.py Tests should typically use `listener` instead of `port`. 4 years ago
09-extended-auth-multistep.py Tests should typically use `listener` instead of `port`. 4 years ago
09-extended-auth-reauth.py Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication. 4 years ago
09-extended-auth-single.py Tests should typically use `listener` instead of `port`. 4 years ago
09-extended-auth-single2.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-acl-change.py Fix for #575314. 4 years ago
09-plugin-auth-acl-pub.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-acl-sub-denied.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-acl-sub.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-context-params.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-defer-unpwd-fail.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-defer-unpwd-success.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-msg-params.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-unpwd-fail.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-unpwd-success.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-v2-unpwd-fail.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-v2-unpwd-success.py Tests should typically use `listener` instead of `port`. 4 years ago
09-plugin-auth-v3-unpwd-fail.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-auth-v3-unpwd-success.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-auth-v4-unpwd-fail.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-auth-v4-unpwd-success.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-auth-v5-unpwd-fail.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-auth-v5-unpwd-success.py Implement plugin wrappers for v2, v3, v4 4 years ago
09-plugin-delayed-auth.py Plugin delayed authentication. 4 years ago
09-plugin-publish.py Tests should typically use `listener` instead of `port`. 4 years ago
09-pwfile-parse-invalid.py Tests should typically use `listener` instead of `port`. 4 years ago
10-listener-mount-point.py Merge branch 'master' into develop 4 years ago
11-message-expiry.py Merge branch 'master' into develop 4 years ago
11-persistent-subscription-no-local.py Tests should typically use `listener` instead of `port`. 4 years ago
11-persistent-subscription-v5.py Tests should typically use `listener` instead of `port`. 4 years ago
11-persistent-subscription.py Tests should typically use `listener` instead of `port`. 4 years ago
11-pub-props.py Tests should typically use `listener` instead of `port`. 4 years ago
11-subscription-id.py Tests should typically use `listener` instead of `port`. 4 years ago
12-prop-assigned-client-identifier.py Merge branch 'master' into develop 4 years ago
12-prop-maximum-packet-size-broker.py Tests should typically use `listener` instead of `port`. 4 years ago
12-prop-maximum-packet-size-publish-qos1.py Convert tests to be able to run on the same broker where possible. 5 years ago
12-prop-maximum-packet-size-publish-qos2.py Convert tests to be able to run on the same broker where possible. 5 years ago
12-prop-response-topic-correlation-data.py Convert tests to be able to run on the same broker where possible. 5 years ago
12-prop-response-topic.py Convert tests to be able to run on the same broker where possible. 5 years ago
12-prop-server-keepalive.py Merge branch 'master' into develop 4 years ago
12-prop-subpub-content-type.py Strict protocol compliance fixes, and extensive test suite. 4 years ago
12-prop-subpub-payload-format.py Merge branch 'master' into develop 4 years ago
13-malformed-publish-v5.py Merge branch 'master' into develop 4 years ago
13-malformed-subscribe-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
13-malformed-unsubscribe-v5.py Convert tests to be able to run on the same broker where possible. 5 years ago
14-dynsec-acl.py Add support for pattern ACLs to dynsec un/subscription ACLs. 4 years ago
14-dynsec-allow-wildcard.py Dynsec: Add ability to deny wildcard subscriptions for a role 4 years ago
14-dynsec-anon-group.py dynsec: Anon group tests 5 years ago
14-dynsec-auth.py These tests shouldn't allow anon access. 5 years ago
14-dynsec-client-invalid.py dynsec: Better test coverage 5 years ago
14-dynsec-client.py dynsec: Consistent behaviour when setting clientid. 5 years ago
14-dynsec-default-access.py These tests shouldn't allow anon access. 5 years ago
14-dynsec-disable-client.py Fix basic dynsec tests. 5 years ago
14-dynsec-group-invalid.py dynsec: Fix incorrect test command. 5 years ago
14-dynsec-group.py Fix test. 5 years ago
14-dynsec-modify-client.py Add %c and %u support to dynsec publish ACLs. 4 years ago
14-dynsec-modify-group.py Add %c and %u support to dynsec publish ACLs. 4 years ago
14-dynsec-modify-role.py Dynsec: Add ability to deny wildcard subscriptions for a role 4 years ago
14-dynsec-plugin-invalid.py dynsec: Better test coverage 5 years ago
14-dynsec-role-invalid.py dynsec: Better test coverage 5 years ago
14-dynsec-role.py Dynsec: Add ability to deny wildcard subscriptions for a role 4 years ago
Makefile MID reuse test. 4 years ago
dynamic-security-init.json Fix basic dynsec tests. 5 years ago
mosq_test_helper.py Fix tests where broker suddenly disconnects client 6 years ago
msg_sequence_test.py Strict protocol compliance fixes, and extensive test suite. 4 years ago
ntest.py Merge branch 'master' into develop 4 years ago
prop_subpub_helper.py Merge branch 'master' into develop 4 years ago
readme.txt Check for authentication method on CONNECT, and reject. 7 years ago
test.py MID reuse test. 4 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