test1408 987 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. IPv6
  7. cookies
  8. cookiejar
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data1>
  15. HTTP/1.1 200 OK
  16. Date: Thu, 09 Nov 2010 14:49:00 GMT
  17. Content-Length: 6
  18. Connection: close
  19. Content-Type: text/html
  20. Set-Cookie: time=1
  21. -foo-
  22. </data1>
  23. <data2>
  24. HTTP/1.1 200 OK
  25. Date: Thu, 09 Nov 2010 14:49:00 GMT
  26. Content-Length: 6
  27. Connection: close
  28. Content-Type: text/html
  29. Set-Cookie: time=2
  30. -foo-
  31. </data2>
  32. </reply>
  33. #
  34. # Client-side
  35. <client>
  36. <features>
  37. ipv6
  38. </features>
  39. <server>
  40. http-ipv6
  41. </server>
  42. <name>
  43. HTTP receive cookies over IPV6
  44. </name>
  45. <command>
  46. -c log/jar1408 -g http://%HOST6IP:%HTTP6PORT/path/14080001 http://%HOST6IP:%HTTP6PORT/path/14080002
  47. </command>
  48. </client>
  49. #
  50. # Verify data after the test has been "shot"
  51. <verify>
  52. <strip>
  53. ^User-Agent:.*
  54. </strip>
  55. <protocol>
  56. GET /path/14080001 HTTP/1.1
  57. Host: %HOST6IP:%HTTP6PORT
  58. Accept: */*
  59. GET /path/14080002 HTTP/1.1
  60. Host: %HOST6IP:%HTTP6PORT
  61. Accept: */*
  62. Cookie: time=1
  63. </protocol>
  64. </verify>
  65. </testcase>