Author: sebb
Date: Fri Apr  3 09:41:20 2009
New Revision: 761584

URL: http://svn.apache.org/viewvc?rev=761584&view=rev
Log:
Bug 46838 - if there was no data, still need to set latency in HTTPSampler

Modified:
    
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
    jakarta/jmeter/trunk/xdocs/changes.xml

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=761584&r1=761583&r2=761584&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
 Fri Apr  3 09:41:20 2009
@@ -1597,6 +1597,9 @@
                 w.write(readBuffer, 0, bytesRead);
             }
         }
+        if (first){ // Bug 46838 - if there was no data, still need to set 
latency
+            sampleResult.latencyEnd();
+        }
         in.close();
         w.flush();
         if (asMD5 && md != null) {

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=761584&r1=761583&r2=761584&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Fri Apr  3 09:41:20 2009
@@ -191,6 +191,8 @@
 <li>Fix bug in HTTP file: handling - read bytes, not characters in the default 
encoding.</li>
 <li>Change HTTPS spoofing so https: links are replaced even when URL match 
fails</li>
 <li>Check validity of cookies before storing them.</li>
+<li>FTP Sampler now logs out before disconnecting.</li>
+<li>Bug 46838 - if there was no data, still need to set latency in 
HTTPSampler</li>
 </ul>
 
 <h3>Improvements</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to