jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JMeter Listeners
Date Tue, 08 Feb 2011 11:59:32 GMT
On 8 February 2011 09:28, Lance Ingram <lancei.ingram@gmail.com> wrote:
> Hi Sebb
>
>
> I am fairly new in the JMeter plugin development I appreciate your response.

Have a look at some other Listeners.

> In terms: "I don't follow that. The add(SampleResult) method is called for
> each
> sample, and does not create a new instance"
>> Just to brng more clarity to the question above the AbstractVisualizer the
> add(SampleResult) must be implemented I instatiated my listener class in the
> method.
>> It seems that for each sampelr call this add() function was called by
> placing some output to the console there. Is my assumption correct?

Yes, the add() method is the way the samples are provided for the screen.

>
>
>> I will implement the NoThreadClone
> Thanks and Regards
> Lance
>
>
> On Mon, Feb 7, 2011 at 4:28 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 7 February 2011 12:33, Lance Ingram <lancei.ingram@gmail.com> wrote:
>> > Hi All
>> >
>> >
>> > I am busy developing a JMeter plug-in and I wanted to know whether it’s
>> > possible for a listener to be instantiated only once? I have investigated
>> > summary_report code and I noted that the add (SampleTest) is created for
>> > each sampler which is called thus creating my listener multiple times.
>>
>>  I don't follow that. The add(SampleResult) method is called for each
>> sample, and does not create a new instance.
>>
>>
>
>
>> > I just want to be able to start the listener once and wait upon the
>> sampler
>> > request.
>> >
>>
>> Have look at the NoThreadClone interface.
>>
>> >
>> > Is this possible? If so which class or listener must I base my code on as
>> an
>> > example for JMeter.
>> >
>> >
>> >
>> > Thank and Regards
>> >
>> > Lance
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message