# Server-side
<reply>
+<servercmd>
+connection-monitor
+</servercmd>
+<connect>
+HTTP/1.1 200 Mighty fine indeed
+
+</connect>
<data>
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
</data>
<datacheck>
-HTTP/1.1 200 Mighty fine indeed\r
-\r
+HTTP/1.1 200 Mighty fine indeed
+
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
<client>
<server>
http
+http-proxy
</server>
# tool is what to use instead of 'curl'
<tool>
simple multi http:// through proxytunnel with authentication info
</name>
<command>
-http://%HOSTIP:%HTTPSPORT/503 %HOSTIP:%HTTPPORT
+http://machine.503:%HTTPPORT/503 %HOSTIP:%PROXYPORT
</command>
<file name="log/test503.txt">
foo
# Verify data after the test has been "shot"
<verify>
+<proxy>
+CONNECT machine.503:%HTTPPORT HTTP/1.1
+Host: machine.503:%HTTPPORT
+Proxy-Authorization: Basic dGVzdDppbmc=
+Proxy-Connection: Keep-Alive
+
+</proxy>
<protocol>
-CONNECT %HOSTIP:%HTTPSPORT HTTP/1.1\r
-Host: %HOSTIP:%HTTPSPORT\r
-Proxy-Authorization: Basic dGVzdDppbmc=\r
-Proxy-Connection: Keep-Alive\r
-\r
-GET /503 HTTP/1.1\r
-Authorization: Basic dGVzdDppbmc=\r
-Host: %HOSTIP:%HTTPSPORT\r
-Accept: */*\r
-\r
+GET /503 HTTP/1.1
+Host: machine.503:%HTTPPORT
+Authorization: Basic dGVzdDppbmc=
+Accept: */*
+
+[DISCONNECT]
</protocol>
</verify>
</testcase>