Forum Discussion
Thanks for the clarification.
So the Single Page Report won't work anymore then?
Hi
the report should be generated if you add the following in your soapui plugin configuration (taken from: http://forum.soapui.org/viewtopic.php?f=2&t=3142&p=11355)
<soapuiProperties> <property> <name>soapui.home</name> <value>/home/robert/eviware/soapUI-Pro-3.5-beta2/bin</value> <- here goes where you installed sopaui plus bin dir </property> </soapuiProperties>
- soelschlaegel9 years agoOccasional Contributor
Hi
Yes a report is generated.
But this report consists of multiple files. I don't want multiple files.
What I want is 1 (one) single html file which includes everything (styles, script, data).
- redfish4ktc29 years agoSuper Contributor
Hi,
when I said "the report should be generated" i meant the single page junit html report
have you tried to modify the plugin configuration? have you tried with another report name/format?
- soelschlaegel9 years agoOccasional Contributor
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