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