test367 582 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. Basic
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK
  14. Content-Length: 6
  15. Connection: close
  16. -foo-
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. </server>
  25. <name>
  26. Empty user name provided in URL
  27. </name>
  28. <command>
  29. http://:example@%HOSTIP:%HTTPPORT/%TESTNUMBER
  30. </command>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. GET /%TESTNUMBER HTTP/1.1
  37. Host: %HOSTIP:%HTTPPORT
  38. Authorization: Basic OmV4YW1wbGU=
  39. User-Agent: curl/%VERSION
  40. Accept: */*
  41. </protocol>
  42. </verify>
  43. </testcase>