Apache JMeter

org.apache.jmeter.threads
Class SamplePackage

java.lang.Object
  extended by org.apache.jmeter.threads.SamplePackage

public class SamplePackage
extends java.lang.Object

Packages methods related to sample handling.


Constructor Summary
SamplePackage()
           
SamplePackage(java.util.List configs, java.util.List modifiers, java.util.List responseModifiers, java.util.List listeners, java.util.List timers, java.util.List assertions, java.util.List extractors, java.util.List pres, java.util.List controllers)
           
 
Method Summary
 void addAssertion(Assertion asser)
           
 void addPostProcessor(PostProcessor ex)
           
 void addPreProcessor(PreProcessor pre)
           
 void addSampleListener(SampleListener listener)
           
 void addTimer(Timer timer)
           
 java.util.List getAssertions()
           
 java.util.List getConfigs()
          Returns the configs.
 java.util.List getModifiers()
          Returns the modifiers.
 java.util.List getPostProcessors()
           
 java.util.List getPreProcessors()
          Returns the preProcessors.
 java.util.List getResponseModifiers()
          Returns the responseModifiers.
 java.util.List getSampleListeners()
           
 Sampler getSampler()
           
 java.util.List getTimers()
           
 void recoverRunningVersion()
           
 void setAssertions(java.util.List assertions)
          Sets the assertions.
 void setConfigs(java.util.List configs)
          Sets the configs.
 void setModifiers(java.util.List modifiers)
          Sets the modifiers.
 void setPostProcessors(java.util.List postProcessors)
          Sets the postProcessors.
 void setPreProcessors(java.util.List preProcessors)
          Sets the preProcessors.
 void setResponseModifiers(java.util.List responseModifiers)
          Sets the responseModifiers.
 void setRunningVersion(boolean running)
           
 void setSampleListeners(java.util.List sampleListeners)
          Sets the sampleListeners.
 void setSampler(Sampler s)
           
 void setTimers(java.util.List timers)
          Sets the timers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplePackage

public SamplePackage()

SamplePackage

public SamplePackage(java.util.List configs,
                     java.util.List modifiers,
                     java.util.List responseModifiers,
                     java.util.List listeners,
                     java.util.List timers,
                     java.util.List assertions,
                     java.util.List extractors,
                     java.util.List pres,
                     java.util.List controllers)
Method Detail

setRunningVersion

public void setRunningVersion(boolean running)

recoverRunningVersion

public void recoverRunningVersion()

getSampleListeners

public java.util.List getSampleListeners()

addSampleListener

public void addSampleListener(SampleListener listener)

getTimers

public java.util.List getTimers()

addPostProcessor

public void addPostProcessor(PostProcessor ex)

addPreProcessor

public void addPreProcessor(PreProcessor pre)

addTimer

public void addTimer(Timer timer)

addAssertion

public void addAssertion(Assertion asser)

getAssertions

public java.util.List getAssertions()

getPostProcessors

public java.util.List getPostProcessors()

getSampler

public Sampler getSampler()

setSampler

public void setSampler(Sampler s)

getPreProcessors

public java.util.List getPreProcessors()
Returns the preProcessors.


setPreProcessors

public void setPreProcessors(java.util.List preProcessors)
Sets the preProcessors.

Parameters:
preProcessors - the preProcessors to set

getConfigs

public java.util.List getConfigs()
Returns the configs.

Returns:
List

getModifiers

public java.util.List getModifiers()
Returns the modifiers.


getResponseModifiers

public java.util.List getResponseModifiers()
Returns the responseModifiers.


setAssertions

public void setAssertions(java.util.List assertions)
Sets the assertions.

Parameters:
assertions - the assertions to set

setConfigs

public void setConfigs(java.util.List configs)
Sets the configs.

Parameters:
configs - the configs to set

setModifiers

public void setModifiers(java.util.List modifiers)
Sets the modifiers.

Parameters:
modifiers - the modifiers to set

setPostProcessors

public void setPostProcessors(java.util.List postProcessors)
Sets the postProcessors.

Parameters:
postProcessors - the postProcessors to set

setResponseModifiers

public void setResponseModifiers(java.util.List responseModifiers)
Sets the responseModifiers.

Parameters:
responseModifiers - the responseModifiers to set

setSampleListeners

public void setSampleListeners(java.util.List sampleListeners)
Sets the sampleListeners.

Parameters:
sampleListeners - the sampleListeners to set

setTimers

public void setTimers(java.util.List timers)
Sets the timers.

Parameters:
timers - the timers to set

Apache JMeter

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.