test1408 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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: Tue, 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: Tue, 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/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
  47. </command>
  48. </client>
  49. #
  50. # Verify data after the test has been "shot"
  51. <verify>
  52. <protocol>
  53. GET /path/%TESTNUMBER0001 HTTP/1.1
  54. Host: %HOST6IP:%HTTP6PORT
  55. User-Agent: curl/%VERSION
  56. Accept: */*
  57. GET /path/%TESTNUMBER0002 HTTP/1.1
  58. Host: %HOST6IP:%HTTP6PORT
  59. User-Agent: curl/%VERSION
  60. Accept: */*
  61. Cookie: time=1
  62. </protocol>
  63. </verify>
  64. </testcase>