My Problem
I've got a script that uses properties to set user defined variables. This works great during GUI testing. When testing in non-GUI mode, however, the script results in only failures.
I am using properties because the values are created in the Endpoint Creation thread group, but I need them to be globally accessible. Because of this, I used some RegEx extractors and a BeanShell assertion to assign the values to several different properties. Here's what that looks like.
Here is my User Defined Variables with the properties set as their values..
I know for a fact that the properties are an issue in non-GUI mode because if I replace the properties with their hard coded values the non-GUI test results in successes.
When I am ready to start testing, I toggle the Endpoint Creation thread group off as I only need it to configure the User Defined Variables.
I should mention that I am required to use non-GUI mode during testing for performance reasons.
Questions
- Does non-GUI JMeter treat user defined properties differently than GUI JMeter?
- Is there a way for me to keep these properties and have them work in non-GUI mode?