2013-02-10 08:16:24 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
2014-04-03 17:46:13 +08:00
|
|
|
HTTP
|
|
|
|
SOCKS5
|
2013-02-10 08:16:24 +08:00
|
|
|
NO_PROXY
|
|
|
|
noproxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2014-04-03 17:46:13 +08:00
|
|
|
|
2013-02-10 08:16:24 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2013-02-10 08:16:24 +08:00
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 4
|
|
|
|
Content-Type: text/html
|
|
|
|
|
|
|
|
boo
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2022-03-09 17:00:21 +08:00
|
|
|
<features>
|
|
|
|
proxy
|
|
|
|
</features>
|
2013-02-10 08:16:24 +08:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
noproxy setting together with socks proxy
|
|
|
|
</name>
|
|
|
|
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://user:secret@%HOSTIP:%HTTPPORT/ulion/%TESTNUMBER --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
|
2013-02-10 08:16:24 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /ulion/%TESTNUMBER HTTP/1.1
|
2013-02-10 08:16:24 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2015-03-12 07:50:46 +08:00
|
|
|
Authorization: Basic dXNlcjpzZWNyZXQ=
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2013-02-10 08:16:24 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|