Forum Discussion
nmrao
9 years agoCommunity Hero
- soapui project changes: You may set a project level property say APPLICATION_URL and update the test requests with endpoint as ${#Project#APPLICATION_URL}
- pom.xml changes:
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>4.6.1</version>
<configuration>
<systemProperties>
<property>
<name>endpoint</name>
<value>${app.url}</value>
</property>
</systemProperties>
<projectFile>simple-test-soapui-project.xml</projectFile>
<projectProperties>
<value>APPLICATION_URL=${app.url}</value>
</projectProperties>
</configuration>
</plugin>
Now, you may add -Dendpoint=http://yourhost:port your command
Disclaimer: Just collected it from net, never tried myself.
Update:
Also look at this resource