Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 62851 invoked from network); 19 Feb 2010 07:17:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 07:17:40 -0000 Received: (qmail 83046 invoked by uid 500); 19 Feb 2010 07:17:39 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 82981 invoked by uid 500); 19 Feb 2010 07:17:39 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 82971 invoked by uid 99); 19 Feb 2010 07:17:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 07:17:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-px0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 07:17:30 +0000 Received: by pxi10 with SMTP id 10so2451747pxi.13 for ; Thu, 18 Feb 2010 23:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/TiXGgybrIxs4K2yPPUGESgz+x636sI125FpvMabpHI=; b=dDhY6BI4Orx+sXxEQXw7kQ+hQPsJpxef0SwmdXQQP3iNNVLYMWPwituJ/OaVGYu2u/ m+Yb7x/ArhmwwwyYdP3mBg0Zyxd4RKA1AwaiuM2fIWdVASgnwFt9PtR1KcHcwHwUfRvJ Y9tOGMJhtno8Z7i2CqldGUdD06TanMwrUzxlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Cx0iaH2X/bHk43faoO11lURRgdsUV6BLE41cIiasVXlrYB911QnjGIgtQ8aFXGj/lo Kf0lXoJjqWUFHZ3m2eeQ9jUi3jQWya39JWSuUh1lAufL8Pa1yZ+Bfwfz/UTwz2G+9CBY LaVbrzwsQvGr4oadHYmI6lBVqYmJzA7Nzv3b8= MIME-Version: 1.0 Received: by 10.141.88.9 with SMTP id q9mr4989231rvl.1.1266563829549; Thu, 18 Feb 2010 23:17:09 -0800 (PST) In-Reply-To: References: Date: Thu, 18 Feb 2010 23:17:09 -0800 Message-ID: <4483c26c1002182317u6607f829l8c0d428043e989be@mail.gmail.com> Subject: Re: Accessing JDBC Connection Configuration in BeanShell Post-Processor From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd138f4254c6c047feedf72 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd138f4254c6c047feedf72 Content-Type: text/plain; charset=ISO-8859-1 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 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: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --000e0cd138f4254c6c047feedf72--