xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | FTP |
| 6 | parallel |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data nocheck="yes"> |
| 14 | HTTP/1.1 200 OK |
| 15 | Content-Length: 10001 |
| 16 | Content-Type: text/html |
| 17 | |
| 18 | %repeat[1000 x hellohttp!]% |
| 19 | </data> |
| 20 | |
| 21 | <data2 nocheck="yes"> |
| 22 | %repeat[1000 x hello ftp!]% |
| 23 | </data2> |
| 24 | |
| 25 | </reply> |
| 26 | |
| 27 | # |
| 28 | # Client-side |
| 29 | <client> |
| 30 | <file name="log/test%TESTNUMBER.txt"> |
| 31 | %repeat[1000 x hellofile!]% |
| 32 | </file> |
| 33 | <server> |
| 34 | http |
| 35 | ftp |
| 36 | </server> |
| 37 | <name> |
| 38 | curl HTTP, FILE and FTP in parallel |
| 39 | </name> |
| 40 | <command option="no-output"> |
| 41 | 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 |
| 42 | </command> |
| 43 | </client> |
| 44 | |
| 45 | # |
| 46 | <verify> |
| 47 | </verify> |
| 48 | </testcase> |