Forum Discussion
sujatha1
13 years agoOccasional Contributor
I have tried to run single testsuite But it is not working
This is my pom file:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.suj</groupId>
<artifactId>com-company-foo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>soapui-maven2-plugin</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<executions>
<execution>
<id>soap</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${artifactId}-soapui-project.xml</projectFile>
<testSuite>${testSuite}</testSuite>
<outputFolder>MavenSoap</outputFolder>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.soapui.org/repository/maven2/eviware/maven-soapui-pro-plugin</url>
</pluginRepository>
</pluginRepositories>
</project>
and from command prompt:
mvn eviware:maven-soapui-pro-plugin:test -DtestSuite="testsuitename"
still all the testsuites are running
This is my pom file:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.suj</groupId>
<artifactId>com-company-foo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>soapui-maven2-plugin</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<executions>
<execution>
<id>soap</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${artifactId}-soapui-project.xml</projectFile>
<testSuite>${testSuite}</testSuite>
<outputFolder>MavenSoap</outputFolder>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.soapui.org/repository/maven2/eviware/maven-soapui-pro-plugin</url>
</pluginRepository>
</pluginRepositories>
</project>
and from command prompt:
mvn eviware:maven-soapui-pro-plugin:test -DtestSuite="testsuitename"
still all the testsuites are running