Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi!
1) Global properties are normaly stored in the soapui settings file, which you could specify using the settingsFile tag (http://www.soapui.org/Test-Automation/maven-2x.html). You could also maybe use the -Dsoapui.properties system property to refer to a external properties file (http://www.soapui.org/Scripting-Propert ... mmand-line).
2) No, external files or normally only read once (on start up). If you need to read from the file while running the maven plugin, you could probably use the Properties TestStep (http://www.soapui.org/Functional-Testin ... s-teststep) or some kind of Groovy Script to poll the external file for changes.
3) Yes it's possible to have multiple endpoints for different TestCases, but it's preferable to have the endpoints in the soapUI project file rather than in the pom.xml. Please elaborate if this doesn't work for you by some reason.
--
Regards
Erik
SmartBear Sweden
1) Global properties are normaly stored in the soapui settings file, which you could specify using the settingsFile tag (http://www.soapui.org/Test-Automation/maven-2x.html). You could also maybe use the -Dsoapui.properties system property to refer to a external properties file (http://www.soapui.org/Scripting-Propert ... mmand-line).
2) No, external files or normally only read once (on start up). If you need to read from the file while running the maven plugin, you could probably use the Properties TestStep (http://www.soapui.org/Functional-Testin ... s-teststep) or some kind of Groovy Script to poll the external file for changes.
3) Yes it's possible to have multiple endpoints for different TestCases, but it's preferable to have the endpoints in the soapUI project file rather than in the pom.xml. Please elaborate if this doesn't work for you by some reason.
--
Regards
Erik
SmartBear Sweden