1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6-f
7</keywords>
8</info>
9
10<reply>
11<data>
12HTTP/1.1 404 OK
13Date: Thu, 09 Nov 2010 14:49:00 GMT
14Content-Length: 6
15Funny-head: yesyes
16
17-noo-
18</data>
19<data1>
20HTTP/1.1 200 OK
21Date: Thu, 09 Nov 2010 14:49:00 GMT
22Content-Length: 6
23Connection: close
24Funny-head: yesyes
25
26-yes-
27</data1>
28<datacheck>
29HTTP/1.1 200 OK
30Date: Thu, 09 Nov 2010 14:49:00 GMT
31Content-Length: 6
32Connection: close
33Funny-head: yesyes
34
35-yes-
36</datacheck>
37</reply>
38
39#
40# Client-side
41<client>
42<server>
43http
44</server>
45 <name>
46HTTP GET a globbed range with -f
47 </name>
48 <command>
49-f 'http://%HOSTIP:%HTTPPORT/[13280000-13280001]' -o log/#1
50</command>
51</client>
52
53#
54# Verify data after the test has been "shot"
55<verify>
56<strip>
57^User-Agent:.*
58</strip>
59<protocol>
60GET /13280000 HTTP/1.1
61Host: %HOSTIP:%HTTPPORT
62Accept: */*
63
64GET /13280001 HTTP/1.1
65Host: %HOSTIP:%HTTPPORT
66Accept: */*
67
68</protocol>
69</verify>
70</testcase>
71