Site icon TestingDocs.com

TestLink and MantisBT Integration

Introduction

TestLink supports numerous integrations with different software tools. In this tutorial, we will learn the steps involved to integrate TestLink and MantisBT tool. Integrate TestLink easily with tools like::

Issue Tracker Management

Steps to integrate MantisBT with TestLink are as follows:

 

 

This will launch the Issue Trackers page.

Click on Create button to create a new integration.

TestLink supports three types of interfaces for the Mantis integration. {DB, SOAP, REST}.

For example choose REST API to select the Type as mantis (Interface: rest)

XML Configuration

To get the configuration XML, click on the Configuration example link on the page. Copy the XML and edit the XML as per the MantisBT instance.

We need to modify this XML configuration as per your environment.

Modify the uribase and uriview parameters according to the MantisBT that you are trying to connect.

<issuetracker>
<apikey>API KEY</apikey>
<uribase>https://www.mantisbt.org/</uribase>
<uriview>https://www.mantisbt.org/view.php?id=</uriview>
<uricreate>https://www.mantisbt.org/</uricreate>
</issuetracker>

Generate API Token

We need to provide the API token in the <apikey>MANTIS API TOKEN</apikey> in the configuration XML

The steps to generate an API token for the MantisBT instance are outlined here: Create MantisBT API Token

 

Click on the Save button to save the changes.

 

Check Connection

To check the connection click on the Check connection button. The connection status should be green OK.

Faulty configuration can lead to connection errors. We need to debug if the Test Connection message is KO.

 

Issue Tracker Integration

We need to associate the Issue tracker with the Test Project.

 

Click on the Save button to make the Issue tracker integration active in the Project.

Integration Work Flow

We can link bugs or create new ones in MantisBT directly from the Test Execution reports in the TestLink tool.

Create Test Plan/Suite/Test Case

Execute Tests

Link Existing Defect

The Test Execution page would now have green bug icons to link existing MantisBT bugs to the test reports or create new MantisBT bugs for failed test cases in TestLink.

 

Link Defects

An existing bug in the MantisBT instance can be linked to the test reports. Bug summary would be displayed and the MantisBT defect link.

More Information to Link defects to Test Reports:

https://www.testingdocs.com/link-defects-to-test-cases-in-testlink/

That’s it. We have successfully connected MantisBT with the TestLink tool.

Related: Jira TestLink Integration

https://www.testingdocs.com/jira-testlink-integration/

TestLink Tutorials

TestLink Tutorial on this website can be found at:
https://www.testingdocs.com/testlink-tutorials/

 

Exit mobile version