Should support sample group order type in the generated JMeter report
---------------------------------------------------------------------
Key: MOJO-1412
URL: http://jira.codehaus.org/browse/MOJO-1412
Project: Mojo
Issue Type: Bug
Components: chronos
Reporter: Bill Zhang
Assignee: Kent Soelvsten
It seems no order type can be specified whiling creating JMeter report with
'report' Maven goal.
The issue is in
org.codehaus.mojo.chronos.responsetime.GroupedResponsetimeSamples Java class.
The method getSampleGroups() returns a list of Sample Groups from a HashMap
object 'sampleGroupsByName'. sampleGroupsByName was initialized as a HashMap
instead of a SortedMap. To support sample group order by Name, just simply
replace
private final Map sampleGroupsByName = new HashMap();
with
private final Map sampleGroupsByName = new TreeMap();
Or, if we want to use original execution order, we can create a Comparator
based the index of ResponsetimeSampleGroup.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email