Read API behind UI Testing

Is it possible to add API hits to the log while running a UI test? For example, after logging in, read which endpoints were hit, including the full endpoint name, type, method, and status.

3 Likes

I guess you want something like this:

http://forum.katalon.com/t/browsermob-proxy-in-katalon-studio-a-sample-project/83322

2 Likes

If you want to monitor such Network events inside browser in a event-driven manner, Playwright is the tool you should use: See

Also Puppeteer is nice for such advanced problem:


Selenium 4, which runs inside Katalon Studio v10.x, supports “Chrome DevTools Protocol”. See

When I write a test using the native Selenium 4 Java API, I use IntelliJ IDEA. IDEA provides a complete support; it is a fun. But, how can I do the same in Katalon Studio? I don’t know. I would never go for Selenium CDP in Katalon.

3 Likes

Selenium 4 supports Chrome DevTools Protocol CDP, which allows capturing network events..integrating CDP with Katalon Studio is advanced and can be technically challenging

if Network Monitoring is priority, Alternate Tools like Playwright and Cypress have built-in support for monitoring and logging API calls directly during tests, enabling easier extraction of network data.

2 Likes

Previously, @Rob1 wrote his experience about Cypress:

Once I tried Cypress as well. I gave up on it.

1 Like