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 2012/08/07 16:06:43 UTC

[Bug 53671] New: tearDown thread group to run even if shutdown test happens

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

          Priority: P2
            Bug ID: 53671
          Assignee: issues@jmeter.apache.org
           Summary: tearDown thread group to run even if shutdown test
                    happens
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: shmulikk@gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Main
           Product: JMeter

One problem I just encountered is that the tearDown thread group wouldn't run
if for some reason I chose to "shutdown" the test before time.
This causing the cleanup steps, in the tearDown thread group, not to run, thus
breaking my datasets for the next run.

I would expect to have an option so tearDown will happen even when I shutdown
the test (in contrast to stoptest which I expect to force a test stop).

Best,
Shmuel.

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

[Bug 53671] tearDown thread group to run even if shutdown test happens

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

--- Comment #2 from shmulikk@gmail.com ---
Resolving the option when a test starts is definitely good solution.
This is the same behavior as other components which are being resolved on test
start.

I wouldn't expect this to be dynamically changed or supported.

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

[Bug 53671] tearDown thread group to run even if shutdown test happens

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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

[Bug 53671] tearDown thread group to run even if shutdown test happens

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Sebb <se...@apache.org> ---
At what point would the option need to be resolved?

e.g. if it is a JMeter property or GUI checkbox it would be resolved before
starting the test (a property could potentially be updated later, but that's
not trivial to do).

Would that be sufficient? 
I.e. does one always know beforehand that the tearDown groups need to be run?

A dynamic option would probably require more work to implement.

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

[Bug 53671] tearDown thread group to run even if shutdown test happens

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

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

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

--- Comment #3 from Sebb <se...@apache.org> ---
Implemented as additional checkbox on Test Plan GUI

URL: http://svn.apache.org/viewvc?rev=1378929&view=rev
Log:
Run tearDown Thread Groups after shutdown of main threads
Bugzilla Id: 53671

Modified:
    jmeter/trunk/docs/images/screenshots/testplan.png
    jmeter/trunk/src/core/org/apache/jmeter/control/gui/TestPlanGui.java
    jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/images/screenshots/testplan.png
    jmeter/trunk/xdocs/usermanual/component_reference.xml

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