Bug 65784 - No Graphs displayed in Aggregate Report/Response Time Graph
Summary: No Graphs displayed in Aggregate Report/Response Time Graph
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.1
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2022-01-05 15:20 UTC by Felix Schumacher
Modified: 2022-01-24 15:41 UTC (History)
0 users



Attachments
Simple test plan to show the missing graphs (8.00 KB, application/xml)
2022-01-05 15:20 UTC, Felix Schumacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2022-01-05 15:20:00 UTC
Created attachment 38155 [details]
Simple test plan to show the missing graphs

The scaling of the bars/lines in the components Aggregate Graph/Response Time Graph seems broken. While the numbers are shown correctly, no bars can be seen (probably happens when numbers are smaller than 1000 ;))

This is due to a small change to update our usage of Java APIs to a more modern style, where we changed the rounding mode to allow rounding down to zero, which would break the scaling.
Comment 1 Felix Schumacher 2022-01-05 15:26:18 UTC
commit 37be72fc48121c142c0a4be1c634373e0f929882
AuthorDate: Wed Jan 5 16:23:01 2022 +0100

    No Graphs displayed in Aggregate Report/Response Time Graph
    
    Make sure, that we scale away from zero (which is in our case mostly up).
    Otherwise we might end up with a scaling factor of zero, which would
    result in really small images.
    
    Bugzilla Id: 65784
---
 .../src/main/java/org/apache/jmeter/visualizers/AxisGraph.java        | 2 +-
 .../main/java/org/apache/jmeter/visualizers/RespTimeGraphChart.java   | 4 ++--
 xdocs/changes.xml                                                     | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)
Comment 2 Felix Schumacher 2022-01-24 15:41:02 UTC
OP wrote on mailing list, that the graphs work again in nightly build.