On 01/03/2010, Riaz Ahmed <[email protected]> wrote: > > Hi Deepak, > I have tried the way you mentioned but still i am unable to > get the response in nanoTime. I am getting on providing > > Label = "Time=${__time(YMD)}" I am getting the response as "Time=20100301" > its fine. > > but on providing > > Label = "Time=${__BeanShell(System.nanoTime())}" or > "Time=${__System.nanoTime()}" I am getting this in response label > "Time=${__BeanShell(System.nanoTime())}" and "Time=${)}" respectively. > Kindly do the needful
Download the BeanShell jar and put it in the lib directory, see: Please read: http://jakarta.apache.org/jmeter/usermanual/get-started.html#get_started > Regards > R.A.M > > > Date: Fri, 26 Feb 2010 10:53:31 -0800 > > Subject: Re: System.nanoTime() method in Jmeter > > From: [email protected] > > To: [email protected] > > > > > Use JDK1.5 to run JMeter and use Beanshell / Jav Samplers/ Beanshell Pre > > Processors /Beanshell functions etc. > > > > e.g. > > > > ${__BeanShell(System.nanoTime())} > > > > http://jakarta.apache.org/jmeter/usermanual/functions.html#__BeanShell > > regards > > deepak > > > > > > > > On Fri, Feb 26, 2010 at 10:48 AM, Riaz Ahmed > <[email protected]>wrote: > > > > > > > > Hi, > > > I want to know how to use "System.nanoTime()" in Jmeter.Can anyone > help > > > me out for this. > > > > > > Regards > > > R.A.M > > > _________________________________________________________________ > > > Hotmail: Trusted email with powerful SPAM protection. > > > https://signup.live.com/signup.aspx?id=60969 > > > > > > _________________________________________________________________ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. > > https://signup.live.com/signup.aspx?id=60969 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

