test1327 622 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. TELNET
  5. UPLOAD
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. http
  17. </server>
  18. <features>
  19. telnet
  20. </features>
  21. <name>
  22. TELNET check of upload with stdout redirected
  23. </name>
  24. <stdin>
  25. GET /ignore/for/%TESTNUMBER HTTP/1.0
  26. </stdin>
  27. <file name="%LOGDIR/%TESTNUMBER.txt">
  28. GET /we/want/%TESTNUMBER HTTP/1.0
  29. </file>
  30. <command option="no-output">
  31. telnet://%HOSTIP:%HTTPPORT -T %LOGDIR/%TESTNUMBER.txt
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. GET /we/want/%TESTNUMBER HTTP/1.0
  39. </protocol>
  40. </verify>
  41. </testcase>