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().
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4291