jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1828111 - in /jmeter/trunk: src/core/org/apache/jmeter/threads/JMeterThread.java xdocs/changes.xml
Date Sat, 31 Mar 2018 15:08:27 GMT
Author: pmouawad
Date: Sat Mar 31 15:08:27 2018
New Revision: 1828111

URL: http://svn.apache.org/viewvc?rev=1828111&view=rev
Log:
Bug 62240 - If SampleMonitor implementation is a TestBean if will not be initialized correctly
Bugzilla Id: 62240

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=1828111&r1=1828110&r2=1828111&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Sat Mar 31 15:08:27
2018
@@ -612,6 +612,9 @@ public class JMeterThread implements Run
         currentSamplerForInterruption = sampler;
         if (!sampleMonitors.isEmpty()) {
             for (SampleMonitor sampleMonitor : sampleMonitors) {
+                if(sampleMonitor instanceof TestElement) {
+                    TestBeanHelper.prepare((TestElement) sampleMonitor);
+                }
                 sampleMonitor.sampleStarting(sampler);
             }
         }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1828111&r1=1828110&r2=1828111&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Mar 31 15:08:27 2018
@@ -199,6 +199,7 @@ this behaviour, set <code>httpclient.res
   <li><bug>62124</bug>Recording templates : Add more exclusions and use
Transaction Name by default</li>
   <li><bug>62127</bug>Store filename as String instead of File in FileEditor.
This will prevent conversion of filenames from unix style path separators to Windows style
when used for example in CSV Data Set Config.</li>
   <li><bug>56150</bug>Keep the index right, when scrolling through the
menu items.</li>
+  <li><bug>62240</bug>If SampleMonitor implementation is a TestBean if
will not be initialized correctly</li>
 </ul>
 
  <!--  =================== Thanks =================== -->



Mime
View raw message