public class ReportPlan extends AbstractTestElement implements Serializable, TestStateListener
Modifier and Type | Field and Description |
---|---|
static String |
BASEDIR |
static String |
REPORT_COMMENTS |
static String |
REPORT_PAGE |
static String |
USER_DEFINED_VARIABLES |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ReportPlan() |
ReportPlan(String name) |
Modifier and Type | Method and Description |
---|---|
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 |
addReportPage(AbstractThreadGroup group)
Adds a feature to the AbstractThreadGroup attribute of the TestPlan object.
|
void |
addTestElement(TestElement tg) |
String |
getBasedir() |
static boolean |
getFunctionalMode()
Gets the static copy of the functional mode
|
Collection<AbstractThreadGroup> |
getReportPages()
Gets the ThreadGroups attribute of the TestPlan object.
|
Map<String,String> |
getUserDefinedVariables() |
protected Object |
readResolve() |
void |
setBasedir(String b) |
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.
|
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
public static final String REPORT_PAGE
public static final String USER_DEFINED_VARIABLES
public static final String REPORT_COMMENTS
public static final String BASEDIR
public ReportPlan()
public ReportPlan(String name)
public void setUserDefinedVariables(Arguments vars)
public String getBasedir()
public void setBasedir(String b)
public static boolean getFunctionalMode()
public void addTestElement(TestElement tg)
AbstractTestElement
addTestElement
in interface TestElement
addTestElement
in class AbstractTestElement
public void addJMeterComponent(TestElement child)
public Collection<AbstractThreadGroup> getReportPages()
public void addConfigElement(ConfigElement c)
c
- the feature to be added to the ConfigElement attributepublic void addReportPage(AbstractThreadGroup group)
group
- the feature to be added to the AbstractThreadGroup attributepublic void testEnded()
TestStateListener
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)
TestStateListener
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()
TestStateListener
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)
TestStateListener
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()
protected Object readResolve()
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.