cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate Single Page report when running TestCaseRunner from maven plugin

Highlighted
Occasional Contributor

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.

12 REPLIES 12
Highlighted
Super 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

Highlighted
Occasional 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.

Highlighted
New Contributor
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors