|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.testelement.TestPlan
public class TestPlan
Field Summary |
---|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
TestPlan()
|
|
TestPlan(String name)
|
Method Summary | |
---|---|
void |
addParameter(String name,
String value)
|
void |
addTestElement(TestElement tg)
|
void |
addThreadGroup(AbstractThreadGroup group)
Adds a feature to the AbstractThreadGroup attribute of the TestPlan object. |
Arguments |
getArguments()
|
String |
getBasedir()
|
static boolean |
getFunctionalMode()
Gets the static copy of the functional mode |
String |
getTestPlanClasspath()
Returns the classpath |
String[] |
getTestPlanClasspathArray()
|
Map<String,String> |
getUserDefinedVariables()
|
JMeterProperty |
getUserDefinedVariablesAsProperty()
|
boolean |
isFunctionalMode()
Fetches the functional mode property |
boolean |
isSerialized()
Fetch the serialize threadgroups property |
boolean |
isTearDownOnShutdown()
|
void |
prepareForPreCompile()
|
void |
setBasedir(String b)
|
void |
setFunctionalMode(boolean funcMode)
|
void |
setSerialized(boolean serializeTGs)
|
void |
setTearDownOnShutdown(boolean tearDown)
|
void |
setTestPlanClasspath(String text)
Set the classpath for the test plan |
void |
setTestPlanClasspathArray(String[] text)
|
void |
setUserDefinedVariables(Arguments vars)
|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestPlan()
public TestPlan(String name)
Method Detail |
---|
public void prepareForPreCompile()
public boolean isFunctionalMode()
public void setUserDefinedVariables(Arguments vars)
public JMeterProperty getUserDefinedVariablesAsProperty()
public String getBasedir()
public void setBasedir(String b)
public Arguments getArguments()
public Map<String,String> getUserDefinedVariables()
public void setFunctionalMode(boolean funcMode)
public static boolean getFunctionalMode()
public void setSerialized(boolean serializeTGs)
public void setTearDownOnShutdown(boolean tearDown)
public boolean isTearDownOnShutdown()
public void setTestPlanClasspath(String text)
text
- public void setTestPlanClasspathArray(String[] text)
public String[] getTestPlanClasspathArray()
public String getTestPlanClasspath()
public boolean isSerialized()
public void addParameter(String name, String value)
public void addTestElement(TestElement tg)
AbstractTestElement
addTestElement
in interface TestElement
addTestElement
in class AbstractTestElement
public void addThreadGroup(AbstractThreadGroup group)
group
- the feature to be added to the AbstractThreadGroup attributepublic void testEnded()
Called 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 TestStateListener
StandardJMeterEngine.stopTest()
public void testEnded(String host)
Called 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 TestStateListener
host
- name of hostStandardJMeterEngine.stopTest()
public void testStarted()
Called 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 TestStateListener
StandardJMeterEngine.run()
public void testStarted(String host)
Called 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 TestStateListener
host
- name of hostStandardJMeterEngine.run()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |