|
Apache JMeter 2.1.1 |
|||||||||
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.testelement.TestPlan
Field Summary | |
static String |
BASEDIR
|
static String |
CLASSPATHS
|
static String |
COMMENTS
|
static String |
FUNCTIONAL_MODE
|
static String |
SERIALIZE_THREADGROUPS
|
static String |
THREAD_GROUPS
|
static String |
USER_DEFINED_VARIABLES
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
TestPlan()
|
|
TestPlan(String name)
|
Method Summary | |
void |
addConfigElement(ConfigElement c)
Adds a feature to the ConfigElement attribute of the TestPlan object. |
void |
addJMeterComponent(TestElement child)
|
void |
addParameter(String name,
String value)
|
void |
addTestElement(TestElement tg)
|
void |
addThreadGroup(ThreadGroup group)
Adds a feature to the ThreadGroup attribute of the TestPlan object. |
static TestPlan |
createTestPlan(String name)
|
String |
getBasedir()
|
static boolean |
getFunctionalMode()
Gets the static copy of the functional mode |
String |
getTestPlanClasspath()
Returns a string in CSV format |
String[] |
getTestPlanClasspathArray()
|
Collection |
getThreadGroups()
Gets the ThreadGroups attribute of the TestPlan object. |
Map |
getUserDefinedVariables()
|
boolean |
isFunctionalMode()
Fetches the functional mode property |
boolean |
isSerialized()
Fetch the serialize threadgroups property |
void |
prepareForPreCompile()
|
void |
setBasedir(String b)
|
void |
setFunctionalMode(boolean funcMode)
|
void |
setSerialized(boolean serializeTGs)
|
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)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Called just before the start of the test Note that not all the test variables will have been set up at this point. |
void |
testStarted(String host)
|
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String THREAD_GROUPS
public static final String FUNCTIONAL_MODE
public static final String USER_DEFINED_VARIABLES
public static final String SERIALIZE_THREADGROUPS
public static final String CLASSPATHS
public static final String COMMENTS
public static final String BASEDIR
Constructor Detail |
public TestPlan()
public TestPlan(String name)
Method Detail |
public void prepareForPreCompile()
public boolean isFunctionalMode()
public void setUserDefinedVariables(Arguments vars)
public String getBasedir()
public void setBasedir(String b)
public Map getUserDefinedVariables()
public void setFunctionalMode(boolean funcMode)
public static boolean getFunctionalMode()
public void setSerialized(boolean serializeTGs)
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 static TestPlan createTestPlan(String name)
public void addTestElement(TestElement tg)
addTestElement
in interface TestElement
addTestElement
in class AbstractTestElement
public void addJMeterComponent(TestElement child)
public Collection getThreadGroups()
public void addConfigElement(ConfigElement c)
c
- the feature to be added to the ConfigElement attributepublic void addThreadGroup(ThreadGroup group)
group
- the feature to be added to the ThreadGroup attributepublic void testEnded()
TestListener
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testEnded(String host)
testEnded
in interface TestListener
public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
- public void testStarted()
TestListener
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testStarted(String host)
testStarted
in interface TestListener
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |