jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1815729 - in /jmeter/trunk/src: core/org/apache/jmeter/report/dashboard/ protocol/http/org/apache/jmeter/protocol/http/sampler/ protocol/jms/org/apache/jmeter/protocol/jms/sampler/ protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/
Date Sun, 19 Nov 2017 12:13:33 GMT
Author: fschumacher
Date: Sun Nov 19 12:13:32 2017
New Revision: 1815729

URL: http://svn.apache.org/viewvc?rev=1815729&view=rev
Log:
Correct placeholder/parameters in log messages

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
    jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java?rev=1815729&r1=1815728&r2=1815729&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java Sun Nov
19 12:13:32 2017
@@ -449,7 +449,7 @@ public class ReportGenerator {
                         Long tolerated = entry.getValue()[1];
                         if(log.isDebugEnabled()) {
                             log.debug("Found match for sampleName:{}, Regex:{}, satisfied
value:{}, tolerated value:{}", 
-                                    entry.getKey(), satisfied, tolerated);
+                                    sampleName, entry.getKey(), satisfied, tolerated);
                         }
                         info.setSatisfiedThreshold(satisfied);
                         info.setToleratedThreshold(tolerated);

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=1815729&r1=1815728&r2=1815729&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 Nov 19 12:13:32 2017
@@ -623,7 +623,7 @@ public class HTTPJavaImpl extends HTTPAb
             res.setHeadersSize(responseHeaders.replaceAll("\n", "\r\n") // $NON-NLS-1$ $NON-NLS-2$
                     .length() + 2); // add 2 for a '\r\n' at end of headers (before data)

             if (log.isDebugEnabled()) {
-                log.debug("Response headersSize={}, bodySize={}, Total=",
+                log.debug("Response headersSize={}, bodySize={}, Total={}",
                         res.getHeadersSize(),  res.getBodySizeAsLong(),
                         res.getHeadersSize() + res.getBodySizeAsLong());
             }

Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java?rev=1815729&r1=1815728&r2=1815729&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (original)
+++ jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Sun
Nov 19 12:13:32 2017
@@ -337,7 +337,7 @@ public class JMSSampler extends Abstract
                 res.setResponseMessage("No message received");
             }
         } catch (Exception ex) {
-            LOGGER.error("Error browsing queue with selector {}", jmsSelector, ex.getMessage());
+            LOGGER.error("Error browsing queue with selector {}", jmsSelector, ex);
         } finally {
             Utils.close(consumer, LOGGER);
         }

Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java?rev=1815729&r1=1815728&r2=1815729&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java (original)
+++ jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java Sun
Nov 19 12:13:32 2017
@@ -344,7 +344,7 @@ public class TCPSampler extends Abstract
                 log.debug("{} Created: {}@{}", this, getClassname(), Integer.toHexString(tcpClient.hashCode()));
//$NON-NLS-1$
             }
         } catch (Exception e) {
-            log.error("{} Exception creating: ", this, getClassname(), e); //$NON-NLS-1$
+            log.error("{} Exception creating: {} ", this, getClassname(), e); //$NON-NLS-1$
         }
         return tcpClient;
     }



Mime
View raw message