2017-09-21 4 views
0

を報告するJUnitする必要があり、私はMavenのPDFレポートを必要とするだけでなく日食使用してのmavenでSOAPUIビルドを実行するための解決策を探しています、Mavenは

SOAPUIとMavenのに新しいです。

私のMavenプロジェクトで私のSOAPUIビルド(機能+ DBテストケース)を移動する必要が実行

  1. を達成するために私を導いてくださいそうならばそれは可能ですか? soapui 5.3.1/soapui proを使用しているときに、プラグインがpom。xmlに設定する必要がありますか? 3. mavenプロジェクトでsoapuiビルドを実行すると、mavenレポートまたはjunitレポートと円グラフレポートも取得できますか? 4.私のオートメーションレポートをpdf形式で変換することは可能ですか?

    SOAPUIバージョン5.3.1

    :アム・ジェンキンスに

をPDFレポートを添付する 5.needは、私のプロジェクトの完成に行わ

ステップを達成するために、より役立つだろう前方にあなたの貴重な輸入を探して

1.Soapuiプロジェクト名:作成(デシベルと機能テストケースを持っている)testmavenproject.xml

2.mavenプロジェクト:

pom.xmlファイル

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>com.codebind</groupId> 
<artifactId>maven-soapui</artifactId> 
<packaging>jar</packaging> 
<version>1.0-SNAPSHOT</version> 
</project> 

3.Jenkinsジョブが

答えて

-1

1を作成した)soupui Mavenのpulginのpom.xml

 <!--Add the repository for where Maven can find the soapUI Plugin--> 
     <pluginRepositories> 
     <pluginRepository> 
      <id>eviwarePluginRepository</id> 
      <url>http://www.eviware.com/repository/maven2/</url> 
     </pluginRepository> 
     </pluginRepositories> 
     <build> 
     <plugins> 
     <plugin> 
     <groupId>eviware</groupId> 
     <artifactId>maven-soapui-plugin</artifactId> 
     <!--This is the version of soapUI to grab from plugin repo--> 
     <!--At the time of writing the 3.0.1 plugin had not been created--> 
     <version>2.5.1</version> 
     <configuration> 
      <!--The location of your soapUI setting file--> 
      <projectFile>/home/test/test.xml</projectFile> 
      <!--Where to place the output of the run--> 
      <outputFolder>/home/test/output/</outputFolder> 
      <!--Make the jUnit results file--> 
      <junitReport>true</junitReport> 
     </configuration> 
     <executions> 
      <execution> 
      <id>soapUI</id> 
      <!--Run as part of the test phase in the Maven lifecycle--> 
      <phase>test</phase> 
      <goals> 
       <!--Run the test phase of eviware:maven-soapui-plugin--> 
       <goal>test</goal> 
      </goals> 
      </execution> 
     </executions> 
     </plugin> 
     </plugins> 
     </build> 

2を追加)「MVNを呼び出すことであるsoapUIテストを実行エビウェア:maven-soapui-plugin:test "

詳細:http://blog.karit.geek.nz/2009/08/using-soapui-to-do-testing-as-part-of.html