2007-01-23 05:25:56 +03:00
|
|
|
<testcase>
|
2005-04-27 13:59:47 +04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP proxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-11-20 12:52:48 +03:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 407 Needs proxy authentication
|
|
|
|
Server: test-server/fake swsclose yesyes
|
|
|
|
Proxy-Authenticate: Basic "oh please"
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
bing
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP GET with failed proxy auth
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 12:08:38 +04:00
|
|
|
http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
|
2003-11-20 12:52:48 +03:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
2007-09-14 23:32:31 +04:00
|
|
|
GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2004-02-09 15:46:41 +03:00
|
|
|
Accept: */*
|
2016-08-16 09:36:04 +03:00
|
|
|
Proxy-Connection: Keep-Alive
|
2003-11-20 12:52:48 +03:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 05:25:56 +03:00
|
|
|
</testcase>
|