|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.util.BeanShellTestElement
| Field Summary |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
BeanShellTestElement()
|
|
| Method Summary | |
Object |
clone()
|
protected BeanShellInterpreter |
getBeanShellInterpreter()
|
String |
getFilename()
|
protected abstract String |
getInitFileProperty()
|
String |
getParameters()
|
String |
getScript()
Return the script (TestBean version). |
boolean |
isResetInterpreter()
|
protected Object |
processFileOrScript(BeanShellInterpreter bsh)
|
protected Object |
readResolve()
|
void |
setFilename(String s)
|
void |
setParameters(String s)
|
void |
setResetInterpreter(boolean b)
|
void |
setScript(String s)
Set the script (TestBean version). |
void |
testEnded()
Called once for all threads after the end of a test. |
void |
testEnded(String host)
Called once for all threads after the end of a test. |
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired for each thread. |
void |
testStarted()
Called just before the start of the test from the main engine thread. |
void |
testStarted(String host)
Called just before the start of the test from the main engine thread. |
void |
threadFinished()
Called once for each thread at the end of a test |
void |
threadStarted()
Called just before the start of the thread |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BeanShellTestElement()
| Method Detail |
protected abstract String getInitFileProperty()
protected BeanShellInterpreter getBeanShellInterpreter()
protected Object readResolve()
public Object clone()
clone in interface TestElementclone in class AbstractTestElement
protected Object processFileOrScript(BeanShellInterpreter bsh)
throws JMeterException
JMeterExceptionpublic String getScript()
public void setScript(String s)
s - the script to execute (may be blank)public void threadStarted()
ThreadListener
threadStarted in interface ThreadListenerorg.apache.jmeter.threads.JMeterThread#threadStarted()public void threadFinished()
ThreadListener
threadFinished in interface ThreadListenerorg.apache.jmeter.threads.JMeterThread#threadFinished()public void testEnded()
TestListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded in interface TestListenerStandardJMeterEngine.stopTest()public void testEnded(String host)
TestListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded in interface TestListenerStandardJMeterEngine.stopTest()public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart in interface TestListenerevent - public void testStarted()
TestListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted in interface TestListenerStandardJMeterEngine.run()public void testStarted(String host)
TestListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted in interface TestListenerStandardJMeterEngine.run()public String getParameters()
public void setParameters(String s)
public String getFilename()
public void setFilename(String s)
public boolean isResetInterpreter()
public void setResetInterpreter(boolean b)
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||