test242 699 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. IPv6
  7. HTTP Basic auth
  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. Content-Length: 6
  17. Connection: close
  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 with username+password in URL
  32. </name>
  33. <command>
  34. -g "http://foobar:barfoo@%HOST6IP:%HTTP6PORT/%TESTNUMBER"
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. GET /%TESTNUMBER HTTP/1.1
  42. Host: %HOST6IP:%HTTP6PORT
  43. Authorization: Basic Zm9vYmFyOmJhcmZvbw==
  44. User-Agent: curl/%VERSION
  45. Accept: */*
  46. </protocol>
  47. </verify>
  48. </testcase>