jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JMeter Custom ThreadGroup
Date Mon, 10 Mar 2014 23:06:40 GMT
On 10 March 2014 18:38, Nachiket Kate <nachiket.kate@gmail.com> wrote:
>
> Hi All,
>
> I am trying to extend jmeter for new threadgroup which will be able to
> listen samples and should be able to perform calculation and store result in
> some file
>
> Yes that can be done with existing reporters but I dont want to use them.

Why not?

> I have created new threadgroup called CustomThreadgroup.java in which I have
> implemented interface like, samplelistener. I just want to log the samples
> occurred and their attributes.

 Why not create your own Listener?

That is likely to be much easier to integrate with JMeter.

> I tried above but I am not seeing anything
> "CustomLog" (logger statements added by me). in Jmeter.log file.
>
> I have also referred Andrey;s Autostop plugin but that is a listener, I need
> similar functionality in Threadgroup.
>
> Can you please help me in this or tell me if I need to make changes
> somewhere else also?
>
> attaching file CustomThreadGroup.java for reference.
>
> (complete code is at : https://github.com/Nachiket90/jmeter-sample)
>
> Thanks,
> Nachiket
> --
> <---- Nachiket Kate ---->

Mime
View raw message