test2205 793 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. MQTT
  5. MQTT SUBSCRIBE
  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 with very long user name
  25. </name>
  26. <file name="log/input%TESTNUMBER">
  27. user = %repeat[65536 x a]%:fakepasswd
  28. </file>
  29. <command option="binary-trace">
  30. mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K log/input%TESTNUMBER
  31. </command>
  32. </client>
  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/^(.* 00044d51545404c2003c000c6375726c).*/$1/
  42. </strippart>
  43. # 8 is CURLE_WEIRD_SERVER_REPLY
  44. <errorcode>
  45. 8
  46. </errorcode>
  47. </verify>
  48. </testcase>