In the View Results Tree visualizer, if you select a request and have the tab "Sampler Result" open, and click on Run, Clear, the tab's content is not cleared.
For exmaple, stats.setText("") should be added to SamplerResultTab.clearData()...
Thanks for your report and suggestion. Fixed. Bug 50367 - Clear / Clear all in View results tree does not clear selected element Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXML.java jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2432