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

   ## Description
   <!--- Provide a general summary of your changes in the Title above -->
   <!--- Describe your changes in detail here -->
   Add 1 configurable parameter to merge string-property which have same name. 
   the value of configurable parameter is Separate with commas.
   Parameters are defined in jmeter.properties file.
   eg,merge.property=HTTPSampler.path
   
   ## 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. -->
   
   in multi ConfigTestElement, if we have same properties name, now is use pre 
value and no merge. but someties we may need common prefix ,the common prefix 
often changed by tester, and many HTTPSampler may use it.
   eg, the full http url is 
http://192.168.8.110:8088/local-xxx/xxx/mo/knowledge.json, other http url have 
the same prefix:/local-xxx/xxx, we can config a globe ConfigTestElement with a 
property [HTTPSampler.path=/local-xxx/xxx], then the [HTTPSampler.path] will 
merged to HTTPSampler .
   
   
   ## 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. -->
   Run with multiple values in the .properties file, see the outcome.
   
   
   ## Screenshots (if appropriate):
   
![1712108894362](https://github.com/apache/jmeter/assets/13306569/f40503b7-ecaa-41cf-855b-3220bf5cf5f6)
   
![1712108929959](https://github.com/apache/jmeter/assets/13306569/fda1063d-4fd3-44a3-bc0b-ef38ffb30cd1)
   
![1712108966288](https://github.com/apache/jmeter/assets/13306569/119db502-ae52-4e6c-b91e-fab640b80643)
   1 and 2 will be merge, as 3.
   
   ## Types of changes
   - New feature 
   
   
   ## 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! -->
   - [ ] My code follows the [code style][style-guide] of this project.
   - [ ] 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