2017-09-21 2 views
0

Am neu mit soapui Maven,Maven mit soapui Build Ausführung brauchen, um JUnit berichten

ich nach einer Lösung suchen, die soapui Build in Maven mit Eclipse als auch benötigen Maven pdf Bericht auszuführen.

Es ist möglich, wenn ja, bitte leite mir die Ausführung

  1. zu erreichen, müssen meine soapui Build (Functional + DB Testfall) in meinem Maven Projekt bewegen? 2.Was ist das Plugin erforderlich, um in Pom .xml während der Verwendung von Soapui 5.3.1/Soapui Pro zu konfigurieren? 3.Während der Ausführung der Soapui Build in Maven-Projekt ist es möglich, die Maven-Bericht oder Junit Bericht und Tortendiagramm Bericht zu bekommen? 4. ist es möglich, in meinem Automatisierungsbericht im PDF-Format zu konvertieren? 5.need den PDF-Bericht in jenkins befestigen

Am uns auf Ihre wertvollen Import es zu betrachten wäre hilfreicher mein Projekt Fertigstellung getan

Schritt zu erreichen:

soapui Version 5.3.1

1.Soapui Projektname: testmavenproject.xml (die db und funktionale Testfälle hat)

2.maven Projekt erstellt:

pom.xml Datei

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 Auftrag erstellt

Antwort

-1

1) hinzufügen 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) die soapUI Tests ausgeführt durch „mvn Aufruf eviware: maven-soapui-plugin: test "

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

Verwandte Themen