作为回归套件的一部分,我需要在触发新构建后触发自动化soap UI套件,但我没有将这些工具集成在一起的想法。
我找不到任何用于soap UI/ready api的插件,所以请在这方面帮助我……
发布于 2019-04-05 04:35:07
Mule应用程序使用Maven作为构建工具,因此您可以将SoapUI测试作为Maven构建阶段的一部分进行集成。下面是关于maven插件的一些信息:
https://support.smartbear.com/readyapi/docs/integrations/maven/index.html
Googling Maven Soap UI还返回有关设置此设置的博客文章和一些示例github repos。
发布于 2019-04-08 15:11:54
您可以按照以下步骤操作--
<projectFile>soapUi-TestSuite File Location</projectFile>
<testSuite>TestSuiteName</testSuite>
<endpoint>endpoint URL</endpoint>mvn clean test<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>RegTesting</groupId>
<artifactId>RegTesting</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>RegTesting</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>Central</id>
<url>http://central.maven.org/maven2/</url>
</repository>
</repositories>
<!-- Plugin repository for test suites generated via soap UI -->
<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-maven-plugin</artifactId>
<version>5.4.0</version>
<configuration>
<projectFile>soapUi-TestSuite File Location</projectFile>
<testSuite>TestSuiteName</testSuite>
<endpoint>endpoint URL</endpoint>
<printReport>true</printReport>
<junitReport>false</junitReport>
<outputFolder>target</outputFolder>
</configuration>
<dependencies>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>forms</artifactId>
<version>1.0.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project> ```https://stackoverflow.com/questions/55524095
复制相似问题