vpachpute1
3 years agoFrequent Contributor
Not able to generate index.html report using SOAP UI maven plugin. 5.3.0
I am running SOAP UI tests using Maven. It runs well but NOT able to see index.html file where we can see overall status of execution.
I am using following POM.xml. Kindly suggest if am missing anything ?
Also can anyone please suggest weather we can generate .pdf reports using maven ?
My installed version is 3.6.0
Thanks.
MY POM.xml file
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.XpressBees.app</groupId>
<artifactId>Cargo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Cargo Booking</name>
<properties>
<soapui.junitReport>true</soapui.junitReport>
<soapui.exportAll>true</soapui.exportAll>
<soapui.printReport>true</soapui.printReport>
<soapui.outputFolder>target/surefire-reports</soapui.outputFolder>
<soapui.reportFormat>PDF</soapui.reportFormat>
<soapui.reportName>maven_pdf_report</soapui.reportName>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Adding SoapUI Maven plugin -->
<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<dependencies>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.9-RC1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.10-FINAL</version>
<exclusions>
<exclusion>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.3.0</version>
<configuration>
<projectFile>CargoBooking-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<exportAll>true</exportAll>
<printReport>true</printReport>
<testFailIgnore>true</testFailIgnore>
<!--testSuite>Business test cases</testSuite-->
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>