Forum Discussion
28 Replies
- leskopOccasional ContributorI'm missing this feature also.
If I set following for child project:
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<inherited>true</inherited>
<configuration>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}/soapui-logs/</value>
</property>
</soapuiProperties>
<saveAfterRun>true</saveAfterRun>
<testFailIgnore>true</testFailIgnore>
<aggregate>true</aggregate>
<linkXRef>true</linkXRef>
<projectFile>${basedir}/../../src/test/soapui/Test-soapui-project.xml</projectFile>
<host>http://127.0.0.1:8080</host>
<outputFolder>${basedir}/../../target/soapui-reports-childProject1/</outputFolder>
<junitReport>true</junitReport>
<printReport>false</printReport>
<projectProperties>
<projectProperty>myProp1=prop1</projectProperty>
<projectProperty>myProp2=prop2</projectProperty>
</projectProperties>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
Second child project has similar configuration with other variables.
Parrent pom looks like:
...
<modules>
<module>modules/project1</module>
<module>modules/project1</module>
</modules>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
Is there any way how to aggregate ${basedir}/../../target/soapui-reports-childProject1 and ${basedir}/../../target/soapui-reports-childProject2 test sub-module results into one?
Usingmvn integration-test
to produce results - leskopOccasional ContributorHi,
No I didn't.
The reason why is because I coundn't trace results for particular results. As you said "Configure this parameter to use the 2 output directories where soapui stores xml junit files" -> this is ok for XML junit files ("Maven surefire reports").
But I needed also reports (*.txt) produced by SoapUI. Now I have a situation with > 2100 tests divided into submodules and Jenkins work pretty well with them - apattanayakOccasional ContributorI am new to SOAP UI, at my company its heavily used. After spending couple of days with SOAP UI test execution, I get to realize that it's really problematic not to have a feature which would allow to execute multiple soap ui projects together from maven rather adding each project details in the pom.xml. Wondering, is there any way to add any group name like 'high Priority', 'regression' in the <project-name>.xml, so that I can use 'LabeledTestGroupsPublisher' plug in from Jenkins.
- redfish4ktc2Super Contributorhi, what do you mean with 'add any group' and ' use 'LabeledTestGroupsPublisher' plug in from Jenkins'
- apattanayakOccasional Contributorredfish4ktc2 : What I meant : say 50 soap ui projects are marked as High Priority. So if I wish to execute all the high priority soap ui projects, i just specify it in pom some how(ofcourse not by adding all the project names) or by using jenkins. 'LabeledTestGroupsPublisher' is just plug in to group test results. In simple word, I was looking for some simple solution to execute multiple soap ui projects. Soap UI really sucks with multiple project execution and it seems the problem is known since 2010.
- redfish4ktc2Super ContributorHi,
I've seen a lot of people complaining about this problem, some other saying "I did it in my custom implementation" but they never shared it.
So, I will try in the next weeks to implement such a feature. See https://github.com/redfish4ktc/maven-so ... /issues/88
This will let you define projects you want to run the same way you include/exclude java source file in the maven compiler plugin for instance.
Feedbacks are welcomed
- apattanayakOccasional ContributorLooking forward to see the solution.
Thanks very much for your initiative. - redfish4ktc2Super Contributorapattanayak I've starting implementing the new test-multi goal.
Usage currently looks like this: https://raw.github.com/redfish4ktc/mave ... ts/pom.xml
Currently, you must provide the list of projects which is not very suitable for a use case with a lot of projects. I will modify the plugin to have an include/exclude mecanism (we have already talked about this) - redfish4ktc2Super ContributorHi,
I have updated the plugin and it can now be configured to include/exclude soapui project file from several directories. See the documentation.
A 4.6.3.1-SNAPSHOT version of the plugin with this new feature is already available (see https://github.com/redfish4ktc/maven-so ... hot-access to retrieve it) - apattanayakOccasional ContributorHi,
Sorry for the late response..
Thank you very much for your effort. I just tried with '4.6.3.1-SNAPSHOT'. I kind of needed to manually all the dependencies one after another and after that I landed up with this problem :
Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered while executing com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.6.3.1-SNAPSHO
T:test: java.lang.NoSuchMethodError: com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager.setMaxTotal(I)V
java.lang.NoSuchMethodError: com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager.setMaxTotal(I)V
Any suggestion? I am really looking forward to use the <include>/<exclude> feature. Thank you.