Forum Discussion

JacobMarshell's avatar
12 years ago

SOAP UI Maven Integration.

The following is the pom.xml where I try to execute the test suite in the soap ui project.

<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>test</groupId>
<artifactId>soapui-maven2-plugin</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 soapUI Sample</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.soapui.org/repository/maven2</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>Test-Diag-UDG-Upload-to-UDG-Diag-Complete-soapui-project.xml</projectFile>
<junitReport>false</junitReport>
<outputFolder>D:\Projekte\JacobMarshell\OSB\diag_upload\test\targetJJ\surefire-reports</outputFolder>
<!-- <outputFolder>reports</outputFolder> -->
<testSuite>diag_upload_tc</testSuite>
<testCase>diag_upload</testCase>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>



I get the following result.

D:\Projekte\JacobMarshell\OSB\diag_upload\test>mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven 2 soapUI Sample
[INFO] task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: D:\Projekte\JacobMarshell\OSB\diag_upload\test\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Oct 30 14:26:08 CET 2013
[INFO] Final Memory: 7M/17M
[INFO] ------------------------------------------------------------------------
D:\Projekte\JacobMarshell\OSB\diag_upload\test>


The Test case in the test suite has not got executed....
Dont understand where the problem exists.....

No idea what the solution is...... Desperately looking out for some one who can throw some light on it, that would be a great.....

Thanks
Jacob Marshall