2

I have a SOAPUI Project file with number of test suits. I have wrote a maven project to run that project file. I am running that maven project (pom.xml) through jenkins.

As you can see in the pom.xml have enabled Junit Reporting and Print Report configurations.

I can get a simple test result/report like below.

enter image description here

enter image description here

enter image description here

My question is whether there is a plugin,tool or any other method to get a more visual, detailed test result report.preferably a html type report.

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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>soapTest</groupId>
<artifactId>soapTest</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 SoapUI Sample</name>
<url>http://maven.apache.org</url>

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

<build>
    <plugins>
        <plugin>
            <groupId>com.smartbear.soapui</groupId>
            <artifactId>soapui-maven-plugin</artifactId>
            <version>5.1.2</version>

            <configuration>
                <projectFile>soapui-project.xml</projectFile>
                <outputFolder>${project.build.directory}/reports</outputFolder>
                <junitReport>true</junitReport>
                <exportAll>true</exportAll>
                <printReport>true</printReport>
                <testSuite>Authenticate</testSuite>
            </configuration>

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

    </plugins>
</build>

1
  • Hey, did you integrate Jenkins with SoapUI Open source?
    – Neel
    Aug 8, 2017 at 11:36

2 Answers 2

1

I used maven sure fire report plugin and this question and the answer explains how i did it.

https://stackoverflow.com/questions/29671601/maven-sure-fire-plugin-report-empty

-1

You can define your reports via the commandline arguments of testrunner. So for example if you want your report in HTML then just add -FHTML onto your runner

This is a Pro only feature though;

F : Sets the format of the report specified with the -R option, for Printable reports this is one of PDF, XLS, HTML, RTF, CSV, TXT, and XML. For Data Export this is either XML or CSV (SoapUI Pro only)

Full list of arguments here http://www.soapui.org/test-automation/running-functional-tests.html

2
  • Thanx but i was looking for a non-pro option :)
    – direndd
    Apr 23, 2015 at 4:46
  • Hey, did you integrate Jenkins with SoapUI Open source?
    – Neel
    Aug 8, 2017 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.