When adding Test Action
<http://jmeter.apache.org/usermanual/component_reference.html#Test_Action> with
Stop/Stop Now action
You have Target options: All Threads/Current Thread
When choosing Current Thread in a multiple threads environment it stops and
don't continue further this Sampler
The problem is that when choosing *All Threads* Some threads execute other
sampler after than Test Action
It's very confusing, because I expect All Threads option to be more strict
than just Current Thread
In code I saw that in Current Threads it also stop current threads
context.getThread().stop();and in All Threads option it doesn't.
Is it a bug or a feature (adding grace period of stopping)?
For example Test Plan:
- Thread Group (5 Threads)
- Sampler1
- Test Action Target: All Threads, Action Stop/Stop Now
- Sampler2
Sampler 2 is execute only when Target: All Threads and not when Target:
Current Thread
Note: Also choosing Action Go to next loop iteration (Target field is
disabled) prevent Sampler2 to be executed