You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/10/13 18:03:02 UTC

[Bug 55652] JavaSampler silently resets classname if class can not be found

https://issues.apache.org/bugzilla/show_bug.cgi?id=55652

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
I think the problem happens in JavaConfigGui:

223     public void configure(TestElement config) {
224         super.configure(config);
225
226         argsPanel.configure((Arguments)
config.getProperty(JavaSampler.ARGUMENTS).getObjectValue());
227
228        
classnameCombo.setSelectedItem(config.getPropertyAsString(JavaSampler.CLASSNAME));
229     }

Since the combo box is not editable, the setSelectedItem() call for a claqss
name that wasn't found during load will not change the selected value which by
default simply is the first enty in the values list of the combo box.

-- 
You are receiving this mail because:
You are the assignee for the bug.