test390 745 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. FTP
  6. parallel
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. HTTP/1.1 200 OK
  14. Content-Length: 10001
  15. Content-Type: text/html
  16. %repeat[1000 x hellohttp!]%
  17. </data>
  18. <data2 nocheck="yes">
  19. %repeat[1000 x hello ftp!]%
  20. </data2>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <file name="log/test%TESTNUMBER.txt">
  26. %repeat[1000 x hellofile!]%
  27. </file>
  28. <server>
  29. http
  30. ftp
  31. </server>
  32. <name>
  33. curl HTTP, FILE and FTP in parallel
  34. </name>
  35. <command option="no-output">
  36. http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/log/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o log/%TESTNUMBER.a -o log/%TESTNUMBER.b -o log/%TESTNUMBER.c
  37. </command>
  38. </client>
  39. #
  40. <verify>
  41. </verify>
  42. </testcase>