A B C D E F G H I J L M N P Q R S T U V W

A

AVERAGE_COLUMN_LENGTH - Static variable in class net.sf.jbenchmark.util.format.AbstractFormatter
Average item length.
AbstractFormatter - class net.sf.jbenchmark.util.format.AbstractFormatter.
Forms the basis for all formatting classes.
AbstractFormatter() - Constructor for class net.sf.jbenchmark.util.format.AbstractFormatter
 
AbstractSQLCallTest - class net.sf.jbenchmark.sql.AbstractSQLCallTest.
Anything associated with a benchmark test for DB interactions can extend this class.
AbstractSQLCallTest() - Constructor for class net.sf.jbenchmark.sql.AbstractSQLCallTest
 
AbstractStatisticPublisher - class net.sf.jbenchmark.util.AbstractStatisticPublisher.
Generates the output in Twiki format.
AbstractStatisticPublisher() - Constructor for class net.sf.jbenchmark.util.AbstractStatisticPublisher
 
AssertDuration - class net.sf.jbenchmark.AssertDuration.
A test group that asserts that it completes in a certain duration.
AssertDuration() - Constructor for class net.sf.jbenchmark.AssertDuration
 
AssertResponseSize - class net.sf.jbenchmark.AssertResponseSize.
Asserts that an HTTP request is of the expected size.
AssertResponseSize() - Constructor for class net.sf.jbenchmark.AssertResponseSize
 
AssertStatusCode - class net.sf.jbenchmark.AssertStatusCode.
Asserts that an HTTP request returns an expected status code.
AssertStatusCode() - Constructor for class net.sf.jbenchmark.AssertStatusCode
 
Assertion - interface net.sf.jbenchmark.Assertion.
A test assertion.
addAssertion(Assertion) - Method in class net.sf.jbenchmark.Test
Adds an assertion.
addAssertion(Assertion) - Method in class net.sf.jbenchmark.WebPageTestGroup
Adds an assertion.
addChoice(ChoiceTest) - Method in class net.sf.jbenchmark.ChooseRandom
Adds a choice to this test.
addConfiguredDb(ConnectionFactory) - Method in class net.sf.jbenchmark.BenchmarkTask
Adds a connection factory.
addConfiguredHttpServer(HttpServer) - Method in class net.sf.jbenchmark.BenchmarkTask
Adds a HTTP server element.
addConfiguredPublisher(FileResultPublisher) - Method in class net.sf.jbenchmark.BenchmarkTask
Adds a result publisher.
addConfiguredScript(BenchmarkTask.Script) - Method in class net.sf.jbenchmark.BenchmarkTask
Adds a benchmark script to execute.
addFeature(TestFeature) - Method in class net.sf.jbenchmark.Test
Adds a feature to this group.
addListener(TestListener) - Method in class net.sf.jbenchmark.TestGroup
Adds a listener.
addRequests(List) - Method in class net.sf.jbenchmark.HttpSessionTest
add a list of requests to play in a single session
addResource(TestFeature) - Method in class net.sf.jbenchmark.Test
Adds a resource.
addSqlCallArgument(SQLCallArgument) - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Add a stored procedure argument.
addTest(Test) - Method in class net.sf.jbenchmark.TestGroup
Adds a test.
assertNoFailures() - Method in class net.sf.jbenchmark.TopLevelContext
Asserts that no tests failed.

B

BasicTestStatistics - class net.sf.jbenchmark.util.BasicTestStatistics.
The basic test statistics is a more basic version from the TestTimer that reports on more generic items for all types of tests, not just web ones.
BasicTestStatistics() - Constructor for class net.sf.jbenchmark.util.BasicTestStatistics
 
BenchmarkTask - class net.sf.jbenchmark.BenchmarkTask.
Currently the main part of JBenchmark intended for running from ANT only.
BenchmarkTask() - Constructor for class net.sf.jbenchmark.BenchmarkTask
 
BenchmarkTask.Script - class net.sf.jbenchmark.BenchmarkTask.Script.
Information about a benchmark script.
BenchmarkTask.Script() - Constructor for class net.sf.jbenchmark.BenchmarkTask.Script
 
begin(String, String, Attributes) - Method in class net.sf.jbenchmark.ElementNameRule
The begin call-back.

C

COLUMN_FORMATS - Static variable in class net.sf.jbenchmark.util.BasicTestStatistics
Standard formats for the basic test statistics.
CSVFormatter - class net.sf.jbenchmark.util.format.CSVFormatter.
The CSV formatter separates each value with a comma.
CSVFormatter() - Constructor for class net.sf.jbenchmark.util.format.CSVFormatter
 
CSV_SEPARATOR - Static variable in class net.sf.jbenchmark.util.format.CSVFormatter
Comma character separates each item in a CSV file.
ChoiceTest - class net.sf.jbenchmark.ChoiceTest.
A weighted test group.
ChoiceTest() - Constructor for class net.sf.jbenchmark.ChoiceTest
 
ChooseRandom - class net.sf.jbenchmark.ChooseRandom.
A test that selects a random test to execute from its children.
ChooseRandom() - Constructor for class net.sf.jbenchmark.ChooseRandom
 
