Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Configure TestNG report for hudson in POM(Hudson says "TestNG must be configured to generate XML reports using org.testng.reporters.XMLReporter for this plug-in to function." but How to do it in my case)
icon5.gif  Configure TestNG report for hudson in POM [message #1710220] Mon, 05 October 2015 12:16
Rahul Tyagi is currently offline Rahul TyagiFriend
Messages: 1
Registered: October 2015
Junior Member
I am using SOAPUI xml to run my test cases and display its result graph in HUDSON using Testng plugin. But hudson testng plugin could't find result.xml while Junit plugin finding its xml easily. hudson TestNG plugin say "TestNG must be configured to generate XML reports using org.testng.reporters.XMLReporter for this plug-in to function." I have no idea how to do it. My pom.xml

<project xmlns="....POM/4.0.0" xmlns:xsi="..../2001/XMLSchema-instance"
xsi:schemaLocation="..../POM/4.0.0 ..../xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.acn</groupId>
<artifactId>Automation</artifactId>
<version>4.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Automation-test</name>

<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<configuration>
<testNGReport>true</testNGReport>
<exportwAll>tue</exportwAll>
<printReport>true</printReport>
<reportFormat>html</reportFormat>
<testFailIgnore>true</testFailIgnore>
<junitHtmlReport>true</junitHtmlReport>
<projectProperties>
<projectProperty>YEAR=2011</projectProperty>
</projectProperties>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<version>1.95</version>
</plugin>
</configuration>
<executions>
<execution>
<configuration>
<projectFile>${basedir}/soap-input/urh/URH-OCI-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/surefire-reports/OCI</outputFolder>
</configuration>
<phase>process-test-classes</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http :// www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
</project>

[Updated on: Wed, 07 October 2015 10:03]

Report message to a moderator

Previous Topic:Hudson Artifact Publish
Next Topic:--httpPort=-1 does not work in Hudson 3.3.0 anymore
Goto Forum:
  


Current Time: Sun Oct 13 20:15:11 GMT 2024

Powered by FUDForum. Page generated in 0.03856 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top