test1291 756 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # Server-side
  12. <reply>
  13. <data>
  14. </data>
  15. </reply>
  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 log/cmd%TESTNUMBER --fail-early
  26. </command>
  27. <file name="log/upload-this">
  28. XXXXXXXx
  29. </file>
  30. # generate the config file
  31. <precheck>
  32. perl -e 'for(1 .. 1000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > log/cmd%TESTNUMBER;
  33. </precheck>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <errorcode>
  38. 1
  39. </errorcode>
  40. </verify>
  41. </testcase>