Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 16593 invoked from network); 15 Nov 2004 15:56:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Nov 2004 15:56:52 -0000 Received: (qmail 2650 invoked by uid 500); 15 Nov 2004 15:56:49 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 2625 invoked by uid 500); 15 Nov 2004 15:56:49 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 2591 invoked by uid 99); 15 Nov 2004 15:56:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of sebbaz@gmail.com designates 216.239.56.251 as permitted sender) Received: from [216.239.56.251] (HELO mproxy.gmail.com) (216.239.56.251) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 07:56:43 -0800 Received: by mproxy.gmail.com with SMTP id q44so212052cwc for ; Mon, 15 Nov 2004 07:56:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=t2LxulPawEHu00sW9X/cp4NVitqlmii3+GTrnhggDiCEEW7fmeSNmcxEahQJn6IGwxYp9sBQceJGy1BimGsZig9yJn03aH29maadNCOnp2mt1ToXDPIBYbHj9Xok8wcSFaQI8W02ggxSI5xUhhOFN8EuypfbPbIJ/DuRX+FmXCY= Received: by 10.11.99.61 with SMTP id w61mr440283cwb; Mon, 15 Nov 2004 07:56:40 -0800 (PST) Received: by 10.11.118.42 with HTTP; Mon, 15 Nov 2004 07:56:40 -0800 (PST) Message-ID: <25aac9fc04111507563e553a40@mail.gmail.com> Date: Mon, 15 Nov 2004 15:56:40 +0000 From: sebb Reply-To: sebb To: JMeter Users List Subject: Re: User Parameters not evaluated in the firs request In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dunno without looking at the code, but it looks like the UDV is being evaluated before the test has fully started. Try using the Pre-Processor User Parameters instead. S. On Mon, 15 Nov 2004 16:41:41 +0100, Coret Bob wro= te: >=20 > I=B4ve got the User Defined Variable "rn1" in my Thread Group defined as = "${__Random(0,3,rn1)}". I use this variable in the HTTP Request. The Thread= Group has a loop count of 6. When I look at the View Results Tree I see "$= {__Random(0,3,rn1)}" in the first request, in the following requests I see = the desired effect (a random number). I see the same effect when I user "rn= 2", which is defined as "${__javaScript(Math.floor(Math.random()*4),rn2)}". >=20 > > Test Plan > > Thread Group > > User Defined Variables > > HTTP Request > > View Results Tree >=20 > I don't see errors in the log... > I'm using JMeter 2.0.1 on Windows XP with JRE 1.4.2_06. >=20 > Any ideas what's causing the non-evaluation in the first request? >=20 > Regards, > Bob >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org