1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7HTTP proxy Basic auth
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK swsclose
14Date: Thu, 09 Nov 2010 14:49:00 GMT
15Content-Type: text/html
16Content-Length: 27
17
18the content would go here
19</data>
20</reply>
21
22# Client-side
23<client>
24<server>
25http
26</server>
27 <name>
28HTTP with proxy string including http:// and user+empty password
29 </name>
30 <command>
31http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
32</command>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<strip>
38^User-Agent:.*
39</strip>
40<protocol>
41GET http://we.want.that.site.com/278 HTTP/1.1
42Proxy-Authorization: Basic ZmFrZTo=
43Host: we.want.that.site.com
44Accept: */*
45Proxy-Connection: Keep-Alive
46
47</protocol>
48</verify>
49</testcase>
50