test94 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. HTTP CONNECT
  7. HTTP proxy
  8. FAILURE
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <connect nocheck="yes">
  15. HTTP/1.1 407 Needs proxy authentication
  16. Server: test-server/fake swsclose yesyes
  17. Proxy-Authenticate: Basic "oh please"
  18. Connection: close
  19. bing
  20. </connect>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. http
  27. </server>
  28. <features>
  29. SSL
  30. </features>
  31. <name>
  32. HTTPS GET with failed proxy auth (CONNECT 1.0)
  33. </name>
  34. <command>
  35. https://test.anything.really.com:94 --proxy1.0 %HOSTIP:%HTTPPORT
  36. </command>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <errorcode>
  42. 56
  43. </errorcode>
  44. <strip>
  45. ^User-Agent:.*
  46. </strip>
  47. <protocol>
  48. CONNECT test.anything.really.com:94 HTTP/1.0
  49. User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4
  50. Host: test.anything.really.com:94
  51. Proxy-Connection: Keep-Alive
  52. </protocol>
  53. </verify>
  54. </testcase>