test1291 (795B)
1 <testcase> 2 # This test case is primarily meant to verify that parsing and adding the 100K 3 # files is a swift operation. 4 <info> 5 <keywords> 6 HTTP 7 HTTP PUT 8 </keywords> 9 </info> 10 11 # 12 # Server-side 13 <reply> 14 </reply> 15 16 # Client-side 17 <client> 18 <server> 19 none 20 </server> 21 <name> 22 Attempt to upload 1000 files but fail immediately 23 </name> 24 <command> 25 -K %LOGDIR/cmd%TESTNUMBER --fail-early 26 </command> 27 <file name="%LOGDIR/upload-this"> 28 XXXXXXXx 29 </file> 30 # generate the config file 31 <precheck> 32 %PERL -e 'for(1 .. 1000) { printf("upload-file=%LOGDIR/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > %LOGDIR/cmd%TESTNUMBER; 33 </precheck> 34 </client> 35 36 # Verify data after the test has been "shot" 37 <verify> 38 <errorcode> 39 1 40 </errorcode> 41 <limits> 42 Allocations: 3100 43 </limits> 44 </verify> 45 </testcase>