jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61698] New: Test Action: It stop is selected, samplers following Test Action can run
Date Mon, 30 Oct 2017 21:32:12 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61698

            Bug ID: 61698
           Summary: Test Action: It stop is selected, samplers following
                    Test Action can run
           Product: JMeter
           Version: 3.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Report on user mailing list:
--------------------------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message