SteveM
13 years agoOccasional Contributor
Cannot use a global end property in a soapui.properties file
Hello,
In my automated implementation I am using the testrunner.bat to execute my projects. I have a custom soapui-settings.xml (-t) and a custom soapui.properties.xml (-D) for global properties. This implementation worked like a charm when I was overiding the endpoint. I now need to account for multiple endpoints, but I can't seem to adjust the endpoint using my properties file.
testrunner.bat -t soapuiSettingsLocation -Dsoapui.properties=soapuiPropertiesLocation ProjectName
Now I've discovered that if I change it to a project property (-P) and then overide it works, but doing the same with a global (-G) does not. Could you help explain why my appoarch isn't working? I would rather not update every project to point to project level property instead of a global property.
-Steve-
In my automated implementation I am using the testrunner.bat to execute my projects. I have a custom soapui-settings.xml (-t) and a custom soapui.properties.xml (-D) for global properties. This implementation worked like a charm when I was overiding the endpoint. I now need to account for multiple endpoints, but I can't seem to adjust the endpoint using my properties file.
testrunner.bat -t soapuiSettingsLocation -Dsoapui.properties=soapuiPropertiesLocation ProjectName
Now I've discovered that if I change it to a project property (-P) and then overide it works, but doing the same with a global (-G) does not. Could you help explain why my appoarch isn't working? I would rather not update every project to point to project level property instead of a global property.
-Steve-