Bug 62333 - Report Dashboard - When 1 serie contains no value, the graph colors logic is wrong
Summary: Report Dashboard - When 1 serie contains no value, the graph colors logic is ...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.0
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2018-04-26 18:17 UTC by federico@abstracta.us
Modified: 2018-05-06 09:01 UTC (History)
1 user (show)



Attachments
screenshot of the graph (34.92 KB, image/jpeg)
2018-04-26 18:17 UTC, federico@abstracta.us
Details
results csv processed to generate this report (263.00 KB, application/vnd.ms-excel)
2018-04-26 18:23 UTC, federico@abstracta.us
Details

Note You need to log in before you can comment on or make changes to this bug.
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