I see... thank you very much!

On Jan 23, 2007, at 4:10 PM, sebb wrote:

Properties can be accessed from all threads.

Beware that changing them frequently may give errors or cause the
threads to block each other...

Variables are deliberately thread-specific.

On 23/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
Hi All ...

My need is to have a few samplers in a thread group execute only
sometimes ( i can use a random condition here) but only for a
percentage of the threads .

My plan was to use a counter at the test plan level that when one
thread which randomly was selected executed, would increase the counter.

The problem I'm seeing is that defining a var at the test plan resets
the value for every thread.

Is there a way to have a variable to be referenced from any thread
and have the same value for all?

I realize there may be other ways to do what I'm requiring, but it
still sounds reasonable to have a variable that can be referenced
from any and all threads. I'm sure there is...

Thanks a lot for your help!


---------------------------------------------------------------------
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]

Reply via email to