ecsmmek
6 years agoOccasional Contributor
Problem generating project report via testrunner in Jenkins
Hi,
I'm trying to generate a project report via testrunner in a shell script in Jenkins but somehow it doesn't seem to create the actual report in the target folder.
It is a "normal" soapUI project, i.e not a composite project that is run.
The odd part is that it does generate both "Data Export" and "JUnit-Style HTML Report" reports.
This is the row generating the different types of reports. The two first examples below are working
bin/testrunner.sh -R"JUnit-Style HTML Report" -f$SOAPUI_HOME/logs_$USER/$test \
bin/testrunner.sh -R"Data Export" -FMXL -f$SOAPUI_HOME/logs_$USER/$test \
However, the below example trying to generate a project report does not create any report
bin/testrunner.sh -R"Project Report" -FXML -f$SOAPUI_HOME/logs_$USER/$test \
The path to the report folder is the same. It's only the type of report that differs.
Tried a few different approaches with different arguments (flags) without any luck.
Tried to shift the " characters, e.g. "-RProject Report" in order to mimic the "original" testrunner command line generated i ReadyAPI.
Tried to add .xml to the target folder, i.e. -f$SOAPUI_HOME/logs_$USER/$test.xml but that didn't work either
Any ideas?
I'm using ReadyAPI 2.6.0 locally and version 2.5.0 is installed on the Jenkins server.
Best regards
Mathias
Hi Community
The problem was indeed the unix server lacking the font "package".
After installing the fonts required the Project Reports ( both XML and PDF) were generated accordingly.
Best Regards
Mathias