test93 691 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP proxy
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 407 Needs proxy authentication
  14. Server: test-server/fake swsclose yesyes
  15. Proxy-Authenticate: Basic "oh please"
  16. Connection: close
  17. bing
  18. </data>
  19. </reply>
  20. #
  21. # Client-side
  22. <client>
  23. <server>
  24. http
  25. </server>
  26. <name>
  27. HTTP GET with failed proxy auth
  28. </name>
  29. <command>
  30. http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
  31. </command>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <strip>
  37. ^User-Agent:.*
  38. </strip>
  39. <protocol>
  40. GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. Proxy-Connection: Keep-Alive
  44. </protocol>
  45. </verify>
  46. </testcase>