Ui performance test, measuring total endpoint time

Hi all.

We are implementing some ui performance test using k6 and we’d like to measure how much time an endpoint takes in finishing, so we can have a picture if our pages are well designed. Thing is, I get the endpoint with the waitForResponse function, and it is supposed you can use a timing function for getting this, but I’m not able.

I use both responseStart and responseEnd but they give me a NaN. Is this even possible? What I’m doing wrong?

Thanks!

hi @jbmpsx,

Can you show some sample code. Maybe there is a small coding error as this seems possible.