rakeshg
11 years agoOccasional Contributor
[Res] Multiple executions from maven plug in
Hi-
I would like to execute the the same test suite multiple times using different data files in the same run. Is it possible?
I tried putting multiple execution blocks in the pom file (like below) but that gives me an error. Any ideas?
Thanks
Rakesh
<build>
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.4</version>
<executions>
<execution>
<configuration>
<testSuite>FOH BVTs</testSuite>
<projectProperties>
<value>Datafile=data1.xls</value>
</projectProperties>
</configuration>
<execution>
<configuration>
<testSuite>FOH BVTs</testSuite>
<projectProperties>
<value>Datafile=data2.xls</value>
<value>SendTestLinkReports=${testlink.enable}</value>
</projectProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
I would like to execute the the same test suite multiple times using different data files in the same run. Is it possible?
I tried putting multiple execution blocks in the pom file (like below) but that gives me an error. Any ideas?
Thanks
Rakesh
<build>
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.4</version>
<executions>
<execution>
<configuration>
<testSuite>FOH BVTs</testSuite>
<projectProperties>
<value>Datafile=data1.xls</value>
</projectProperties>
</configuration>
<execution>
<configuration>
<testSuite>FOH BVTs</testSuite>
<projectProperties>
<value>Datafile=data2.xls</value>
<value>SendTestLinkReports=${testlink.enable}</value>
</projectProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>