dgetzlaf opened a new issue, #6008:
URL: https://github.com/apache/jmeter/issues/6008

   ### Expected behavior
   
   In gui mode, JMeter acts as always.
   In *non-gui mode* JMeter runs all Thread Groups endlessly, when there is no 
specified Thread lifetime.
   
   JMeter was used to run the number of configured Loops - even without a 
specified Thread lifetime.
   
   
![image](https://github.com/apache/jmeter/assets/54536760/45ad99ff-569d-43d2-aed8-4e5c57bec6de)
   
   
   Also there was a Property in the JMX beneath the ThreadGroup
   ```
   <elementProp name="ThreadGroup.main_controller" elementType="LoopController" 
guiclass="LoopControlPanel" testclass="LoopController" testname="Loop 
Controller">
       <boolProp name="LoopController.continue_forever">false</boolProp>
       <stringProp name="LoopController.loops">1</stringProp>
   </elementProp>
   ```
   
   
   ### Actual behavior
   
   Since JMeter 5.6 the ThreadGroups without a specified Thread lifetime run 
endlessly.
   Also the property in the JMX beneath the ThreadGroup *is missing*
   ```
       <boolProp name="LoopController.continue_forever">false</boolProp>
   ```
   
   
   ### Steps to reproduce the problem
   
   Open a TestPlan from JMeter 5.5 with JMeter 5.6, save it and review the 
difference.
   
   Otherwise use this test plan 
[non-stopping-threads-jmeter-5.6.jmx.txt](https://github.com/apache/jmeter/files/11868850/non-stopping-threads-jmeter-5.6.jmx.txt)
   
   run in *gui mode* -> should execute...
   .. the setUp Thread Group once
   ..the Thread Group 4 times
   
   - run in *non-gui mode* `<path-to-jmeter-5.6>\jmeter.bat -t 
non-stopping-threads-jmeter-5.6.jmx -l jmeter.log -n`
   - tail the jmeter.log 
   - see that the setUp Thread Group is not stopping (consecutive printing of 
'Should exist only once')
   - abort the test execution
   
   ### JMeter Version
   
   5.6
   
   ### Java Version
   
   openjdk version "17.0.7" 2023-04-18 LTS OpenJDK Runtime Environment (build 
17.0.7+7-LTS) OpenJDK 64-Bit Server VM (build 17.0.7+7-LTS, mixed mode, sharing)
   
   ### OS Version
   
   Microsoft Windows [Version 10.0.19045.3086]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to