1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 7HTTP proxy Basic auth 8</keywords> 9</info> 10 11# Server-side 12<reply> 13<data> 14HTTP/1.1 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake 17Content-Type: text/html 18Funny-head: yesyes 19Content-Length: 22 20 21the content goes here 22</data> 23</reply> 24 25# Client-side 26<client> 27<server> 28http 29</server> 30<name> 31HTTP with proxy authorization 32</name> 33<command> 34 -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/%TESTNUMBER 35</command> 36<features> 37proxy 38</features> 39</client> 40 41# Verify data after the test has been "shot" 42<verify> 43<protocol> 44GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1 45Host: we.want.that.site.com 46Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw== 47User-Agent: curl/%VERSION 48Accept: */* 49Proxy-Connection: Keep-Alive 50 51</protocol> 52</verify> 53</testcase> 54