Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 29870 invoked from network); 20 Feb 2010 22:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2010 22:54:07 -0000 Received: (qmail 6681 invoked by uid 500); 20 Feb 2010 22:54:06 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 6625 invoked by uid 500); 20 Feb 2010 22:54:06 -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 6611 invoked by uid 99); 20 Feb 2010 22:54:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 22:54:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.226 as permitted sender) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 22:53:56 +0000 Received: by fxm26 with SMTP id 26so1542752fxm.13 for ; Sat, 20 Feb 2010 14:53:36 -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 :content-transfer-encoding; bh=Ob3YomR1rl8kdNS8iDVJ+cz7tlfbx3k5Ny3Bvxsl30o=; b=lO3nMaYheU6717nkchVbZ/7vGRYJYcyrBgMZOsGePuECWIX+yFZd/RrH9GYs6Oxn75 vCdDFes8aXxe6wu6et0rU5YxIj2On2aB2KyPjXyLPytUQrQh5SI+utgX6cQTnQ//nUih LfNdBvaPcpKM8nHEMxA2xXnFJjL5xunN6kCw8= 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:content-transfer-encoding; b=lLkzr7SaMzaJLuykSDncKGdNAcSUgvpoYA/OBGupPlJUIwWt5Q4EAc79pAB5yNrjhQ yEYDRIrVM8pMKRq/4LqaBZVvw1zkjnksp88Ts7Ghw+pMTpJz9adlls3baDPJDif38izN y9w2g+RBgaJ4E6nsRxqr8Rt5lZAhy6lKF7Xm0= MIME-Version: 1.0 Received: by 10.239.185.20 with SMTP id a20mr1431732hbh.109.1266706416145; Sat, 20 Feb 2010 14:53:36 -0800 (PST) In-Reply-To: <27671152.post@talk.nabble.com> References: <27655448.post@talk.nabble.com> <029e01cab17e$b3ae4a20$1b0ade60$@ru> <27656933.post@talk.nabble.com> <25aac9fc1002200832m6e3df844r226bfd0cb56b3774@mail.gmail.com> <27671152.post@talk.nabble.com> Date: Sat, 20 Feb 2010 22:53:36 +0000 Message-ID: <25aac9fc1002201453h44bdb859lec9e03e9f0fd67e0@mail.gmail.com> Subject: Re: Copy files before executing sampler From: sebb To: JMeter Users List Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org No, I meant running a script in a suitable OS script language. However, if you are using Maven to run JMeter, then I would use Maven to run the script. Of course you *can* do this all in JMeter - you could even use JMeter to run Maven - but it's likely to be more more work and harder to maintain. On 20/02/2010, kukukuku wrote: > > You mean making a pre-processor bsh script for example? I'm running jmet= er > through the jmeter plugin while building my project so i use the gui to > build the testplan copy then the jmx file to the appropriate folder so t= he > maven jmeter plugin picks it up and executes it. > > > > sebb-2-2 wrote: > > > > On 19/02/2010, kukukuku wrote: > >> > >> I want to test an application for performance/stress. The applicatio= n > >> depends > >> on several files like database files, configuration files and so on = to > >> run > >> correctly. I want to be able to switch these files from test to test= to > >> simulate diffrent enviroments. In the best case this could be done > >> before > >> executing the test itself. > >> > > > > Seems to me that this setup would be a lot easier to do outside > > JMeter, e.g. use a shell script to do the set up, and then have it run > > JMeter in non-GUI mode. > > > >> > >> Andrey Pohilko-2 wrote: > >> > > >> > Deleting files sounds like functional testing. JMeter is a load > >> testing > >> > tool. > >> > > >> > Seems you design your test wrong... > >> > > >> > > >> > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > >> > =E1=CE=C4=D2=C5=CA =F0=CF=C8=C9=CC=D8=CB=CF > >> > > >> > -----Original Message----- > >> > From: kukukuku [mailto:kukukuku@trash-mail.com] > >> > Sent: Friday, February 19, 2010 7:12 PM > >> > To: jmeter-user@jakarta.apache.org > >> > Subject: Copy files before executing sampler > >> > > >> > > >> > hi, > >> > > >> > if i want to copy any files in a specific folder or delete any fil= es > >> > 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 exam= ples > >> but > >> > i > >> > could not find anything usefull. The closest thing i found was usi= ng > >> > 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 > >> > -- > >> > View this message in context: > >> > > >> http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p= 2765544 > >> > 8.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.o= rg > >> > > >> > > >> > > >> > ------------------------------------------------------------------= --- > >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.o= rg > >> > > >> > > >> > > >> > >> -- > >> > >> View this message in context: > >> http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p= 27656933.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 > >> > >> > > > > --------------------------------------------------------------------- > > 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-exe= cuting-sampler-tp27655448p27671152.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org