test1212 776 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. SOCKS5
  6. NO_PROXY
  7. noproxy
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK
  14. Date: Tue, 09 Nov 2010 14:49:00 GMT
  15. Server: test-server/fake
  16. Content-Length: 4
  17. Content-Type: text/html
  18. boo
  19. </data>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <features>
  24. proxy
  25. </features>
  26. <server>
  27. http
  28. </server>
  29. <name>
  30. noproxy setting together with socks proxy
  31. </name>
  32. <command>
  33. http://user:secret@%HOSTIP:%HTTPPORT/ulion/%TESTNUMBER --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
  34. </command>
  35. </client>
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. GET /ulion/%TESTNUMBER HTTP/1.1
  40. Host: %HOSTIP:%HTTPPORT
  41. Authorization: Basic dXNlcjpzZWNyZXQ=
  42. User-Agent: curl/%VERSION
  43. Accept: */*
  44. </protocol>
  45. </verify>
  46. </testcase>