latiffsyed
11 years agoNew Contributor
How to generate SoapUI report in PDF using maven command?.
I am running integration test using maven (mvn integration-test -Psoapuitests) and I want to generate the soap ui report in PDF instead of HTML. I'm using soapui-pro version 4.6.4
Here is my config in the pom file and seems not to be working
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.4</version>
<configuration>
<argLine>-Xms1024m -Xmx2048m -XX:PermSize=150m -XX:+HeapDumpOnOutOfMemoryError</argLine>
<printReport>true</printReport>
<junitReport>true</junitReport>
<reportName>Project Report</reportName>
<reportFormat>PDF</reportFormat>
<exportAll>true</exportAll>
<soapuiProperties>
<property>
<name>soapui.ext.libraries</name>
<value>ext</value>
</property>
<property>
<name>soapui.scripting.library</name>
<value>scripts</value>
</property>
<property>
<name>soapui.home</name>
<value>${env.SOAPUI_HOME}/bin</value>
</property>
</soapuiProperties>
</configuration>
<executions>
<execution>
<id>soap-ui-tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/soapuitests.xml</projectFile>
<outputFolder>${basedir}/target/soapui/</outputFolder>
<exportAll>true</exportAll>
<projectProperties>
<value>endpoint=${endpoint}</value>
<value>username=${username}</value>
<value>password=${password}</value>
<value>db.host=${db.host}</value>
<value>db.port=${db.port}</value>
<value>db.user=${db.user}</value>
<value>db.pass=${db.pass}</value>
</projectProperties>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${basedir}/target/soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
</execution>
</executions>
</plugin>
Any help?
Thanks.