ChooseRandomItemTest - class net.sf.jbenchmark.ChooseRandomItemTest.
A test group that chooses a random item from a list.
ChooseRandomItemTest() - Constructor for class net.sf.jbenchmark.ChooseRandomItemTest
 
ConnectionFactory - class net.sf.jbenchmark.ConnectionFactory.
Creates database connections.
ConnectionFactory() - Constructor for class net.sf.jbenchmark.ConnectionFactory
 
ConsolePublisher - class net.sf.jbenchmark.util.ConsolePublisher.
Publish results to the console.
ConsolePublisher() - Constructor for class net.sf.jbenchmark.util.ConsolePublisher
Make this public constructor
checkResult(TestResult) - Method in class net.sf.jbenchmark.AssertDuration
Check the results of a test.
checkResult(TestResult) - Method in class net.sf.jbenchmark.AssertResponseSize
Check the results of a test.
checkResult(TestResult) - Method in class net.sf.jbenchmark.AssertStatusCode
Check the results of a test.
checkResult(TestResult) - Method in interface net.sf.jbenchmark.Assertion
Check the results of a test.
connection - Variable in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Connection initialised in AbstractSQLCallTest.doInitialise().
createConnection() - Method in class net.sf.jbenchmark.ConnectionFactory
Creates a connection.
createParser(Reader, String) - Static method in class net.sf.jbenchmark.LogFileParser
 
createParser(Reader) - Static method in class net.sf.jbenchmark.LogFileParser
 

D

DATATYPE_BOOLEAN - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for the boolean types.
DATATYPE_DATE - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for date types.
DATATYPE_LONG - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for long numbers.
DATATYPE_STRING - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for string types.
doCleanup() - Method in class net.sf.jbenchmark.Test
Allow tests to perform finish work without impacting on the times.
doCleanup() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Close the connection at the end of the test.
doCleanup() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Run the clean up script if this is a modify type of stored procedure.
doInitialise() - Method in class net.sf.jbenchmark.Test
Allow tests to perform start up work without impacting on the times.
doInitialise() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Initialise the connection that is used in the test.
doRun() - Method in class net.sf.jbenchmark.ChooseRandom
Executes the test.
doRun() - Method in class net.sf.jbenchmark.ChooseRandomItemTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.FixedDelay
Executes the test.
doRun() - Method in class net.sf.jbenchmark.FixedThroughputTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.ForEachTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.HttpGetTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.HttpLogPlayerTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.HttpSessionTest
Executes the test.
doRun() - Method in class net.sf.jbenchmark.ParallelTestGroup
Executes the test.
doRun() - Method in class net.sf.jbenchmark.Test
Executes the test.
doRun() - Method in class net.sf.jbenchmark.TestGroup
Executes the test.
doRun() - Method in class net.sf.jbenchmark.TestLoop
Executes the test.
doRun() - Method in class net.sf.jbenchmark.TestLoopDuration
Executes the test.
doRun() - Method in class net.sf.jbenchmark.TestThreadGroup
Executes the test.
doRun() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
If there are any requirements to report on the stored procedure, one may create an SQLTestResult that extends TestResult and report on more than just basics, but for now, just return a new result.
doTag(XMLOutput) - Method in class net.sf.jbenchmark.TokeniseTag
Do Tag.
doValidate() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Validation is performed just before initialisation occurs and should validate that all of the required attributes for subclasses have been specified.
doValidate() - Method in class net.sf.jbenchmark.sql.SQLQueryTest
The query string must be specified.
doValidate() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Validate that the name of the stored procedure is not empty.
dynamicallyLoad(Class, String) - Method in class net.sf.jbenchmark.BenchmarkTask
Load a class ensuring that it is of a specific type of super class.

E

ElementNameRule - class net.sf.jbenchmark.ElementNameRule.
A rule that sets the name of a feature with the name of the element.
ElementNameRule() - Constructor for class net.sf.jbenchmark.ElementNameRule
 
equals(Object) - Method in class net.sf.jbenchmark.parser.HttpRequest
 
execute() - Method in class net.sf.jbenchmark.BenchmarkTask
Executtes the benchmark.
executeResult() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Exceutes the stored procedure and returns the result.

F

FilePublisher - class net.sf.jbenchmark.util.FilePublisher.
Produces the Twiki output to a file.
FilePublisher() - Constructor for class net.sf.jbenchmark.util.FilePublisher
Default constructor
FileResultPublisher - class net.sf.jbenchmark.FileResultPublisher.
Publishes timer results to a file.
FileResultPublisher() - Constructor for class net.sf.jbenchmark.FileResultPublisher
 
FixedDelay - class net.sf.jbenchmark.FixedDelay.
A fixed delay.
FixedDelay() - Constructor for class net.sf.jbenchmark.FixedDelay
 
FixedItemList - class net.sf.jbenchmark.FixedItemList.
ItemList implementation that takes a comma-separated list of items.
FixedItemList() - Constructor for class net.sf.jbenchmark.FixedItemList
 
