download the source code and check how the JDBCSampler does it.
DataSourceElement.getConnection("datasourcename");
(Not sure whether it will work)
Why cant you use the JDBC sampler directly?
regards
deepak
On Thu, Feb 18, 2010 at 10:59 PM, Peter <[email protected]> wrote:
> Hi!
>
> In my testplan I am using the JDBC Connection Configuration Element. In a
> BeanShell Post-Processor I am doing database-checks using a
> beanshell-script.
> How can I access in the script the JDBC Connection Configuration element
> from the testplan so that I do not have to manage the JDBC-config on
> multiple locations.
>
> Thanks for any advice
> Peter
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>