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 2013/09/19 13:24:18 UTC

[Bug 55569] New: ForEach Controller not iterating over Regular Extractor Results in headless mode

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

            Bug ID: 55569
           Summary: ForEach Controller not iterating over Regular
                    Extractor Results in headless mode
           Product: JMeter
           Version: 2.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: tim@flood.io

Created attachment 30859
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30859&action=edit
testplan.jmx

When using a Regular Extractor Result set (match_number -1) we are able to
parse those results via a ForEach controller as per the attached test plan.

This test plan will get the first link and successfully iterate over the
extracted links when replayed in GUI mode.

When running the same test plan in headless mode (jmeter -n -t testplan.jmx -j
jmeter.log -l jmeter.jtl), only the first link is visited. No subsequent links
are extracted, nor logged in the report jtl file.

This affects Version 2.9 r1437961

We appear to get correct behaviour on Version 2.8 r1393162

Hope that helps / highlights an issue.

Regards,
Tim

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

[Bug 55569] ForEach Controller not iterating over Regular Extractor Results in headless mode

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

--- Comment #3 from Tim Koopmans <ti...@flood.io> ---
Created attachment 30861
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30861&action=edit
gui log DEBUG

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

[Bug 55569] ForEach Controller not iterating over Regular Extractor Results in headless mode

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

--- Comment #4 from Tim Koopmans <ti...@flood.io> ---
Thanks for quick response.

I may have found issues with the test plan, will post back shortly ..

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

[Bug 55569] ForEach Controller not iterating over Regular Extractor Results in headless mode

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Did you test with nightly build ?

Could you give code for the page that was tested ?
Could you put jmeter in DEBUG mode and attach jmeter.log for the run ?
Also could you add a SimpleDataWriter and attach output log file ?

Thanks

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

[Bug 55569] ForEach Controller not iterating over Regular Extractor Results in headless mode

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

--- Comment #2 from Tim Koopmans <ti...@flood.io> ---
Created attachment 30860
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30860&action=edit
headless log DEBUG

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

[Bug 55569] ForEach Controller not iterating over Regular Extractor Results in headless mode

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

Tim Koopmans <ti...@flood.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Tim Koopmans <ti...@flood.io> ---
Apologies for taking your time.

The issue ended up being my test plan ForeachController had 2 x blank string
properties:

          <stringProp name="ForeachController.endIndex"></stringProp>
          <stringProp name="ForeachController.startIndex"></stringProp>

Which in GUI mode appeared to work correctly, but in headless mode the
controller would not iterate at all.

I've generated a new test plan from the JMeter GUI and will update the
ruby-jmeter DSL to match.

Thanks again.

Tim

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