Bug 64589 - Failing Transaction Controller not reported in View Results Tree if it's inside an IfController with "Evaluate for all children" checked
Summary: Failing Transaction Controller not reported in View Results Tree if it's insi...
Status: NEEDINFO
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.3
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 64354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-07-09 13:27 UTC by karthik
Modified: 2020-08-16 19:49 UTC (History)
2 users (show)



Attachments
Transaction Controller Issue Script sample (20.40 KB, application/xml)
2020-07-09 13:27 UTC, karthik
Details
Minimal test case to reproduce the described behaviour (6.23 KB, application/xml)
2020-08-16 19:45 UTC, Felix Schumacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karthik 2020-07-09 13:27:15 UTC
Created attachment 37357 [details]
Transaction Controller Issue Script sample

Hi Team,

"Transaction controller" in "Generate Parent Sample" mode placed under "If Controller" not being reported if there is failure in any of requests.

I have to logout if there is any failure in proposed actions during test, for that i have used 2 if controllers to implement the logic. I am able to implement Logout on error but the Failed transaction controller is not being reported in either of listeners. 

I have attached sample script to replicate issue, script has 3 transactions
1. Login
2. Action - I have dummy sampler returning 500 response code fails assertion
3. Logout - I part of main loop and error logic

Login and Logout are being reported but Action is not.

I have found a similar bug from earlier which as lot of similarities. https://bz.apache.org/bugzilla/show_bug.cgi?id=57958

Could you please look into it.

Thanks & Regards,
Karthik S
Comment 1 karthik 2020-07-12 12:09:00 UTC
HI Team, 

Any feedback on the issue.

Thanks
Comment 2 Philippe Mouawad 2020-07-26 11:59:01 UTC
*** Bug 64354 has been marked as a duplicate of this bug. ***
Comment 3 Felix Schumacher 2020-08-16 19:45:53 UTC
Created attachment 37394 [details]
Minimal test case to reproduce the described behaviour

The original test plan used third party plugins and did more things then necessary to reproduce the behaviour.
Comment 4 Felix Schumacher 2020-08-16 19:49:50 UTC
I think, the OP could un-check "Evaluate for all children" on the if controller. That would probably help the described use case.

(Even though, there still seems to be a bug or at least weird behaviour exposed by the combination of "evaluate for all children" on the if controller and "generate parent sampler" on the transaction controller")