FixedThroughputTest - class net.sf.jbenchmark.FixedThroughputTest.
A test that adds delays to ensure a constant throughput.
FixedThroughputTest() - Constructor for class net.sf.jbenchmark.FixedThroughputTest
 
ForEachTest - class net.sf.jbenchmark.ForEachTest.
A test group that executes once for each item in a list.
ForEachTest() - Constructor for class net.sf.jbenchmark.ForEachTest
 
finish() - Method in class net.sf.jbenchmark.Test
Finishes up the test.
finish() - Method in class net.sf.jbenchmark.TestFeature
Finishes up the feature.
finish() - Method in class net.sf.jbenchmark.TestTimer
Finishes up the feature
finish() - Method in class net.sf.jbenchmark.util.BasicTestStatistics
Report all results when we have finished.

G

getAttribute(String) - Method in interface net.sf.jbenchmark.TestContext
Returns the value of a test attribute.
getAttribute(String) - Method in class net.sf.jbenchmark.TestGroup
Returns the value of a test attribute.
getAttribute(String) - Method in class net.sf.jbenchmark.TopLevelContext
Returns the value of a test attribute.
getCleanupScript() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Script for restoring the db to a clean state.
getClient() - Method in class net.sf.jbenchmark.HttpServer
Returns the client to use.
getConnectionFactory() - Method in class net.sf.jbenchmark.TopLevelContext
 
getContext() - Method in class net.sf.jbenchmark.TestFeature
Gets the test context.
getDatatype() - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The datatype of the value that this stored procedure argument has.
getDuration() - Method in class net.sf.jbenchmark.TestResult
Gets the duration of the test.
getExternalResource(String) - Method in interface net.sf.jbenchmark.TestContext
Locates an external resource made available from the class loader in which this context was made available.
getExternalResource(String) - Method in class net.sf.jbenchmark.TestGroup
Delegate back to the context here.
getExternalResource(String) - Method in class net.sf.jbenchmark.TopLevelContext
Locate an external resource that is made availble to the class loader from whichi this top level context was created from.
getFailedTests() - Method in class net.sf.jbenchmark.HttpLogPlayerTest
 
getFailures() - Method in class net.sf.jbenchmark.TopLevelContext
 
getFeatureContext() - Method in class net.sf.jbenchmark.Test
Returns the context to use for features of this test.
getFeatureContext() - Method in class net.sf.jbenchmark.TestGroup
Returns the context to use for features of this test.
getFile() - Method in class net.sf.jbenchmark.BenchmarkTask.Script
get Path
getFormats() - Method in class net.sf.jbenchmark.util.StatisticsSummary
Get the formatting for each of the values that appear.
getFormattedHeading(StatisticsSummary) - Method in class net.sf.jbenchmark.util.format.CSVFormatter
For each of the headings, return a string that separates each of them.
getFormattedHeading(StatisticsSummary) - Method in interface net.sf.jbenchmark.util.format.StatisticFormatter
Return the heading line for the statistics summary formatted appropriately.
getFormattedHeading(StatisticsSummary) - Method in class net.sf.jbenchmark.util.format.TwikiFormatter
Return the heading a string that is formatted for Twiki table headings.
getFormattedLine(StatisticsSummary) - Method in class net.sf.jbenchmark.util.format.CSVFormatter
For each formatted value, separate via a comma.
getFormattedLine(StatisticsSummary) - Method in interface net.sf.jbenchmark.util.format.StatisticFormatter
Return a dataline for the statistics summary formatted appropriately.
getFormattedLine(StatisticsSummary) - Method in class net.sf.jbenchmark.util.format.TwikiFormatter
Return the line as a twiki formatted line.
getFormattedValue(Object, Format) - Method in class net.sf.jbenchmark.util.format.AbstractFormatter
Format the object if the formatter is not null, otherwise return standard toString();
getFormattedValues(Format[], Object[]) - Method in class net.sf.jbenchmark.util.format.AbstractFormatter
Format each value with the corresponding format.
getFormatter() - Method in class net.sf.jbenchmark.util.AbstractStatisticPublisher
Return the formatter to be used for this publisher.
getHeadings() - Method in class net.sf.jbenchmark.util.StatisticsSummary
Get the list of headings for the statistics.
getItems() - Method in class net.sf.jbenchmark.FixedItemList
Returns an array of tokens for the list
getItems() - Method in interface net.sf.jbenchmark.ItemList
Returns the items.
getItems() - Method in class net.sf.jbenchmark.JDBCItemList
Returns the items.
getListener() - Method in interface net.sf.jbenchmark.TestContext
Returns the listener to use to notify the container of test execution.
getListener() - Method in class net.sf.jbenchmark.TestGroup
Returns the listener to use to notify the container of test execution.
getListener() - Method in class net.sf.jbenchmark.TopLevelContext
Returns the listener to use to notify the container of test execution.
getMinWeight() - Method in class net.sf.jbenchmark.ChoiceTest
Returns the min weight of this choice.
getName() - Method in class net.sf.jbenchmark.TestFeature
Returns the name of this feature.
getName() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Name of the stored procedure.
getNewPath() - Method in class net.sf.jbenchmark.HttpGetTest
To be overridden by subclass.
getNewPath() - Method in class net.sf.jbenchmark.RandomHttpGet
Randomly choose an item and include it in the path.
getPath() - Method in class net.sf.jbenchmark.parser.HttpRequest
 
