| Example Sampler (non-Bean version)
JMeter creates an instance of a sampler class for every occurrence of the
element in every thread. [some additional copies may be created before the
test run starts]
Thus each sampler is guaranteed to be called by a single thread - there is no
need to synchronize access to instance variables.
However, access to class fields must be synchronized.
version: $Revision: 493780 $ $Date: 2007-01-07 17:49:30 +0000 (Sun, 07 Jan 2007) $ |