test179 1020 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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/%TESTNUMBER -b log/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT
  32. </command>
  33. <file name="log/injar%TESTNUMBER">
  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. <features>
  39. proxy
  40. </features>
  41. </client>
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. GET http://supertrooper.fake/c/%TESTNUMBER HTTP/1.1
  46. Host: supertrooper.fake
  47. User-Agent: curl/%VERSION
  48. Accept: */*
  49. Proxy-Connection: Keep-Alive
  50. Cookie: moo2=indeed
  51. </protocol>
  52. </verify>
  53. </testcase>