Skip to content

Instantly share code, notes, and snippets.

@easternnl
Created December 17, 2019 06:18
Show Gist options
  • Save easternnl/33cde1da5c16e7f5c24a30335ff8f613 to your computer and use it in GitHub Desktop.
Save easternnl/33cde1da5c16e7f5c24a30335ff8f613 to your computer and use it in GitHub Desktop.
List & Setup JMeter / Java System Properties from within the script
// 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"))
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