Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将soapui测试导入eclipse_Eclipse_Eclipse Plugin_Soapui - Fatal编程技术网

将soapui测试导入eclipse

将soapui测试导入eclipse,eclipse,eclipse-plugin,soapui,Eclipse,Eclipse Plugin,Soapui,如何获取导入的SoapUI项目并将其绑定到当前的Maven Eclipse项目,并在Java透视图中查看此SoapUI项目 我有一个SoapUI项目,我想导入到我的EclipseMaven项目中。 当我转到SoapUI透视图并执行“导入项目”时,我可以将此SoapUI项目导入eclipse。这非常有效。 我想让我的maven插件在我当前的soapUI项目文件中执行projects/testCases/testSuites。 这可能很简单,我只是不知道如何在soapUI和eclipse项目之间建立

如何获取导入的SoapUI项目并将其绑定到当前的Maven Eclipse项目,并在Java透视图中查看此SoapUI项目

我有一个SoapUI项目,我想导入到我的EclipseMaven项目中。
当我转到SoapUI透视图并执行“导入项目”时,我可以将此SoapUI项目导入eclipse。这非常有效。
我想让我的maven插件在我当前的soapUI项目文件中执行projects/testCases/testSuites。 这可能很简单,我只是不知道如何在soapUI和eclipse项目之间建立最终连接,以运行所有项目并获取报告。

您可能正在寻找maven soapUI插件-在pom.xml构建块中配置它:

<plugin>
    <groupId>eviware</groupId>
    <artifactId>maven-soapui-plugin</artifactId>
    <executions>
        <execution>
            <id>soap-integration-test</id>
            <phase>integration-test</phase>
            <goals>
                <goal>test</goal>
            </goals>
            <configuration>
                <projectFile>${basedir}/target/path/to/your/soapUIprojectFile.xml</projectFile>
                <!-- move reports directly to surefire-reports-->
                <outputFolder>${basedir}/target/surefire-reports</outputFolder>
                <junitReport>true</junitReport>
                <printReport>true</printReport>
                <!--move soapui-logs into target dir-->
                <soapuiProperties>
                    <property>
                        <name>soapui.logroot</name>
                        <value>${project.build.directory}/soapui/logs/${soapui.testsuite.version}/</value>
                    </property>
                </soapuiProperties>
            </configuration>
        </execution>
    </executions>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.junit_version}</version>
            <scope>runtime</scope>
        </dependency>
         ...
    </dependencies>
</plugin>

电子设备