guyoha
9 years agoNew Contributor
How to Trigger TestSuite via maven for Identical TestSet but with different EndPoints
Hi
I'm trying to design a pom that will trigger the same TerstSuite but with diffrent endpoints.
The below design triggers the first exacution and seems to ignore the second one.
Any suggestions?
<build> <plugins> <plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-maven-plugin</artifactId> <version>5.1.3</version> <dependencies> <dependency> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui</artifactId> <version>5.1.3</version> <exclusions> <exclusion> <groupId>javafx</groupId> <artifactId>jfxrt</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <configuration> <outputFolder>OUTPUT_FOLDER</outputFolder> <junitReport>true</junitReport> <printReport>false</printReport> </configuration> <executions> <execution> <id>Test1</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <projectFile>TestSuite.xml> <projectProperties> <host>HOST_1</host> </projectProperties> </configuration> </execution> <execution> <id>Test2</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <projectFile>TestSuite.xml</projectFile> <projectProperties> <host>HOST_2</host> </projectProperties> </configuration> </execution> </executions> </plugin> </plugins>