Skip to main content

How to resolve elapsed time mismatched between the Object Repositories and the Test Cases?

There is a difference between elapsed time between the two methods of simulating a HTTP request in Katalon Studio. difference in elapsed time

Katalon Studio use Java HTTPClient as the library to simulate HTTP request. When running a test case or test suite, Katalon Studio will create a different Java process. When combining with HTTPClient, the first request always takes longer to establish and keep the connection alive, but the subsequent request connection's elapsed time will be back to normal.

If you don't want to eliminate the elapsed time difference, send a temporary request at the beginning of test cases or test suite in a test listener and track the response's elapsed time in the main test script.