Forum Discussion
28 Replies
- Hello,
Since we can't vote up certain requests, I will just state here this a much needed request for people using the maven plugin and the pro edition. It is important that the "composite" project structure is supported in the maven plugin.
Scott - Hi Scott,
this is related to a bug in the 3.6.1 release which is fixed in the nightly build of soapUI Pro but not in the maven-pro-plugin (since it has no nightly-build). I'll get back to you as soon as the nightly build is available.
regards!
/Ole
eviware.com - bmgrinerFrequent ContributorAnother vote for this feature. There are workarounds for this including making multiple child projects and aggregating their results or creating a projectFile property and running the test goal multiple times. mvn eviware:maven-soapui-plugin:test -DprojectFile={path_to_project_file}
Both of these are not very friendly.
Please let me know when this is fixed. - eelzingaOccasional Contributorwe use a parentpom to registrate the plugin and use child-pomps for every sub-project.
in the sub pom you add the projectFile-setting and then you can trigger all the tests by calling the soapui on the parent-pom - yves42Occasional Contributor
eelzinga wrote: we use a parentpom to registrate the plugin and use child-pomps for every sub-project.
in the sub pom you add the projectFile-setting and then you can trigger all the tests by calling the soapui on the parent-pom
Hello everybody,
as you, I search a solution to use maven plugin with several projects.
Eelzinga, could you explain precisely how to proceed for example in showing a part (or the structure) of the parentpom and subpom file.
Thank you.
Regards,
Yves. - bmgrinerFrequent Contributoryves42,
I actually found that having a parent pom with sub projects each with pom files that defined SoapUI project info turned into quite a mess. The solution that I found the best was to add multiple executions of the plugin while changing the project location.
...
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<id>[SomeID]</id>
<configuration>
<projectFile>${pom.basedir}/src/test/soapui/[Some]-soapui-project.xml</projectFile>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
<execution>
<phase>integration-test</phase>
<id>[SomeOtherID]</id>
<configuration>
<projectFile>${pom.basedir}/src/test/soapui/[SomeOther]-soapui-project.xml</projectFile>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
...
</build>
They you call mvn integration-test and it will run both projects. - yves42Occasional ContributorThank you bmgriner,
I will try this solution in a few time.
Regards,
Yves42. - bhavinParikhNew ContributorI am using multiple executions for multiple soapui projects as suggested in this thread. But how can I get the report for all those projects together? I am only seeing the report for last soapui project only. I will appreciate any help here.
- bhavinParikhNew ContributorHi martincrow,
How do you manage multiple soapui projects using the plugin and maven? Can you provide your example or pom file?
Thanks - bmgrinerFrequent ContributorAny update on this. I don't want to take time to see if it works unless I have the go-ahead from SmartBear that they now support it.