jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1833661 - in /jmeter/trunk: src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java xdocs/changes.xml
Date Sun, 17 Jun 2018 10:46:20 GMT
Author: fschumacher
Date: Sun Jun 17 10:46:20 2018
New Revision: 1833661

URL: http://svn.apache.org/viewvc?rev=1833661&view=rev
Log:
Set start- and end-time on JMS publisher sampler, even if initialization fails.

Bugzilla Id: 62464


Modified:
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java?rev=1833661&r1=1833660&r2=1833661&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
(original)
+++ jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
Sun Jun 17 10:46:20 2018
@@ -208,6 +208,8 @@ public class PublisherSampler extends Ba
             try {
                 initClient();
             } catch (JMSException | NamingException e) {
+                result.sampleStart();
+                result.sampleEnd();
                 handleError(result, e, false);
                 return result;
             }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1833661&r1=1833660&r2=1833661&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sun Jun 17 10:46:20 2018
@@ -180,6 +180,7 @@ this behaviour, set <code>httpclient.res
 <ul>
     <li><bug>58807</bug><code>https.use.cached.ssl.context=false</code>
is broken</li>
     <li><bug>62235</bug>Java 9 - illegal reflective access by org.apache.jmeter.util.HostNameSetter</li>
+    <li><bug>62464</bug>Set start- and end-time on JMS publisher sampler,
even if initialization fails.</li>
 </ul>
 
 <h3>Controllers</h3>



Mime
View raw message