Bug 42833 - Argument class to use LinkedHashMap to preserve ordering
Summary: Argument class to use LinkedHashMap to preserve ordering
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-07 12:35 UTC by Sebb
Modified: 2008-05-08 05:12 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2007-07-07 12:35:41 UTC
At present, the Arguments class uses a HashMap to store arguments. This means 
that arguments are not necessarily processed in the order they are defined in 
the test plan.

Consider using LinkedHashMap to guarantee the ordering.
Comment 1 Sebb 2008-05-08 05:12:23 UTC
The class already used ArrayList for storing the argun=ments.

However the getArgumentsAsMap() method used HashMap; this has been changed to LinkedHashMap:

URL: http://svn.apache.org/viewvc?rev=654500&view=rev
Log:
Bug 42833 - Argument class uses LinkedHashMap in getArgumentsAsMap() to preserve ordering
Comment 2 The ASF infrastructure team 2022-09-24 20:37:39 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1973