You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/05/04 22:38:43 UTC

DO NOT REPLY [Bug 47150] New: ThreadGroup with a loop count of zero causes infinite loop

https://issues.apache.org/bugzilla/show_bug.cgi?id=47150

           Summary: ThreadGroup with a loop count of zero causes infinite
                    loop
           Product: JMeter
           Version: 2.3.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: kagbusiness@yahoo.com


Entering a loop count of zero for a ThreadGroup causes an infinite loop
(without actually running any of that ThreadGroup's children).

Steps to reproduce: Run the attached test plan in JMeter

Actual results: JMeter goes into an infinite loop trying to run the ThreadGroup
but not actually running any of that ThreadGroup's children.

Expected results: The behavior I would expect, and that the documentation seems
to imply, is for the ThreadGroup to not be run at all (i.e. threads running
that ThreadGroup would terminate almost immediately).

This bug doesn't occur in 2.2 but does in 2.3.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47150] ThreadGroup with a loop count of zero causes infinite loop

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





--- Comment #1 from Gregg <ka...@yahoo.com>  2009-05-04 13:39:33 PST ---
Created an attachment (id=23607)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23607)
test plan demonstrating bug

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47150] ThreadGroup with a loop count of zero causes infinite loop

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





--- Comment #2 from Gregg <ka...@yahoo.com>  2009-05-04 13:47:05 PST ---
Created an attachment (id=23608)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23608)
Proposed patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47150] ThreadGroup with a loop count of zero causes infinite loop

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


Sebb <se...@apache.org> changed:

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




--- Comment #3 from Sebb <se...@apache.org>  2009-05-05 07:51:15 PST ---
Thanks very much for the report and the patch.

Applied to SVN in:

URL: http://svn.apache.org/viewvc?rev=771755&view=rev
Log:
Bug 47150 - ThreadGroup with a loop count of zero causes infinite loop

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org