jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1791960 - in /jmeter/trunk: src/components/org/apache/jmeter/visualizers/RenderInBrowser.java xdocs/changes.xml
Date Wed, 19 Apr 2017 19:52:43 GMT
Author: pmouawad
Date: Wed Apr 19 19:52:43 2017
New Revision: 1791960

URL: http://svn.apache.org/viewvc?rev=1791960&view=rev
Log:
Bug 61005 - View Results Tree - Browser Response Data is not clearing
Bugzilla Id: 61005

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderInBrowser.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderInBrowser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderInBrowser.java?rev=1791960&r1=1791959&r2=1791960&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderInBrowser.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderInBrowser.java Wed Apr
19 19:52:43 2017
@@ -191,4 +191,21 @@ public class RenderInBrowser extends Sam
     public String toString() {
         return JMeterUtils.getResString("view_results_render_browser"); // $NON-NLS-1$
     }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.visualizers.SamplerResultTab#clearData()
+     */
+    @Override
+    public void clearData() {
+        super.clearData();
+        if (browserPanel == null) {
+            browserPanel = initComponents("");
+        }
+        Platform.runLater(new Runnable() {
+            @Override
+            public void run() {
+                engine.loadContent("");
+            }
+        });
+    }
 }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1791960&r1=1791959&r2=1791960&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Wed Apr 19 19:52:43 2017
@@ -142,6 +142,7 @@ Summary
 
 <h3>Listeners</h3>
 <ul>
+    <li><bug>61005</bug>View Results Tree - Browser Response Data is not
clearing</li>
 </ul>
 
 <h3>Timers, Assertions, Config, Pre- &amp; Post-Processors</h3>



Mime
View raw message