Bug 42833

Summary: Argument class to use LinkedHashMap to preserve ordering
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   

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