Bug 53759

Summary: ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListener)
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Sebb 2012-08-21 21:27:14 UTC
ClientJMeterEngine traverses the test tree using SearchByClass(TestListener).

The SearchByClass traverser does not alter the tree in any way; it only populates some internal Collections that can be queried later.

Hower, the code does not access the SearchByClass instance again, so there is no point in using it.

[Note: the other traversers do modify the test tree]
Comment 1 Philippe Mouawad 2012-08-21 22:56:53 UTC
Author: sebb
Date: Tue Aug 21 21:31:16 2012
New Revision: 1375802

URL: http://svn.apache.org/viewvc?rev=1375802&view=rev
Log:
ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListener)
[it appears this has always been the case]
Bugzilla Id: 53759

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:37:51 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2897