Forum Discussion
redfish4ktc2
13 years agoSuper Contributor
HammerTime
yes, you're right, the configuration you state in your previous post works because the soapui test runner run all suites when the testSuite parameter is null (ie when you don't provide -DtestSuite="testSuiteName" in the command line)
Also, if you had configured the pom like this:
you should have use:
This means, you use the maven way to pass property to the pom.
The way I proposed you in my previous post is related to the soapui maven plugin implementation. This is undocumented.
For almost all parameters, you can provide/override parameter value with
You can check this in the META-INF/maven/plugin.xml file in the maven-soapui-plugin.jar
yes, you're right, the configuration you state in your previous post works because the soapui test runner run all suites when the testSuite parameter is null (ie when you don't provide -DtestSuite="testSuiteName" in the command line)
Also, if you had configured the pom like this:
<testSuite>${a_property_name}</testSuite>
you should have use:
-Da_property_name="testSuiteName"
This means, you use the maven way to pass property to the pom.
The way I proposed you in my previous post is related to the soapui maven plugin implementation. This is undocumented.
For almost all parameters, you can provide/override parameter value with
-Dsoapui.<parameter_name>=paramValue
You can check this in the META-INF/maven/plugin.xml file in the maven-soapui-plugin.jar
- codehausss8 years agoContributor
Hello redfish4ktc2 could we use testsuite or testcase custom property to run specific test case/suite?
not based on testSuite name in maven project?