1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6timeout
7FAILURE
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
15Connection: close
16
17_data_result_data_
18</data>
19<postcmd>
20wait 10
21</postcmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29 <name>
30HTTP with 2 secs timeout
31 </name>
32 <command>
33http://%HOSTIP:%HTTPPORT/want/29 -m 2
34</command>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40GET /want/29 HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42User-Agent: curl/%VERSION
43Accept: */*
44
45</protocol>
46<errorcode>
4728
48</errorcode>
49</verify>
50</testcase>
51