Bug 62333

Summary: Report Dashboard - When 1 serie contains no value, the graph colors logic is wrong
Product: JMeter Reporter: federico <federico>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 3.1   
Target Milestone: JMETER_5.0   
Hardware: All   
OS: All   
Attachments: screenshot of the graph
results csv processed to generate this report

Description federico@abstracta.us 2018-04-26 18:17:13 UTC
Created attachment 35894 [details]
screenshot of the graph

I ran a test and generated the report with -g option as documented here http://jmeter.apache.org/usermanual/generating-dashboard.html


Now, in the html report I see a response time overview graph with different columns. My concern is related to the colors of these columns:
* "requests in error" in orange (expected: red)
* > 1500ms in green (expected: orange)
* btw 500 and 1500 in yellow (that's ok!)
* < 500 (expected: green)


I didn't touch the user.properties nor any other config file for this test (all by default).
Comment 1 Philippe Mouawad 2018-04-26 18:20:01 UTC
Hello Federico,
Thanks for report.
Can you please attach a sample CSV that we could use as long as your user.properties ?

Thank you.
Regards
Comment 2 federico@abstracta.us 2018-04-26 18:23:06 UTC
Created attachment 35895 [details]
results csv processed to generate this report
Comment 3 federico@abstracta.us 2018-04-26 18:24:25 UTC
Hello! thanks for the quick answer!
As I said, I didnt change the user.properties
I've uploaded the csv I used

Tell me if I can help with anything else
Comment 4 Philippe Mouawad 2018-04-26 18:32:21 UTC
Thanks, I am able to reproduce now.
Comment 5 Philippe Mouawad 2018-05-06 09:01:27 UTC
Author: pmouawad
Date: Sun May  6 09:00:57 2018
New Revision: 1831023

URL: http://svn.apache.org/viewvc?rev=1831023&view=rev
Log:
Bug 62333 - Report Dashboard - When 1 serie contains no value, the graph colors logic is wrong
Contributed by UbikLoadPack
Bugzilla Id: 62333

Modified:
    jmeter/trunk/bin/report-template/content/js/graph.js.fmkr
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/SyntheticResponseTimeDistributionGraphConsumer.java
    jmeter/trunk/xdocs/changes.xml