test179 965 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP proxy
  7. cookies
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK
  14. Server: Microsoft-IIS/4.0
  15. Date: Tue, 25 Sep 2001 19:37:44 GMT
  16. Content-Type: text/html
  17. Connection: close
  18. Content-Length: 21
  19. This server says moo
  20. </data>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. http
  26. </server>
  27. <name>
  28. HTTP using proxy and cookies with path checks
  29. </name>
  30. <command>
  31. http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HTTPPORT
  32. </command>
  33. <file name="log/injar179">
  34. supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed
  35. supertrooper.fake FALSE /b FALSE 0 moo1 indeed
  36. supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed
  37. </file>
  38. </client>
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <strip>
  42. ^User-Agent:.*
  43. </strip>
  44. <protocol>
  45. GET http://supertrooper.fake/c/179 HTTP/1.1
  46. Host: supertrooper.fake
  47. Accept: */*
  48. Proxy-Connection: Keep-Alive
  49. Cookie: moo2=indeed
  50. </protocol>
  51. </verify>
  52. </testcase>