2
0

test269 726 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 swsclose
  13. Date: Tue, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. Accept-Ranges: bytes
  16. Content-Length: 677654
  17. Connection: close
  18. Content-Type: text/html
  19. Funny-head: yesyes
  20. muahahaha
  21. </data>
  22. </reply>
  23. #
  24. # Client-side
  25. <client>
  26. <features>
  27. !hyper
  28. </features>
  29. <server>
  30. http
  31. </server>
  32. <name>
  33. HTTP --ignore-content-length
  34. </name>
  35. <command>
  36. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ignore-content-length
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. GET /%TESTNUMBER HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. User-Agent: curl/%VERSION
  46. Accept: */*
  47. </protocol>
  48. </verify>
  49. </testcase>