Unanswered question

How can i obtain the duration Time of a WebPage-Request within JavaScript

Is there a way to obtain the duration-time of a WebPage-Request in a JavaSciprt which follows directly the WebPage-Request.

I can see for example the context.currentVU.getElapsedTime() for the full VU-Duration, but not for a single WebPage-Request.

Is there a chance to extract the WebPage-Duration for logging-purpose?

Thanks in advance for help!

Roland J.
Roland J.

Roland J.

Level
0
12 / 100
points

Answers

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Unfortunately, getting the duration of the last page is not possible. In order to get some context, why do you need such value?

Roland J.
Roland J.

Roland J.

Level
0
12 / 100
points

The idea was creating own logfiles with additional information including the duration of the response.

So, thanks, that i learned that it's not possible

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Note that you can export the RAW data of Containers in Results / Values / Export button, it may help.