|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.threads.SamplePackage
public class SamplePackage
Packages methods related to sample handling.
A SamplePackage contains all elements associated to a Sampler:
Constructor Summary | |
---|---|
SamplePackage(List<ConfigTestElement> configs,
List<SampleListener> listeners,
List<Timer> timers,
List<Assertion> assertions,
List<PostProcessor> postProcessors,
List<PreProcessor> preProcessors,
List<Controller> controllers)
|
Method Summary | |
---|---|
void |
addAssertion(Assertion asser)
Add Assertion |
void |
addPostProcessor(PostProcessor ex)
Add Post processor |
void |
addPreProcessor(PreProcessor pre)
Add Pre processor |
void |
addSampleListener(SampleListener listener)
Add Sample Listener |
void |
addTimer(Timer timer)
Add Timer |
List<Assertion> |
getAssertions()
|
List<ConfigTestElement> |
getConfigs()
Returns the configs. |
List<PostProcessor> |
getPostProcessors()
|
List<PreProcessor> |
getPreProcessors()
Returns the preProcessors. |
List<SampleListener> |
getSampleListeners()
|
Sampler |
getSampler()
|
List<Timer> |
getTimers()
|
void |
recoverRunningVersion()
Recover each member of SamplePackage to the state before the call of setRunningVersion(true) |
void |
setRunningVersion(boolean running)
Make the SamplePackage the running version, or make it no longer the running version. |
void |
setSampler(Sampler s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SamplePackage(List<ConfigTestElement> configs, List<SampleListener> listeners, List<Timer> timers, List<Assertion> assertions, List<PostProcessor> postProcessors, List<PreProcessor> preProcessors, List<Controller> controllers)
Method Detail |
---|
public void setRunningVersion(boolean running)
running
- booleanTestElement.setRunningVersion(boolean)
public void recoverRunningVersion()
TestElement.recoverRunningVersion()
public List<SampleListener> getSampleListeners()
public void addSampleListener(SampleListener listener)
listener
- SampleListener
public List<Timer> getTimers()
public void addPostProcessor(PostProcessor ex)
ex
- PostProcessor
public void addPreProcessor(PreProcessor pre)
pre
- PreProcessor
public void addTimer(Timer timer)
timer
- Timer
public void addAssertion(Assertion asser)
asser
- Assertion
public List<Assertion> getAssertions()
public List<PostProcessor> getPostProcessors()
public Sampler getSampler()
Sampler
public void setSampler(Sampler s)
s
- Sampler
public List<PreProcessor> getPreProcessors()
public List<ConfigTestElement> getConfigs()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |