Katalon test execution so slow

Hi everyone, I am using the latest katalon version. Currently I am testing for rest api, and endpoint (GET/POST) takes about 20secs to complete. the m/s is normal…

I am using MacBook m1 with apple chipset. Is there katalon version for apple chipset?
Thank you in advanced

Do you mean your katalon test on other machine runs faster than on MacBook M1?

Have you examined it on Windows PC, or on older MacBook with Intel Core i5?

I dont have other machine for this moment sir.

Test execution is faster on my colleague’s laptop other than M1 (windows)

I didnt change anything on the setting either

Then you should be able to compare the 2 logs of the same test suite; one taken on your machine, another taken on your colleagues machine. You should be able to study these 2 logs and identify the points where the test runs slower on your machine.

We requested on the same sample GET API. (https://reqres.in/api/users?page=2)
Without verification and assertion.

But my Mac took almost 20s on that single request sir…
This is gonna be an issue when I gave a lot of test cases to run regression test later

If you are sure that Katalon Studio runs slow on MacBook M1, then you should buy (or ask your boss to by) another Windows PC for you.

If you are unsure the reason of the slowness, you should continue studying for some other possible reasons. I have no idea what. The response time for HTTP request depends heavily on the network environment where you are in. Others can not see it.

There is nothing wrong on the network environment. Request time is <60 ms.
I temporary opinion is maybe there is something to do with the chip kind. But I cant find any other chip kind on katalon…

Do you have any other thought for this sir?
By the way, Thank you for your replies sir…

Here is the katalon kind

Please do not use the terrible word “sir”.

I have a MacBook Air M1. I created a test project to reproduce your case.

Test Case:

import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import com.kms.katalon.core.testobject.RequestObject
import com.kms.katalon.core.testobject.ResponseObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

ResponseObject response = WS.sendRequest((RequestObject)findTestObject('AUT'))

println response.getResponseBodyContent()

The Test Object AUT just points to your AUT: https://reqres.in/api/users?page=2

When I executed the test case, it ran as follows:

2021-10-15 18:35:30.203 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2021-10-15 18:35:30.205 INFO  c.k.katalon.core.main.TestCaseExecutor   - START Test Cases/TC1
2021-10-15 18:35:30.824 DEBUG testcase.TC1                             - 1: response = sendRequest(findTestObject("AUT"))
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
2021-10-15 18:35:32.371 INFO  c.k.k.core.webservice.common.HarLogger   - HAR: /var/folders/7m/lm7d6nx51kj0kbtnsskz6r3m0000gn/T/Katalon/Test Cases/TC1/20211015_183525/requests/main/0.har
2021-10-15 18:35:32.516 DEBUG testcase.TC1                             - 2: println(response.getResponseBodyContent())
{"page":2,"per_page":6,"total":12,"total_pages":2,"data":[{"id":7,"email":"michael.lawson@reqres.in","first_name":"Michael","last_name":"Lawson","avatar":"https://reqres.in/img/faces/7-image.jpg"},{"id":8,"email":"lindsay.ferguson@reqres.in","first_name":"Lindsay","last_name":"Ferguson","avatar":"https://reqres.in/img/faces/8-image.jpg"},{"id":9,"email":"tobias.funke@reqres.in","first_name":"Tobias","last_name":"Funke","avatar":"https://reqres.in/img/faces/9-image.jpg"},{"id":10,"email":"byron.fields@reqres.in","first_name":"Byron","last_name":"Fields","avatar":"https://reqres.in/img/faces/10-image.jpg"},{"id":11,"email":"george.edwards@reqres.in","first_name":"George","last_name":"Edwards","avatar":"https://reqres.in/img/faces/11-image.jpg"},{"id":12,"email":"rachel.howell@reqres.in","first_name":"Rachel","last_name":"Howell","avatar":"https://reqres.in/img/faces/12-image.jpg"}],"support":{"url":"https://reqres.in/#support-heading","text":"To keep ReqRes free, contributions towards server costs are appreciated!"}}
2021-10-15 18:35:32.570 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/TC1

It took just 2.5 seconds. Fast enough.

I think this experiment proves that M1 chip is not the cause of your problem.

1 Like

Wow, thanks for trying it out…
I realized that we have the same response time 2-3 seconds. It’s not on the test execution speed.

More likely when I hit the test button to running the test, which taking more than 10 seconds.
Once Katalon is running the request, it takes only 2 or more seconds.

Is it normal speed for Katalon?

10 seconds for startup a test case — not fast enough, but likely to happen. It depends many factors, and I do not see what in your particular case.

Thank you for your feedback, at least now I know what is not the problem