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 2020/04/15 17:15:20 UTC

[Bug 64354] New: Transaction Controller in "Generate Parent Sample" mode : Failed assertions do not show in 'View Results Tree' when inside check for JMeterThread.last_sample_ok

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

            Bug ID: 64354
           Summary: Transaction Controller in "Generate Parent Sample"
                    mode : Failed assertions do not show in 'View Results
                    Tree' when inside check for
                    JMeterThread.last_sample_ok
           Product: JMeter
           Version: 5.2.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: lionel.najman@c-s.fr
                CC: imikla@gmail.com, issues@jmeter.apache.org,
                    p.mouawad@ubik-ingenierie.com
        Depends on: 57958
  Target Milestone: JMETER_5.3.0

+++ This bug was initially created as a clone of Bug #57958 +++

In a test plan, there is a need to fire the logout step if login was successful
no matter which intermediate step fails.

In the test plan, the value of JMeterThread.last_sample_ok was used in an
if-controller with 'Evaluate for all children' turned on so that any failing
step inside the if-controller will skip the remaining steps.

This technique works, however, when assertions fail inside this if-controller,
they are not reported in the 'View Results Tree' as errors if 'Generate Parent
Sample' is enabled.

I've exactly the same bug as #57958 with jmeter 5.1.1 and 5.2.1

I think this is a regression.

Can you confirm this?


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=57958
[Bug 57958] Transaction Controller in "Generate Parent Sample" mode : Failed
assertions do not show in 'View Results Tree' when inside check for
JMeterThread.last_sample_ok
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

[Bug 64354] Transaction Controller in "Generate Parent Sample" mode : Failed assertions do not show in 'View Results Tree' when inside check for JMeterThread.last_sample_ok

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---


*** This bug has been marked as a duplicate of bug 64589 ***

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