test53 840 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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/%TESTNUMBER -b log/injar%TESTNUMBER -j
  31. </command>
  32. <file name="log/injar%TESTNUMBER">
  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. <protocol>
  41. GET /want/%TESTNUMBER HTTP/1.1
  42. Host: %HOSTIP:%HTTPPORT
  43. User-Agent: curl/%VERSION
  44. Accept: */*
  45. Cookie: mooo=indeed
  46. </protocol>
  47. </verify>
  48. </testcase>