jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1577960 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
Date Sun, 16 Mar 2014 00:52:12 GMT
Author: sebb
Date: Sun Mar 16 00:52:11 2014
New Revision: 1577960

URL: http://svn.apache.org/r1577960
Log:
Improved debug

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java?rev=1577960&r1=1577959&r2=1577960&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
Sun Mar 16 00:52:11 2014
@@ -452,7 +452,10 @@ public class HTTPJavaImpl extends HTTPAb
         HttpURLConnection conn = null;
 
         String urlStr = url.toString();
-        log.debug("Start : sample " + urlStr);
+        if (log.isDebugEnabled()) {
+            log.debug("Start : sample " + urlStr);
+            log.debug("method " + method+ " followingRedirect " + areFollowingRedirect +
" depth " + frameDepth);            
+        }
 
         HTTPSampleResult res = new HTTPSampleResult();
         res.setMonitor(isMonitor());



Mime
View raw message