Forum Discussion

mdsaadlaoui's avatar
mdsaadlaoui
Occasional Contributor
6 years ago
Solved

Create PDF report when running Ready-API tests on maven

Hi , 

I'am trying to generate PDF report each time i run ReadyAPI tests on maven , i have added these options below to my execution config in pom.xml but it always generate HTML reports, 

 

 

                            <printReport>true</printReport>
                            <coverage>true</coverage>
                            <exportAll>true</exportAll>
                            <reportFormat>"PDF"</reportFormat>
                            <reportType>Project Report</reportType>
                            <reportName>PDF Report</reportName>
                            <outputFolder>reports/</outputFolder>

 

 
  • Hi,

     

    Thank you for the post.

    Please make sure you have provided the 'soapui.home' property value in your Pom file.

     

    <readyApiProperties>
    <property>
    <name>soapui.home</name>
    <value>C:\Program Files\SmartBear\ReadyAPI-x.x.x\bin</value>
    </property>
    </readyApiProperties>

     

    Best,

    Lakshmi

     

2 Replies

  • lakshmiarun's avatar
    lakshmiarun
    SmartBear Alumni (Retired)

    Hi,

     

    Thank you for the post.

    Please make sure you have provided the 'soapui.home' property value in your Pom file.

     

    <readyApiProperties>
    <property>
    <name>soapui.home</name>
    <value>C:\Program Files\SmartBear\ReadyAPI-x.x.x\bin</value>
    </property>
    </readyApiProperties>

     

    Best,

    Lakshmi