global properties command line configuration of soap ui pro maven plugin -
i wanted know if there way override global properties values in soapui-settings.xml file passing values command line parameters. reference using soapui pro maven plugin , not in using command line version of soapui.
you have use maven properties intermediary.
definite soapui plugin like:
<plugin> <groupid>com.smartbear.soapui</groupid> <artifactid>soapui-pro-maven-plugin</artifactid> <version>.....</version> <executions> <execution> <configuration> <projectfile>.....</projectfile> <projectproperties> <value>property1=${soapui.value1}</value> </projectproperties> </configuration> </execution> </executions> </plugin>
the in pom define properties:
<properties> <project.build.sourceencoding>utf-8</project.build.sourceencoding> <soapui.value1>soapui.actual.value</soapui.value1> </properties>
then can call commandline like:
mvn -dsoapui.value1=soapui.other.value com.smartbear.soapui:soapui-pro-maven-plugin:test
Comments
Post a Comment