Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 52458 invoked from network); 11 Dec 2008 14:37:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 14:37:34 -0000 Received: (qmail 49030 invoked by uid 500); 11 Dec 2008 14:37:44 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 49009 invoked by uid 500); 11 Dec 2008 14:37:44 -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 48991 invoked by uid 99); 11 Dec 2008 14:37:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 06:37:44 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 72.14.220.158 as permitted sender) Received: from [72.14.220.158] (HELO fg-out-1718.google.com) (72.14.220.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 14:37:23 +0000 Received: by fg-out-1718.google.com with SMTP id 22so468985fge.1 for ; Thu, 11 Dec 2008 06:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rdJ+afthekkEKU1q4D5+WZb7mWZBOgmzF308B9/ZhDM=; b=rfhACz30Fjc2qDZ3NYXNUEMiAJVJm0s4uJmwgwGq+LqfdVPYHGQgtBcrOJP5m9tvfz 5eGxZz3SIEWCWzv86WEwvP+Y2GW0Yb2gMu+JoIfjmgNB46FFiLvirvo4u/N3CRZ46M0d hMlrRIXQAeaya4tof9OppQtVH/Rdq2xk4awOo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hddXNe7/GzEVyY9nvdMsxaoUlHQadFNXRVaAPC+F0U1MqCCtseIVFAkvaS01vxoU11 DUOCU82mGTMaIwLmq0Enc4lxA/SXT9RQR0kMN+qpGM+leWg/061Pn0OEvZB54LU6pOq1 PvAFFUpxFDr7dpZpAT+zjwF55UNBT1qxOpRPs= Received: by 10.86.84.5 with SMTP id h5mr1287993fgb.49.1229006221940; Thu, 11 Dec 2008 06:37:01 -0800 (PST) Received: by 10.86.65.7 with HTTP; Thu, 11 Dec 2008 06:37:01 -0800 (PST) Message-ID: <25aac9fc0812110637r36a271ceu4e755abbd5f3f853@mail.gmail.com> Date: Thu, 11 Dec 2008 14:37:01 +0000 From: sebb To: "JMeter Users List" Subject: Re: passing Number of threads from command prompt In-Reply-To: <20952721.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20952721.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/12/11 Krishnakanth : > > If there are few thread groups in a Jmeter test plan and if we want to pass > the number of threads (users), > Ramp up time as parameters from command prompt in the below mentioned way. > Does this work? > > To specify 1 user per user group for 5 groups (total 5 users), ramp up in 1 > second, > and 25 loops each group iterates over the same operation set: > > ./bin/jmeter.lucene -t MyWebPerfScenario.jmx \\ > -Jgroup1.threads=1 -Jgroup1.loops=25 -Jgroup1.rampup=1 \\ > -Jgroup2.threads=1 -Jgroup2.loops=25 -Jgroup2.rampup=1 \\ > -Jgroup3.threads=1 -Jgroup3.loops=25 -Jgroup3.rampup=1 \\ > -Jgroup4.threads=1 -Jgroup4.loops=25 -Jgroup4.rampup=1 \\ > -Jgroup5.threads=1 -Jgroup5.loops=25 -Jgroup5.rampup=1 > I tried it, but its not taking the parameters. Do we have to make some > changes in the Jmeter.properties file to do so? > No, but you do need to refer to the properties in the appropriate thread group GUI fields. For example, in the Ramp-up field, use ${__P(group1.rampup)} etc. > -- > View this message in context: http://www.nabble.com/passing-Number-of-threads-from-command-prompt-tp20952721p20952721.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