Summary: | JMeter fails to iterate over Controllers that are children of a TransactionController having "Generate parent sample" checked after an assertion error occurs on a Thread Group with "Start Next Thread Loop" | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | benoit.wiart |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kpl1888, onlinehenk, p.mouawad |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 2.13 | ||
Target Milestone: | --- | ||
Hardware: | SGI | ||
OS: | SunOS | ||
Attachments: |
BROKEN PATCH
Test Plan showing issue |
Description
benoit.wiart
2016-02-25 13:40:27 UTC
Reduced test case Thread Group (1 thread, loop count=2, on error start next loop) Transaction controller 1 (Generate parent sample = true) Simple controller Http sampler 1 Http sampler 2 Http sampler 3 Http sampler 4 Http sampler 5 Http sampler 6 Created attachment 33593 [details] BROKEN PATCH Broken patch (do not apply) as it doesn't mix well with bug 56811. You can use it as a basis for the real correction. The pb is that in JMeterThread#triggerEndOfLoopOnParentControllers the Sampler used is not always the "real" one, but it can be a TransactionSampler, if there is some Simplecontroller between this TransactionSampler and the http sampler, triggerEndOfLoop will not be called for those controllers. the idea behind the patch is to always do the tree traversal from the real sampler. PR https://github.com/apache/jmeter/pull/141 Please review carefully as it may break the world... Author: pmouawad Date: Fri Feb 26 16:38:10 2016 New Revision: 1732514 URL: http://svn.apache.org/viewvc?rev=1732514&view=rev Log: Bug 59067 - JMeter fails to iterate over Controllers that are children of a TransactionController having "Generate parent sample" checked after an assertion error occurs on a Thread Group with "Start Next Thread Loop" Bugzilla Id: 59067 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java jmeter/trunk/xdocs/changes.xml Created attachment 33599 [details]
Test Plan showing issue
*** Bug 58983 has been marked as a duplicate of this bug. *** This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3855 |