test1408 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. cookies
  38. ipv6
  39. </features>
  40. <server>
  41. http-ipv6
  42. </server>
  43. <name>
  44. HTTP receive cookies over IPV6
  45. </name>
  46. <command>
  47. -c %LOGDIR/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
  48. </command>
  49. </client>
  50. #
  51. # Verify data after the test has been "shot"
  52. <verify>
  53. <protocol>
  54. GET /path/%TESTNUMBER0001 HTTP/1.1
  55. Host: %HOST6IP:%HTTP6PORT
  56. User-Agent: curl/%VERSION
  57. Accept: */*
  58. GET /path/%TESTNUMBER0002 HTTP/1.1
  59. Host: %HOST6IP:%HTTP6PORT
  60. User-Agent: curl/%VERSION
  61. Accept: */*
  62. Cookie: time=1
  63. </protocol>
  64. </verify>
  65. </testcase>