jenszo opened a new issue, #5774: URL: https://github.com/apache/jmeter/issues/5774
### Expected behavior I have a user.properties file which is supplied to jmeter as `jmeter -t my.jmx -p user.properties ..... ` I use the properties across the jmx file using both ${__P(myprop,default)} and ${__property(myprop,default)} Launching jmeter and starting the test plan, all properties are set and evaluate as expected. Whenever the test plan ends or is stopped and then started again (regardless of any modifications), all properties loaded on startup are persistently available. ### Actual behavior Whenever the test plan ends or is stopped and then started again (regardless of any modifications), all the properties are gone and either resolve to the default or their reference name. This repeats itself restarting the application. The only property which remains in the `props` object is `TESTSTART.MS = 1676411012416` ### Steps to reproduce the problem Add the Beanshell snippet to any thread group: ``` import java.util.Iterator; Iterator iter = props.keySet().iterator(); log.info("######################################################"); log.info("Assigned and loaded properties from user.properties"); while (iter.hasNext()) { String key = (String) iter.next(); String value = (String) props.get(key); log.info(key + " = " + value); } log.info("######################################################"); ``` Add random properties to `user.properties` Launch `jmeter -t my.jmx -p user.properties`, start test plan, restart test plan, check logs. ### JMeter Version 5.4, .5.5 ### Java Version openjdk-17, openjdk-8 ### OS Version Manjaro Linux -- 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