rakeshg
11 years agoOccasional Contributor
need help generating reports using soapUI Pro and Maven
Hi-
I am using soapUI pro with Maven plugin and cann't seem to generate reports. Here is my pom.xml file. Any ideas?
Thanks much
Rakesh
<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">
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<groupId>com.ticketmaster.cop.tests</groupId>
<artifactId>SoapUI-BVTs</artifactId>
<version>Resale</version>
<description/>
<properties>
<testlink.enable>false</testlink.enable>
<!-- default: jetqa2 -->
<!-- <cop.env>jetqa2</cop.env> -->
</properties>
<dependencies>
<dependency>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.2.0</version>
</dependency>
</dependencies>
<build>
<defaultGoal>test</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/${soapui.file}</projectFile>
<exportAll>true</exportAll>
<reportName>Project Report</reportName>
<reportFormat>HTML</reportFormat>
<outputFolder>.</outputFolder>
<projectProperties/>
<junitReport>yes</junitReport>
<soapuiProperties>
<property>
<name>soapui.ext.libraries</name>
<value>ext</value>
</property>
<property>
<name>soapui.scripting.library</name>
<value>scripts</value>
</property>
<property>
<name>soapui.home</name>
<value>${env.SOAPUI_HOME}/bin</value>
</property>
</soapuiProperties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.4.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>OrderWE</module>
<module>JDS</module>
<module>Wallet</module>
</modules>
<profiles>
<profile>
<id>COP-Resale-BVTs(IntQA)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>intqa</value>
</property>
</activation>
<properties>
<cop.env>intqa102</cop.env>
<testlink.tpid>394679</testlink.tpid>
<testlink.enable>true</testlink.enable>
<testlink.tbid>1840</testlink.tbid>
</properties>
</profile>
<profile>
<id>COP-Resale-BVTs(JetQA)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>jetqa</value>
</property>
</activation>
<properties>
<cop.env>jetqa1</cop.env>
</properties>
</profile>
<profile>
<id>COP-Resale-BVTs(IntDev102)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>intdev</value>
</property>
</activation>
<properties>
<cop.env>intdev102</cop.env>
</properties>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<inherited>true</inherited>
<configuration>
<outputName>Automation-Execution Report</outputName>
<outputDirectory>${basedir}/report</outputDirectory>
<reportsDirectory>${basedir}/report/soapui</reportsDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
I am using soapUI pro with Maven plugin and cann't seem to generate reports. Here is my pom.xml file. Any ideas?
Thanks much
Rakesh
<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">
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<groupId>com.ticketmaster.cop.tests</groupId>
<artifactId>SoapUI-BVTs</artifactId>
<version>Resale</version>
<description/>
<properties>
<testlink.enable>false</testlink.enable>
<!-- default: jetqa2 -->
<!-- <cop.env>jetqa2</cop.env> -->
</properties>
<dependencies>
<dependency>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.2.0</version>
</dependency>
</dependencies>
<build>
<defaultGoal>test</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/${soapui.file}</projectFile>
<exportAll>true</exportAll>
<reportName>Project Report</reportName>
<reportFormat>HTML</reportFormat>
<outputFolder>.</outputFolder>
<projectProperties/>
<junitReport>yes</junitReport>
<soapuiProperties>
<property>
<name>soapui.ext.libraries</name>
<value>ext</value>
</property>
<property>
<name>soapui.scripting.library</name>
<value>scripts</value>
</property>
<property>
<name>soapui.home</name>
<value>${env.SOAPUI_HOME}/bin</value>
</property>
</soapuiProperties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.4.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>OrderWE</module>
<module>JDS</module>
<module>Wallet</module>
</modules>
<profiles>
<profile>
<id>COP-Resale-BVTs(IntQA)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>intqa</value>
</property>
</activation>
<properties>
<cop.env>intqa102</cop.env>
<testlink.tpid>394679</testlink.tpid>
<testlink.enable>true</testlink.enable>
<testlink.tbid>1840</testlink.tbid>
</properties>
</profile>
<profile>
<id>COP-Resale-BVTs(JetQA)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>jetqa</value>
</property>
</activation>
<properties>
<cop.env>jetqa1</cop.env>
</properties>
</profile>
<profile>
<id>COP-Resale-BVTs(IntDev102)</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>environment</name>
<value>intdev</value>
</property>
</activation>
<properties>
<cop.env>intdev102</cop.env>
</properties>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<inherited>true</inherited>
<configuration>
<outputName>Automation-Execution Report</outputName>
<outputDirectory>${basedir}/report</outputDirectory>
<reportsDirectory>${basedir}/report/soapui</reportsDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
</project>