Katalon-TestRail-Jenkins integration

Continuing the discussion from How to integrate Katalon Studio to TestRail to report test case results:

@lubomir.pe Could you please share more details about your desired flow?

1 Like

Hi! Thank you for giving attention to this thread
Well, I would like to run my tests in Jenkins and have my TestRail testrun updated with results.
At this point, I am having full integration with TestRail, and running Katalon testsuite from the console brings the results in TestRail on the table.
But, when I do the same trick with Jenkins, I can see testrun going his way, but no updates on TestRail this time.
May it be some kind of misinteraction with those services?
If so, I would greatly appreciate if you are able to make those things work together, or, in case I am doing something wrong, I am opened to any ideas and tips you have for this.
Much thanks, Lubomir

Hi @lubomir.pe,
Let’s try applying API keys in console mode in Katalon Studio by following these steps:

  1. Generate a new API key or using an existing key from Katalon Store
  2. Add the apiKey parameter to the execution command line.
    For example: \ katalon -noSplash -runMode=console -consoleLog -noExit -projectPath="C:\Users\Katalon Studio\Project\YourProject.prj" -retry= 0 -testSuitePath="Test Suites/TS_RegressionTest" -browserType="Chrome (headless) -apiKey=e4c46ee7-0179-4309-a7bf-c0530bf61d07 \
  3. Plugins installed by the API key owners will be downloaded and installed to Katalon Studio before execution. Functions of the plugins will be triggered accordingly.

Hope this helps

Katalon Store Team


Have done exactly what you say, and still not working :confused:
Everything is showing up like it’s going and executing fine, but in the end still no results on TestRail

Hi @lubomir.pe,

Could you share us the console execution log, and Katalon studio log file when running on Jenkins


Here is console execution file

Results_100_log.txt (198.1 KB)

Hi @lubomir.pe,

We evaluated your console execution log and saw that Test Rail Integration was installed successfully.

The point here is:

  • Test Rail integration information will be store in file <project_dir>/settings/external/com.katalon.katalon-studio-testrail-plugin.properties
  • You use Git to checkout the lastest project code.

Please make sure the <project_dir>/settings/external/com.katalon.katalon-studio-testrail-plugin.properties was committed and it was successfully pull to Jenkins machine.


It worked perfectly, thank you for your help!
But the strange thing is that my Git didn’t track that file, so I had to add it manually on my Bitbucket. Maybe it is just me, or maybe that’s how it works. Probably, you should have an eye on that :slight_smile: