problem as reproed by me: If I open with 2.3RC3 a test plan that was saved with the "Log errors only" option, then disable the option and run the tests, I still don't see successful results in View Results Tree. this is on linux (Kubuntu) with Sun jdk 1.5.0_10 ============================================================ comment from Sebb with a workaround: Just tried it, and yes, I can see the same. It seems that the change of setting does not take properly. Selecting a different element and coming back may fix it.
It's a bit odd - changes seem to depend on whether you run the JMX first. Load a JMX with "errors only" selected, deselect it, run the plan: this works OK. However, load JMX, run it, then change the setting - and the next run does not pick up the change. Changing the selected GUI element seems to reset whatever problem the run command causes. This bug is probably related to the major change introduced to fix the clear() method ambiguities, but it's not yet obvious what the fault is.
In fact the bug is due to the change in GuiPackage.java introduced to fix bug 30210 and bug 39427 - it is not related to the clear() changes.
(In reply to comment #2) > In fact the bug is due to the change in GuiPackage.java introduced to fix bug > 30210 That should be bug 30120 > and bug 39427 - it is not related to the clear() changes.
(In reply to comment #3) This is a general problem that can be reproduced as follows : Open a test plan, select any node in the tree. Run the test. Now any changes made to the node that was selected when you ran the test will be lost when you select another node in the test plan. In fact, if you perform any action, for example Edit->Help, you will see the same behavior.
Created attachment 20731 [details] Suggested patch This changes the ActionRouter, so that it call GuiPackage.updateCurrentGui instead of updateCurrentNode. If "updateCurrentNode" is called, then the "currentNodeUpdated" will "true" afterwards, which means any changes made to the node will not be moved from GUI to model. Calling "updateCurrentGui" will leave "currentNodeUpdated" at "false" afterwards, and therefore any changes made in the GUI will correctly be copied into the model.
Thanks - that seems to have fixed it. Bugs 30120 and 39427 still remain fixed.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1992