test99 (908B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 Resume 7 Largefile 8 FAILURE 9 </keywords> 10 </info> 11 # 12 # Server-side 13 <reply> 14 <data> 15 HTTP/1.1 404 Nah 16 Date: Tue, 09 Nov 2010 14:49:00 GMT 17 Connection: close 18 Content-Length: 13 19 Funny-head: yesyes 20 21 0123456789123 22 </data> 23 24 <datacheck> 25 HTTP/1.1 404 Nah 26 Date: Tue, 09 Nov 2010 14:49:00 GMT 27 Connection: close 28 Content-Length: 13 29 Funny-head: yesyes 30 31 </datacheck> 32 </reply> 33 34 # 35 # Client-side 36 <client> 37 <features> 38 Largefile 39 </features> 40 <server> 41 http 42 </server> 43 <name> 44 HTTP GET with large-file resume point and failed resume 45 </name> 46 <command> 47 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 9999999999 48 </command> 49 </client> 50 51 # 52 # Verify data after the test has been "shot" 53 <verify> 54 # 33 is CURLE_RANGE_ERROR 55 <errorcode> 56 33 57 </errorcode> 58 <protocol> 59 GET /%TESTNUMBER HTTP/1.1 60 Host: %HOSTIP:%HTTPPORT 61 Range: bytes=9999999999- 62 User-Agent: curl/%VERSION 63 Accept: */* 64 65 </protocol> 66 </verify> 67 </testcase>