I have a project in Eclipse with Maven, Cucumber, SoapUI and JUnit.I have been able to successfully build it without errors (Yay! I am new to Maven, SoapUI and Cucumber). This project has a Cucumber feature file with two scenarios. I have the following configuration for SoapUI in pom.xml file
.
.
<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>soapui-project.xml</projectFile>
<outputFolder>soapuiOut</outputFolder>
<junitReport>true</junitReport>
<exportwAl>true</exportwAl>
<printReport>false</printReport>
</configuration>
</execution>
</executions>
</plugin>
.
.
Currently when I build it with maven, it runs the whole SoapUI project with all test cases in it. I want to link the two test cases in SoapUI to the two scenarios in the feature file. Is it possible to run a single testcase from SoapUI test suite in test step definition for a scenario? The scenario should pass only if the SoapUI testcase related to it passes.