getPreparedStatement() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Implementing classes should return a prepared statement.
getPreparedStatement() - Method in class net.sf.jbenchmark.sql.SQLQueryTest
Transform the query string into a prepared statement.
getPreparedStatement() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Return the stored procedure SQL statement as a prepared statement.
getPrintWriter() - Method in class net.sf.jbenchmark.util.AbstractStatisticPublisher
Return the print writer to which this publisher will publish to.
getPrintWriter() - Method in class net.sf.jbenchmark.util.ConsolePublisher
Wrap System.out as the printer writer.
getPrintWriter() - Method in class net.sf.jbenchmark.util.FilePublisher
Return the print writer wrapped around the log file.
getPrintWriter() - Method in interface net.sf.jbenchmark.util.StatisticPublisher
Get the place to which the publishing of results should go.
getPublisher() - Method in class net.sf.jbenchmark.TopLevelContext
 
getQueryString() - Method in class net.sf.jbenchmark.sql.SQLQueryTest
Query string for this benchmark test.
getResource(Class) - Method in class net.sf.jbenchmark.Test
Given a specific class, locates the first instance encountered of all the resources that were added to this test instance.
getResource(Class) - Method in interface net.sf.jbenchmark.TestContext
Locates a resource.
getResource(Class) - Method in class net.sf.jbenchmark.TopLevelContext
Locates a resource.
getResponseSize() - Method in class net.sf.jbenchmark.HttpTestResult
Returns the size of the response body (ie without the headers), in bytes.
getResponseTime() - Method in class net.sf.jbenchmark.HttpTestResult
Returns the time between making the request and receiving + parsing the response header.
getResults() - Method in class net.sf.jbenchmark.HttpLogPlayerTest
 
getServer() - Method in class net.sf.jbenchmark.TopLevelContext
 
getSqlArguments() - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
List of all the arguments for the stored procedure.
getStatisticPublisher() - Method in class net.sf.jbenchmark.TopLevelContext
Return the publisher that should be used for publishing statistics.
getStatusCode() - Method in class net.sf.jbenchmark.HttpTestResult
Gets the status code.
getTest() - Method in class net.sf.jbenchmark.TestResult
Gets the test.
getTestContext() - Method in class net.sf.jbenchmark.BenchmarkTask
 
getTests() - Method in class net.sf.jbenchmark.TestGroup
Returns the tests in this group.
getThreadCount() - Method in interface net.sf.jbenchmark.TestContext
Returns the number of test threads executing in this context.
getThreadCount() - Method in class net.sf.jbenchmark.TestGroup
By default, a TestGroup has as many threads as it's containing context.
getThreadCount() - Method in class net.sf.jbenchmark.TestThreadGroup
The thread group test creates a fixed number of threads per containing thread.
getThreadCount() - Method in class net.sf.jbenchmark.TopLevelContext
There is always 1 thread in the top-level context.
getType() - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The type of the stored procedure argument.
getType() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Type of the stored procedure.
getUid() - Method in class net.sf.jbenchmark.parser.HttpRequest
 
getValue() - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The value for this stored procedure argument.
getValueAsObject() - Method in class net.sf.jbenchmark.sql.SQLCallArgument
Returns the value as the correct type of object.
getValues() - Method in class net.sf.jbenchmark.util.StatisticsSummary
Get the values that are to be reported on for the summary.
getWeight() - Method in class net.sf.jbenchmark.ChoiceTest
Returns the weight of this choice.

H

HEADINGS - Static variable in class net.sf.jbenchmark.util.BasicTestStatistics
Standard headings for the basic test statistics.
HttpGetTest - class net.sf.jbenchmark.HttpGetTest.
A test that fetches performs a GET of a particular URI.
HttpGetTest() - Constructor for class net.sf.jbenchmark.HttpGetTest
 
HttpLogPlayerTest - class net.sf.jbenchmark.HttpLogPlayerTest.
Http Log Player test will execute http gets from the specified log file File - http log file this attribute when running from script.
HttpLogPlayerTest() - Constructor for class net.sf.jbenchmark.HttpLogPlayerTest
Using this constructor, requires that setFile is called.
HttpLogPlayerTest(List) - Constructor for class net.sf.jbenchmark.HttpLogPlayerTest
 
HttpRequest - class net.sf.jbenchmark.parser.HttpRequest.
 
HttpRequest() - Constructor for class net.sf.jbenchmark.parser.HttpRequest
 
HttpServer - class net.sf.jbenchmark.HttpServer.
Manages the set of connections to a server.
HttpServer() - Constructor for class net.sf.jbenchmark.HttpServer
 
HttpSessionTest - class net.sf.jbenchmark.HttpSessionTest.
Test a number of http requests for a single session.
HttpSessionTest() - Constructor for class net.sf.jbenchmark.HttpSessionTest
 
