Forum Discussion

smtripathi99's avatar
smtripathi99
Occasional Contributor
10 years ago

[R] Duplicate Test Result with Soapui maven pro plugin 5.0

Hi All,

I have created a maven 2/3 project for soapui test in jenkins and getting duplicate test results with following configuration:

1. jenkins ver 1.578
2. Maven project plugin ver 1.3
3. Junit plugin ver 1.1
4. maven soapui pro plugin ver 5.0.0

Here is the pom for project:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>GlemserTest</groupId>
<artifactId>GlemserTest</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>

<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration>
<projectFile>C:\Program Files\Jenkins\jobs\Glemser Dev\workspace\xmLabeling_Glemser_UI\Test\Glemser-soapui-project</projectFile>
<projectProperties>
<value>message=Glemser Testing!</value>
</projectProperties>
<junitReport>true</junitReport>
<printReport>true</printReport>
<exportAll>false</exportAll>
<outputFolder>./Reports</outputFolder>
<testSuite>TestSuite 1</testSuite>
<reportFormat>"TestCase Report"</reportFormat>
</configuration>

<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>

</plugin>
</plugins>
</build>
<!--
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.17</version>
</plugin>
</plugins>
</reporting>
-->
</project>

5 Replies