test1212 744 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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: Thu, 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. <server>
  24. http
  25. </server>
  26. <name>
  27. noproxy setting together with socks proxy
  28. </name>
  29. <command>
  30. http://user:secret@%HOSTIP:%HTTPPORT/ulion/1212 --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <strip>
  36. ^User-Agent:.*
  37. </strip>
  38. <protocol>
  39. GET /ulion/1212 HTTP/1.1
  40. Authorization: Basic dXNlcjpzZWNyZXQ=
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. </protocol>
  44. </verify>
  45. </testcase>