HttpTestResult - class net.sf.jbenchmark.HttpTestResult.
The result of an HTTP test.
HttpTestResult(Test, int, long, long) - Constructor for class net.sf.jbenchmark.HttpTestResult
Creates a HttpTestResult.
hashCode() - Method in class net.sf.jbenchmark.parser.HttpRequest
 

I

ItemList - interface net.sf.jbenchmark.ItemList.
 
isEmpty(String) - Static method in class net.sf.jbenchmark.util.StringUtil
Check if the string is considered an empty string.
isUseThreadSession() - Method in class net.sf.jbenchmark.HttpServer
 

J

JDBCItemList - class net.sf.jbenchmark.JDBCItemList.
A list of items selected via JDBC.
JDBCItemList() - Constructor for class net.sf.jbenchmark.JDBCItemList
 

L

LOG - Static variable in class net.sf.jbenchmark.sql.AbstractSQLCallTest
Standard logger.
LogFileParser - class net.sf.jbenchmark.LogFileParser.
Http Log File Parser
LogLineParser - class net.sf.jbenchmark.parser.LogLineParser.
Parser for Http Logs.

M

MODIFY_TYPE - Static variable in class net.sf.jbenchmark.sql.StoredProcedureTest
Indicates that the stored procedure will modify something in the database.

N

net.sf.jbenchmark - package net.sf.jbenchmark
Introduction
net.sf.jbenchmark.parser - package net.sf.jbenchmark.parser
Introduction
net.sf.jbenchmark.sql - package net.sf.jbenchmark.sql
Contains classes that interact with the java.sql packages of java and deal with database specific tasks.
net.sf.jbenchmark.util - package net.sf.jbenchmark.util
Contains utilities that are useful throughout the project.
net.sf.jbenchmark.util.format - package net.sf.jbenchmark.util.format
Intended to contain all the different formats that need to be interpreted.

P

ParallelTestGroup - class net.sf.jbenchmark.ParallelTestGroup.
A test group that executes each of its tests in a separate thread.
ParallelTestGroup() - Constructor for class net.sf.jbenchmark.ParallelTestGroup
 
parse() - Method in class net.sf.jbenchmark.LogFileParser
 
parse(String) - Static method in class net.sf.jbenchmark.parser.LogLineParser
 
parse(String, String) - Static method in class net.sf.jbenchmark.parser.LogLineParser
 
printHeader() - Method in class net.sf.jbenchmark.util.AbstractStatisticPublisher
Determine if we need the header or not.
printHeader() - Method in class net.sf.jbenchmark.util.ConsolePublisher
Print the header if this was the first time ever called for the singleton class.
printHeader() - Method in class net.sf.jbenchmark.util.FilePublisher
Print the header if the file doesn't exist, or don't if it is already there.
publish(StatisticsSummary) - Method in class net.sf.jbenchmark.util.AbstractStatisticPublisher
Generate the statistics in Twiki format.
publish(StatisticsSummary) - Method in interface net.sf.jbenchmark.util.StatisticPublisher
Publish a statistic summary.
publishResult(String, long, long, long, long, float, long, long, float) - Method in class net.sf.jbenchmark.FileResultPublisher
Publishes a timer result.
publishResult(String, long, long, long, long, float, long, long, float) - Method in interface net.sf.jbenchmark.ResultPublisher
Publishes a timer result.

Q

QUERY_TYPE - Static variable in class net.sf.jbenchmark.sql.StoredProcedureTest
Indicates that the stored procedure will only query from the DB and does not require a clean up script.

R

RandomHttpGet - class net.sf.jbenchmark.RandomHttpGet.
Randomly Http Get using set items list.
RandomHttpGet() - Constructor for class net.sf.jbenchmark.RandomHttpGet
 
ResultPublisher - interface net.sf.jbenchmark.ResultPublisher.
Publishes timer results.
registerBenchmarkTest(Digester) - Static method in class net.sf.jbenchmark.sql.SQLQueryTest
Register this benchmark test with the digester.
registerBenchmarkTest(Digester) - Static method in class net.sf.jbenchmark.sql.StoredProcedureTest
Register this benchmark test with the digester.
run() - Method in class net.sf.jbenchmark.Test
Executes the test.
runCleanupScript() - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
The clean up script is executed at the end.

S

SQLCallArgument - class net.sf.jbenchmark.sql.SQLCallArgument.
Stored Procedure arguments are nested XML arguments for a StoredProcedureTest element.
SQLCallArgument() - Constructor for class net.sf.jbenchmark.sql.SQLCallArgument
 
SQLQueryTest - class net.sf.jbenchmark.sql.SQLQueryTest.
A benchmark test for running queries.
SQLQueryTest() - Constructor for class net.sf.jbenchmark.sql.SQLQueryTest
 
STANDARD_DECIMAL_FORMAT - Static variable in class net.sf.jbenchmark.util.BasicTestStatistics
Format numbers to three decimal spots.
STANDARD_TIME_FORMAT - Static variable in class net.sf.jbenchmark.util.BasicTestStatistics
Standard time format for reporting of times and not dates.
SUPPORTED_DATATYPES - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
List of all of the data types that are currently supported for stored procedures
SUPPORTED_TYPES - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
List of all of thet types that are currently supported.
StatisticFormatter - interface net.sf.jbenchmark.util.format.StatisticFormatter.
 
