Forum Discussion

TooDizzy's avatar
TooDizzy
Occasional Contributor
8 years ago
Solved

Can't generate PDF report with the maven plugin

Hi Guys,

 

Running Ready API 1.8 with a pro license for SOAP UI.

 

I've created the nice looking PDF report for a test suite with the application and now I also want to do this using the maven plugni.

This I cannot do for some reason.

 

I set all these flags in the configuration section, but no report are being generated.

If you have a good example POM I can use - where you generate a PDF report - I would be very happy.

 

<printReport>true</printReport>
<coverage>true</coverage>
<exportAll>true</exportAll>
<reportFormat>"PDF"</reportFormat>
<reportType>TestSuite Report</reportType>
<reportName>PDF Report</reportName
  • Finally got it working.

     

    It seems that the <reportName> tag is not the filename of the report, but the name of the report template/type.

    Not that clear from the docs.

     

    <reportName>TestSuite Report</reportName>

3 Replies

  • TooDizzy's avatar
    TooDizzy
    Occasional Contributor

    Finally got it working.

     

    It seems that the <reportName> tag is not the filename of the report, but the name of the report template/type.

    Not that clear from the docs.

     

    <reportName>TestSuite Report</reportName>
    • TanyaYatskovska's avatar
      TanyaYatskovska
      SmartBear Alumni (Retired)

      Hi TooDizzy,

       

      That's great that you've figured out the issue and posted the solution here.

      I've asked our Documentation Team to update the online article where this tag is described.

      • chikki78's avatar
        chikki78
        Occasional Contributor

        Could you post your POM.xml so that i will use the pdf reports.