test241 710 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. IPv6
  7. IPv6-hostname
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.1 200 OK
  15. Date: Tue, 09 Nov 2010 14:49:00 GMT
  16. Server: test-server/fake
  17. Content-Length: 6
  18. hello
  19. </data>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <features>
  25. ipv6
  26. </features>
  27. <server>
  28. http-ipv6
  29. </server>
  30. <name>
  31. HTTP-IPv6 GET (using ip6-localhost)
  32. </name>
  33. <command>
  34. -g "http://ip6-localhost:%HTTP6PORT/%TESTNUMBER"
  35. </command>
  36. <precheck>
  37. ./server/resolve --ipv6 ip6-localhost
  38. </precheck>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <protocol>
  44. GET /%TESTNUMBER HTTP/1.1
  45. Host: ip6-localhost:%HTTP6PORT
  46. User-Agent: curl/%VERSION
  47. Accept: */*
  48. </protocol>
  49. </verify>
  50. </testcase>