test1326 523 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. TELNET
  5. UPLOAD
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 swsclose
  13. moo
  14. </data>
  15. </reply>
  16. #
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <features>
  23. telnet
  24. </features>
  25. <name>
  26. TELNET to HTTP server
  27. </name>
  28. <stdin>
  29. GET /we/want/%TESTNUMBER HTTP/1.0
  30. </stdin>
  31. <command>
  32. telnet://%HOSTIP:%HTTPPORT --upload-file -
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. GET /we/want/%TESTNUMBER HTTP/1.0
  40. </protocol>
  41. </verify>
  42. </testcase>