Might be easier to extend AbstractSampler.

S.
On 18/10/05, Subu Bhagavati <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use JMeter to load test. I had to write a JavaSampler as
> a part of this. I have extended AbstractJavaSamplerClient.
>
> The problem I am facing is this. I would like to know the number of
> threads I have started for this ThreadGroup at run time. I have looked
> at the API for ThreadGroup object. The method getNumThreads() gives the
> number of threads in this ThreadGroup. But from the JavaSamplerContext
> that is passed to my Sampler, I don't have access to the ThreadGroup.
>
> Did anyone face this problem? Is there a solution?
>
> Thanks for your help.
> Subu
>
>
>
> ---------------------------------------------------------------------
> 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