Oh, I didn't know that my script should be inside
${__BeanShell }
Now it's working fine :)
Thank you guys, you are really helpful!
P.S Has anyone tought of writing a bit more extensive documentation on JMeter,
i find it really shallow. Without you I would be lost!
Cheers,
Darko
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 04, 2005 3:16 PM
To: JMeter Users List
Subject: Re: bean shell
Hi darko,
i've downloaded exactly the same bsh-2.0b4.jar and copied it to the lib
directory.
but i've used beanshell in a request parameter in a http query and it worked
fine with me.
i know that's not what you want to do but you can still give it a try to be
sure it's coming from that. here's the piece of code i used :
${__BeanShell(java.util.GregorianCalendar calendar = new
java.util.GregorianCalendar();Date date = calendar.getTime();new
java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(date))}
regards,
raj
Darko Jovisic a écrit :
>Hi!
>
>I downloaded bsh-2.0b4.jar and copied it to the lib directory.
>But when I add BeanShell Sampler and try to exec some code nothing
>happens.
>What could be the reason ?
>
>Tnx,
>Darko
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]