Ask a Question

give testrunner.sh properties from .properties file ?

momomo
Not applicable

give testrunner.sh properties from .properties file ?

Hi,
Im running my tests from ant with <exec> task and testrunner.sh.

I need to pass a bunch of properties to soapui but i don't want to use "-Pname=value" for each one of them

Is there a way to pass a .properties file ?
Does testrunner.sh inherits the properties from my ant build.xml ?

What's a good solution to this ?
Thanks
2 REPLIES 2
davidp_1
Occasional Contributor

Re: give testrunner.sh properties from .properties file ?

Did you ever find a solution to this? I know it's old, but I'm looking at the same question. Thanks. 

nmrao
Community Hero

Re: give testrunner.sh properties from .properties file ?

Looks you replied to a very old topic.
It is pretty simple. you can place all your properties into a file called soapui.properties and place it under SOAPUI_HOME/bin directory.
In order access these properties in the project, you can use them like ${#Project#PROPERTY_NAME}.

Hope this resolves your issue.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: