test1176 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <testcase>
  2. <info>
  3. <keywords>
  4. globbing
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data nocheck="yes">
  11. HTTP/1.1 200 OK
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  15. ETag: "21025-dc7-39462498"
  16. Accept-Ranges: bytes
  17. Content-Length: 6
  18. Connection: close
  19. Content-Type: text/html
  20. Funny-head: yesyes
  21. -foo-
  22. </data>
  23. </reply>
  24. #
  25. # Client-side
  26. <client>
  27. <server>
  28. http
  29. </server>
  30. <name>
  31. HTTP GET
  32. </name>
  33. <command option="no-output">
  34. http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o 'log/base-#0'
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. GET /%TESTNUMBER HTTP/1.1
  42. Host: %HOSTIP:%HTTPPORT
  43. User-Agent: curl/%VERSION
  44. Accept: */*
  45. </protocol>
  46. <file name="log/base-#0">
  47. HTTP/1.1 200 OK
  48. Date: Tue, 09 Nov 2010 14:49:00 GMT
  49. Server: test-server/fake
  50. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  51. ETag: "21025-dc7-39462498"
  52. Accept-Ranges: bytes
  53. Content-Length: 6
  54. Connection: close
  55. Content-Type: text/html
  56. Funny-head: yesyes
  57. -foo-
  58. </file>
  59. </verify>
  60. </testcase>