You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2018/06/17 10:46:20 UTC

svn commit: r1833661 - in /jmeter/trunk: src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java xdocs/changes.xml

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>