test53 890 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 %LOGDIR/injar%TESTNUMBER -j
  31. </command>
  32. <file name="%LOGDIR/injar%TESTNUMBER">
  33. %HOSTIP FALSE / FALSE 22139150993 mooo indeed
  34. %HOSTIP FALSE / FALSE 0 moo1 indeed
  35. %HOSTIP FALSE / FALSE 1 moo2 indeed
  36. </file>
  37. <features>
  38. cookies
  39. </features>
  40. </client>
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <protocol>
  44. GET /want/%TESTNUMBER HTTP/1.1
  45. Host: %HOSTIP:%HTTPPORT
  46. User-Agent: curl/%VERSION
  47. Accept: */*
  48. Cookie: mooo=indeed
  49. </protocol>
  50. </verify>
  51. </testcase>