Jenkins publishes 2x soap test results
My requirement is to run SOAPUI test cases via maven (POM), automate it's build using jenkins and generate a report of the test results. I have successfully done except the last part. I do get the test results but Jenkins returns 2x of them. I mean I have only one test case but Jenkins shows 2 test cases.2x test results Jenkins My POM file contains only one test case: <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.smartbear.samples</groupId> <artifactId>soapui-maven2-plugin</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Maven 2 SoapUI Sample</name> <url>http://maven.apache.org</url> <pluginRepositories> <pluginRepository> <id>SmartBearPluginRepository</id> <url>http://www.soapui.org/repository/maven2/</url> </pluginRepository> </pluginRepositories> <build> <plugins> <plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-pro-maven-plugin</artifactId> <version>4.6.1</version> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> </dependency> </dependencies> <executions> <execution> <phase>test</phase> <id>test1</id> <goals> <goal>test</goal> </goals> <configuration> <projectFile>simple-test-soapui-project.xml</projectFile> <junitReport>true</junitReport> <outputFolder>${basedir}/target/surefire-reports</outputFolder> <printReport>true</printReport> <exportAll>true</exportAll> <globalProperties> <value>ENV=DEV</value> </globalProperties> </configuration> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>2.1</version> </plugin> </plugins> </reporting> </project> and my surefire reports shows that I have only one test case: Surefire report containg just one test case How can I setup Jenkins to show only one test case in diagram? Thanks.1KViews0likes1CommentHow to get reporting at test step level instead of test case level what surefire currently provides
I am running my test via jenkins and i have surefire plugin which generates xml reports in my workspace. But this report has run status of all test suites and all test cases. Each test case will have failed test step information too. I want a way by which i can have run status of each test step whether failed or passed. Can some one help here if we can do this with surefire plugin or with some other way/plugin. Thanks a lot.4.4KViews0likes7Comments