Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 44602 invoked from network); 17 Aug 2005 20:07:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2005 20:07:55 -0000 Received: (qmail 93438 invoked by uid 500); 17 Aug 2005 20:07:52 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 93405 invoked by uid 500); 17 Aug 2005 20:07:52 -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 93377 invoked by uid 99); 17 Aug 2005 20:07:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 13:07:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.208.25.103] (HELO smtp1.phx.gblx.net) (64.208.25.103) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 13:08:10 -0700 Received: (from daemon@localhost) by smtp1.phx.gblx.net (8.11.2/8.11.2) id j7HK7ni16768 for ; Wed, 17 Aug 2005 13:07:49 -0700 (MST) Received: from UNKNOWN(209.130.177.141), claiming to be "[10.60.93.60]" via SMTP by smtp1, id smtpdAAAwAayVG; Wed Aug 17 13:07:48 2005 Subject: Re: Unexpected Behaviour with TestPlan-Level User Defined Variables From: Michael Stover Reply-To: mstover1@apache.org To: jmeter-user@jakarta.apache.org In-Reply-To: References: Content-Type: text/plain Organization: Apache Software Foundation Date: Wed, 17 Aug 2005 16:04:20 -0400 Message-Id: <1124309060.29720.40.camel@P78WVP51-udp504000uds.ams.gblxint.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0-1mdk Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Funny you should mention that as I've just reworked the TestPlan element so that functions can be used in it's user-defined variables section (they will be evaluated once - useful for, say ,the __P function). I'm wondering whether I dare risk committing it for the 2.1 release. The bug you mention regarding the config element is very interesting. Sounds like a neat feature actually :-) I'll take a look.. -Mike On Wed, 2005-08-17 at 19:37 +0000, Peter Bernier wrote: > Hello, > > I'm just trying to figure out whether or not this is a bug. > > When you have a User-Defined Variables Config Element at the Test-Plan > level (as opposed to on the Test Plan node itself), variables are > re-calculated with every request (as opposed to at the Thread Group or > below level where they're calculated once). > > This is different from the behaviour of this Config Element anywhere else > in a Test Plan. I'm just wondering whether this is expected behaviour, > or not? > > Specifically what's got me is that in the Component Reference (Sec > 15.4.14) It says "The User Defined Variables lets you define variables > for use in other test elements, just as in the Test Plan.", but this > isn't quite accurate since you can use functions (ie, __Random) on the > UDV Config Element whereas you can't on the Test Plan's UDV. > > The reason I bring this up is that I've recently switched to storing > TestPlan-wide variables in a UDV Config Element at the Test-Plan level > as opposed to on the Test Plan node itself. (due to Bug 35872) > > - Peter Bernier > > --------------------------------------------------------------------- > 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