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 2014/01/20 17:29:42 UTC

[Bug 56036] New: Execution of Loop Controller node could be skipped in case its Loop Count is defined with use of variable from User Parameters node and there is no preceding sampler

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

            Bug ID: 56036
           Summary: Execution of Loop Controller node could be skipped in
                    case its Loop Count is defined with use of variable
                    from User Parameters node and there is no preceding
                    sampler
           Product: JMeter
           Version: 2.11
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: andrey.smirnoff@mail.ru

Created attachment 31234
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31234&action=edit
Loop Controller execution gets skipped

Execution of Loop Controller node is being skipped while Loop Count is defined
with the use of a variable from User Parameters node providing there is no
another sampler (e.g. HTTP Request) in the parent node available.

If in Loop Controller's parent node another sampler gets added (e.g. HTTP
Request of Debug Sampler), execution of Loop Controller would not be skipped.

Please see attached screenshots.

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

[Bug 56036] Execution of Loop Controller node could be skipped in case its Loop Count is defined with use of variable from User Parameters node and there is no preceding sampler

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

--- Comment #1 from Andrey Smirnoff <an...@mail.ru> ---
Created attachment 31235
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31235&action=edit
However Loop Controller execution is not skipped if there is preceding sampler

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

[Bug 56036] Execution of Loop Controller node could be skipped in case its Loop Count is defined with use of variable from User Parameters node and there is no preceding sampler

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |WORKSFORME
                 OS|                            |All

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
this is not a bug.
User Parameters is a Pre-Processor which means it is executed before a Sampler.
So when Debug Sampler is not here or disabled, no Sampler is executed, User
Parameters is not executed and thus v_How_Many is not defined, which leads to
loop count being set to 0.

Why not use User Defined Variables ?

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

[Bug 56036] Execution of Loop Controller node could be skipped in case its Loop Count is defined with use of variable from User Parameters node and there is no preceding sampler

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

--- Comment #2 from Andrey Smirnoff <an...@mail.ru> ---
Created attachment 31236
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31236&action=edit
Test file

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