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 2018/12/03 21:59:06 UTC

svn commit: r1848107 - in /jmeter/trunk: src/core/org/apache/jmeter/threads/JMeterContextService.java xdocs/changes.xml

Author: pmouawad
Date: Mon Dec  3 21:59:06 2018
New Revision: 1848107

URL: http://svn.apache.org/viewvc?rev=1848107&view=rev
Log:
Bug 62916 - JMeter HTTP Test Script Recorder randomly stops recording
Bugzilla Id: 62916

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContextService.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContextService.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContextService.java?rev=1848107&r1=1848106&r2=1848107&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContextService.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContextService.java Mon Dec  3 21:59:06 2018
@@ -130,6 +130,7 @@ public final class JMeterContextService
      */
     public static synchronized void endTest() {
         testStart = 0;
+        resetClientSideVariables();
     }
 
     public static synchronized long getTestStartTime() {
@@ -193,4 +194,11 @@ public final class JMeterContextService
     public static void initClientSideVariables(JMeterVariables clientSideVariables) {
         JMeterContextService.variables = new UnmodifiableJMeterVariables(clientSideVariables);
     }
+    
+    /**
+     * Reset client side variables in a distributed mode 
+     */
+    public static void resetClientSideVariables() {
+        JMeterContextService.variables = null;
+    }
 }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1848107&r1=1848106&r2=1848107&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Mon Dec  3 21:59:06 2018
@@ -152,6 +152,7 @@ of previous time slot as a base. Startin
     <li><bug>62842</bug>HTTP(S) Test Script Recorder: Brotli compression is not supported leading to "<code>Content Encoding Error</code>"</li>
     <li><bug>60424</bug>Hessian Burlap application: JMeter inserts <code>0x0D</code> before <code>0x0A</code> automatically (http binary post data)</li>
     <li><bug>62940</bug>Use different <code>cn</code> and type of SAN extension when we are generating certificates based on IP addresses.</li>
+    <li><bug>62916</bug>JMeter HTTP Test Script Recorder randomly stops recording</li>
 </ul>
 
 <h3>Other Samplers</h3>