soapui maven插件可以并行执行多个项目吗?

我的soapui项目由多个项目文件组成。 Maven插件配置如下。是否有任何方法可以使所有执行并行发生?

<plugin>
   <groupId>com.smartbear.soapui</groupId>
   <artifactId>soapui-maven-plugin</artifactId>
   <version>5.2.1</version>
   <configuration>
       <junitReport>true</junitReport>
       .......
   </configuration>
   <executions>
      <execution>
         <id>exec1</id>
         <phase>test</phase>
         <goals>
             <goal>test</goal>
         </goals>
         <configuration>
             <projectFile>project1.xml</projectFile>
         </configuration>
      </execution>
      <execution>
         <id>exec2</id>
         <phase>test</phase>
         <goals>
             <goal>test</goal>
         </goals>
         <configuration>
             <projectFile>project2.xml</projectFile>
         </configuration>
      </execution>
   </executions>
</plugin>

与redfish4ktc你可以做到这一点

示例:

<build>
<plugins>
    <plugin>
        <groupId>com.github.redfish4ktc.soapui</groupId>
        <artifactId>maven-soapui-extension-plugin</artifactId>
        <version>4.6.4.2</version>
        <executions>
            <execution>
                <id>soapUI1</id>
                <phase>test</phase>
                <goals>
                    <goal>test-multi</goal>
                </goals>
                <configuration>
                    <projectFiles>
                        <scan>
                            <baseDirectory>./soapui/projects</baseDirectory>
                            <includes>
                                <include>**/*_suffix.xml</include>
                            </includes>
                        </scan>
                    </projectFiles>
                    <outputFolder>./outputfolder</outputFolder>
                    <junitReport>false</junitReport>
                    <useOutputFolderPerProject>true</useOutputFolderPerProject>
                </configuration>
            </execution>
        </executions>
    </plugin>
</plugins>

添加运行这只是执行maven命令:

mvn test com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.6.4.2:test-multi
链接地址: http://www.djcxy.com/p/60669.html

上一篇: Can soapui maven plugin execute multiple projects parallel?

下一篇: Folder projects SmartBear soapui maven plugin