Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

Passing testcase property from command line

$
0
0

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.


Viewing all articles
Browse latest Browse all 20990

Trending Articles