2
0

test53 822 B

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