mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
49 lines
745 B
Plaintext
49 lines
745 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
HTTP
|
||
|
FTP
|
||
|
parallel
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data nocheck="yes">
|
||
|
HTTP/1.1 200 OK
|
||
|
Content-Length: 10001
|
||
|
Content-Type: text/html
|
||
|
|
||
|
%repeat[1000 x hellohttp!]%
|
||
|
</data>
|
||
|
|
||
|
<data2 nocheck="yes">
|
||
|
%repeat[1000 x hello ftp!]%
|
||
|
</data2>
|
||
|
|
||
|
</reply>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<file name="log/test%TESTNUMBER.txt">
|
||
|
%repeat[1000 x hellofile!]%
|
||
|
</file>
|
||
|
<server>
|
||
|
http
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
curl HTTP, FILE and FTP in parallel
|
||
|
</name>
|
||
|
<command option="no-output">
|
||
|
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
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
<verify>
|
||
|
</verify>
|
||
|
</testcase>
|