ASF Bugzilla – Attachment 25033 Details for
Bug 48786
Run Thread groups consecutively: with "Stop test now" on error or manual stop, JMeter leaves the green box active
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposal patch
proposal_patch_stop_test_now.patch (text/plain), 1.33 KB, created by
Milamber
on 2010-02-21 08:42:26 UTC
(
hide
)
Description:
Proposal patch
Filename:
MIME Type:
Creator:
Milamber
Created:
2010-02-21 08:42:26 UTC
Size:
1.33 KB
patch
obsolete
>Index: src/core/org/apache/jmeter/engine/StandardJMeterEngine.java >=================================================================== >--- src/core/org/apache/jmeter/engine/StandardJMeterEngine.java (revision 911192) >+++ src/core/org/apache/jmeter/engine/StandardJMeterEngine.java (working copy) >@@ -352,12 +352,12 @@ > public void run() { > running = false; > engine = null; >+ boolean stopped = false; > if (now) { > tellThreadsToStop(); > pause(10 * allThreads.size()); >- boolean stopped = verifyThreadsStopped(); >+ stopped = verifyThreadsStopped(); > if (!stopped) { >- notifyTestListenersOfEnd(testListenersSave); > if (JMeter.isNonGUI()) { > exit(); > } else { >@@ -369,9 +369,10 @@ > } // else will be done by threadFinished() > } else { > stopAllThreads(); >- if (serialized) { >- notifyTestListenersOfEnd(testListenersSave); >- } >+ } >+ // for TGs which run consecutively or when thread don't stop >+ if (serialized || !stopped) { >+ notifyTestListenersOfEnd(testListenersSave); > } > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48786
:
25032
| 25033