2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-04-27 17:59:47 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
2014-07-12 07:49:35 +08:00
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
globbing
|
2005-04-27 17:59:47 +08:00
|
|
|
[] range
|
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-14 21:37:32 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2013-08-15 19:05:25 +08:00
|
|
|
<data1>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
|
|
|
Content-Length: 15
|
|
|
|
|
|
|
|
the number one
|
|
|
|
</data1>
|
|
|
|
<data2>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
|
|
|
Content-Length: 16
|
|
|
|
|
|
|
|
two is nice too
|
|
|
|
</data2>
|
|
|
|
|
2003-08-14 21:37:32 +08:00
|
|
|
</reply>
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
2013-08-15 19:05:25 +08:00
|
|
|
http
|
2003-08-14 21:37:32 +08:00
|
|
|
</server>
|
2007-03-10 05:01:39 +08:00
|
|
|
<features>
|
|
|
|
http
|
|
|
|
</features>
|
2003-08-14 21:37:32 +08:00
|
|
|
<name>
|
2013-08-15 19:05:25 +08:00
|
|
|
urlglob with out of range -o #[num] usage
|
2003-08-14 21:37:32 +08:00
|
|
|
</name>
|
2007-01-23 10:25:56 +08:00
|
|
|
<command option="no-output">
|
2013-08-15 19:05:25 +08:00
|
|
|
"http://%HOSTIP:%HTTPPORT/[870001-870002]" -o "log/dumpit#2.dump"
|
2003-08-14 21:37:32 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
2013-08-15 19:05:25 +08:00
|
|
|
# Verify data after the test has been "shot". Note that the command line
|
|
|
|
# will write both responses into the same file name so only the second
|
|
|
|
# survives
|
|
|
|
#
|
2003-08-14 21:37:32 +08:00
|
|
|
<verify>
|
2014-05-09 17:04:30 +08:00
|
|
|
<file name="log/dumpit#2.dump" mode="text">
|
2013-08-15 19:05:25 +08:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
|
|
|
Content-Length: 16
|
|
|
|
|
|
|
|
two is nice too
|
|
|
|
</file>
|
2003-08-14 21:37:32 +08:00
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|