I need to automate the sending of results generated by Katalon to the Xray API.
Currently, we are running a .bat file manually and it’s tedious; I would be delighted if there were a solution to this.
I have Katalon Studio Enterprise installed on my local machine.
I run the test suites manually from Katalon.
After each execution, I manually run a .bat script that calls the Xray Cloud REST API to upload the JUnit/XML reports.
What I want to achieve is to automate this upload step, so that the results are sent to Xray automatically after each execution, without having to run the .bat file by hand.
If there’s any recommended way to integrate this flow (Katalon → Xray) in current versions, I’d really appreciate some guidance.
According to the official Katalon documentation, the Xray integration now supports:
Automatically/manually push TestOps test run to Jira as Xray test execution Manage Xray test execution with release versions and evidences from TestOps Synchronize TestOps test results to Xray test run Link TestOps test cases with Xray tests on Jira Link TestOps test schedules with Xray test plans on Jira
You have two approaches to automate sending results to Xray:
Option 1: Automatic Push via TestOps (Recommended)
When you link a Katalon test run to an Xray test plan in TestOps, you can configure automatic result pushing with three mechanisms:
Manual push only - You manually decide which test runs to upload
Push on all runs - Katalon automatically uploads ALL test run results to Xray
Push on passing runs only - Katalon automatically uploads only passing test results to Xray