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 2017/02/21 16:20:09 UTC

[Bug 60758] New: HTTP(s) Test Script Recorder : Number request may generate duplicate numbers

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

            Bug ID: 60758
           Summary: HTTP(s) Test Script Recorder : Number request may
                    generate duplicate numbers
           Product: JMeter
           Version: 2.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com
  Target Milestone: ---

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().

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

[Bug 60758] HTTP(s) Test Script Recorder : Number request may generate duplicate numbers

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60758

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
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

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