Steps to reproduce behavior: - Add "JDBC Connection Configuration" to test plan - change value of "Validation Query" to something like 'select 1 from dual' - select "File / Save Test Plan as" from menu - When the File dialog opens up, the Field value of "Validation Query" is reset. Expected behavior: - the Field value of "Validation Query" should keep it's assigned value when storing the Test Plan.
I think the text field may not be connected with a listener, so the text is not propagated to the TreeModel. Anyway, I have no idea where the plumbing is and how to fix it. Any help is appreciated.
Does this happen, when you move the focus out of the field before you open the save dialog, too? I can reproduce it, but only if the focus is still on the query field when opening the save dialog.
No, You're right. When I move focus, the Field is stored correctly. So this is just a minor issue.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4788