Bug 60758

Summary: HTTP(s) Test Script Recorder : Number request may generate duplicate numbers
Product: JMeter Reporter: UbikLoadPack support <support>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 2.9   
Target Milestone: ---   
Hardware: All   
OS: All   

Description UbikLoadPack support 2017-02-21 16:20:09 UTC
Under certain conditions and looking at code :
- https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.java#L97

- https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java#L279

If 2 threads enter at the same time computeSamplerName, you can end up using twice the result of getRequestNumber().
Comment 1 UbikLoadPack support 2017-02-21 19:44:37 UTC
Author: pmouawad
Date: Tue Feb 21 19:44:19 2017
New Revision: 1783920

URL: http://svn.apache.org/viewvc?rev=1783920&view=rev
Log:
Bug 60758 - HTTP(s) Test Script Recorder : Number request may generate duplicate numbers
Bugzilla Id: 60758

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
    jmeter/trunk/xdocs/changes.xml