test326 836 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Mon, 29 Nov 2004 21:56:53 GMT
  14. Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
  15. Content-Type: text/html; charset=ISO-8859-1
  16. Transfer-Encoding: chunked
  17. 18
  18. line 1
  19. line 2
  20. line 3
  21. 0
  22. </data>
  23. <datacheck>
  24. 18
  25. line 1
  26. line 2
  27. line 3
  28. 0
  29. </datacheck>
  30. </reply>
  31. #
  32. # Client-side
  33. <client>
  34. <server>
  35. http
  36. </server>
  37. <name>
  38. HTTP GET chunked data in raw mode
  39. </name>
  40. <command option="no-include">
  41. http://%HOSTIP:%HTTPPORT/326 --raw
  42. </command>
  43. </client>
  44. #
  45. # Verify data after the test has been "shot"
  46. <verify>
  47. <strip>
  48. ^User-Agent:.*
  49. </strip>
  50. <protocol>
  51. GET /326 HTTP/1.1
  52. Host: %HOSTIP:%HTTPPORT
  53. Accept: */*
  54. </protocol>
  55. </verify>
  56. </testcase>