apache / apache/jmeter

Failing Transaction Controller not reported in View Results Tree if it's inside an IfController with "Evaluate for all children" checked

Open
#5,358 3 comments 0 reactions 0 assignees View on GitHub
need info os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**karthik** ([Bug 64589](https://bz.apache.org/bugzilla//show_bug.cgi?id=64589&redirect=false)):
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://github.com/apache/jmeter/issues/3599

Could you please look into it.

Thanks & Regards,
Karthik S

Created attachment [Transaction Controller Issue.jmx](https://apache.github.io/jmeter-bugzilla-attachments/89/64589/37357/Transaction%20Controller%20Issue.jmx): Transaction Controller Issue Script sample

Severity: normal
OS: All

Duplicates:
* https://github.com/apache/jmeter/issues/5293

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.