Return to test1191 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 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 ! 27: </name> ! 28: <command option="binary-trace"> ! 29: mqtt://%HOSTIP:%MQTTPORT/1191 -d something ! 30: </command> ! 31: </client> ! 32: ! 33: # ! 34: # Verify data after the test has been "shot" ! 35: <verify> ! 36: # These are hexadecimal protocol dumps from the client ! 37: # ! 38: # Strip out the random part of the client id from the CONNECT message ! 39: # before comparison ! 40: <strippart> ! 41: s/^(.* 00044d5154540402003c000c6375726c).*/$1/ ! 42: </strippart> ! 43: <protocol> ! 44: client CONNECT 18 00044d5154540402003c000c6375726c ! 45: server CONNACK 2 20020000 ! 46: client PUBLISH f 000431313931736f6d657468696e67 ! 47: client DISCONNECT 0 e000 ! 48: </protocol> ! 49: </verify> ! 50: </testcase>