# Getting Test Suite Collection run status

**URL:** <https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221>\
**Category:** Web Testing\
**Created:** [August 13, 2026, 3:22am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221 "2026-08-13T03:22:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thushar.ameen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thushar.ameen/32/16104_2.png) [@thushar.ameen](https://forum.katalon.com/u/thushar.ameen)\
**Post date:** [August 13, 2026, 3:22am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221/1 "2026-08-13T03:22:29Z")

</div>

I want to get number of test suites runs in a Collection and its status as how many test suites got passed, failed and errored out.

When I ask this question from Katalon StudioAssist, it gave me a solution. But I don’t see following imports and seeing errors.

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/1/f/1f40719437c31c7213afd9343c911546b798d837.png)

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/9/e/9e2ef74c1e704aff838f23ae7a4433c4c062777f.jpeg)

Does Katalon have TestSuiteCollectionContext, AfterTestSuiteCollection and BeforeTestSuiteColletion ?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 13, 2026, 4:01am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221/2 "2026-08-13T04:01:40Z")

</div>

> [@thushar.ameen](#):
>
> Does Katalon have TestSuiteCollectionContext, AfterTestSuiteCollection and BeforeTestSuiteColletion ?

No. Katalon StudioAssist lied. You got a hallucination from AI.

In this forum, some people have [expressed](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/3) their longing for `@BeforeTestSuiteCollection` and `@AfterTestSuiteCollection`. Maybe AI was trained with their description texts. Consequently AI learned something imaginary.

---

<div class="post-metadata">

**Author:** ![arvind.choudhary](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/arvind.choudhary/32/33165_2.png) [@arvind.choudhary](https://forum.katalon.com/u/arvind.choudhary)\
**Post date:** [August 13, 2026, 4:55am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221/3 "2026-08-13T04:55:42Z")

</div>

There is nothing called After and Before testsuitecollection, only testcase and testsuite.  
But incase you really need those stats, download the report it says all numbers about the collection run and even covers some more information with each suites got executed

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/c/a/ca7dcb1307ee94b5d0369a96e7502d4f801273db.png)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 13, 2026, 5:45am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221/4 "2026-08-13T05:45:11Z")

</div>

Just for your interest, have a look at my previous project

> **[GitHub - kazurayam/TestSuiteCollectionReportsCollector: A proposed solution to...](https://github.com/kazurayam/TestSuiteCollectionReportsCollector)**
>
> A proposed solution to https://forum.katalon.com/t/execution-start-end-date-time-and-duration-of-test-suite-collection/62027

The custom keyword looks into the `Reports` folder, identify the latest Test Suite Execution (TSC for short), find the `JUnitReport.xml` files of the Test Suites executed in the TSC, calculate the duration of the TSC in seconds, display the duration in the console.

Please note that the keyword works on the `JUnitReport.xml` files in the `Reports` folder of “ **already-finished** Test Suite Collection”. It can not find the status of a Test Suite Collection while it is still running.

---

<div class="post-metadata">

**Author:** ![depapp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/depapp/32/29178_2.png) [@depapp](https://forum.katalon.com/u/depapp)\
**Post date:** [August 13, 2026, 6:25am UTC](https://forum.katalon.com/t/getting-test-suite-collection-run-status/193221/5 "2026-08-13T06:25:25Z")

</div>

those classes and annotations don’t exist in Katalon Studio. you only get `@BeforeTestSuite`, `@AfterTestSuite`, `@BeforeTestCase`, and `@AfterTestCase`. there’s no hook for test suite collections