StatisticPublisher - interface net.sf.jbenchmark.util.StatisticPublisher.
Classes publish a statistic summary.
StatisticsSummary - class net.sf.jbenchmark.util.StatisticsSummary.
Represents an abstraction of statistics that might be reported on.
StatisticsSummary() - Constructor for class net.sf.jbenchmark.util.StatisticsSummary
Default constructor
StatisticsSummary(String[], Format[], Object[]) - Constructor for class net.sf.jbenchmark.util.StatisticsSummary
Each column has a heading, a format and a set of values.
StoredProcedureTest - class net.sf.jbenchmark.sql.StoredProcedureTest.
Encapsulates a single test that executes a stored procedure.
StoredProcedureTest() - Constructor for class net.sf.jbenchmark.sql.StoredProcedureTest
 
StringUtil - class net.sf.jbenchmark.util.StringUtil.
String utils provide the generic string manpiulation and check utilites for this package.
setAcceptGZipEncoding(boolean) - Method in class net.sf.jbenchmark.HttpGetTest
Sets whether the GZip encoding header should be added (defaults to true)
setAttribute(String, String) - Method in interface net.sf.jbenchmark.TestContext
Sets the value of a test attribute.
setAttribute(String, String) - Method in class net.sf.jbenchmark.TestGroup
Sets the value of a test attribute.
setAttribute(String, String) - Method in class net.sf.jbenchmark.TopLevelContext
Sets the value of a test attribute.
setBypassPageCache(boolean) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets whether the GZip encoding header should be added (defaults to true)
setCleanupScript(String) - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Script for restoring the db to a clean state.
setConnectionFactory(ConnectionFactory) - Method in class net.sf.jbenchmark.TopLevelContext
 
setContext(TestContext) - Method in class net.sf.jbenchmark.Test
Sets the context for this feature.
setContext(TestContext) - Method in class net.sf.jbenchmark.TestFeature
Sets the context for this feature.
setContext(TestContext) - Method in class net.sf.jbenchmark.TestGroup
Sets the context for this test.
setCount(int) - Method in class net.sf.jbenchmark.TestLoop
Sets the count.
setDatatype(String) - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The datatype of the value that this stored procedure argument has.
setDelay(int) - Method in class net.sf.jbenchmark.FixedDelay
Sets the delay.
setDelay(int) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the delay between each get (ms).
setDriver(String) - Method in class net.sf.jbenchmark.ConnectionFactory
Sets the driver class.
setDuration(int) - Method in class net.sf.jbenchmark.HttpLogPlayerTest
Sets the test duration (seconds)
setDuration(long) - Method in class net.sf.jbenchmark.TestLoopDuration
Sets the duration for the test (in seconds).
setDuration(long) - Method in class net.sf.jbenchmark.TestResult
Sets the duration for the test.
setDuration(int) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the test duration (seconds)
setFile(File) - Method in class net.sf.jbenchmark.HttpLogPlayerTest
 
setFormatter(String) - Method in class net.sf.jbenchmark.BenchmarkTask
Set the formatter.
setFormatter(StatisticFormatter) - Method in class net.sf.jbenchmark.util.AbstractStatisticPublisher
Set the formatter to be used for this publisher.
setFormatter(StatisticFormatter) - Method in interface net.sf.jbenchmark.util.StatisticPublisher
Set the format in which the statistics will be formatted.
setHostname(String) - Method in class net.sf.jbenchmark.HttpServer
Sets the hostname.
setItems(String) - Method in class net.sf.jbenchmark.RandomHttpGet
Set the item
setItems(String) - Method in class net.sf.jbenchmark.TokeniseTag
Sets the comma separated list of items.
setLogFile(File) - Method in class net.sf.jbenchmark.util.FilePublisher
Set the output to the file.
setLogfile(File) - Method in class net.sf.jbenchmark.FileResultPublisher
Sets the output file of this result publisher.
setMax(int) - Method in class net.sf.jbenchmark.AssertDuration
Sets the maximum duration.
setMax(long) - Method in class net.sf.jbenchmark.AssertResponseSize
Sets the maximum size.
setMin(long) - Method in class net.sf.jbenchmark.AssertResponseSize
Sets the minimum size.
setMinWeight(int) - Method in class net.sf.jbenchmark.ChoiceTest
Sets the min weight of this choice.
setName(String) - Method in class net.sf.jbenchmark.TestFeature
Sets the name of this feature.
setName(String) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the name to use to record stats.
setName(String) - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Name of the stored procedure.
setPassword(String) - Method in class net.sf.jbenchmark.ConnectionFactory
Sets the password.
setPath(File) - Method in class net.sf.jbenchmark.BenchmarkTask.Script
setPath
setPath(String) - Method in class net.sf.jbenchmark.HttpGetTest
Sets the path.
setPath(String) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the path to fetch.
setPath(String) - Method in class net.sf.jbenchmark.parser.HttpRequest
 
