You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/11/02 11:18:40 UTC
svn commit: r1814064 - in /jmeter/trunk:
src/core/org/apache/jmeter/reporters/ResultAction.java xdocs/changes.xml
Author: pmouawad
Date: Thu Nov 2 11:18:40 2017
New Revision: 1814064
URL: http://svn.apache.org/viewvc?rev=1814064&view=rev
Log:
Bug 61712 - Result Status Action Handler: It stop test/stop test now are selected, samplers following current sampler may run
Bugzilla Id: 61712
Modified:
jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultAction.java
jmeter/trunk/xdocs/changes.xml
Modified: jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultAction.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultAction.java?rev=1814064&r1=1814063&r2=1814064&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultAction.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultAction.java Thu Nov 2 11:18:40 2017
@@ -37,7 +37,7 @@ public class ResultAction extends OnErro
private static final Logger log = LoggerFactory.getLogger(ResultAction.class);
- /*
+ /**
* Constructor is initially called once for each occurrence in the test plan
* For GUI, several more instances are created Then clear is called at start
* of test Called several times during test startup The name will not
@@ -56,13 +56,15 @@ public class ResultAction extends OnErro
public void sampleOccurred(SampleEvent e) {
SampleResult s = e.getResult();
if (log.isDebugEnabled()) {
- log.debug("{} OK? {}", s.getSampleLabel(), s.isSuccessful());
+ log.debug("ResultStatusHandler {} for {} OK? {}", getName(), s.getSampleLabel(), s.isSuccessful());
}
if (!s.isSuccessful()) {
if (isStopTestNow()) {
+ s.setStopThread(true);
s.setStopTestNow(true);
}
if (isStopTest()) {
+ s.setStopThread(true);
s.setStopTest(true);
}
if (isStopThread()) {
Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1814064&r1=1814063&r2=1814064&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Nov 2 11:18:40 2017
@@ -182,6 +182,7 @@ Summary
<h3>Timers, Assertions, Config, Pre- & Post-Processors</h3>
<ul>
+ <li><bug>61712</bug>Result Status Action Handler: It stop test/stop test now are selected, samplers following current sampler may run</li>
</ul>
<h3>Functions</h3>