• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>
6HTTP
7HTTP PUT
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21none
22</server>
23<name>
24Attempt to upload 1000 files but fail immediately
25</name>
26<command>
27-K log/cmd%TESTNUMBER --fail-early
28</command>
29<file name="log/upload-this">
30XXXXXXXx
31</file>
32# generate the config file
33<precheck>
34perl -e 'for(1 .. 1000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > log/cmd%TESTNUMBER;
35</precheck>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<errorcode>
411
42</errorcode>
43</verify>
44</testcase>
45