Bug 65219 - Need to have the HTML dashboard report values in 5 decimal places
Summary: Need to have the HTML dashboard report values in 5 decimal places
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
Depends on:
Reported: 2021-04-05 08:21 UTC by sat
Modified: 2021-04-13 07:29 UTC (History)
0 users

Report format (13.74 KB, image/png)
2021-04-05 08:24 UTC, sat

Note You need to log in before you can comment on or make changes to this bug.
Description sat 2021-04-05 08:21:55 UTC
Is there a way to provide Avg, Man, and Throughput values in 5 decimal places instead of 2.

The HTML dashboard report is generating values in 2 decimal precision. I waned to configure 5 decimal places for clarity. Is there a way?
Comment 1 sat 2021-04-05 08:24:39 UTC
Created attachment 37798 [details]
Report format
Comment 2 Felix Schumacher 2021-04-10 11:17:51 UTC
I don't think, that there is currently an easy way to do that.

You might be able to do this by editing the template files in bin/report-template

There are some formatting commands like "something.toFixed(2)", "Math.round10(something, -2)" or "%x.2", where you could try to replace the "2" with some "5". (I haven't tried it)
Comment 3 sat 2021-04-13 07:29:11 UTC
Thanks Felix for the idea !!.
Your suggestion worked perfectly for me.