2008-11-06 03:13:18 +03:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
EPSV
|
|
|
|
RETR
|
|
|
|
timeout
|
|
|
|
FAILURE
|
2014-10-26 15:48:46 +03:00
|
|
|
flaky
|
2008-11-06 03:13:18 +03:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2008-11-13 04:45:59 +03:00
|
|
|
# Overload some standard FTP responses to make them shorter and faster
|
|
|
|
# to avoid wasting time waiting for the data phase to start
|
2008-11-06 03:13:18 +03:00
|
|
|
<servercmd>
|
|
|
|
SLOWDOWN
|
2008-11-13 04:45:59 +03:00
|
|
|
REPLY USER 331 OK
|
|
|
|
REPLY PASS 230 OK
|
|
|
|
REPLY PWD 257 "/"
|
|
|
|
REPLY TYPE 200 OK
|
2008-11-06 03:13:18 +03:00
|
|
|
</servercmd>
|
|
|
|
<data nocheck="yes">
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
2010-02-04 12:55:45 +03:00
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
|
|
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
2008-11-06 03:13:18 +03:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<killserver>
|
|
|
|
ftp
|
|
|
|
</killserver>
|
|
|
|
<name>
|
|
|
|
FTP download with strict timeout and slow data transfer
|
|
|
|
</name>
|
|
|
|
<command timeout="1">
|
2010-02-04 12:55:45 +03:00
|
|
|
ftp://%HOSTIP:%FTPPORT/1086 -m 7
|
2008-11-06 03:13:18 +03:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
# 28 is CURLE_OPERATION_TIMEDOUT
|
|
|
|
<errorcode>
|
|
|
|
28
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 1086
|
|
|
|
RETR 1086
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|