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<strip>
40^User-Agent:.*
41</strip>
42<protocol>
43GET /want/29 HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45Accept: */*
46
47</protocol>
48<errorcode>
4928
50</errorcode>
51</verify>
52</testcase>
53