In the View Results Tree visualizer, the automatic scrolling does not take into account the fact that nodes may have been expanded. It assumes only the children of the root are visible and thus does not properly scroll to the last node that was added. Testcase: - Create a test plan with a transaction controller and some samplers - Add the listener "View Results Tree" - Set the "Scroll automatically" check-box in the listener - Run as many test as are necessary to cause the automatic scrolling - While the tree is populated expand nodes to reveal the sampler results of the transaction nodes
Created attachment 27752 [details] Proposed patch for Revision 1171996 of ViewResultsFullVisualizer.java
Thanks for the patch. Rather difficult to review, because there are lots of irrelevant changes (e.g. spacing). Please could you provide a replacement patch that includes only the changes necessary to implement the fix? Thanks!
Created attachment 27753 [details] Proposed patch for Revision 1171996 of ViewResultsFullVisualizer.java
Sebb, PFA the revised patch
Thanks for the patch. Date: Mon Oct 10 20:13:50 2011 New Revision: 1181199 URL: http://svn.apache.org/viewvc?rev=1181199&view=rev Log: Bug 52003 - View Results Tree "Scroll automatically" does not scroll properly in case nodes are expanded Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2591