How to execute a script after Katalon finishes generating reports (Post-TestSuite action)

Hi! I’m currently working on a Test Suite in Katalon Studio that integrates with Xray Cloud (Jira).
My goal is to automatically upload the JUnit XML report to Xray — but only after the Test Suite execution is fully completed and the JUnit_Report.xml file has been generated inside the Reports/ folder.

I’ve already tried:

  • @AfterTestSuite hooks (in Test Listeners),

  • creating a custom Keyword,

  • and even calling external Groovy scripts —
    but all of them trigger before the report files are fully written.

Is there any internal event, listener, or configuration that allows executing a Groovy/Keyword script after report generation (e.g., for report uploading, notifications, or custom integrations)?

Any guidance or example would be really appreciated :folded_hands:

2 Likes

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Custom Keyword here: Introduction to custom keywords in Katalon Studio | Katalon Docs. Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon. Thanks for being a part of our community!

Best,
Elly Tran

Katalon does not provide such feature.
You should implement a post-processing outside Katalon Studio.
According to their doc, Xray Cloud provide a chance to do that:

1 Like

Custom solution is the way forward. you can forward your use case as feature request to katalon

1 Like