xref: /curl/tests/data/test1193 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4MQTT
5MQTT PUBLISH
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13</data>
14</reply>
15
16#
17# Client-side
18<client>
19<features>
20mqtt
21</features>
22<server>
23mqtt
24</server>
25<name>
26MQTT PUBLISH 2k payload
27</name>
28<command option="binary-trace">
29mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d @%LOGDIR/payload%TESTNUMBER
30</command>
31<file name="%LOGDIR/payload%TESTNUMBER">
32123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
33123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
34123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
35123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
36123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
37123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
38123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
39123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
40123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
41123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
42123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
43123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
44123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
45123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
46123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
47123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
48123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
49123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
50123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
51123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
52</file>
53</client>
54
55#
56# Verify data after the test has been "shot"
57<verify>
58# These are hexadecimal protocol dumps from the client
59#
60# Strip out the random part of the client id from the CONNECT message
61# before comparison
62<strippart>
63s/^(.* 00044d5154540402003c000c6375726c).*/$1/
64</strippart>
65<protocol>
66client CONNECT 18 00044d5154540402003c000c6375726c
67server CONNACK 2 20020000
68client PUBLISH 7c2 000431313933313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839
69client DISCONNECT 0 e000
70</protocol>
71</verify>
72</testcase>
73