2
0

test1193 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <testcase>
  2. <info>
  3. <keywords>
  4. MQTT
  5. MQTT PUBLISH
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. </data>
  13. </reply>
  14. #
  15. # Client-side
  16. <client>
  17. <features>
  18. mqtt
  19. </features>
  20. <server>
  21. mqtt
  22. </server>
  23. <name>
  24. MQTT PUBLISH 2k payload
  25. </name>
  26. <command option="binary-trace">
  27. mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d @%LOGDIR/payload%TESTNUMBER
  28. </command>
  29. <file name="%LOGDIR/payload%TESTNUMBER">
  30. 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
  31. 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
  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. </file>
  51. </client>
  52. #
  53. # Verify data after the test has been "shot"
  54. <verify>
  55. # These are hexadecimal protocol dumps from the client
  56. #
  57. # Strip out the random part of the client id from the CONNECT message
  58. # before comparison
  59. <strippart>
  60. s/^(.* 00044d5154540402003c000c6375726c).*/$1/
  61. </strippart>
  62. <protocol>
  63. client CONNECT 18 00044d5154540402003c000c6375726c
  64. server CONNACK 2 20020000
  65. client PUBLISH 7c2 000431313933313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839
  66. client DISCONNECT 0 e000
  67. </protocol>
  68. </verify>
  69. </testcase>