Newer
Older

Joze RIHTARSIC
committed
<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>
<parent>
<groupId>eu.europa.ec.edelivery</groupId>
<artifactId>smp-modules</artifactId>
<relativePath>../pom.xml</relativePath>

Joze RIHTARSIC
committed
</parent>
<artifactId>smp-soapui-tests</artifactId>
<packaging>jar</packaging>
<name>smp-soapui-tests</name>
<description>Interation tests suit for SMP</description>
<properties>
<!-- url>http://localhost:7001/smp</url -->

Joze RIHTARSIC
committed
<url>http://localhost:8080/smp</url>
<SMPAdminUser></SMPAdminUser>
<SMPAdminPassword></SMPAdminPassword>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Joze RIHTARSIC
committed
</properties>
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<profiles>
<!-- soap ui -->
<profile>
<id>run-soapui</id>
<build>
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration>
<outputFolder>${sonar.jacoco.codeCoveragePath}/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<printReport>true</printReport>
<settingsFile>${basedir}/soapui/soapui-settings.xml</settingsFile>
<soapuiProperties>
<property>
<name>soapui.scripting.library</name>
<value>${basedir}/groovy</value>
</property>
<property>
<name>soapui.logroot</name>
<value>${sonar.jacoco.codeCoveragePath}/soapui/logs/</value>
</property>
<property>
<name>http.nonProxyHosts</name>
<value>localhost|127.*|[::1]</value>
</property>
</soapuiProperties>
<testFailIgnore>true</testFailIgnore>
<projectFile>${basedir}/soapui/SMP4.0-Generic-soapui-project.xml
</projectFile>
<testSuite>PASSING_AUTO_BAMBOO</testSuite>
<!--If you want to execute single test case <testCase>SMP001-Create ServiceGroup-Basic Flow-Admin Service Group specified</testCase>-->
<projectProperties>
<value>url=${url}</value>
<value>SMPAdminUser=${SMPAdminUser}</value>
<value>SMPAdminPassword=${SMPAdminPassword}</value>
</projectProperties>
</configuration>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.maven.plugin.version}</version>
<executions>
<execution>
<phase>post-integration-test</phase>
<goals>
<goal>dump</goal>
</goals>
<configuration>
<destFile>${sonar.jacoco.reportPath}</destFile>
<address>${sonar.jacoco.remoteAddress}</address>
<port>${sonar.jacoco.remotePort}</port>
<reset>false</reset>
<append>true</append>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>