org.apache.jmeter.testelement

Class AbstractTable

Implemented Interfaces:
Cloneable, ReportTable, Serializable, TestElement
Known Direct Subclasses:
Table

public abstract class AbstractTable
extends AbstractTestElement
implements ReportTable

AbstractTable is the base Element for different kinds of report tables.

Field Summary

static String
REPORT_TABLE_50_PERCENT
static String
REPORT_TABLE_90_PERCENT
static String
REPORT_TABLE_ERROR_RATE
static String
REPORT_TABLE_MAX
static String
REPORT_TABLE_MEAN
static String
REPORT_TABLE_MEDIAN
static String
REPORT_TABLE_MIN
static String
REPORT_TABLE_RESPONSE_RATE
static String
REPORT_TABLE_TOTAL
static String
REPORT_TABLE_TRANSFER_RATE
static String
REPORT_TABLE_URL
static String[]
items
static String[]
xitems

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

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Constructor Summary

AbstractTable()

Method Summary

void
addTestElement(TestElement el)
boolean
get50Percent()
boolean
get90Percent()
boolean
getErrorRate()
boolean
getMax()
boolean
getMean()
boolean
getMedian()
boolean
getMin()
boolean
getResponseRate()
abstract String[][]
getTableData(List data)
method isn't implemented and is left abstract.
boolean
getTransferRate()
void
set50Percent(String set)
void
set90Percent(String set)
void
setErrorRate(String set)
void
setMax(String set)
void
setMean(String set)
void
setMedian(String set)
void
setMin(String set)
void
setResponseRate(String set)
void
setTransferRate(String set)

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

REPORT_TABLE_50_PERCENT

public static final String REPORT_TABLE_50_PERCENT

REPORT_TABLE_90_PERCENT

public static final String REPORT_TABLE_90_PERCENT

REPORT_TABLE_ERROR_RATE

public static final String REPORT_TABLE_ERROR_RATE

REPORT_TABLE_MAX

public static final String REPORT_TABLE_MAX

REPORT_TABLE_MEAN

public static final String REPORT_TABLE_MEAN

REPORT_TABLE_MEDIAN

public static final String REPORT_TABLE_MEDIAN

REPORT_TABLE_MIN

public static final String REPORT_TABLE_MIN

REPORT_TABLE_RESPONSE_RATE

public static final String REPORT_TABLE_RESPONSE_RATE

REPORT_TABLE_TOTAL

public static final String REPORT_TABLE_TOTAL

REPORT_TABLE_TRANSFER_RATE

public static final String REPORT_TABLE_TRANSFER_RATE

REPORT_TABLE_URL

public static final String REPORT_TABLE_URL

items

public static final String[] items

xitems

public static final String[] xitems

Constructor Details

AbstractTable

public AbstractTable()

Method Details

addTestElement

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

get50Percent

public boolean get50Percent()

get90Percent

public boolean get90Percent()

getErrorRate

public boolean getErrorRate()

getMax

public boolean getMax()

getMean

public boolean getMean()

getMedian

public boolean getMedian()

getMin

public boolean getMin()

getResponseRate

public boolean getResponseRate()

getTableData

public abstract String[][] getTableData(List data)
method isn't implemented and is left abstract. Subclasses need to filter the data in the list and return statistics. The statistics should be like the aggregate listener.
Specified by:
getTableData in interface ReportTable

getTransferRate

public boolean getTransferRate()

set50Percent

public void set50Percent(String set)

set90Percent

public void set90Percent(String set)

setErrorRate

public void setErrorRate(String set)

setMax

public void setMax(String set)

setMean

public void setMean(String set)

setMedian

public void setMedian(String set)

setMin

public void setMin(String set)

setResponseRate

public void setResponseRate(String set)

setTransferRate

public void setTransferRate(String set)

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