Contributions
Re: Problem generating project report via testrunner in Jenkins
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 Mathias6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews2likes1CommentRe: Problem generating project report via testrunner in Jenkins
Hi, Found this in soapUI-errors.log on the Jenkins server: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "Arial" is not available to the JVM. See the Javadoc for more details. And then I saw the following information on Smartbear (https://support.smartbear.com/readyapi/docs/testing/reports/existing/about.html) ----------------------------------------- Fonts in Linux ReadyAPI reports use some of Microsoft core fonts. Not all Linux installations include these fonts. If you have issues with creating reports: Install themscorefontspackage applicable for your Linux distributive. Copy TTF files from/usr/share/fonts/truetype/msttcorefontsto the<ReadyAPI Installation>/jre/lib/fontsdirectory. Make sure to specify the<ReadyAPI Installation>/bin/reportsdirectory in theCustom Reports Libraryfield of theReadyAPItab in thePreferenceswindow. ----------------------------------------------- So I created a jira ticket asking our DevOps if they could add fonts according to the instructions above. Awaiting their response and then I'll try again and see if this solves the problem Best regards Mathias6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes2CommentsRe: Problem generating project report via testrunner in Jenkins
Hi, Yes, we're using floating licenses on the Unix machine. We're trying to generate a Project Report in XML format.-R"Project Report" -FXML Also tried Project Report in PDF format but that didn't work either. Best Regards Mathias6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes4CommentsRe: Problem generating project report via testrunner in Jenkins
Hi, We just upgraded to version 2.6.0 on our Jenkins machine and unfortunately the problem still remains. It is practically the same executing command used for all three types of reports: This command does not generate a project report from within a Jenkins unix machine bin/testrunner.sh -R"Project Report" -FXML -f $SOAPUI_HOME/logs_$USER/$test But below commands generate JUnit resp Data Export reports. The only thing that differs between them is the type of report bin/testrunner.sh -R"Junit-style HTML Report" -FXML -f $SOAPUI_HOME/logs_$USER/$test bin/testrunner.sh -R"Data Export" -FXML -f $SOAPUI_HOME/logs_$USER/$test Am I missing some argument needed to generate project reports or is it simply not possible to generate them on unix machines running Jenkins? Best regards Mathias6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes6CommentsRe: Problem generating project report via testrunner in Jenkins
nmrao Hi, see answers below. 1) We have previously been able to generate JUnit reports with a similar command (as described above) on Jenkins 2) Not isolated to this particular project. We have several projects executing via testrunner and none of them generate project reports 3) I've managed to generate the desired report locally on my windows machine running testrunner Today we're upgrading from ReadyAPI 2.5.0 to ReadyAPI 2.6.0 on the Jenkins server. I'll run some additional tests after this is done.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes8CommentsProblem 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 targetfolder. 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 MathiasSolved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes13CommentsRe: Is it possible to generete two types of reports in the same testrunner session?
Hi again, I was more interested in if you can generate two types of reports in the same command line, as I wrote earlier. Is it possible to generate a Junit and a project report at the same time? E.g-R"Project Report,JUnit-Style HTML Report" Best regards Mathias6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes3Comments