# Add afterTestSuiteCollection hook with context param including status indicating whether failed

**URL:** <https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776>\
**Category:** Feature Request\
**Tags:** feature-request, katalon-studio\
**Created:** [January 9, 2018, 6:54am UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776 "2018-01-09T06:54:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Zhang](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Andy\_Zhang](https://forum.katalon.com/u/Andy_Zhang)\
**Post date:** [January 9, 2018, 6:54am UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/1 "2018-01-09T06:54:46Z")

</div>

I use test suite collection to do a whole regression test. I want to get notified if the test suite collection has failed test cases.

I find it is hard to know whether the test suite collection is failed now, because there is no afterTestSuiteCollection hook. So I hope Katalon can add afterTestSuiteCollection hook with context param including status attribute, which indicates whether the test suite collection is failed.

It is true that I can use afterTestSuite hook now. But there are several drawbacks:  
1, You may have several test suites, which means that afterTestSuite hook will run for several times.  
2, Things become more complicated when you have retries for test case. For those tests suites with failed cases, they will re-run.

---

<div class="post-metadata">

**Author:** ![Liam\_B](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/liam_b/32/647_2.png) [@Liam\_B](https://forum.katalon.com/u/Liam_B)\
**Post date:** [January 9, 2018, 11:21am UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/2 "2018-01-09T11:21:27Z")

</div>

> Andy Zhang said:
> 
> I use test suite collection to do a whole regression test. I want to get notified if the test suite collection has failed test cases.
> 
> I find it is hard to know whether the test suite collection is failed now, because there is no afterTestSuiteCollection hook. So I hope Katalon can add afterTestSuiteCollection hook with context param including status attribute, which indicates whether the test suite collection is failed.
> 
> It is true that I can use afterTestSuite hook now. But there are several drawbacks:  
> 1, You may have several test suites, which means that afterTestSuite hook will run for several times.  
> 2, Things become more complicated when you have retries for test case. For those tests suites with failed cases, they will re-run.

Hey Andy,

Thanks for using Katalon Studio and provide valuable feedback. There is actually a ticket regarding this in our (long) development stack for discussion and consideration. I will let you know once I have something to share.

If you have any other problem, don’t hesitate to post on our forum. We are happy to help!

Regards,  
Liam

---

<div class="post-metadata">

**Author:** ![Andy\_Zhang](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Andy\_Zhang](https://forum.katalon.com/u/Andy_Zhang)\
**Post date:** [January 9, 2018, 12:20pm UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/3 "2018-01-09T12:20:08Z")

</div>

> [Liam B](https://forum.katalon.com/profile/716/Liam%20B) said:
> 
> > Andy Zhang said:
> > 
> > I use test suite collection to do a whole regression test. I want to get notified if the test suite collection has failed test cases.
> > 
> > I find it is hard to know whether the test suite collection is failed now, because there is no afterTestSuiteCollection hook. So I hope Katalon can add afterTestSuiteCollection hook with context param including status attribute, which indicates whether the test suite collection is failed.
> > 
> > It is true that I can use afterTestSuite hook now. But there are several drawbacks:  
> > 1, You may have several test suites, which means that afterTestSuite hook will run for several times.  
> > 2, Things become more complicated when you have retries for test case. For those tests suites with failed cases, they will re-run.
> 
> Hey Andy,
> 
> Thanks for using Katalon Studio and provide valuable feedback. There is actually a ticket regarding this in our (long) development stack for discussion and consideration. I will let you know once I have something to share.
> 
> If you have any other problem, don’t hesitate to post on our forum. We are happy to help!
> 
> Regards,  
> Liam

> [Liam B](https://forum.katalon.com/profile/716/Liam%20B) said:
> 
> > Andy Zhang said:
> > 
> > I use test suite collection to do a whole regression test. I want to get notified if the test suite collection has failed test cases.
> > 
> > I find it is hard to know whether the test suite collection is failed now, because there is no afterTestSuiteCollection hook. So I hope Katalon can add afterTestSuiteCollection hook with context param including status attribute, which indicates whether the test suite collection is failed.
> > 
> > It is true that I can use afterTestSuite hook now. But there are several drawbacks:  
> > 1, You may have several test suites, which means that afterTestSuite hook will run for several times.  
> > 2, Things become more complicated when you have retries for test case. For those tests suites with failed cases, they will re-run.
> 
> Hey Andy,
> 
> Thanks for using Katalon Studio and provide valuable feedback. There is actually a ticket regarding this in our (long) development stack for discussion and consideration. I will let you know once I have something to share.
> 
> If you have any other problem, don’t hesitate to post on our forum. We are happy to help!
> 
> Regards,  
> Liam

thank you

---

<div class="post-metadata">

**Author:** ![ramarajan.thiyagaraj](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@ramarajan.thiyagaraj](https://forum.katalon.com/u/ramarajan.thiyagaraj)\
**Post date:** [December 24, 2019, 3:51pm UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/4 "2019-12-24T15:51:00Z")

</div>

hi Team, Any update on this ? This is much needed feature, helps in circulating the combined report.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:39am UTC](https://forum.katalon.com/t/add-aftertestsuitecollection-hook-with-context-param-including-status-indicating-whether-failed/8776/5 "2022-08-08T07:39:21Z")

</div>


