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