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 2017/02/02 20:23:58 UTC

[Bug 60684] New: Thread Group: Validate ended prematurely by Scheduler

https://bz.apache.org/bugzilla/show_bug.cgi?id=60684

            Bug ID: 60684
           Summary: Thread Group: Validate ended prematurely by Scheduler
           Product: JMeter
           Version: 3.0
          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: ---

Message on user mailing list:
http://mail-archives.apache.org/mod_mbox/jmeter-user/201701.mbox/%3CCABNKX49MpzUW6kMfD%2BQKiQtEbWC-Va_Gth7vWfcueZ8vQv_tWg%40mail.gmail.com%3E

Hi all,

I have a thread group that has about 10-12 consecutive samplers, and was
using the Validate option to debug through these. I noticed that not all
the samplers were being invoked, and in the jmeter.log I can see the
following line:

2017/01/30 13:41:54 INFO  - jmeter.threads.JMeterThread: Stopping because
end time detected by thread: Sports 1-1

Does this mean that the Validate feature is still subject to Scheduler
duration? Currently, I use the following:

Threads = ${__P(user.sports.usercount,0)}
Duration (Scheduler enabled) = ${__P(user.sports.duration)}

Both parameter options are not specified, i.e. they will take default
values of 0 and 1 respectively.

I suspect that since I haven't explicitly set a second default-value
parameter to __P() function for the Duration setting, it's setting it to 1
as per the __P() docs, but I was expecting Validate would ignore
duration/endtime setting as it does for Threads.

As an aside, I do have a patch ready for this, which is adding the line
                tg.setScheduler(false);
to TreeClonerForValidation.java

Thanks

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

[Bug 60684] Thread Group: Validate ended prematurely by Scheduler with 0 or very short duration

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Thread Group: Validate      |Thread Group: Validate
                   |ended prematurely by        |ended prematurely by
                   |Scheduler                   |Scheduler with 0 or very
                   |                            |short duration

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

[Bug 60684] Thread Group: Validate ended prematurely by Scheduler with 0 or very short duration

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |FIXED
           Keywords|                            |PatchAvailable
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Thu Feb  2 20:29:40 2017
New Revision: 1781467

URL: http://svn.apache.org/viewvc?rev=1781467&view=rev
Log:
Bug 60684 - Thread Group: Validate ended prematurely by Scheduler with 0 or
very short duration
Contributed by Andrew Burton
Bugzilla Id: 60684

Modified:
   
jmeter/trunk/src/core/org/apache/jmeter/gui/action/validation/TreeClonerForValidation.java
    jmeter/trunk/xdocs/changes.xml

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