Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 70252 invoked from network); 12 Mar 2010 06:23:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 06:23:37 -0000 Received: (qmail 48749 invoked by uid 500); 12 Mar 2010 06:23:01 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 48610 invoked by uid 500); 12 Mar 2010 06:23:01 -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 48601 invoked by uid 99); 12 Mar 2010 06:23:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 06:23:00 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shettyd@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 06:22:55 +0000 Received: by pwj6 with SMTP id 6so392246pwj.31 for ; Thu, 11 Mar 2010 22:22:35 -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=Vla42T90rETB4t313q/theaX3UgTM2UA+KktCt2nX5o=; b=LaapZQoFpcc4+4/PyQzcDwOGx+US2M1liJ4c1wXWbqySHcUj+keTyfYgIxlBDzJTtC aWKmGLlk6NPDUXvlz0VeBF3PS/lliwcPm6fP5PQzFEks8ntm6uaRpT7LH+d8GlCxSbxh lzhDAUYZusnQPtAMVKALFZpzZzoLrTww37aug= 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=Jtp24F8KNktAFE3ANmy4hNpfuWWanPev2n8hX5jgohEjNcnDWpvZj4vDFrT2XjqNs8 YiTeop28Xlg6JbQ5k/Vavm4QhH4KSJYgRFLWO+KjS2KUfjFAPK9pUbkhEQNc1UHZeT6D JELiI5wM0W5sQH4p0Nk9j+t/VIyeWyvmne9pY= MIME-Version: 1.0 Received: by 10.141.100.21 with SMTP id c21mr2548739rvm.41.1268374955640; Thu, 11 Mar 2010 22:22:35 -0800 (PST) In-Reply-To: <414eee581003112031sde8ebban4460ae5d376229a8@mail.gmail.com> References: <700680061003031109y3b151e5fycd7259b0d903aad7@mail.gmail.com> <25aac9fc1003031754v1819bc39ne406d11abbd3986b@mail.gmail.com> <414eee581003062255m63adb81ai4d3a052183d6eda3@mail.gmail.com> <700680061003081915t4341238fx1180b6a98f6bbdca@mail.gmail.com> <414eee581003112031sde8ebban4460ae5d376229a8@mail.gmail.com> Date: Thu, 11 Mar 2010 22:22:34 -0800 Message-ID: <4483c26c1003112222s33773ccegf384a586a0627e8d@mail.gmail.com> Subject: Re: JMeter Ant Task - Ramp up property From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd13954ac47be0481948e59 --000e0cd13954ac47be0481948e59 Content-Type: text/plain; charset=ISO-8859-1 your build file isnt valid xml. You can open the file in IE or FF and see regards deepak On Thu, Mar 11, 2010 at 8:31 PM, Anamika aaa wrote: > thank you for the reply > i tried implementing the same but when i am running the ant build i am > getting premature end of file error. Please let me know if anyone has got > this error before > Thanks and Regards > > On Tue, Mar 9, 2010 at 8:45 AM, Rodolfo Landa >wrote: > > > This is the way I pass parameters from Ant to JMeter: > > > > a) I run Ant from the a batch file: > > > > >> runBat www.mysite.com 5 10 > > > > The batch file looks like: > > > > ant -f "C:\LoadTest\Run\run.xml" -Dhost= %1 -DnumberOfUsers= %2 -DrampUp= > > %3 > > > > > > b) The Ant task is an xml file that looks like this: > > > > > > > > > classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/> > > > jmeterhome="C:/jakarta-jmeter-2.3.4" > > > > > > > > > > > > > > c) In the user.properties file I added the delay property like this: > > > > loadtest.rampUp="" > > > > d) Finally I added the following to the JMeter plan where needed: > > > > ${__P(test.host)} > > ${__P(request.threads)} > > ${__P(loadtest.rampUp)} > > > > I hope this helps, > > > > Rodolfo > > > > > > On Sat, Mar 6, 2010 at 10:55 PM, Anamika aaa > wrote: > > > > > Hi > > > I am also trying to run the Jmeter using Ant build file but can u pls > > > tell me how to pass the number of threads and server name from outside > > .jmx > > > file ? > > > > > > Thanks in advance > > > > > > > > > > > > On Thu, Mar 4, 2010 at 7:24 AM, sebb wrote: > > > > > > > On 03/03/2010, Rodolfo Landa wrote: > > > > > All, > > > > > > > > > > I use JMeter Ant Task to run test plans. I pass the number of > > threads > > > > and > > > > > loops like this: > > > > > > > > > > > > > > > > > > > > > > > > > I cannot find how to pass the Ramp-Up period. Have someone done it > > > > before or > > > > > knows the name of this property? > > > > > > > > I don't know - the JMeter Ant task is not part of JMeter. > > > > > > > > However, you can just define the ramp-up using a property - > > > > ${__P(request.rampup)} - in the test plan and then pass in the > > > > property instead. > > > > > > > > > Thanks in advance. > > > > > > > > > > > > > > > Rodolfo > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > > > > > > --000e0cd13954ac47be0481948e59--