| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
HTTP |
| 4 |
HTTP GET |
| 5 |
HTTP proxy |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
# |
| 9 |
# Server-side |
| 10 |
<reply> |
| 11 |
<data> |
| 12 |
HTTP/1.1 200 OK |
| 13 |
Date: Thu, 09 Nov 2010 14:49:00 GMT |
| 14 |
Server: test-server/fake swsclose |
| 15 |
Content-Type: text/html |
| 16 |
Funny-head: yesyes |
| 17 |
|
| 18 |
</data> |
| 19 |
</reply> |
| 20 |
|
| 21 |
# |
| 22 |
# Client-side |
| 23 |
<client> |
| 24 |
<server> |
| 25 |
http |
| 26 |
</server> |
| 27 |
<name> |
| 28 |
HTTP over proxy |
| 29 |
</name> |
| 30 |
<command> |
| 31 |
http://%HOSTIP:%HTTPPORT/we/want/that/page/5 -x %HOSTIP:%HTTPPORT |
| 32 |
</command> |
| 33 |
</client> |
| 34 |
|
| 35 |
# |
| 36 |
# Verify data after the test has been "shot" |
| 37 |
<verify> |
| 38 |
<strip> |
| 39 |
^User-Agent:.* |
| 40 |
</strip> |
| 41 |
<protocol> |
| 42 |
GET http://127.0.0.1:%HTTPPORT/we/want/that/page/5 HTTP/1.1 |
| 43 |
Host: 127.0.0.1:%HTTPPORT |
| 44 |
Pragma: no-cache |
| 45 |
Accept: */* |
| 46 |
Proxy-Connection: Keep-Alive |
| 47 |
|
| 48 |
</protocol> |
| 49 |
</verify> |