# TestClosure --- executing Groovy Closures in multi-Threads in a Test Case simultaneously

**URL:** <https://forum.katalon.com/t/testclosure-executing-groovy-closures-in-multi-threads-in-a-test-case-simultaneously/52436>\
**Category:** Miscellaneous\
**Tags:** start-page\
**Created:** [February 24, 2021, 1:10pm UTC](https://forum.katalon.com/t/testclosure-executing-groovy-closures-in-multi-threads-in-a-test-case-simultaneously/52436 "2021-02-24T13:10:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [October 3, 2021, 11:16am UTC](https://forum.katalon.com/t/testclosure-executing-groovy-closures-in-multi-threads-in-a-test-case-simultaneously/52436/6 "2021-10-03T11:16:15Z")

</div>

Recently I bought a new Mac Book Air with M1 Processor (8 core). I tried to execute 8 Threads in parallel on it. The result was interesting — far slower than 2 threads.

~~The reason was obvious — my home Wifi network was too slow. 8 simultaneous HTTP sessions jammed it. I learned that a TestClosure project requires a fast-enough network connection. I would need an EC2 on AWS to prove the potential of TestClosure.~~

I haven’t studied enough why. I can see 8 Chrome browser windows are opened. But it seems that only 1 Chrome browser is active at a time.

---

_[View the full topic](https://forum.katalon.com/t/testclosure-executing-groovy-closures-in-multi-threads-in-a-test-case-simultaneously/52436)._
