Bug 57910

Summary: CSV DataSet thread and thread group sharing might not work due to identityHashCode
Product: JMeter - Now in Github Reporter: Vladimir Sitnikov <sitnikov.vladimir>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Vladimir Sitnikov 2015-05-09 10:13:50 UTC
CSVDataSet uses identityHashCode to make "unique" id for thread group and thread: https://github.com/apache/jmeter/blob/aa210850885837e7f9f58c49e0a5f503a7eb4cca/src/components/org/apache/jmeter/config/CSVDataSet.java#L166-170

In fact it does not always work, since identityHashCodes could return duplicate values for different objects.

Even codes for thread group and thread could be the same.

Something more unique should be used to implement "share mode".
Comment 1 The ASF infrastructure team 2022-09-24 20:37:59 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3589