Scripter
10 years agoOccasional Contributor
Passing testcase property from command line
Hi All,
I am running soap ui via command line and trying to set the testcase property . Doesnt work using -P, since it sets project property and not testcase property.
- P : Sets project property with name=value, e.g. -Pendpoint=Value1 -PsomeOtherProperty=value2
but I need to set the testcase property. Is it possible?
The sample excerpt is as below:
export SOAPUIProject=/home/SoapUi/project.xml
./testrunner.sh $SOAPUIProject -s"Database TestSuite" -cTableUpdate -PChosenDB=$database
Where $database is the dynamic variable I intent to pass to testcase.