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