File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1193
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: MQTT
    5: MQTT 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>
   20: mqtt
   21: </features>
   22: <server>
   23: mqtt
   24: </server>
   25: <name>
   26: MQTT PUBLISH 2k payload
   27: </name>
   28: <command option="binary-trace">
   29: mqtt://%HOSTIP:%MQTTPORT/1193 -d @log/payload1193
   30: </command>
   31: <file name="log/payload1193">
   32: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   33: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   34: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   35: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   36: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   37: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   38: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   39: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   40: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   41: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   42: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   43: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   44: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   45: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   46: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   47: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   48: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   49: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   50: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   51: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
   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>
   63: s/^(.* 00044d5154540402003c000c6375726c).*/$1/
   64: </strippart>
   65: <protocol>
   66: client CONNECT 18 00044d5154540402003c000c6375726c
   67: server CONNACK 2 20020000
   68: client PUBLISH 7c2 000431313933313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839
   69: client DISCONNECT 0 e000
   70: </protocol>
   71: </verify>
   72: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>