spasham
11 years agoNew Contributor
Custom properties file from a command line
Hello All,
I am trying to load cusomt properties from a properties file on a command line. However i do not have any success. Any thoughts would be greatly appreciated...
Followed the steps suggested in the SOAP UI documentation: http://www.soapui.org/Scripting-Propert ... rties.html
My properties.txt file contains name value pairs. For Example see below
DBString=test.db.test
testQueue=queue1
I am trying to pass the properties.txt file from a command line.
$ testrunner.bat -sTestSuite -Dsoapui.properties=properties.txt soapui-project.xml
In my testSuite i am using ${#DBString} so at runtime "test.db.test" is used.
Thank you in advance.
spasham.
I am trying to load cusomt properties from a properties file on a command line. However i do not have any success. Any thoughts would be greatly appreciated...
Followed the steps suggested in the SOAP UI documentation: http://www.soapui.org/Scripting-Propert ... rties.html
My properties.txt file contains name value pairs. For Example see below
DBString=test.db.test
testQueue=queue1
I am trying to pass the properties.txt file from a command line.
$ testrunner.bat -sTestSuite -Dsoapui.properties=properties.txt soapui-project.xml
In my testSuite i am using ${#DBString} so at runtime "test.db.test" is used.
Thank you in advance.
spasham.