vdaburon opened a new pull request, #5761:
URL: https://github.com/apache/jmeter/pull/5761

   jmeter.test_plan.serialize_threadgroups (true or false, false default value)
    jmeter.test_plan.functional_mode (true or false, false default value)
    jmeter.test_plan.tearDown_on_shutdown (true or false, true default value)
   
   ## Description
   <!--- Provide a general summary of your changes in the Title above -->
   <!--- Describe your changes in detail here -->
   
   ## Motivation and Context
   <!--- Why is this change required? What problem does it solve? -->
   <!--- If it fixes an open issue, please link to the issue here. -->
   Issue : [Issue 5729](https://github.com/apache/jmeter/issues/5729)
   
   Currently you can't change Test Plan check box for serialize_threadgroups, 
functional_mode, tearDown_on_shutdown with a external JMeter properties.
   Be able to set options with external properties.
   
   ## How Has This Been Tested?
   <!--- Please describe in detail how you tested your changes. -->
   <!--- Include details of your testing environment, tests ran to see how -->
   <!--- your change affects other areas of the code, etc. -->
   Launch this gui or no gui load test and look at jmeter log what is the 
values of Test plan configuration.
   
   no GUI : 
   jmeter.bat -n -Jjmeter.test_plan.functional_mode=false 
-Jjmeter.test_plan.serialize_threadgroups=false 
-Jjmeter.test_plan.tearDown_on_shutdown=false -t 
..\test_plan_change_mode_std_v02.jmx
   
   Informations in the log file : 
   2023-01-10 18:33:17,525 INFO o.a.j.s.SaveService: Loading file: 
..\test_plan_change_mode_std_v02.jmx
   2023-01-10 18:33:17,592 INFO o.a.j.t.TestPlan: Change with property 
jmeter.test_plan.**functional_mode**, value=false
   2023-01-10 18:33:17,592 INFO o.a.j.t.TestPlan: Change with property 
jmeter.test_plan.**serialize_threadgroups**, value=false
   2023-01-10 18:33:17,596 INFO o.a.j.JMeter: Creating summariser <summary>
   2023-01-10 18:33:26,727 INFO o.a.j.t.TestPlan: Change with property 
jmeter.test_plan.serialize_threadgroups, value=false
   2023-01-10 18:33:26,727 INFO o.a.j.t.TestPlan: Change with property 
jmeter.test_plan.**tearDown_on_shutdown**, value=false
   2023-01-10 18:33:26,734 INFO o.a.j.e.StandardJMeterEngine: Running the test!
   
   ## Screenshots (if appropriate):
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Delete as appropriate 
-->
   - New feature (non-breaking change which adds functionality)
   
   ## Checklist:
   <!--- Go over all the following points, and put an `x` in all the boxes that 
apply. -->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here 
to help! -->
   - [x] My code follows the [code style][style-guide] of this project.
   - [x] I have updated the documentation accordingly.
   
   [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines
   


-- 
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

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

Reply via email to