Upload test execution results from Katalon Studio to TestRail
Katalon Studio supports uploading test execution results of a test suite to TestRail as a Test Run in two ways:
-
To a new Test Run: By prefixing the test suite name with
S<ID>
, where<ID>
is a unique suite identifier. Katalon will create a new TestRail Test Run during execution. -
To an existing Test Run: By prefixing the test suite name with
R<ID>
, where<ID>
corresponds to the ID of an existing Test Run in TestRail. The test results will be appended to that Test Run.
Requirements
- You have configured TestRail integration in Katalon Studio. See Configure TestRail integration in Katalon Studio
Upload test results to a new test run in TestRail
Upload test results to an existing Test Run in TestRail
Best practices
To successfully upload test results from Katalon Studio to TestRail:
- Ensure mapped test cases are added to the test suite.
- The plugin must be properly configured in the Project > Settings > Plugins > TestRail section.
- A valid TestRail API token or password must be provided.
- All required custom fields must be configured with valid static values.
- Use a Test Suite Collection to upload multiple test suites simultaneously—each suite will be associated with its own Test Run in TestRail.
If the configuration is invalid or required fields are missing or incorrectly typed, the plugin will either:
- Skip uploading that field;
- Log a warning, or;
- Prevent the upload entirely depending on the severity of the mismatch.