setPort(int) - Method in class net.sf.jbenchmark.HttpServer
Sets the http port.
setPrefetchCount(int) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the number of times to prefetch the page.
setPrefetchDelay(int) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the delay between each prefetch.
setPublisher(ResultPublisher) - Method in class net.sf.jbenchmark.TopLevelContext
 
setQuery(String) - Method in class net.sf.jbenchmark.JDBCItemList
Sets the query to execute.
setQueryString(String) - Method in class net.sf.jbenchmark.sql.SQLQueryTest
Query string for this benchmark test.
setRampup(int) - Method in class net.sf.jbenchmark.TestThreadGroup
Sets the ramp up time in seconds.
setReuseState(boolean) - Method in class net.sf.jbenchmark.HttpGetTest
Should state of client be reused
setScript(File) - Method in class net.sf.jbenchmark.BenchmarkTask
Sets the benchmark script to execute.
setServer(HttpServer) - Method in class net.sf.jbenchmark.TopLevelContext
 
setSessionIdentifier(String) - Method in class net.sf.jbenchmark.HttpLogPlayerTest
 
setSqlArguments(List) - Method in class net.sf.jbenchmark.sql.AbstractSQLCallTest
List of all the arguments for the stored procedure.
setStatisticPublisher(String) - Method in class net.sf.jbenchmark.BenchmarkTask
Set the statistic publisher.
setStatisticPublisher(StatisticPublisher) - Method in class net.sf.jbenchmark.TopLevelContext
Set the publisher that should be used for publishing statistics.
setStatus(int) - Method in class net.sf.jbenchmark.AssertStatusCode
Sets the status code.
setTest(Test) - Method in class net.sf.jbenchmark.TestResult
Sets the test.
setThreadSession(boolean) - Method in class net.sf.jbenchmark.HttpServer
Sets the thread session flag.
setThreads(int) - Method in class net.sf.jbenchmark.HttpLogPlayerTest
Sets the number of threads.
setThreads(int) - Method in class net.sf.jbenchmark.TestThreadGroup
Sets the number of threads.
setThreads(int) - Method in class net.sf.jbenchmark.WebPageTestGroup
Sets the number of threads.
setThroughput(int) - Method in class net.sf.jbenchmark.FixedThroughputTest
Sets the throughtput (tests/second).
setTokens(String) - Method in class net.sf.jbenchmark.FixedItemList
Sets the tokens to be a part of the list, comma-separated.
setType(String) - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The type of the stored procedure argument.
setType(String) - Method in class net.sf.jbenchmark.sql.StoredProcedureTest
Type of the stored procedure.
setUid(String) - Method in class net.sf.jbenchmark.parser.HttpRequest
 
setUrl(String) - Method in class net.sf.jbenchmark.ConnectionFactory
Sets the database URL.
setUser(String) - Method in class net.sf.jbenchmark.ConnectionFactory
Sets the DB user.
setValue(String) - Method in class net.sf.jbenchmark.sql.SQLCallArgument
The value for this stored procedure argument.
setVar(String) - Method in class net.sf.jbenchmark.ChooseRandomItemTest
Sets the name of the item, as it is added to the "items" map.
setVar(String) - Method in class net.sf.jbenchmark.ForEachTest
Sets the name of the variable to be set on the attributes
setVar(String) - Method in class net.sf.jbenchmark.TokeniseTag
Sets the variable name.
setWeight(int) - Method in class net.sf.jbenchmark.ChoiceTest
Set the weight of this choice.
sqlArguments - Variable in class net.sf.jbenchmark.sql.AbstractSQLCallTest
List of arguments for the prepared statement.

T

TWIKI_COLUMN_SEPARATOR - Static variable in class net.sf.jbenchmark.util.format.TwikiFormatter
Twiki character for separating columns.
TWIKI_HEADING_CHARACTER - Static variable in class net.sf.jbenchmark.util.format.TwikiFormatter
Twiki character for designating heading or bold.
TYPE_IN - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for in paramter.
TYPE_OUT - Static variable in class net.sf.jbenchmark.sql.SQLCallArgument
Type for out parameter.
Test - class net.sf.jbenchmark.Test.
Abstract superclass for all tests.
Test() - Constructor for class net.sf.jbenchmark.Test
 
TestContext - interface net.sf.jbenchmark.TestContext.
The context that a test runs in.
TestFeature - class net.sf.jbenchmark.TestFeature.
A test feature.
TestFeature() - Constructor for class net.sf.jbenchmark.TestFeature
 
TestGroup - class net.sf.jbenchmark.TestGroup.
A test that runs a sequence of tests.
TestGroup() - Constructor for class net.sf.jbenchmark.TestGroup
 
TestListener - interface net.sf.jbenchmark.TestListener.
Listens for test lifecycles.
TestLogger - class net.sf.jbenchmark.TestLogger.
A test listener that logs the start and end of tests.
TestLogger() - Constructor for class net.sf.jbenchmark.TestLogger
 
