Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Dashboard integration to Confluence


#1

Hi,

I am a bit lost concerning the integration of TestRail Dashboards to Confluence.
I used the iFrame macro on our local Confluence installation.
I used the https URL since TestRail installation is also running https here.
I used an URL like “https://outTestRail.intern.companyname.de/index.php?/ext/common/dashboard

When I save the Confluence site it says “Fehler: Server nicht gefunden” (“error: server not found”) within the iFrame.
Then I thought: I need to login an authenticate to TestRail, how does Confluence do that? Is that maybe the error ?


#2

Hi Cyrus,

Thanks for your posting! Please make sure that the TestRail address is correct and it looks like you used a (maybe slightly) incorrect TestRail address. Authentication works via session cookies from TestRail so this would be independent of Confluence. You can learn more about the integration here:

http://docs.gurock.com/testrail-integration/dashboards-introduction
http://docs.gurock.com/testrail-integration/dashboards-confluence

Cheers,
Tobias


#3

unfortunately the adress (URL) is ok.
when i paste it directly into the webbrowser it works fine.
Using the iFrame macro doesn’t (?)


#4

Hi Cyrus,

Thanks for your reply! Could you please send us the following screenshots via email (to contact@gurock.com):

  • Your iframe/macro configuration in Confluence
  • The full Confluence browser window with the iframe and error you see (including Confluence address)
  • The full TestRail browser window (including TestRail address)

Cheers,
Tobias


#5

Hi Tobias,

it seems that our confluence admins somehow restrict the iframe macro (or better: use a customized iframe macro), because of some security issues (Java script).

THX


#6

Hi Cyrus,

Thanks for the additional details! I believe the iframe/HTML macros support a whitelist for allowed iframe addresses (depending on the Confluence edition). The documentation for setting up the integration for Confluence Cloud and Server can also be found here:

http://docs.gurock.com/testrail-integration/dashboards-confluence

Cheers,
Tobias