DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5088

FTP Sampler issues when exceptions occur on connect

           Summary: FTP Sampler issues when exceptions occur on connect
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If the FtpClient couldn't connect to the specified FTP server, the FTPSampler
would never set the success flag and the sampler label. The text response would
also not be set. 

I'll attach patches to correct these problems.. Patches address the following:

- To keep a standard labeling format (basing off the HTTP Sampler) - I
put "ftp://"; at the front of the label. 

- The label will now be set - even in exception conditions

- The SUCCESS flag will now be set correctly

- On exception conditions, the text response of the sample will now
contain the text of the exception (for example:
java.net.ConnectException - failed to connect to host blah.blah.com)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to