org.apache.jmeter.testelement

Class ReportPlan

Implemented Interfaces:
Cloneable, Serializable, TestElement, TestListener

public class ReportPlan
extends AbstractTestElement
implements Serializable, TestListener

Field Summary

static String
BASEDIR
static String
COMMENTS
static String
REPORT_PAGE
static String
USER_DEFINED_VARIABLES

Fields inherited from interface org.apache.jmeter.testelement.TestElement

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Constructor Summary

ReportPlan()
ReportPlan(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
addReportPage(ThreadGroup group)
Adds a feature to the ThreadGroup attribute of the TestPlan object.
void
addTestElement(TestElement tg)
static ReportPlan
createReportPlan(String name)
String
getBasedir()
static boolean
getFunctionalMode()
Gets the static copy of the functional mode
Collection
getReportPages()
Gets the ThreadGroups attribute of the TestPlan object.
Map
getUserDefinedVariables()
void
setBasedir(String b)
void
setUserDefinedVariables(Arguments vars)
void
testEnded()
void
testEnded(String host)
void
testIterationStart(LoopIterationEvent event)
void
testStarted()
void
testStarted(String host)

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Field Details

BASEDIR

public static final String BASEDIR

COMMENTS

public static final String COMMENTS

REPORT_PAGE

public static final String REPORT_PAGE

USER_DEFINED_VARIABLES

public static final String USER_DEFINED_VARIABLES

Constructor Details

ReportPlan

public ReportPlan()

ReportPlan

public ReportPlan(String name)

Method Details

addConfigElement

public void addConfigElement(ConfigElement c)
Adds a feature to the ConfigElement attribute of the TestPlan object.
Parameters:
c - the feature to be added to the ConfigElement attribute

addJMeterComponent

public void addJMeterComponent(TestElement child)

addParameter

public void addParameter(String name,
                         String value)

addReportPage

public void addReportPage(ThreadGroup group)
Adds a feature to the ThreadGroup attribute of the TestPlan object.
Parameters:
group - the feature to be added to the ThreadGroup attribute

addTestElement

public void addTestElement(TestElement tg)
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in interface AbstractTestElement

createReportPlan

public static ReportPlan createReportPlan(String name)

getBasedir

public String getBasedir()

getFunctionalMode

public static boolean getFunctionalMode()
Gets the static copy of the functional mode
Returns:
mode

getReportPages

public Collection getReportPages()
Gets the ThreadGroups attribute of the TestPlan object.
Returns:
the ThreadGroups value

getUserDefinedVariables

public Map getUserDefinedVariables()

setBasedir

public void setBasedir(String b)

setUserDefinedVariables

public void setUserDefinedVariables(Arguments vars)

testEnded

public void testEnded()
Specified by:
testEnded in interface TestListener

testEnded

public void testEnded(String host)
Specified by:
testEnded in interface TestListener

testIterationStart

public void testIterationStart(LoopIterationEvent event)
Specified by:
testIterationStart in interface TestListener

testStarted

public void testStarted()
Specified by:
testStarted in interface TestListener

testStarted

public void testStarted(String host)
Specified by:
testStarted in interface TestListener

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.