| 1 |
# |
| 2 |
# Server-side |
| 3 |
<reply> |
| 4 |
<data> |
| 5 |
HTTP/1.1 200 OK |
| 6 |
Date: Thu, 09 Nov 2010 14:49:00 GMT |
| 7 |
Server: test-server/fake |
| 8 |
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT |
| 9 |
ETag: "21025-dc7-39462498" |
| 10 |
Accept-Ranges: bytes |
| 11 |
Content-Length: 6 |
| 12 |
Connection: close |
| 13 |
Content-Type: text/html |
| 14 |
Funny-head: yesyes |
| 15 |
|
| 16 |
<foo> |
| 17 |
</data> |
| 18 |
</reply> |
| 19 |
|
| 20 |
# Client-side |
| 21 |
<client> |
| 22 |
<server> |
| 23 |
http |
| 24 |
</server> |
| 25 |
<features> |
| 26 |
getrlimit |
| 27 |
</features> |
| 28 |
# tool is what to use instead of 'curl' |
| 29 |
<tool> |
| 30 |
lib518 |
| 31 |
</tool> |
| 32 |
# precheck is a command line to run before the test, to see if we can execute |
| 33 |
# the test or not |
| 34 |
<precheck> |
| 35 |
./libtest/lib518 check |
| 36 |
</precheck> |
| 37 |
|
| 38 |
<name> |
| 39 |
HTTP GET with more than FD_SETSIZE descriptors open |
| 40 |
</name> |
| 41 |
<command> |
| 42 |
http://%HOSTIP:%HTTPPORT/518 |
| 43 |
</command> |
| 44 |
</client> |
| 45 |
|
| 46 |
# |
| 47 |
# Verify data after the test has been "shot" |
| 48 |
<verify> |
| 49 |
<protocol> |
| 50 |
GET /518 HTTP/1.1 |
| 51 |
Host: 127.0.0.1:%HTTPPORT |
| 52 |
Accept: */* |
| 53 |
|
| 54 |
</protocol> |
| 55 |
</verify> |