I Have been able to use the Beanshell sampler to output the value of a variable to the command prompt using the print command. Can anyone tell me how to log the same data to a log file and which command do we need to use in this case.
Regards Tarun -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 11:39 PM To: JMeter Users List Subject: Re: How to use Beanshell Listener http://jakarta.apache.org/jmeter/usermanual/get-started.html http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShe ll_Sampler http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShe ll_Assertion On 03/08/06, Chris Hansen <[EMAIL PROTECTED]> wrote: > Hey sebb, you just answered a question that I hadn't asked (yet) since I'm a bit > overloaded - I couldn't get beanshell running either and didn't realize that I > needed to put the beanshell.jar into the lib directory. > > I'm sure I would have found mention of that in the documentation; I just hadn't > got that far. > > Thanks! > > chris > > sebb wrote: > > Download the beanshell jar and put it in the lib directory. > > > > Read the BeanShell documentation and > > > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShe ll_Listener > > > > > > and the JavaDoc for sampleEvent and sampleResult. > > > > The rest is up to you - I've never needed to use it; I just added for > > completeness and because someone asked for it. > > > > What are you trying to do? > > > > On 03/08/06, Tarun Khurana <[EMAIL PROTECTED]> wrote: > >> Hi sebb, > >> > >> Could you please tell me how to use the BeanShell listener. > >> > >> Regards > >> Tarun > >> > >> > >> > >> --------------------------------------------------------------------- > >> 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] > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]