mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix test payloads
This commit is contained in:
parent
0174abe8f3
commit
115906b9ca
@ -41,7 +41,7 @@
|
||||
{"type":"recv", "payload":"20 02 00 00", "comment": "CONNACK"},
|
||||
{"type":"send", "payload":"10 0D 0004 4D515454 04 02 000A 0001 70", "comment":"minimal valid CONNECT"}
|
||||
]},
|
||||
{ "name": "10 missing client ID", "connect":false, "msgs":[{"type":"send", "payload":"10 08 0004 4D515454 04 02 000A"}]},
|
||||
{ "name": "10 missing client ID", "connect":false, "msgs":[{"type":"send", "payload":"10 0A 0004 4D515454 04 02 000A"}]},
|
||||
{ "name": "10 empty client ID", "connect":false, "expect_disconnect":false, "msgs":[
|
||||
{"type":"send", "payload":"10 0C 0004 4D515454 04 02 000A 0000", "comment":"CONNECT clean session true, no client id"},
|
||||
{"type":"recv", "payload":"20 02 00 00", "comment": "CONNACK"}
|
||||
@ -128,7 +128,7 @@
|
||||
{"type":"recv", "payload":"20 02 00 00", "comment": "CONNACK"}
|
||||
]},
|
||||
{ "name": "duplicate CONNECT", "msgs":[{"type":"send", "payload":"10 0D 0004 4D515454 04 02 000A 0001 70", "comment":"minimal valid duplicate CONNECT"}]},
|
||||
{ "name": "NanoMQ CWE-119", "msgs":[{"type":"send", "payload":"10 07 0004 4D515454 04 C2 003C 000B 746573742D707974686F6E 0005 61646d696E 0008 70617373776F7264"}]}
|
||||
{ "name": "NanoMQ CWE-119", "msgs":[{"type":"send", "payload":"10 28 0004 4D515454 04 C2 003C 000B 746573742D707974686F6E 0005 61646d696E 0008 70617373776F7264"}]}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -178,7 +178,7 @@
|
||||
]},
|
||||
|
||||
{ "name": "2*message-expiry-interval=1 (four byte integer)", "ver":5, "msgs": [
|
||||
{"type":"send", "payload":"32 1A 0005 746F706963 1234 0A 0200000001 0200000001 7061796C6F6164"},
|
||||
{"type":"send", "payload":"32 1B 0005 746F706963 1234 0A 0200000001 0200000001 7061796C6F6164"},
|
||||
{"type":"recv", "payload":"E0 01 82"}
|
||||
]},
|
||||
{ "name": "message-expiry-interval (four byte integer) missing", "ver":5, "msgs": [
|
||||
|
@ -87,6 +87,14 @@
|
||||
{"type":"send", "payload":"8A 07 1234 00 0001 70 00"},
|
||||
{"type":"recv", "payload":"E0 01 81"}
|
||||
]},
|
||||
{ "name": "82 QoS 3 [MQTT-3-8.3-2] (no qos)", "ver":5, "msgs": [
|
||||
{"type":"send", "payload":"82 06 1234 00 0001 70"},
|
||||
{"type":"recv", "payload":"E0 01 81"}
|
||||
]},
|
||||
{ "name": "82 QoS 3 [MQTT-3-8.3-2] (no topic or qos)", "ver":5, "msgs": [
|
||||
{"type":"send", "payload":"82 03 1234 00"},
|
||||
{"type":"recv", "payload":"E0 01 81"}
|
||||
]},
|
||||
{ "name": "82 QoS 3 [MQTT-3-8.3-4]", "ver":5, "msgs": [
|
||||
{"type":"send", "payload":"82 07 1234 00 0001 70 03"},
|
||||
{"type":"recv", "payload":"E0 01 81"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user