test1433 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. <reply>
  9. <data nocheck="yes">
  10. HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK
  11. Date: Thu, 09 Nov 2010 14:49:00 GMT
  12. Server: test-server/fake
  13. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  14. ETag: "21025-dc7-39462498"
  15. Accept-Ranges: bytes
  16. Content-Length: 6
  17. Connection: close
  18. Content-Type: text/html
  19. Funny-head: yesyes
  20. -foo-
  21. </data>
  22. </reply>
  23. #
  24. # Client-side
  25. <client>
  26. <server>
  27. http
  28. </server>
  29. <name>
  30. HTTP GET with 100-digit subversion number in response
  31. </name>
  32. <command>
  33. http://%HOSTIP:%HTTPPORT/1433 --write-out '%{response_code}'
  34. </command>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <stdout nonewline="yes">
  40. HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK
  41. Date: Thu, 09 Nov 2010 14:49:00 GMT
  42. Server: test-server/fake
  43. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  44. ETag: "21025-dc7-39462498"
  45. Accept-Ranges: bytes
  46. Content-Length: 6
  47. Connection: close
  48. Content-Type: text/html
  49. Funny-head: yesyes
  50. -foo-
  51. 200
  52. </stdout>
  53. <strip>
  54. ^User-Agent:.*
  55. </strip>
  56. <protocol>
  57. GET /1433 HTTP/1.1
  58. Host: %HOSTIP:%HTTPPORT
  59. Accept: */*
  60. </protocol>
  61. </verify>
  62. </testcase>