Forum Discussion

lukaszm's avatar
lukaszm
Occasional Contributor
13 years ago

JUnit reports with Maven SoapUI plugin are not generated

Hello,

I have a problem with getting JUnit report (.xml) file to be generated for SoapUI tests. Text log files are generated (soapui.log, soapui-error.log etc.). I use free version of SoapUI. My POM.xml file look like this:

<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>MyProject-soapui-project.xml</projectFile>
<testSuite>My-Test-Suite</testSuite>
<junitReport>true</junitReport>
<printReport>true</printReport>
<exportAll>true</exportAll>
<outputFolder>.</outputFolder>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


I execute this via Jenkins with
eviware:maven-soapui-plugin:test
Goals and Options.
Please, any help with this?

2 Replies

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Did you still have the issue?
    I think your configuration only apply to the execution you define. So this should work when running 'mvn test'
    So if you want the configuration be considered when running 'mvn eviware:maven-soapui-plugin:test', you should put the configuration outside the execution