Package org.apache.jmeter.testelement
Interface ThreadListener
- All Known Implementing Classes:
AccessLogSampler,AjpSampler,BeanShellAssertion,BeanShellListener,BeanShellPostProcessor,BeanShellPreProcessor,BeanShellSampler,BeanShellTestElement,BeanShellTimer,CriticalSectionController,HTTPSampler,HTTPSampler2,HTTPSamplerBase,HTTPSamplerProxy,Jexl2Function,JMSSampler,JUnitSampler,RemoteThreadsListenerImpl,RemoteThreadsListenerTestElement,RemoteThreadsListenerWrapper,SessionFilter,SoapSampler,SubscriberSampler,SyncTimer,TCPSampler,WebServiceSampler,XMLAssertion
public interface ThreadListener
Allow threads to perform startup and closedown if necessary
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled for each thread after all samples have been processed.voidCalled for each thread before starting sampling.
-
Method Details
-
threadStarted
void threadStarted()Called for each thread before starting sampling. WARNING: this is called before any Config test elements are processed, so any properties they define will not have been merged in yet.- See Also:
-
threadFinished
void threadFinished()Called for each thread after all samples have been processed.- See Also:
-