Created
December 17, 2019 06:18
-
-
Save easternnl/33cde1da5c16e7f5c24a30335ff8f613 to your computer and use it in GitHub Desktop.
List & Setup JMeter / Java System Properties from within the script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// list all properties to the log.info, but can also use println | |
log.info ( System.properties.collect({it}).join(' \n')) | |
// list a single propertie in the log | |
log.info ("javax.net.ssl.trustStore: " + System.getProperty("javax.net.ssl.trustStore")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.setProperty("javax.net.ssl.trustStore", vars.get("javax.net.ssl.trustStore")) | |
System.setProperty("com.ibm.mq.cfg.useIBMCipherMappings", "false") | |
System.setProperty("javax.net.ssl.trustStorePassword", vars.get("javax.net.ssl.trustStorePassword")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment