Forum Discussion

Pani_Kumar's avatar
Pani_Kumar
New Contributor
16 years ago

Using Global Properties at design and runtime

I have a properties file defining global properties, which I would want to use across the projects

After going through the documentation, I found that global properties file could be used in testrunner.bat as below (Run time)

set JAVA_OPTS=-Xms128m -Xmx384m -Dsoapui.properties=global.properties

Now at the design time, what should be the value these properties ?
I tried #Global#PropertyName, but did not work.

Should I specify actual values of properties at design time and these property values would be over-ridden at runtime by global properties file ?

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    yes.. add the properties to the preferences/global properties table, use them with ${} or ${#Global#propertyname} and override their values using the command-line argument.

    regards!

    /Ole
    eviware.com