ContributionsMost RecentMost LikesSolutionsRe: How to generate Single Page report when running TestCaseRunner from maven plugin 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. Re: How to generate Single Page report when running TestCaseRunner from maven plugin 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.<< Re: How to generate Single Page report when running TestCaseRunner from maven plugin 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 Re: How to generate Single Page report when running TestCaseRunner from maven plugin 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). Re: How to generate Single Page report when running TestCaseRunner from maven plugin Thanks for the clarification. So the Single Page Report won't work anymore then? How to generate Single Page report when running TestCaseRunner from maven plugin I have a question regarding the TestCaseRunner: I was running TestCases with testrunner.bat giving these parameters: -R"JUnit-Style HTML Report" -F"Single Page (Print)" This was producing a single HTML file containg all information needed. This single HTML file I could then easily send via email. Now I switched from running testrunner.bat to running the TestCaseRunner from soapui-pro-maven-plugin with following parameters: <build> <plugins> <plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-pro-maven-plugin</artifactId> <version>5.1.2</version> <executions> <execution> <id>SOAPUITestSuite_AIO</id> <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> <reportName>JUnit-Style HTML Report</reportName> <reportFormat>Single Page (Print)</reportFormat> </configuration> </plugin> </plugins> </build> But unfortunately this won’t generate the single HTML file but the frame based multi-page report in HTML, which I’m not able to send via email as easily. Could you please check and let me know how to create the single-page HTML report when running TestCases from soapui-pro-maven-plugin. Many thanks in advance. Re: [R]SoapUI 5.0.0-Mock Response Test Step-NoSuchMethodExceptioHi, I'm experiencing the same exceptions with SOAP UI Pro 5.0.0. Additionally, when sending a request to the Mock Response Test Step (which is running till eternity), the following error occurs: Response: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <!--type: QName--> <faultcode>Server</faultcode> <faultstring>java.lang.NumberFormatException: null</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> Stack Trace: Tue Jul 22 10:06:34 CEST 2014:ERROR:java.lang.NumberFormatException: null java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.valueOf(Unknown Source) at com.eviware.soapui.impl.support.AbstractMockResponse.getResponseHttpStatus(AbstractMockResponse.java:147) at com.eviware.soapui.impl.support.AbstractMockResponse.writeResponse(AbstractMockResponse.java:337) at com.eviware.soapui.impl.support.AbstractMockResponse.execute(AbstractMockResponse.java:272) at com.eviware.soapui.impl.wsdl.mock.WsdlMockOperation.dispatchRequest(WsdlMockOperation.java:227) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:256) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:122) at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:156) at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:716) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Tue Jul 22 10:06:34 CEST 2014:ERROR:com.eviware.soapui.impl.wsdl.mock.DispatchException: java.lang.NumberFormatException: null com.eviware.soapui.impl.wsdl.mock.DispatchException: java.lang.NumberFormatException: null at com.eviware.soapui.impl.support.AbstractMockResponse.execute(AbstractMockResponse.java:284) at com.eviware.soapui.impl.wsdl.mock.WsdlMockOperation.dispatchRequest(WsdlMockOperation.java:227) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:256) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:122) at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:156) at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:716) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.valueOf(Unknown Source) at com.eviware.soapui.impl.support.AbstractMockResponse.getResponseHttpStatus(AbstractMockResponse.java:147) at com.eviware.soapui.impl.support.AbstractMockResponse.writeResponse(AbstractMockResponse.java:337) at com.eviware.soapui.impl.support.AbstractMockResponse.execute(AbstractMockResponse.java:272) ... 17 more Tue Jul 22 10:06:34 CEST 2014:ERROR:java.lang.IllegalStateException: WRITER java.lang.IllegalStateException: WRITER at org.mortbay.jetty.Response.getOutputStream(Response.java:594) at com.eviware.soapui.monitor.JettyMockEngine$MockRequestLog.log(JettyMockEngine.java:820) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:51) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) With Pro version 4.6.4 there were no such problems. Could anyone please help and respond to this thread. Many thanks. Sebastian