How can I integrate Allure Reports into RedwoodHQ ?

695 views
Skip to first unread message

Praveen Sadasivuni

unread,
Mar 2, 2017, 8:16:45 AM3/2/17
to PrimaTest Automation
Hi Team,

I would like to integrate Allure reports into the existing framework.

Can I get some help on how can I integrate Allure Reports into RedwoodHQ ?

Thanks,
PRaveen 

dmi...@primatest.net

unread,
Mar 2, 2017, 2:25:01 PM3/2/17
to PrimaTest Automation
Why do you need this? RedwoodHQ already has reporting.

Praveen Sadasivuni

unread,
Mar 6, 2017, 8:16:42 AM3/6/17
to PrimaTest Automation
Thank you for the reply.

My client requirement is to have a detailed report which speaks about everything in one single HTML page he is impressed with the Allure reports and want us to integrate the same with the RedwoodHQ


This reporting engine should be independent of RedwoodHQ and should be accessed through a different link - ( I can handle this )

Thanks,
Praveen 

dmi...@primatest.net

unread,
Mar 6, 2017, 1:31:09 PM3/6/17
to PrimaTest Automation
There is currently no way to integrate it with allure. You can integrate it with Kibana/Elastic Search and create any reports you like. Just open properties.conf file and change:
ELKServer=
ELKServerPort=9200

After that restart your RedwoodHQ and now all results will go into elastic search.

Dmitri

Mazen Bilbiesi

unread,
Mar 12, 2017, 11:25:33 AM3/12/17
to PrimaTest Automation
In my situation i would like to have an option to allow anonymous users to check RHQ report (read only) without creating a users. is there a way to enable this feature !

dmi...@primatest.net

unread,
Mar 13, 2017, 1:34:39 PM3/13/17
to PrimaTest Automation
On Sunday, March 12, 2017 at 8:25:33 AM UTC-7, Mazen Bilbiesi wrote:
> In my situation i would like to have an option to allow anonymous users to check RHQ report (read only) without creating a users. is there a way to enable this feature !

When you run your execution using CLI, RedwoodHQ created JUnit xml report. Many reporting tools can read that, including Jenkins. Maybe that could help. There is also report export functionality. You can also send e-mails with test results.

JORGE CORDOVA

unread,
Apr 7, 2017, 1:06:00 AM4/7/17
to PrimaTest Automation
It is possible with some work using this Allure framework for Junit 4.  Since, running execution via CLI which is kicked off outside RedwoodHQ via CI like Jenkins, the CLI execution generate a JUnit (report.xml) which then can be read by the Allure Report plugin for Jenkins.

Take a look of following links ...
https://github.com/allure-framework/allure1/wiki/JUnit
https://wiki.jenkins-ci.org/display/JENKINS/Allure+Plugin

Steps to integrate it:
1. Install Allure report plugin to Jenkins server
2. Setup a Jenkins job and run it the RedwoodHQ execution via CLI (WIndows CMD or Linux Shell)
3. Setup Allure Report task within same Job as post build task, and point location where the report.xml file resided e.g. /path/*.xml

I hope that help you to start.  I will try it myself in couple weeks.

Jorge

Praveen Sadasivuni

unread,
Apr 10, 2017, 6:55:44 AM4/10/17
to JORGE CORDOVA, PrimaTest Automation
I am not clear about this approach. 

However, thanks for sharing your knowledge. Let me understand the approach first and then I will try to implement accordingly.

Thanks Jorge :)

-Praveen 

--
You received this message because you are subscribed to a topic in the Google Groups "PrimaTest Automation" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/primatest-automation/NTnubE7wAW8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to primatest-automation+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
With Regards,
Praveen Kumar Sadasivuni
pravi...@gmail.com

Sujeet Velapure

unread,
Apr 19, 2017, 1:56:07 PM4/19/17
to PrimaTest Automation
I am planning to integrate elastic search/Kibana with RHQ.  Has anyone have any screenshots or any sample report - how the reports looks like within Kibana.

Freddy Vega

unread,
Apr 25, 2017, 8:49:41 AM4/25/17
to PrimaTest Automation
Here is a sample dashboard.
Auto Generated Inline Image 1.png

dipesh...@gmail.com

unread,
May 12, 2017, 5:11:13 AM5/12/17
to PrimaTest Automation
Hi Jorge,

Did you manage to execute RedwoodHQ through CLI? We tried but seems something is broken in 2.5 version.
It hangs after printing "Database Connected"

dmi...@primatest.net

unread,
May 12, 2017, 11:44:58 AM5/12/17
to PrimaTest Automation, dipesh...@gmail.com

What command are you trying to run? As far as I know CLI is not broken in 2.5

Dmitri

Message has been deleted

dipesh...@gmail.com

unread,
May 22, 2017, 7:47:11 AM5/22/17
to PrimaTest Automation, dipesh...@gmail.com
Tried with below command it did run on latest version.
node CIExecution.js --name "Amazon Test" --user admin --testset "Amazon Shopping" --machines "127.0.0.1:1" --pullLatest true --retryCount 2 --variables Browser=Chrome --project Sample --ignoreScreenshots false

It did generate result.xml but failed with Allure report error.
Files\Jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\1.5.3\bin\allure.bat" generate '"C:\Program Files\RedwoodHQ\cli"' -o '"C:\Program Files\Jenkins\workspace\RedwoodHQ\allure-report"'
Exception in thread "main" ru.yandex.qatools.allure.data.ReportGenerationException: Could not find any allure results
at ru.yandex.qatools.allure.data.AllureReportGenerator.generate(AllureReportGenerator.java:58)
at ru.yandex.qatools.allure.data.AllureReportGenerator.generate(AllureReportGenerator.java:53)
at ru.yandex.qatools.allure.AllureMain.main(AllureMain.java:48)
Command aborted due to exception {}.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at ru.yandex.qatools.allure.command.ReportGenerate.runUnsafe(ReportGenerate.java:48)
at ru.yandex.qatools.allure.command.AbstractCommand.run(AbstractCommand.java:52)
at ru.yandex.qatools.allure.CommandLine.main(CommandLine.java:46)

vicky....@gmail.com

unread,
Aug 15, 2019, 6:06:43 AM8/15/19
to PrimaTest Automation
Hi,

Could you please help me in integrating RedwoodHQ reports with ElasticSearch/Kibana. Please let me know the complete steps that I need to follow and how the reports looks like after running a test case in RedwoodHq.

Thanks
Vignesh K S
Reply all
Reply to author
Forward
0 new messages