How to get http metrics for browser based test

Im very new to K6

We have a sample code which will do a login for our web application, we are using import { browser } from ‘k6/experimental/browser’; and calling our web page const page = browser.newPage(); and await page.goto(‘’);

please let me know if any other information is required

1 Like

Hi @nikhilgujarati , welcome to the forum! :wave:

In the case of browser tests, you can see here the metrics reported by the browser module. The only HTTP related metrics that are reported are browser_http_req_duration and browser_http_req_failed. This is because the focus of the browser extension is not load testing nor HTTP requests.

Does this answer your question? What is the purpose of your test?

1 Like