Forum Discussion
ipstefan
12 years agoOccasional Contributor
I have found a way to use TestSuite parameters from maven pom.xml file to soapui.
I declared a test suite parameter/property.
In the pom file I use in the configuration part:
At the end of the pom file, just before the closing of the project tag:
I can change the property value in the maven command line:
mvn test -DTestSuiteProperty=myProperty="a new property Value"
I declared a test suite parameter/property.
In the pom file I use in the configuration part:
<configuration>
<projectFile>${myProject}</projectFile>
<projectProperties>
<value>${TestSuiteProperty}</value>
</projectProperties>
.......
</configuration>
At the end of the pom file, just before the closing of the project tag:
<properties>
<TestSuiteProperty>myProperty="propertyValue"</TestSuiteProperty>
<myProject>NameOfTheProject</myProject>
</properties>
</project>
I can change the property value in the maven command line:
mvn test -DTestSuiteProperty=myProperty="a new property Value"