TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

TestLink Tutorial

TestLink and MantisBT Integration

Mantis Bug Tracker

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::

  • Jira
  • MantisBT
  • Bugzilla
  • GitLab
  • FogBugz
  • Trac
  • Redmine, etc.

Issue Tracker Management

Steps to integrate MantisBT with TestLink are as follows:

  • Launch the TestLink tool
  • Click on the Issue Tracker Management link on the dashboard.

 

Issue Tracker Management TestLink

 

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>

Mantis Interface Rest TestLink Type

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

 

Mantis API Tokens

Click on the Save button to save the changes.

 

Mantis REST API Configuration

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.

 

MantisBT TestLink Connection

Issue Tracker Integration

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

  • Click on the Test Project Management link in the TestLink Dashboard. We can either create a new project or add the Issue tracker to the project.
  • Select the Test Project and edit it.
  • In the Issue Tracker Integration section, select the Mantis issue tracker from the drop-down list and check the Active checkbox.

 

Test Project Issue Tracker Active TestLink

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

  • https://www.testingdocs.com/creating-a-testlink-project/
  • https://www.testingdocs.com/creating-a-test-plan-in-testlink/
  • https://www.testingdocs.com/creating-test-suite-and-test-cases-in-testlink/

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.

 

TestLink Mantis Integration

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/

More information on TestLink Open source Test management tool can be found on the official website at:

http://testlink.org

Related Posts

TestLink Bitnami Cloud Image

TestLink Tutorial /

TestLink Bitnami Cloud Image

Apache Server Configuration

TestLink Tutorial /

TestLink REST API Apache Server Configuration

TestLink Install on Domain

TestLink Tutorial /

Install TestLink Software via CPanel Platform

Test Suite Import Export TestLink

TestLink Tutorial /

Import/Export TestSuite in TestLink

TestLink Tutorial /

Commercial Alternatives to TestLink Tool

‹ Assign Test Case to Tester in TestLink› Keywords in TestLink

Recent Posts

  • Update draw.io on Windows
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com