2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-04-27 17:59:47 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
Resume
|
2008-07-27 04:09:36 +08:00
|
|
|
Largefile
|
2005-04-27 17:59:47 +08:00
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2004-03-02 00:18:40 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 404 Nah
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2004-03-02 00:18:40 +08:00
|
|
|
Connection: close
|
|
|
|
Content-Length: 13
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
2004-10-06 21:37:12 +08:00
|
|
|
0123456789123
|
2004-03-02 00:18:40 +08:00
|
|
|
</data>
|
2004-10-06 21:37:12 +08:00
|
|
|
|
|
|
|
<datacheck>
|
|
|
|
HTTP/1.1 404 Nah
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2004-10-06 21:37:12 +08:00
|
|
|
Connection: close
|
|
|
|
Content-Length: 13
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
</datacheck>
|
2004-03-02 00:18:40 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<features>
|
|
|
|
large_file
|
|
|
|
</features>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP GET with large-file resume point and failed resume
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 9999999999
|
2004-03-02 00:18:40 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2007-08-31 04:34:57 +08:00
|
|
|
# 33 is CURLE_RANGE_ERROR
|
2004-03-02 00:18:40 +08:00
|
|
|
<errorcode>
|
|
|
|
33
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2007-09-15 03:32:31 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2015-03-12 07:50:46 +08:00
|
|
|
Range: bytes=9999999999-
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2004-03-02 00:18:40 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|