You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2001/11/26 15:24:24 UTC

DO NOT REPLY [Bug 5088] New: - FTP Sampler issues when exceptions occur on connect

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: jmeter-dev@jakarta.apache.org
        ReportedBy: jim@boutcher.com


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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>