test341 830 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 nocheck="yes">
  12. HTTP/1.1 200 funky chunky!
  13. Server: fakeit/0.9 fakeitbad/1.0
  14. Transfer-Encoding: chunked
  15. Trailer: chunky-trailer
  16. Connection: mooo
  17. ETag: "asdf"
  18. 40
  19. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  20. 30
  21. bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  22. 21;heresatest=moooo
  23. cccccccccccccccccccccccccccccccc
  24. 0
  25. chunky-trailer: header data
  26. </data>
  27. </reply>
  28. #
  29. # Client-side
  30. <client>
  31. <server>
  32. http
  33. </server>
  34. <name>
  35. Try to open a non existing file with --etag-compare should return an error
  36. </name>
  37. <command>
  38. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <errorcode>
  45. 26
  46. </errorcode>
  47. </verify>
  48. </testcase>