TestLoop - class net.sf.jbenchmark.TestLoop.
A test that runs another test multiple times.
TestLoop() - Constructor for class net.sf.jbenchmark.TestLoop
 
TestLoopDuration - class net.sf.jbenchmark.TestLoopDuration.
Loops for a constant amount of time.
TestLoopDuration() - Constructor for class net.sf.jbenchmark.TestLoopDuration
 
TestResult - class net.sf.jbenchmark.TestResult.
The result of a test includes the test and the duration that the test took to execute.
TestResult() - Constructor for class net.sf.jbenchmark.TestResult
Default constructor.
TestResult(Test, long) - Constructor for class net.sf.jbenchmark.TestResult
Create a test result for the given test that specifies the duration of that test.
TestThreadGroup - class net.sf.jbenchmark.TestThreadGroup.
A test that runs a test in several threads.
TestThreadGroup() - Constructor for class net.sf.jbenchmark.TestThreadGroup
 
TestTimer - class net.sf.jbenchmark.TestTimer.
A test listener that times tests.
TestTimer() - Constructor for class net.sf.jbenchmark.TestTimer
 
TokeniseTag - class net.sf.jbenchmark.TokeniseTag.
A Jelly tag that tokenises a string.
TokeniseTag() - Constructor for class net.sf.jbenchmark.TokeniseTag
 
TopLevelContext - class net.sf.jbenchmark.TopLevelContext.
Test Context, includes Features, Resources accessible by all tests etc.
TopLevelContext() - Constructor for class net.sf.jbenchmark.TopLevelContext
Default constructor
TwikiFormatter - class net.sf.jbenchmark.util.format.TwikiFormatter.
Formats the statistic summary in Twiki Format.
TwikiFormatter() - Constructor for class net.sf.jbenchmark.util.format.TwikiFormatter
 
testFailed(Test, Throwable) - Method in class net.sf.jbenchmark.TestGroup
Called when a test fails.
testFailed(Test, Throwable) - Method in interface net.sf.jbenchmark.TestListener
Called when a test fails.
testFailed(Test, Throwable) - Method in class net.sf.jbenchmark.TestLogger
Called when a test fails.
testFailed(Test, Throwable) - Method in class net.sf.jbenchmark.TestTimer
Called when a test fails.
testFailed(Test, Throwable) - Method in class net.sf.jbenchmark.TopLevelContext
Called when a test fails.
testFailed(Test, Throwable) - Method in class net.sf.jbenchmark.util.BasicTestStatistics
For this we want to count the numnber of test failures.
testFinished(TestResult) - Method in class net.sf.jbenchmark.TestGroup
Called when a test finishes.
testFinished(TestResult) - Method in interface net.sf.jbenchmark.TestListener
Called when a test finishes.
testFinished(TestResult) - Method in class net.sf.jbenchmark.TestLogger
Called when a test finishes.
testFinished(TestResult) - Method in class net.sf.jbenchmark.TestTimer
Called when a test finishes.
testFinished(TestResult) - Method in class net.sf.jbenchmark.TopLevelContext
Called when a test finishes.
testFinished(TestResult) - Method in class net.sf.jbenchmark.util.BasicTestStatistics
Further accumulate the statistics for the next test result.
testStart(Test) - Method in class net.sf.jbenchmark.TestGroup
Called when a test starts.
testStart(Test) - Method in interface net.sf.jbenchmark.TestListener
Called when a test starts.
testStart(Test) - Method in class net.sf.jbenchmark.TestLogger
Called when a test starts.
testStart(Test) - Method in class net.sf.jbenchmark.TestTimer
Called when a test starts.
testStart(Test) - Method in class net.sf.jbenchmark.TopLevelContext
Called when a test starts.
testStart(Test) - Method in class net.sf.jbenchmark.util.BasicTestStatistics
When a test is started, we don't need to monitor anything.
toString() - Method in class net.sf.jbenchmark.TestFeature
Prints TestFeature.
toString() - Method in class net.sf.jbenchmark.parser.HttpRequest
 
toString() - Method in class net.sf.jbenchmark.sql.SQLCallArgument
Standard toString().

U

UtilTagLibrary - class net.sf.jbenchmark.UtilTagLibrary.
A library of utility tags.
UtilTagLibrary() - Constructor for class net.sf.jbenchmark.UtilTagLibrary
Creates a UtilTagLibrary.

V

ValidationUtils - class net.sf.jbenchmark.util.ValidationUtils.
Provides standard validation methods.
validateAttributeNotEmpty(String, String) - Static method in class net.sf.jbenchmark.util.ValidationUtils
Validate attribute is mandatory.
validateAttributeNotEmpty(String, String, String[]) - Static method in class net.sf.jbenchmark.util.ValidationUtils
Validate attribute is mandatory with specific types.

W

WebPageTestGroup - class net.sf.jbenchmark.WebPageTestGroup.
A basic test that performs an HTTP get on a single URL, using multiple threads, for a fixed duration.
WebPageTestGroup() - Constructor for class net.sf.jbenchmark.WebPageTestGroup
Creates the group.

A B C D E F G H I J L M N P Q R S T U V W