Attach testNG with maven-soapui-plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Attach testNG with maven-soapui-plugin

rahul Tyagi
how to enable maven-soapui-plugin to generate testNG xml result report?
It would be better if i could get report using org.testng.reporters.XMLReporter.......
I could,t find anything anywhere regarding it.

I tried below R&D, but it didn't work
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<dependencies>
<dependency>
 <groupId>org.testng</groupId>
 <artifactId>testng</artifactId>
 <version>6.8.8</version>
</dependency>
</dependencies>
<configuration>
<junitReport>true</junitReport>
<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>
<suiteXmlFiles>
<suiteXmlFile>${basedir}/soap-input/mds/MDS-JSON-soapui-project.xml</suiteXmlFile>
</suiteXmlFiles>
  <properties>
<property>
 <name>reporter</name>
 <value>org.testng.reporters.XMLReporter</value>
</property>
 </properties>
</configuration>
<executions>
<execution>
<id>mds-json</id>
<configuration>
<projectFile>${basedir}/soap-input/mds/MDS-JSON-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/surefire-reports/mds</outputFolder>
</configuration>
<phase>process-test-classes</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>


--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Attach testNG with maven-soapui-plugin

Krishnan Mahadevan
Rahul,

You should perhaps consult their documentation at : http://www.soapui.org/test-automation/maven/maven-2-x.html
(or) seek help from their support mechanisms at http://www.soapui.org/support/support-overview.html

This query seems more of a "maven-soapui-plugin" related query than a TestNG query.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Wed, Oct 7, 2015 at 1:21 PM, Rahul Tyagi <[hidden email]> wrote:
how to enable maven-soapui-plugin to generate testNG xml result report?
It would be better if i could get report using org.testng.reporters.XMLReporter.......
I could,t find anything anywhere regarding it.

I tried below R&D, but it didn't work
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<dependencies>
<dependency>
 <groupId>org.testng</groupId>
 <artifactId>testng</artifactId>
 <version>6.8.8</version>
</dependency>
</dependencies>
<configuration>
<junitReport>true</junitReport>
<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>
<suiteXmlFiles>
<suiteXmlFile>${basedir}/soap-input/mds/MDS-JSON-soapui-project.xml</suiteXmlFile>
</suiteXmlFiles>
  <properties>
<property>
 <name>reporter</name>
 <value>org.testng.reporters.XMLReporter</value>
</property>
 </properties>
</configuration>
<executions>
<execution>
<id>mds-json</id>
<configuration>
<projectFile>${basedir}/soap-input/mds/MDS-JSON-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/surefire-reports/mds</outputFolder>
</configuration>
<phase>process-test-classes</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>


--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.