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