xref: /curl/tests/data/test2205 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4MQTT
5MQTT SUBSCRIBE
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 with very long user name
27</name>
28<file name="%LOGDIR/input%TESTNUMBER">
29user = %repeat[65536 x a]%:fakepasswd
30</file>
31<command option="binary-trace">
32mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39# These are hexadecimal protocol dumps from the client
40#
41# Strip out the random part of the client id from the CONNECT message
42# before comparison
43<strippart>
44s/^(.* 00044d51545404c2003c000c6375726c).*/$1/
45</strippart>
46# 8 is CURLE_WEIRD_SERVER_REPLY
47<errorcode>
488
49</errorcode>
50</verify>
51</testcase>
52