As JDBC Elements use a JMeter Context variable to get the DataSourceElement. It can happen that Test Plan contains a User Defined Variable or other dynamic variable set through Beanshell or other script Elements with the same name. This will result in a ClassCastException which is not clear, hard to understand and to track.
Date: Sat Sep 8 13:40:48 2012 New Revision: 1382301 URL: http://svn.apache.org/viewvc?rev=1382301&view=rev Log: Bug 53844 - JDBC related elements should check class of Variable Name supposed to contain JDBC Connection Configuration to avoid ClassCastException Bugzilla Id: 53844 Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2919