SOAP UI data driven testsuit's custom Junit report using plugin
:I have a problem generating custom JUnit report for SOAPUI Pro using com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.5.1.0 plugin asmy testsuits are data driven and have DataSource step (SOAP UI Pro feature) which is not recozinised in this plugin:womansad: I can however generate default JUnit report using com.smartbear:ready-api-maven-plugin:1.5.0 which recoznises DataSource step. How can i get a custom report with datasource as a step? Attaching both my pom.xml. Using ready-api-maven-plugin: <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>test</groupId> <artifactId>ready-api-maven-plugin</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Create SoupUI Application</name> <url>http://repo.maven.apache.org/maven2/</url> <pluginRepositories> <pluginRepository> <id>MavanSmartBearPluginRepository</id> <url>http://repo.maven.apache.org/maven2/</url> </pluginRepository> <pluginRepository> <id>SmartBearPluginRepository</id> <url>http://smartbearsoftware.com/repository/maven2/</url> </pluginRepository> </pluginRepositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <build> <plugins> <plugin> <groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>1.5.0</version> <dependencies> <dependency> <groupId>net.sourceforge.jtds</groupId> <artifactId>jtds</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>net.sourceforge.jexcelapi</groupId> <artifactId>jxl</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>com.jgoodies</groupId> <artifactId>forms</artifactId> <version>1.0.7</version> </dependency> <dependency> <groupId>com.jgoodies</groupId> <artifactId>looks</artifactId> <version>2.2.0</version> </dependency> </dependencies> <executions> <execution> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <projectFile>sampleProject.xml</projectFile> <outputFolder>${basedir}${file.separator}reports</outputFolder> <junitReport>true</junitReport> <exportAll>true</exportAll> <printReport>true</printReport> <testSuite>${testsuite}</testSuite> <soapuiProperties> <property> <name>script.logroot</name> <value>Log/</value> </property> <property> <name>soapui.home</name> <value>C:/Program Files/SmartBear/ReadyAPI-1.5.0/bin</value> </property> </soapuiProperties> </configuration> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.7.2</version> </plugin> </plugins> </reporting> </project> Usingmaven-soapui-extension-plugin: <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>test</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>1.0-SNAPSHOT</version> <name>Create SoupUI Application</name> <repositories> <repository> <id>maven2</id> <url>http://repo.maven.apache.org/maven2</url> </repository> <repository> <id>smartbearpluginRepository</id> <url>http://www.soapui.com/repository/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>maven2</id> <url>http://repo.maven.apache.org/maven2</url> </pluginRepository> <pluginRepository> <id>smartbearpluginRepository</id> <url>http://smartbearsoftware.com/repository/maven2</url> </pluginRepository> </pluginRepositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <dep.version.soapui>4.5.1</dep.version.soapui> </properties> <dependencies> <dependency> <groupId>eviware</groupId> <artifactId>soapui</artifactId> <version>${dep.version.soapui}</version> </dependency> <dependency> <groupId>eviware</groupId> <artifactId>soapui-pro</artifactId> <version>${dep.version.soapui}</version> </dependency> <dependency> <groupId>eviware</groupId> <artifactId>ext-xmlbeans</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> </dependency> <dependency> <groupId>com.github.redfish4ktc.soapui</groupId> <artifactId>maven-soapui-extension-plugin</artifactId> <version>4.5.1.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>com.github.redfish4ktc.soapui</groupId> <artifactId>maven-soapui-extension-plugin</artifactId> <version>4.5.1.0</version> <dependencies> <dependency> <groupId>test</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> <configuration> <runnerType>PRO</runnerType> <projectFile>sampleProject.xml</projectFile> <outputFolder>${basedir}${file.separator}reports</outputFolder> <junitReport>true</junitReport> <printReport>true</printReport> <exportAll>true</exportAll> <junitHtmlReport>true</junitHtmlReport> <soapuiProperties> <property> <name>soapui.logroot</name> <value>Logs/</value> </property> <property> <name>soapui.junit.reportCollector</name> <value>soapui.CustomJunitReportGenerator</value> </property> </soapuiProperties> </configuration> </plugin> </plugins> </build> </project>Solved2.1KViews0likes3CommentsData driven testing with excel not working
I want to implement Data driven testing with excel/JDBC. Initially I want to try with excel. I followed the tutorialhttp://readyapi.smartbear.com/soapui/data_driven/tutorial/jdbc/source I don't see any response when I run the data source first and request next, but when I run request with manual input it is working perfect. Please see the attachment. Thanks, RaviSolved2.3KViews0likes4CommentsLoadUI Results with Data Driven Tests Questions
Hi, I am currently using SoapUI NG Pro and LoadUI (not Pro) through Ready! API 1.1.0. I have setup a very simple data driven test that calls a service repeatedly with different values (read from an Excel file). In order to see how it works, I ran the test as a Simple Strategy with 1 Thread and a Limit of 1 Total Run. The results shownon the Test Step calling the web service as: Count = 71 (this is the correct # of rows in my input file) Min = 43 Max = 43 Avg = 43.19 Last = 43 The results returned on the overall Test Case was: Count = 1 Min = 3099 (this appears to be the total time it took the thread to complete all 71 runs + the 46ms it took to load the data source) Max = 3099 Avg = 3099 Last = 3099 It appears to me that the timing (min & max) results for the Test Step are displaying as the average time of all of the runs in that thread. For example, if I had only 2 runs of the test steps in that data driven test with the times of 10ms and 400ms, the min and max would show as 205ms. Questions: Is my observation correct that each thread only reports an average result of the test step runs? Is it possible to have the data driven results more accurately represented (maybe I don't have an appropriate option selected)? Instead of my example where 205ms was displayed in both min & max, could it show 10ms for min and 400ms for max?2.3KViews0likes2Comments