You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/05/09 12:13:50 UTC

[Bug 57910] New: CSV DataSet thread and thread group sharing might not work due to identityHashCode

https://bz.apache.org/bugzilla/show_bug.cgi?id=57910

            Bug ID: 57910
           Summary: CSV DataSet thread and thread group sharing might not
                    work due to identityHashCode
           Product: JMeter
           Version: 2.13
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: sitnikov.vladimir@gmail.com

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".

-- 
You are receiving this mail because:
You are the assignee for the bug.