test302 619 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. HTTP CONNECT
  7. HTTP proxy
  8. FAILURE
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <connect nocheck="yes">
  14. HTTP/1.1 405 Method Not Allowed swsclose
  15. And you should ignore this data.
  16. </connect>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <features>
  21. SSL
  22. proxy
  23. </features>
  24. <server>
  25. https
  26. </server>
  27. <name>
  28. HTTPS GET over HTTP proxy fails
  29. </name>
  30. <command>
  31. -k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:%TESTNUMBER/slash/%TESTNUMBER
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <errorcode>
  38. 56
  39. </errorcode>
  40. <data>
  41. </data>
  42. </verify>
  43. </testcase>