org.apache.jmeter.threads

Class SamplePackage


public class SamplePackage
extends Object

Packages methods related to sample handling.

Constructor Summary

SamplePackage()
SamplePackage(List configs, List modifiers, List responseModifiers, List listeners, List timers, List assertions, List extractors, List pres, List controllers)

Method Summary

void
addAssertion(Assertion asser)
void
addPostProcessor(PostProcessor ex)
void
addPreProcessor(PreProcessor pre)
void
addSampleListener(SampleListener listener)
void
addTimer(Timer timer)
List
getAssertions()
List
getConfigs()
Returns the configs.
List
getModifiers()
Returns the modifiers.
List
getPostProcessors()
List
getPreProcessors()
Returns the preProcessors.
List
getResponseModifiers()
Returns the responseModifiers.
List
getSampleListeners()
Sampler
getSampler()
List
getTimers()
void
recoverRunningVersion()
void
setAssertions(List assertions)
Sets the assertions.
void
setConfigs(List configs)
Sets the configs.
void
setModifiers(List modifiers)
Sets the modifiers.
void
setPostProcessors(List postProcessors)
Sets the postProcessors.
void
setPreProcessors(List preProcessors)
Sets the preProcessors.
void
setResponseModifiers(List responseModifiers)
Sets the responseModifiers.
void
setRunningVersion(boolean running)
void
setSampleListeners(List sampleListeners)
Sets the sampleListeners.
void
setSampler(Sampler s)
void
setTimers(List timers)
Sets the timers.

Constructor Details

SamplePackage

public SamplePackage()

SamplePackage

public SamplePackage(List configs,
                     List modifiers,
                     List responseModifiers,
                     List listeners,
                     List timers,
                     List assertions,
                     List extractors,
                     List pres,
                     List controllers)

Method Details

addAssertion

public void addAssertion(Assertion asser)

addPostProcessor

public void addPostProcessor(PostProcessor ex)

addPreProcessor

public void addPreProcessor(PreProcessor pre)

addSampleListener

public void addSampleListener(SampleListener listener)

addTimer

public void addTimer(Timer timer)

getAssertions

public List getAssertions()

getConfigs

public List getConfigs()
Returns the configs.
Returns:
List

getModifiers

public List getModifiers()
Returns the modifiers.

getPostProcessors

public List getPostProcessors()

getPreProcessors

public List getPreProcessors()
Returns the preProcessors.

getResponseModifiers

public List getResponseModifiers()
Returns the responseModifiers.

getSampleListeners

public List getSampleListeners()

getSampler

public Sampler getSampler()

getTimers

public List getTimers()

recoverRunningVersion

public void recoverRunningVersion()

setAssertions

public void setAssertions(List assertions)
Sets the assertions.
Parameters:
assertions - the assertions to set

setConfigs

public void setConfigs(List configs)
Sets the configs.
Parameters:
configs - the configs to set

setModifiers

public void setModifiers(List modifiers)
Sets the modifiers.
Parameters:
modifiers - the modifiers to set

setPostProcessors

public void setPostProcessors(List postProcessors)
Sets the postProcessors.
Parameters:
postProcessors - the postProcessors to set

setPreProcessors

public void setPreProcessors(List preProcessors)
Sets the preProcessors.
Parameters:
preProcessors - the preProcessors to set

setResponseModifiers

public void setResponseModifiers(List responseModifiers)
Sets the responseModifiers.
Parameters:
responseModifiers - the responseModifiers to set

setRunningVersion

public void setRunningVersion(boolean running)

setSampleListeners

public void setSampleListeners(List sampleListeners)
Sets the sampleListeners.
Parameters:
sampleListeners - the sampleListeners to set

setSampler

public void setSampler(Sampler s)

setTimers

public void setTimers(List timers)
Sets the timers.
Parameters:
timers - the timers to set

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