Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 20890 invoked from network); 12 Feb 2010 13:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 13:55:06 -0000 Received: (qmail 65398 invoked by uid 500); 12 Feb 2010 13:55:05 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 65357 invoked by uid 500); 12 Feb 2010 13:55:05 -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 65347 invoked by uid 99); 12 Feb 2010 13:55:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 13:55:05 +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 (athena.apache.org: domain of trond.andersen@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 13:54:58 +0000 Received: by fxm28 with SMTP id 28so535233fxm.14 for ; Fri, 12 Feb 2010 05:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=pH217b8mKAeVzAlV9ZywrRTWL+RmARB9N/mTNJHmCB0=; b=ckZzTvNgWmgRiUeUT6f1Sjm7FMZzMBA5LUXbejHIPGGVEaKevudGaxyQlqazD5KIG+ t/ouNvtY0QPx/vlIKXCjR7GQuzpE5R2NQHvGihKKpEVGH0SOQ3wpWvPMv5nnny6tSA/x PUaci8AZIFc+cjGgf+RBkFToUMRxqjLJE8OKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=t/UsiLYDWyI4H7NSLz6RXH7bIhvY+vAKR/jjXTFZmbZ/Al2eZWRBxSSc+4kO4nNNCa enoDO2DGZk0vd684UE60mtiAfwdbz84YqyA815jfwmaYpMG+ZvbQstdBcj+6Plurwy8K cmtkx5owLpwHqtcfDScUPGptr4s5PSHLOtDGs= MIME-Version: 1.0 Received: by 10.223.144.67 with SMTP id y3mr542532fau.11.1265982876749; Fri, 12 Feb 2010 05:54:36 -0800 (PST) Date: Fri, 12 Feb 2010 14:54:36 +0100 Message-ID: <9356cb301002120554s184d6652ifb0abad49a7992cf@mail.gmail.com> Subject: BSF Sampler and script file location From: Trond Andersen To: jmeter-user@jakarta.apache.org Content-Type: multipart/alternative; boundary=0023545bf548a912cd047f679ba5 --0023545bf548a912cd047f679ba5 Content-Type: text/plain; charset=ISO-8859-1 I have a JMeter project which includes some Groovy scripts which are invoked using the BSF Sampler. My main issue is that my test plan file is located in a totally different directory than the JMeter installation since I would like to version control the TestPlan files. Also I would like to have my Groovy script in the same directoy as the test plan since I would like to version control them also. Trying to add a BSF Sampler to run my script fails unless the script file is located in the %JMETER_HOME%\bin directory. This doesn't suite my needs since I don't like to include the JMeter installation in my version control system. Is there any way to configure the BSF Sampler to look for scripts relative to the test plan location or should I approach this another way. Regards, Trond Andersen --0023545bf548a912cd047f679ba5--