test1423 828 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. <reply>
  10. <data nocheck="yes">
  11. HTTP/1.1 200 OK
  12. Date: Thu, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. Content-Length: 0
  15. Connection: close
  16. Content-Type: text/html
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. file
  25. </server>
  26. <name>
  27. HTTP GET -o fname without Content-Disposition (empty file)
  28. </name>
  29. <command option="no-output,no-include">
  30. http://%HOSTIP:%HTTPPORT/1423 -o log/outfile1423 file://%PWD/log/outfile1423
  31. </command>
  32. <postcheck>
  33. perl %SRCDIR/libtest/notexists.pl log/1423
  34. </postcheck>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <strip>
  40. ^User-Agent:.*
  41. </strip>
  42. <protocol>
  43. GET /1423 HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. Accept: */*
  46. </protocol>
  47. <file1 name="log/outfile1423">
  48. </file1>
  49. </verify>
  50. </testcase>