What unit of measurement is used for a metric with the Trend type?

Hello!

In my load tests I’m using Trend metric for calculating time for each api method separately by the following:

let upcomingDuration = new Trend("GetUpcoming");
upcomingDuration.add(res.timings.duration);

and

let menuBySportDuration = new Trend("GetMenuBySport");
menuBySportDuration.add(menuBySportRes.timings.sending + menuBySportRes.timings.waiting);

I need to know what unit type is used for duration and sending + waiting parameters. Thank you!

Hi @Daniil, as mentioned in the the docs (look at the res.timings line in the table)it’s milliseconds .

1 Like