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

How to integrate TestRail with Jenkins?


I am trying to integrate TestRail with Jenkins where I want to run some test cases from test rail which calls the test cases in jenkins, and then writes the result back to TestRail itself, or something similar to this.

I know there is an API for this, but so far I am not able to figure out how to go ahead with this API.

Any suggestions would be of great help.
Download Nox App Player ShowBox Download Free


i think here in the forum are examples of UI scripts, that would trigger tests from TestRail to an automated system.

But the general approach and/or suggestion is, that the CI system should be the active part here. It knows, when things have changed and can then start the tests and then post the results to TestRail. This would be a full automated system.

When you trigger the test execution from TestRail, it is a manual step, where you need to know “ah now something has changed, let’s start” - so I do not see any gain from this approach and it is not fully automated

this might help:


TestRail is a comprehensive web-based test case management software to efficiently manage, track and organize software testing efforts. … Track and follow the status of individual tests, milestones, and projects with dashboards and activity reports. Also, check framarootapkz for more info.


I just found a great tutorial for the integration process. it is quite simple steps are clear

  1. intsallation of plugin
  2. Configuration of plugin (consists of two parts).
    for detailed info check blokada