Forum Discussion
- Hello,
def env = System.getenv() // to get system enviroment
log.info env["USER"] // get enviroment property named user
def prp = System.getProperties() // get system properties
log.info prp["soapui.home"] //get system property soapui.home
System.setProperty("prp name", "value") //set property value
Hope this helps,
robert - Glenn_HalsteadOccasional ContributorThanks for your reply Robert. I do have my solution working using a properties file. I'll try the environment variable solution and use the one that seems best... I don't think there's much between them really.