Forum Discussion
Hi,
I tried to play around with the plugin configuration. I tried reportName=Project Report and reportFormat=PDF, which again generated the multi page HTML report.
POM:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>SOAPUI TestSuite SLA</name>
<groupId>test</groupId>
<artifactId>soapui.testsuite.test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Continuous soapUI test integration</description>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.1.2</version>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
<configuration>
<projectFile>../ITSM-TestSuite-soapui-project.xml</projectFile>
<testSuite>TestSuite-Incident-AIO</testSuite>
<testCase>TestCase-Incident-AIO-Location</testCase>
<outputFolder>${basedir}/../reports</outputFolder>
<!--outputFolder>${basedir}/../reports</outputFolder-->
<!--reportName>JUnit-Style HTML Report</reportName>
<reportFormat>Single Page (Print)</reportFormat-->
<reportName>Project Report</reportName>
<reportFormat>PDF</reportFormat>
<junitReport>true</junitReport>
<!--projectProperties>
</projectProperties-->
<soapuiProperties>
<property>
<name>soapui.properties</name>
<value>soapui.properties</value>
</property>
<property>
<name>soapui.home</name>
<value>D:/Admin/Tools/SoapUI-Pro-5.1.2/bin</value>
</property>
<property>
<name>soapui.ext.libraries</name>
<value>D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/ext</value>
</property>
<property>
<name>soapui.ext.listeners</name>
<value>D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/listeners</value>
</property>
<property>
<name>soapui.ext.actions</name>
<value>D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/actions</value>
</property>
</soapuiProperties>
</configuration>
</plugin>
</plugins>
</build>
</project>
Console log:
[INFO] --- soapui-pro-maven-plugin:5.1.2:test (default) @ soapui.testsuite.test ---
SoapUI Pro 5.1.2 Maven2 TestCase Runner
Setting soapui.ext.libraries value D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/ext
Setting soapui.properties value soapui.properties
Setting soapui.ext.listeners value D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/listeners
Setting soapui.home value D:/Admin/Tools/SoapUI-Pro-5.1.2/bin
Setting soapui.ext.actions value D:/Admin/Tools/SoapUI-Pro-5.1.2/bin/actions
10:57:38,385 INFO [SoapUI] Adding [D:\Admin\Tools\SoapUI-Pro-5.1.2\bin\ext\ojdbc6.jar] to extensions classpath
10:57:38,386 INFO [DefaultSoapUICore] Creating new settings at [C:\Windows\system32\config\systemprofile\soapui-settings.xml]
10:57:41,257 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [D:\Admin\Tools\ITSM-TestSuite\pom\scripts]
10:57:41,259 INFO [DefaultSoapUICore] Adding listeners from [D:\Admin\Tools\SoapUI-Pro-5.1.2\bin\listeners\demo-listeners.xml]
10:57:43,350 INFO [WsdlProject] Loaded project from [file:/D:/Admin/Tools/ITSM-TestSuite/pom/../ITSM-TestSuite-soapui-project.xml]
10:57:43,645 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [D:\Admin\Tools\ITSM-TestSuite\pom\scripts]
10:57:45,871 INFO [SoapUIProTestCaseRunner] Running SoapUI tests in project [FROX_Test]
10:57:45,984 INFO [SoapUIProTestCaseRunner] Running TestCase [TestCase-Incident-AIO-Location]
...
...
...
10:58:08,686 INFO [SoapUIProTestCaseRunner] Finished running SoapUI testcase [TestCase-Incident-AIO-Location], time taken: 21166ms, status: FINISHED
10:58:08,686 INFO [SoapUIProTestCaseRunner] TestCase [TestCase-Incident-AIO-Location] finished with status [FINISHED] in 21166ms
10:58:09,584 INFO [SoapUIProTestCaseRunner] Created report at file:/D:/Admin/Tools/ITSM-TestSuite/pom/../reports/index.html
Strange
I do not have a working soapui, so I cannot test it right now
but I am sure it works on previous versions (4.6.x and maybe 5.0)
- soelschlaegel9 years agoOccasional Contributor
Yes its very strange.
But I got an official statement from support:
>>Yes, because Single page report is not available for TestRunner and maven. It is only available for UI. We have a feature request SOAP-629.<<
- redfish4ktc29 years agoSuper Contributor
ok, thanks for the response of the support.
This worked in the past: see http://forum.soapui.org/viewtopic.php?f=2&t=14458&p=35072&hilit=report+junit#p35034
does the support tell you if all the report feature is unavailable for TestRunner and maven, or only the "Single Page" report?
Thanks
- soelschlaegel9 years agoOccasional Contributor
Hi
I asked support about other reportFormats (that I tetsed PDF and it didn't work) thats what they tell me:
>>Single report never worked via testRunner or maven since there is no option in testRunner utility to add the command single page. Therefore devs asked me to log a feature request. The PDF maven is not working SOAP-756. We have a bug for that and it will be fixed within next few weeks its high priority.
Since you mentioned that the single page report worked before, can you tell me the version so I can try that and add comment to SOAP-629.<<
So I tested testrunner.bat with 4.6.4, which was working perfectly.
It seems since some version 5.1.x that it doesn't work anymore.
- ESG_QM6 years agoNew Contributor
Please support https://community.smartbear.com/t5/TestComplete-Feature-Requests/simple-entire-test-result-printing-... Thanks.