Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 69366 invoked from network); 21 Feb 2010 13:07:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2010 13:07:48 -0000 Received: (qmail 69873 invoked by uid 500); 21 Feb 2010 13:07:47 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 69806 invoked by uid 500); 21 Feb 2010 13:07:47 -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 69796 invoked by uid 99); 21 Feb 2010 13:07:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 13:07:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 13:07:38 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NjBWo-0003eR-B7 for jmeter-user@jakarta.apache.org; Sun, 21 Feb 2010 05:07:18 -0800 Message-ID: <27675392.post@talk.nabble.com> Date: Sun, 21 Feb 2010 05:07:18 -0800 (PST) From: kukukuku To: jmeter-user@jakarta.apache.org Subject: Re: Copy files before executing sampler In-Reply-To: <637E1743-4742-4310-B506-887C5690B5E8@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kukukuku@trash-mail.com References: <27655448.post@talk.nabble.com> <637E1743-4742-4310-B506-887C5690B5E8@gmail.com> hi thx for your response. I wrote a script and put it into the jmeter folder, after that i added a beanshell preprocessor to my test plan and specified the filename of the script. In the log i got the error that the file could not been found. Peter-432 wrote: > > Hi! > > A beanshell preprocessor could solve your problem. What do you mean with > "could not get it to work"? Did you check JMeter log to identify the > problem? There could be 2 problems: > > - beanshell environment is not working > - your script has errors and cannot be executed. > > kind regards > Peter > > >> >> hi, >> >> if i want to copy any files in a specific folder or delete any files >> before >> i start with executing a sampler how would i do that? I'm new to jmeter >> so i >> apologize if this seems like an easy question. I searched for examples >> but i >> could not find anything usefull. The closest thing i found was using >> pre-processors for example bsh scripts. However i could not get it to >> work. >> Would be nice if someone could help me or direct me in the correct >> direction. >> >> thx kukudas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > -- View this message in context: http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p27675392.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org