Author: sebb
Date: Sun Mar 30 08:42:21 2008
New Revision: 642761

URL: http://svn.apache.org/viewvc?rev=642761&view=rev
Log:
FTP Sampler sets latency = time to login

Modified:
    
jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
    jakarta/jmeter/trunk/xdocs/changes.xml
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: 
jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java?rev=642761&r1=642760&r2=642761&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
 Sun Mar 30 08:42:21 2008
@@ -134,6 +134,7 @@
         FTPClient ftp = new FTPClient();
                try {
                        ftp.connect(getServer());
+                       res.latencyEnd();
                        int reply = ftp.getReplyCode();
             if (FTPReply.isPositiveCompletion(reply))
             {

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=642761&r1=642760&r2=642761&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Sun Mar 30 08:42:21 2008
@@ -129,6 +129,7 @@
 <li>Bug 44600 - 1-ms resolution timer when running with Java 1.5+</li>
 <li>Bug 44632 - Text input enhancement to FTP Sampler</li>
 <li>Bug 42204 - add thread group name to Aggregate and Summary reports</li>
+<li>FTP Sampler sets latency = time to login</li>
 </ul>
 
 <h4>Non-functional changes</h4>

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=642761&r1=642760&r2=642761&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Sun Mar 30 
08:42:21 2008
@@ -47,11 +47,16 @@
        </p>
 </description>
 <component name="FTP Request" index="&sect-num;.1.1" width="502" height="299" 
screenshot="ftptest/ftp-request.png">
-<description>This controller lets you send an FTP "retrieve file" or "upload 
file" request to an FTP server.
+<description>
+This controller lets you send an FTP "retrieve file" or "upload file" request 
to an FTP server.
 If you are going to send multiple requests to the same FTP server, consider
 using a <complink name="FTP Request Defaults"/> Configuration
 Element so you do not have to enter the same information for each FTP Request 
Generative
-Controller. When downloading a file, it can be stored on disk (Local File) or 
in the Response Data, or both.</description>
+Controller. When downloading a file, it can be stored on disk (Local File) or 
in the Response Data, or both.
+<p>
+Latency is set to the time it takes to login (versions of JMeter after 2.3.1).
+</p>
+</description>
 <properties>
         <property name="Name" required="No">Descriptive name for this 
controller that is shown in the tree.</property>
         <property name="Server Name or IP" required="Yes">Domain name or IP 
address of the FTP server.



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

Reply via email to