jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1783577 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java
Date Sat, 18 Feb 2017 18:58:08 GMT
Author: fschumacher
Date: Sat Feb 18 18:58:08 2017
New Revision: 1783577

URL: http://svn.apache.org/viewvc?rev=1783577&view=rev
Log:
Recurse into add method before changing into the runSafe method.

Bugzilla Id: 60687

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java?rev=1783577&r1=1783576&r2=1783577&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java Sat Feb
18 18:58:08 2017
@@ -171,18 +171,18 @@ public class TableVisualizer extends Abs
 
     @Override
     public void add(final SampleResult res) {
+        if (childSamples.isSelected()) {
+            SampleResult[] subResults = res.getSubResults();
+            if (subResults.length > 0) {
+                for (SampleResult sr : subResults) {
+                    add(sr);
+                }
+                return;
+            }
+        }
         JMeterUtils.runSafe(false, new Runnable() {
             @Override
             public void run() {
-                if (childSamples.isSelected()) {
-                    SampleResult[] subResults = res.getSubResults();
-                    if (subResults.length > 0) {
-                        for (SampleResult sr : subResults) {
-                            add(sr);
-                        }
-                        return;
-                    }
-                }
                 synchronized (calc) {
                     calc.addSample(res);
                     int count = calc.getCount();



Mime
View raw message