Category: api

TestLodge integration with MantisHub

Testlodge Integration

Some of you Mantis users out there are most likely in need or already using a test case management tool to pickup any bugs in your software product. You may be thinking “How useful would it be to have my issue tracker and test case manager work together!” Well there are a number of test case managers out there that do advertise integration with Mantis and their instruction are available for you to test out.

MantisHub team is currently working on testing some of these out for you but if you’re after tried and true, we’ve been working with our friends at TestLodge and have developed step by step instructions to allow you to integrate MantisHub with their popular test case managment tool. Known for its clean and simple interface (sound familiar? 😉 you can starting running through test cases straight away. Linked with your clean and simple MantisHub service, this can save you a heap of time.

It’s really easy to setup the integration, you can check out our knowledge base article for the full procedure and functionality details. TestLodge have even produced a short video tutorial to help get you going that you can find linked in our article.

With the TestLodge integration you can connect to your MantisHub service using an easily generated, secure API token. We recommend you create a new, appropriately named user within MantisHub to use for linking to TestLodge so it’s easy to identify TestLodge generated issues. Once linked, you can automatically create issues with MantisHub when tests cases fail. You can setup within TestLodge the MantisHub project that you want these issues to be created in and also set the MantisHub issue’s assigned user, category, priority and severity all from within TestLodge. There’s even the capability to pull status updates on MantisHub issues via API and re-run tests based on the current issues status (e.g. resolved).

Our friends at TestLodge are offering a great deal to all MantisHub users, sign up for a free TestLodge trial and integrate it with your MantisHub service and they’ll give you a 10% discount on your TestLodge subscription. Reach out to their team at help.testlodge.com quoting the coupon Mantis10 before your free trial ends to receive this offer.

Pair MantisHub’s intuitive powerful tracker with this popular and efficient test case manager to even further simplify your software project delivery process.

Harnessing the power of MantisHub API

MantisHub provides several possibilities for connecting with other systems.  Whether it is through email reporting, CSV import/export, or through its API.  Among these, the API is the most powerful and automation-friendly way to extend MantisHub.

So if you are a developer, the API will enable you to create great end-to-end scenarios.  Whether it is to auto-create issues for build failures, crashes in production, or sending daily reports based on pre-defined filters.

To make this easier, we have created client libraries that provides an easy way to leverage the API.  We’ve open sourced these libraries and made them available through our github organization.

Since MantisHub API is SOAP based webservice, it is also easy to auto-generate proxy clients for any language using the appropriate language specific tool chain.

So whatever integration or automation scenario you have in mind, checkout out our API.

The possibilities are endless…

Using API Tokens to access MantisHub

API tokens provide users with more control, convenience, visibility and security when providing other services and apps access to their MantisHub.

Here are some of the benefits of API tokens compared to use of passwords:

  • Tokens are 32 characters long and cryptographically secure, hence, they are much more secure than user passwords.
  • Tokens are generated by MantisHub, hence, they are not going to be shared passwords with any other internet services that the users use.
  • Users have visibility on when each token was last used to access MantisHub.
  • Users can revoke one of the tokens without impacting others.  Hence, can selectively deny access to specific services.
  • Users can change their passwords without affecting the validity of the API tokens.

Users can generate API tokens via their My Account – API tokens.  The tokens are only displayed once and should be used for one integration.  The tokens can be passed in the password field when calling the MantisHub SOAP APIs.  Note that it can’t be used to login via the MantisHub login page.