jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Coleman" <john.cole...@eurobase.com>
Subject RE: Frequency controller
Date Tue, 13 Jan 2009 14:15:23 GMT
 

> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com] 
> Sent: 13 January 2009 12:07
> To: JMeter Users List
> Subject: Re: Frequency controller
> 
> On 13/01/2009, John Coleman <john.coleman@eurobase.com> wrote:
8<
> > We manipulate vars in beanshell to produce a random frequency, and 
> > then  need to test the vars value in the If condition for a 
> match. Is 
> > there a  native javascript reference to the vars object 
> found in beanshell?
> 
> Yes, see:
> 
> http://jakarta.apache.org/jmeter/usermanual/functions.html#__j
> avaScript

I tried this condition ${count} == vars.get("spotNextCount") but got the
error below:

2009/01/13 14:12:51 ERROR - jmeter.control.IfController: ReferenceError:
"vars" is not defined. (<cmd>#1) org.mozilla.javascript.EcmaError:
ReferenceError: "vars" is not defined. (<cmd>#1)

Any ideas please?
TIA,
John

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message