Forum Discussion
cbyndr
15 years agoContributor
Thanks. So, here is my dilemma now. I have two properties files, with info for endpoint, etc., to be used by the builder for two different builds. And soapui testrunner command looks like this:
bin/testrunner.sh -j -r -Dsoapui.properties=${soapui.properties} -f${basedir}/target/integrationTestOutput -t${soapui-location}/soapui-settings.xml -sintegrationtests ${basedir}/unittest/integrationtest/soapui_project
When we build and testrunner launches, soapui logs this out:
30-Jun-2010 15:30:17 [exec] 2010-06-30 15:30:17,951 [Main Thread] INFO com.eviware.soapui.SoapUIProTestCaseRunner - Setting global property [soapui.properties] to [bstfm.appdev02.properties]
So based on that log, soapui could be using the correct properties, but it seems to be getting its global properties from soapui-settings.xml, instead of the properties file.
bin/testrunner.sh -j -r -Dsoapui.properties=${soapui.properties} -f${basedir}/target/integrationTestOutput -t${soapui-location}/soapui-settings.xml -sintegrationtests ${basedir}/unittest/integrationtest/soapui_project
When we build and testrunner launches, soapui logs this out:
30-Jun-2010 15:30:17 [exec] 2010-06-30 15:30:17,951 [Main Thread] INFO com.eviware.soapui.SoapUIProTestCaseRunner - Setting global property [soapui.properties] to [bstfm.appdev02.properties]
So based on that log, soapui could be using the correct properties, but it seems to be getting its global properties from soapui-settings.xml, instead of the properties file.