thx thx

On Fri, Aug 3, 2012 at 5:25 AM, sebb <[email protected]> wrote:

> On 2 August 2012 21:21, Tai Tran <[email protected]> wrote:
> > I'm not feeling secure writing scripting language (no type safe, no
> > checking whatsoever).
>
> The test elements allow quick and relatively simple implementations to
> be created.
>
> > Can I write a traditional java class with main()
> > which is the entry point where JMeter passes in the response data for me
> to
> > process in the way I like? In other words, I don't know how JMeter gives
> > the input to my Java listener class?
>
> The data is passed in via the SampleListener interface.
>
> Best to study the source to see how existing Listeners work.
>
> > On Fri, Aug 3, 2012 at 2:08 AM, sebb <[email protected]> wrote:
> >
> >> On 2 August 2012 19:30, Tai Tran <[email protected]> wrote:
> >> > Can I write a listener in pure Java language to process responses from
> >> > JMeter to write into file(s) in my own format?
> >>
> >> Yes.
> >>
> >> > I see JMeter supports JSR223
> >> > Listener with various languages options (including java), but there is
> >> > detailed no doc on that.
> >>
> >> The variables that are made available to the script are shown on the
> >> GUI screen and are documented under the BSF Listener.
> >>
> >> > Please help, thanks in advance.
> >> >
> >> > Thanks,
> >> > Tai
> >>
> >> ---------------------------------------------------------------------
> >> 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]
>
>

Reply via email to