Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
A
acceptor
- Static variable in class webtester.packages.apps.
httpProxyGUI
The socket which listens for browser connections.
acceptor
- Static variable in class webtester.packages.apps.
httpProxy
The socket which listens for browser connections.
acceptor
- Variable in class webtester.packages.distributed.
distServer
The server socket instance that accepts new connections.
addAttachment(String)
- Method in class webtester.packages.common.
alertHandler
Adds the text as an HTML attachment to the message.
addBasicPassword(String)
- Method in class webtester.packages.config.
testCaseConfig
For HTTP basic authentication, add the password to be used.
addBasicRealm(String)
- Method in class webtester.packages.config.
testCaseConfig
For HTTP basic authorization, add the realm associated with the give test case.
addBasicUser(String)
- Method in class webtester.packages.config.
testCaseConfig
For HTTP basic authentication, add the user for the given realm.
addData(String)
- Method in class webtester.packages.config.
testCaseConfig
Add the form data that will be submitted when a URL is called.
addDescription(String)
- Method in class webtester.packages.config.
testCaseConfig
Store the given test case description.
addMethod(String)
- Method in class webtester.packages.config.
testCaseConfig
Add the method to be used, normally either GET or POST.
addNotificationAddresses(String)
- Method in class webtester.packages.config.
testCaseConfig
Add notification addresses specific to a test case.
addProxyHost(String)
- Method in class webtester.packages.config.
testCaseConfig
Set the host value which the test case should use as a proxy.
addProxyPort(String)
- Method in class webtester.packages.config.
testCaseConfig
Add the port for the proxy server the test case should use.
addRegex(String, int)
- Method in class webtester.packages.config.
testCaseConfig
Add regular expressions which are used to validate web content.
addSleep(String, int)
- Method in class webtester.packages.config.
testCaseConfig
The user can specify a number of seconds to wait between calling URLs.
addTimeout(String)
- Method in class webtester.packages.config.
testCaseConfig
Add the timeout value that should be used for HTTP connections within the test case.
addURL(String)
- Method in class webtester.packages.config.
testCaseConfig
Add a new URL, which will be associated with the last description provided.
addVariable(String, int)
- Method in class webtester.packages.config.
testCaseConfig
Add variable assignment information from the config file.
aDescriptions
- Variable in class webtester.packages.config.
testCaseConfig
Contains a list of test case descriptions.
aExcludeList
- Variable in class webtester.packages.threads.
fastProxyHandler
Contains a list of regular expressions to exclude while recording.
aExcludeList
- Variable in class webtester.packages.threads.
proxyHandler
Contains a list of regular expressions to exclude while recording.
aJavaScriptContent
- Variable in class webtester.packages.parser.
javaScriptParser
Contains the parsed javascript content.
alertHandler
- class webtester.packages.common.
alertHandler
.
This class handles sending email notifications when testcases, or the application, fails.
alertHandler(String, String, String)
- Constructor for class webtester.packages.common.
alertHandler
Takes the mail server and recipient addresses as arguments.
appExecBeginTime
- Variable in class webtester.packages.stats.
usageStats
The time at which the application started.
appExecEndTime
- Variable in class webtester.packages.stats.
usageStats
The time at which the application finished executing.
aRegexes
- Variable in class webtester.packages.threads.
fastProxyHandler
Contains regular expressions recorded with a test case.
aRegexes
- Variable in class webtester.packages.threads.
proxyHandler
Contains regular expressions recorded with a test case.
avgUrlsPerTestCase
- Variable in class webtester.packages.stats.
usageStats
The average number of URLs per test case.
B
bConfigLoaded
- Static variable in class webtester.packages.apps.
distributedGUI
Indicates if the config file has been loaded.
bConfigLoaded
- Variable in class webtester.packages.distributed.
distServer
Indicates whether a configuration file is loaded.
bConfigLoaded
- Variable in class webtester.packages.distributed.
serverHandler
Indicates whether a config file is loaded.
bDebug
- Variable in class webtester.packages.threads.
testCaseThread
Indicates whether debugging is enabled.
bDefaultNotificationAddress
- Variable in class webtester.packages.config.
treeParser
Indicates whether the default notification address has been found.
bEndProxy
- Static variable in class webtester.packages.apps.
httpProxyGUI
Indicates whether the proxy has finished recording.
bEndProxy
- Static variable in class webtester.packages.apps.
httpProxy
Indicates whether the proxy has finished recording.
bEndProxy
- Variable in class webtester.packages.threads.
fastProxyHandler
Inidicates whether the proxy has finished recording.
bEndProxy
- Variable in class webtester.packages.threads.
proxyHandler
Inidicates whether the proxy has finished recording.
bFinished
- Variable in class webtester.packages.threads.
testCaseThread
Indicates whether the thread has finished executing.
bFirst
- Static variable in class webtester.packages.apps.
httpProxyGUI
Indiciates whether this is the first testcase which has been recorded.
bFirstVarAdded
- Static variable in class webtester.packages.config.
configHandler
Indicates whether a variable assignment has been added to the test case.
bFromAddress
- Variable in class webtester.packages.config.
treeParser
Indicates whether the from address has been found.
bImageRecord
- Variable in class webtester.packages.threads.
proxyHandler
Indicates whether images are being recorded.
bLoggingPath
- Variable in class webtester.packages.config.
treeParser
Indicates whether the logging path has been found.
bMailServer
- Variable in class webtester.packages.config.
treeParser
Indicates whether the mailserver has been found.
bMaster
- Variable in class webtester.packages.distributed.
distServer
Indicates if this is a master server or not.
bMaster
- Variable in class webtester.packages.distributed.
serverHandler
Indicates if the server is a master or not.
bMasterInstance
- Static variable in class webtester.packages.apps.
distributedGUI
Indicates whether the currently running instance is a master or slave.
bNotificationsEnabled
- Variable in class webtester.packages.threads.
testCaseThread
Indicates whether notifications are enabled.
bNotificationsEnabled
- Variable in class webtester.packages.config.
treeParser
Indicates whether the notifications enabled parameter has been found.
bNumberOfThreads
- Variable in class webtester.packages.config.
treeParser
Indicates whether the number of threads have been found.
bPostRedirect
- Static variable in class webtester.packages.apps.
httpProxyGUI
Indicates whether a POST request sent a redirec request.
bPostRedirect
- Variable in class webtester.packages.threads.
fastProxyHandler
Indicates whether a POST request resulted in a redirect request.
bPostRedirect
- Variable in class webtester.packages.threads.
proxyHandler
Indicates whether a POST request resulted in a redirect request.
bRandomOrder
- Variable in class webtester.packages.config.
treeParser
Indicates whether the randomize parameter has been found.
bRecord
- Static variable in class webtester.packages.apps.
httpProxyGUI
Indicates whether the proxy is currently recording.
bRecord
- Static variable in class webtester.packages.apps.
httpProxy
Indicates whether the browser is currently recording.
bRecord
- Variable in class webtester.packages.threads.
fastProxyHandler
Indicates whether the proxy is recording a test case.
bRecord
- Variable in class webtester.packages.threads.
proxyHandler
Indicates whether the proxy is recording a test case.
bRunOnlyOnce
- Variable in class webtester.packages.config.
treeParser
Indicates whether the run only once value has been found.
bRunOnlyOnce
- Variable in class webtester.packages.stats.
usageStats
Indicates whether the run only once parameter was set.
bRunTime
- Variable in class webtester.packages.config.
treeParser
Indicates if the test case is only supposed to run for a specified time.
bSpamCount
- Variable in class webtester.packages.config.
treeParser
Indicates whether the spam count parameter has been found.
bSSL
- Variable in class webtester.packages.threads.
fastProxyHandler
Indicates whether the user attempted to make an SSL connection.
bSSL
- Variable in class webtester.packages.threads.
proxyHandler
Indicates whether the user attempted to make an SSL connection.
bStatsEmail
- Variable in class webtester.packages.config.
treeParser
Indicates whether the statistics email parameter has been found.
bStatsReporting
- Variable in class webtester.packages.config.
treeParser
Indicates whether the stats reporting value has been found.
bTestCases
- Static variable in class webtester.packages.distributed.
clientThread
Indicates if there are test cases to execute.
buildRegexes(String)
- Method in class webtester.packages.threads.
proxyHandler
Examine the content and build regular expressions which can be used to validate that content.
C
changeTestCaseURL(String, String)
- Method in class webtester.packages.config.
treeParser
Change all URLs within the specified test case.
checkForTestCase()
- Static method in class webtester.packages.distributed.
distClient
See if there are any test cases to run.
clearValues()
- Method in class webtester.packages.config.
testCaseConfig
Delete the currently stored values.
clearValues()
- Method in class webtester.packages.config.
configHandler
Clear any values that may have been stored by a previous instance.
clientThread
- class webtester.packages.distributed.
clientThread
.
Provides a thread that the client uses to ping the master server for test cases and other updates.
clientThread(String, int, JTextArea)
- Constructor for class webtester.packages.distributed.
clientThread
The constructor which takes the host address and port as arguments.
configEditor
- class webtester.packages.apps.
configEditor
.
Provides a GUI interface to edit the configuration file.
configEditor()
- Constructor for class webtester.packages.apps.
configEditor
configHandler
- class webtester.packages.config.
configHandler
.
Handles parsing and validating the XML configuration file.
configHandler()
- Constructor for class webtester.packages.config.
configHandler
configWriter
- class webtester.packages.config.
configWriter
.
Using the configuration classes, this class rewrites the specified configuration file.
configWriter(treeParser)
- Constructor for class webtester.packages.config.
configWriter
Constructor which takes an instance of the treeParser class as an argument.
containsJavaScript()
- Method in class webtester.packages.parser.
javaScriptParser
Determines if the HTML contains javascript tokens.
createGeneralDollarRegex(String)
- Method in class webtester.packages.threads.
proxyHandler
Given something that might be a dollar amount, create a general regex that represents the value.
createNodes(DefaultMutableTreeNode, configHandler)
- Static method in class webtester.packages.apps.
configEditor
Uses the configuration objects to create a tree that appears in the left frame.
customHandler()
- Method in class webtester.packages.threads.
proxyHandler
The user calls certain URLs to start and stop testcases.
D
distClient
- class webtester.packages.distributed.
distClient
.
The client library for the distributed GUI.
distClient(String, int)
- Constructor for class webtester.packages.distributed.
distClient
The constructor which takes the host and port as arguments.
distributedGUI
- class webtester.packages.apps.
distributedGUI
.
Provides a GUI interface which allows for load testing via clients distributed on the network.
distributedGUI()
- Constructor for class webtester.packages.apps.
distributedGUI
distServer
- class webtester.packages.distributed.
distServer
.
The server component for the distributed GUI.
distServer(int)
- Constructor for class webtester.packages.distributed.
distServer
The constructor, which requires the port number as an argument.
dServer
- Static variable in class webtester.packages.apps.
distributedGUI
The server used if this is a master server.
E
examineResponse(String, String, String, String)
- Method in class webtester.packages.threads.
testCaseThread
Examine the response from the webserver, and send alerts if necessary.
execInfo
- Variable in class webtester.packages.threads.
testCaseThread
Used to accumulate execution statistics.
executionStats
- class webtester.packages.stats.
executionStats
.
Gathers runtime statistics which, if enabled, will be sent to the default notification address.
executionStats(globalConfig, testCaseConfig)
- Constructor for class webtester.packages.stats.
executionStats
The constructor, which takes the configuration objects as arguments.
F
fastProxyHandler
- class webtester.packages.threads.
fastProxyHandler
.
Used for proxying HTTP requests as quickly as possible.
fastProxyHandler()
- Constructor for class webtester.packages.threads.
fastProxyHandler
The default constructor for the class, which takes no arguments.
fastProxyHandler(InputStream, OutputStream)
- Constructor for class webtester.packages.threads.
fastProxyHandler
Get the input/output streams for the browser.
fixHeaders(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Fix the HTTP headers so that microsoft webservers won't return errors.
fixHeaders(String)
- Method in class webtester.packages.threads.
proxyHandler
Fix the HTTP headers so that microsoft webservers won't return errors.
fixRegex(String)
- Method in class webtester.packages.threads.
proxyHandler
Fix special characters in the regex.
flushImageToFile(String, String)
- Method in class webtester.packages.threads.
proxyHandler
Write image details to a file so they can later be added to the generate config file.
flushToFile()
- Method in class webtester.packages.threads.
proxyHandler
Write information retrieved to a config file that will processed later.
flushURLToFile()
- Method in class webtester.packages.threads.
proxyHandler
For a 302 response, we need to record the URL and data, but record regexes for the subsequent response.
G
gConfig
- Static variable in class webtester.packages.apps.
distributedGUI
Contains global configuration information.
gConfig
- Static variable in class webtester.packages.apps.
runTests
Contains global configuration information.
gConfig
- Static variable in class webtester.packages.apps.
runTestsGUI
Contains global configuration information.
gConfig
- Variable in class webtester.packages.threads.
testCaseThread
Contains global configuration information.
gConfig
- Variable in class webtester.packages.config.
treeParser
Used to store global configuration information.
gConfig
- Static variable in class webtester.packages.config.
configHandler
Contains global configuration information.
gConfig
- Variable in class webtester.packages.stats.
executionStats
Contains global configuration information.
gConfig
- Variable in class webtester.packages.stats.
usageStats
The global configuration class.
generateConfigFile()
- Method in class webtester.packages.threads.
proxyHandler
Based on the recorded data, and input from the browser, write the XML config file.
getApplicationExecTime()
- Method in class webtester.packages.stats.
usageStats
Return the total time it took for the application to execute.
getAverageURLs()
- Method in class webtester.packages.stats.
usageStats
Get the average number of URLs per test case.
getBasicPassword(String)
- Method in class webtester.packages.config.
testCaseConfig
Retrieve the password to be used for HTTP basic authentication.
getBasicRealm(String)
- Method in class webtester.packages.config.
testCaseConfig
Get the realm associated with the test case.
getBasicStats()
- Method in class webtester.packages.stats.
usageStats
Retrieves basic configuration information.
getBasicUser(String)
- Method in class webtester.packages.config.
testCaseConfig
Return the user, associated with the given test case, to be used for authentication.
getConfigErrors()
- Method in class webtester.packages.config.
configHandler
Retrieve errors with the configuration file.
getConfigFile()
- Method in class webtester.packages.config.
globalConfig
Return the filename of the config file being used.
getConfigFileContents()
- Method in class webtester.packages.distributed.
serverHandler
Retrieve the contents of the configuration file that is loaded.
getData(String)
- Method in class webtester.packages.config.
testCaseConfig
Return form data that is associated with the URLs.
getDefaultNotificationAddress()
- Method in class webtester.packages.config.
globalConfig
Retrieve the default notification address.
getDescriptions()
- Method in class webtester.packages.config.
testCaseConfig
Return all test case descriptions.
getEndProxy()
- Method in class webtester.packages.threads.
fastProxyHandler
A boolean value which determines whether or not the proxy should exit and generate a config file.
getEndProxy()
- Method in class webtester.packages.threads.
proxyHandler
A boolean value which determines whether or not the proxy should exit and generate a config file.
getErrors()
- Method in class webtester.packages.threads.
testCaseThread
Read the error tracking file to get the total number of errors.
getExcludeList()
- Method in class webtester.packages.threads.
proxyHandler
Read the file which contains regexes to exclude and store the regexes in an ArrayList.
getFromAddress()
- Method in class webtester.packages.config.
globalConfig
Return the "FROM" address to be used for notifications.
getGlobalConfig()
- Method in class webtester.packages.config.
treeParser
Returns an instance of the globalConfig class created when parsing the tree.
getGlobalConfiguration()
- Method in class webtester.packages.config.
configHandler
Return an object which contains global configuration values.
getHttpHeaders(InputStream, OutputStream)
- Static method in class webtester.packages.apps.
httpProxyGUI
Retrieve http headers from the browsers' streams.
getImageRecord()
- Method in class webtester.packages.threads.
proxyHandler
Get the value which determines if images are being recorded.
getLoggingPath()
- Method in class webtester.packages.config.
globalConfig
Return a value which indicates where logfiles will be written.
getMailServer()
- Method in class webtester.packages.config.
globalConfig
Return the mail server to be used for sending notifications.
getMessage()
- Method in class webtester.packages.distributed.
serverHandler
Return the last message received.
getMessagesSent()
- Method in class webtester.packages.threads.
testCaseThread
Retrieve the number of notifications sent by the application.
getMethods(String)
- Method in class webtester.packages.config.
testCaseConfig
Return methods that need to be known when submitting URLs.
getNextToken()
- Method in class webtester.packages.parser.
javaScriptParser
Return the next parsed javascript token.
getNodeNumber()
- Static method in class webtester.packages.distributed.
distClient
Return the node number assigned by the server.
getNodeNumber()
- Method in class webtester.packages.distributed.
serverHandler
Get a uniqe number to assign to the node.
getNotificationAddresses(String)
- Method in class webtester.packages.config.
testCaseConfig
Return notification addresses associated with the test case.
getNotificationsEnabled()
- Method in class webtester.packages.config.
globalConfig
Return the value which indiciates if notifications are enabled.
getNumberOfTestCases()
- Method in class webtester.packages.config.
testCaseConfig
Determine the number of test cases that exist in the current configuration.
getNumberOfThreads()
- Method in class webtester.packages.config.
globalConfig
Return the number of threads the application can use.
getParsedHeaders()
- Method in class webtester.packages.threads.
fastProxyHandler
Return the headers that were set previously.
getParsedHeaders()
- Method in class webtester.packages.threads.
proxyHandler
Return the headers that were set previously.
getPostRedirect()
- Method in class webtester.packages.threads.
fastProxyHandler
Retrieve the value which indicates if a POST redirect request was encountered.
getPostRedirect()
- Method in class webtester.packages.threads.
proxyHandler
Retrieve the value which indicates if a POST redirect request was encountered.
getPreferences()
- Method in class webtester.packages.threads.
proxyHandler
Retrieve user preferences from a text file, if they exist.
getProxyHost(String)
- Method in class webtester.packages.config.
testCaseConfig
Return the test case's value for the proxy hostname, if any.
getProxyPort(String)
- Method in class webtester.packages.config.
testCaseConfig
Return the proxy port for the given test case.
getRandomOrder()
- Method in class webtester.packages.config.
globalConfig
Return a value which indicates if the test cases are executed in random order.
getRecordOn()
- Method in class webtester.packages.threads.
fastProxyHandler
Indicates whether a testcase is currently being recorded.
getRecordOn()
- Method in class webtester.packages.threads.
proxyHandler
Indicates whether a testcase is currently being recorded.
getRegexes(String)
- Method in class webtester.packages.config.
testCaseConfig
Retrieve regular expressions that are used to validate content.
getRunOnlyOnce()
- Method in class webtester.packages.config.
globalConfig
Return the value which indicates whether test cases should be executed only once.
getRunTime()
- Method in class webtester.packages.config.
globalConfig
Retrieve the amount of time the test cases should be executed.
getServerType()
- Method in class webtester.packages.threads.
fastProxyHandler
Determine the server type.
getServerType()
- Method in class webtester.packages.threads.
proxyHandler
Determine the server type.
getServerTypes()
- Method in class webtester.packages.threads.
fastProxyHandler
Return the server type information.
getServerTypes()
- Method in class webtester.packages.threads.
proxyHandler
Return the server type information.
getSleep(String)
- Method in class webtester.packages.config.
testCaseConfig
If the user indicated any delays between calling URLs, then return them.
getSpamCount()
- Method in class webtester.packages.config.
globalConfig
Return a value which indicates how many notifications can be sent.
getSSL()
- Method in class webtester.packages.threads.
fastProxyHandler
Indicates whether the user tried to access an SSL connection.
getSSL()
- Method in class webtester.packages.threads.
proxyHandler
Indicates whether the user tried to access an SSL connection.
getStatsEmail()
- Method in class webtester.packages.config.
globalConfig
Return the value which indicates whether an email containing statistical data should be sent.
getStatsReporting()
- Method in class webtester.packages.config.
globalConfig
Return the value for statistics reporting.
getTestCaseConfig()
- Method in class webtester.packages.config.
treeParser
Returns an instance of the testCaseConfig class created when parsing the tree.
getTestCaseConfigurations()
- Method in class webtester.packages.config.
configHandler
Return an object which contains configuration values for each individual test case.
getTestcaseName()
- Method in class webtester.packages.threads.
fastProxyHandler
Return the currently assigned testcase name.
getTestcaseName()
- Method in class webtester.packages.threads.
proxyHandler
Return the currently assigned testcase name.
getTestCases()
- Static method in class webtester.packages.distributed.
distClient
Send a request to retrieve test cases from the server.
getTestCases(distClient)
- Method in class webtester.packages.distributed.
clientThread
Send a request to the server to retrieve test case data.
getTimeout(String)
- Method in class webtester.packages.config.
testCaseConfig
Return the timeout value for the testcase, if it exists.
getTotalURLs()
- Method in class webtester.packages.stats.
usageStats
Get the total number of URLs in the configuration file.
getURL()
- Method in class webtester.packages.threads.
fastProxyHandler
Return the last URL accessed.
getURL()
- Method in class webtester.packages.threads.
proxyHandler
Return the last URL accessed.
getURL(String)
- Static method in class webtester.packages.apps.
httpProxyGUI
Parse the request headers into a hashmap.
getURLs(String)
- Method in class webtester.packages.config.
testCaseConfig
Return URLs which are required for the specified test case.
getVariables(String)
- Method in class webtester.packages.config.
testCaseConfig
Retrieve variable assignment information for a given test case.
globalConfig
- class webtester.packages.config.
globalConfig
.
Contains global configuration information, which is information that isn't specific to test cases.
globalConfig()
- Constructor for class webtester.packages.config.
globalConfig
H
handleNodeUpdates(String)
- Method in class webtester.packages.distributed.
serverHandler
Deal with updates coming from a node to the master server.
handleServerResponse(String)
- Static method in class webtester.packages.distributed.
distClient
Handle the response from the server as required.
hBasicPasswords
- Variable in class webtester.packages.config.
testCaseConfig
Contains passwords for HTTP basic authentication.
hBasicRealms
- Variable in class webtester.packages.config.
testCaseConfig
Contains realms for HTTP basic authentication.
hBasicUsers
- Variable in class webtester.packages.config.
testCaseConfig
Contains username for HTTP basic authentication.
hData
- Variable in class webtester.packages.config.
testCaseConfig
Contains data sent with URL requests.
hHeaders
- Variable in class webtester.packages.threads.
fastProxyHandler
Contains HTTP headers sent by the browser.
hHeaders
- Variable in class webtester.packages.threads.
proxyHandler
Contains HTTP headers sent by the browser.
hMethods
- Variable in class webtester.packages.config.
testCaseConfig
Contains methods by which URLs are called (i.e.
hNoRegexes
- Variable in class webtester.packages.config.
testCaseConfig
Contains regular expression that should not be present in examined data.
hNotificationAddresses
- Variable in class webtester.packages.config.
testCaseConfig
Contains notification addresses for each test case.
hostConfiguration
- Variable in class webtester.packages.threads.
testCaseThread
Stores configuration data for the http connection.
hProxyHosts
- Variable in class webtester.packages.config.
testCaseConfig
Contains proxy servers defined for each test case.
hProxyPorts
- Variable in class webtester.packages.config.
testCaseConfig
Contains proxy ports defined for each test case.
hRegexes
- Variable in class webtester.packages.config.
testCaseConfig
Contains regular expressions to match.
hServerTypes
- Static variable in class webtester.packages.apps.
httpProxyGUI
Contains server type information.
hServerTypes
- Static variable in class webtester.packages.apps.
httpProxy
A HashMap that contains server type information.
hServerTypes
- Variable in class webtester.packages.threads.
fastProxyHandler
Indicates the type of webserver being accessed.
hServerTypes
- Variable in class webtester.packages.threads.
proxyHandler
Indicates the type of webserver being accessed.
hSleepTimes
- Variable in class webtester.packages.config.
testCaseConfig
Contains any sleep commands related to each test case.
hTestCaseBeginTimes
- Variable in class webtester.packages.stats.
executionStats
Contains times at which test cases were started.
hTestCaseEndTimes
- Variable in class webtester.packages.stats.
executionStats
Contains times at which test cases finished.
hTimeouts
- Variable in class webtester.packages.config.
testCaseConfig
Contains HTTP timeout values for each test case.
httpClient
- Variable in class webtester.packages.threads.
testCaseThread
Used to make http connections, and obtain responses.
httpProxy
- class webtester.packages.apps.
httpProxy
.
Listen for HTTP requests on the specified, and act as a proxy for those requests.
httpProxy()
- Constructor for class webtester.packages.apps.
httpProxy
The default constructor.
httpProxy(int)
- Constructor for class webtester.packages.apps.
httpProxy
Constructor which takes 1 argument.
httpProxyGUI
- class webtester.packages.apps.
httpProxyGUI
.
Provides a GUI interface for the http proxy.
httpProxyGUI()
- Constructor for class webtester.packages.apps.
httpProxyGUI
hUrlBeginTimes
- Variable in class webtester.packages.stats.
executionStats
Contains times when URLs were called.
hUrlBytesReturned
- Variable in class webtester.packages.stats.
executionStats
Contains the bytes returned for URLs.
hUrlEndTimes
- Variable in class webtester.packages.stats.
executionStats
Contains times when URLs finished responding.
hURLs
- Variable in class webtester.packages.config.
testCaseConfig
Contains URLs related to test cases.
hVarAssign
- Variable in class webtester.packages.config.
testCaseConfig
Contains variable assignments for each test case.
hVars
- Variable in class webtester.packages.threads.
testCaseThread
Contains variable assignment values.
I
iAllowedTries
- Static variable in class webtester.packages.threads.
fastProxyHandler
The number of allowed tries for reading data from a socket.
iAllowedTries
- Static variable in class webtester.packages.threads.
proxyHandler
The number of allowed tries for reading data from a socket.
iArgLen
- Static variable in class webtester.packages.threads.
testCaseThread
The number of command-line args to pass to the Tidy class.
iColumns
- Static variable in class webtester.packages.apps.
distributedGUI
Number of columns for the text area.
iColumns
- Static variable in class webtester.packages.apps.
runTestsGUI
Number of columns for the text area.
iCounter
- Static variable in class webtester.packages.config.
configHandler
A counter used to maintain index counts for certain config values.
iCounter
- Variable in class webtester.packages.parser.
javaScriptParser
Index used to retrieve parsed javascript elements.
iDefaultMasterServerPort
- Static variable in class webtester.packages.apps.
distributedGUI
The default port for the distributed master server.
iDefaultPort
- Static variable in class webtester.packages.apps.
httpProxyGUI
The default port on which to listen for browser connections.
iDefaultPort
- Static variable in class webtester.packages.apps.
httpProxy
The default port to use when waiting for connections.
iDefaultPort
- Static variable in class webtester.packages.threads.
fastProxyHandler
The default port to use for HTTP connections.
iDefaultPort
- Static variable in class webtester.packages.threads.
proxyHandler
The default port to use for HTTP connections.
iDefaultSlaveServerPort
- Static variable in class webtester.packages.apps.
distributedGUI
The default port for the distributed client.
iDefaultTimeout
- Static variable in class webtester.packages.threads.
fastProxyHandler
The default timeout value for HTTP connections.
iDefaultTimeout
- Static variable in class webtester.packages.threads.
proxyHandler
The default timeout value for HTTP connections.
iDividerLocation
- Static variable in class webtester.packages.apps.
distributedGUI
The divider location for the split pane.
iDividerLocation
- Static variable in class webtester.packages.apps.
configEditor
The divider location for the split pane.
iDividerLocation
- Static variable in class webtester.packages.apps.
httpProxyGUI
Divider location for the split pane.
iDividerLocation
- Static variable in class webtester.packages.apps.
runTestsGUI
The divider location for the split pane.
iHeaderLimit
- Static variable in class webtester.packages.threads.
fastProxyHandler
The minimum allowed length for http headers before they will be parsed.
iHeaderLimit
- Static variable in class webtester.packages.threads.
proxyHandler
The minimum allowed length for http headers before they will be parsed.
iHeight
- Static variable in class webtester.packages.apps.
configEditor
The default height of the application.
iHostPort
- Static variable in class webtester.packages.distributed.
distClient
The port of the master server.
iHostPort
- Static variable in class webtester.packages.distributed.
clientThread
The port of the master server.
iHttpError
- Static variable in class webtester.packages.threads.
fastProxyHandler
The value at which HTTP return codes indicate an error.
iHttpError
- Static variable in class webtester.packages.threads.
proxyHandler
The value at which HTTP return codes indicate an error.
iHttpError
- Static variable in class webtester.packages.threads.
testCaseThread
The value at which http return codes indicate an error.
iHttpPort
- Static variable in class webtester.packages.threads.
fastProxyHandler
The default port for HTTP connections.
iHttpPort
- Static variable in class webtester.packages.threads.
proxyHandler
The default port for HTTP connections.
iHttpPort
- Static variable in class webtester.packages.threads.
testCaseThread
The default http port.
iIntElement
- Static variable in class webtester.packages.common.
timeRegexHandler
The element index to use when retrieving integer values from regexes.
iMaxTries
- Static variable in class webtester.packages.apps.
httpProxyGUI
Maximum number of times the application will try to read data from the browser input streams.
iMinTokenLength
- Static variable in class webtester.packages.threads.
fastProxyHandler
The minimum length for a token to be recorded as a regular expression.
iMinTokenLength
- Static variable in class webtester.packages.threads.
proxyHandler
The minimum length for a token to be recorded as a regular expression.
iMinuteConversion
- Static variable in class webtester.packages.apps.
runTests
Used to convert minutes to seconds.
iMinuteConversion
- Static variable in class webtester.packages.apps.
runTestsGUI
Used to convert minutes to seconds.
incrementError()
- Method in class webtester.packages.threads.
testCaseThread
Increment the error count and udpate the file.
incrementMessages()
- Method in class webtester.packages.threads.
testCaseThread
Increment the number of notifications sent by the application.
iNodeAssign
- Static variable in class webtester.packages.distributed.
serverHandler
A counter used to assign new nodes a number.
iNodeNumber
- Static variable in class webtester.packages.distributed.
distClient
The unique number that identifies this node.
iNodeNumber
- Static variable in class webtester.packages.distributed.
clientThread
The node number assigned by the server.
input
- Variable in class webtester.packages.threads.
fastProxyHandler
Used to retrieve information from the browser.
input
- Variable in class webtester.packages.threads.
proxyHandler
Used to retrieve information from the browser.
input
- Variable in class webtester.packages.distributed.
serverHandler
Contain input to the server.
iNumTries
- Static variable in class webtester.packages.threads.
fastProxyHandler
The number of times to attempt to read an http response.
iNumTries
- Static variable in class webtester.packages.threads.
proxyHandler
The number of times to attempt to read an http response.
iNumTries
- Variable in class webtester.packages.distributed.
serverHandler
Number of allowed tries to read data from client.
iParsingFailed
- Static variable in class webtester.packages.config.
configHandler
The value to return if parsing the XML document fails.
iPostRedirect
- Static variable in class webtester.packages.threads.
fastProxyHandler
HTTP status code which indicates a POST redirect.
iPostRedirect
- Static variable in class webtester.packages.threads.
proxyHandler
HTTP status code which indicates a POST redirect.
iRequestLineLimit
- Static variable in class webtester.packages.threads.
fastProxyHandler
The number of lines to read from an incoming HTTP response for header info.
iRequestLineLimit
- Static variable in class webtester.packages.threads.
proxyHandler
The number of lines to read from an incoming HTTP response for header info.
iReturnCodeIndex
- Static variable in class webtester.packages.threads.
fastProxyHandler
The index to use when retrieving the HTTP status code.
iReturnCodeIndex
- Static variable in class webtester.packages.threads.
proxyHandler
The index to use when retrieving the HTTP status code.
iRows
- Static variable in class webtester.packages.apps.
distributedGUI
Number of rows for the text area.
iRows
- Static variable in class webtester.packages.apps.
runTestsGUI
Number of rows for the text area.
iSecConversion
- Static variable in class webtester.packages.apps.
runTests
This is the conversion factor for going back and forth from seconds.
iSecConversion
- Static variable in class webtester.packages.apps.
runTestsGUI
This is the conversion factor for going back and forth from seconds.
isExcluded(String)
- Method in class webtester.packages.threads.
proxyHandler
Determines if the given String represents an excluded regular expression.
isFinished()
- Method in class webtester.packages.threads.
testCaseThread
Return the value which indicates if the thread is finished.
iSleepTime
- Static variable in class webtester.packages.apps.
distributedGUI
Default amount of time to sleep.
iSleepTime
- Static variable in class webtester.packages.apps.
httpProxyGUI
The amount of time to sleep while waiting for a thread to execute.
iSleepTime
- Static variable in class webtester.packages.apps.
runTests
The amount of time to wait for a thread to finish.
iSleepTime
- Static variable in class webtester.packages.apps.
httpProxy
The amount of time to sleep while waiting for the proxy thread.
iSleepTime
- Static variable in class webtester.packages.apps.
runTestsGUI
Default time to sleep when monitoring threads.
iSleepTime
- Static variable in class webtester.packages.threads.
fastProxyHandler
How long to wait between attempts to read an http response.
iSleepTime
- Static variable in class webtester.packages.threads.
proxyHandler
How long to wait between attempts to read an http response.
iSleepTime
- Static variable in class webtester.packages.distributed.
clientThread
The default time to sleep in between pings to the server.
iSleepTime
- Variable in class webtester.packages.distributed.
serverHandler
Amount of time to sleep when waiting for client to send data.
iSleepTime2
- Static variable in class webtester.packages.distributed.
clientThread
Default time to sleep when monitoring threads.
iSocketTimeout
- Static variable in class webtester.packages.threads.
fastProxyHandler
The default timeout for http connections.
iSocketTimeout
- Static variable in class webtester.packages.threads.
proxyHandler
The default timeout for http connections.
iSslPort
- Static variable in class webtester.packages.threads.
testCaseThread
The default SSL port.
iSSLPort
- Static variable in class webtester.packages.threads.
fastProxyHandler
The default port for SSL connections.
iSSLPort
- Static variable in class webtester.packages.threads.
proxyHandler
The default port for SSL connections.
isTestCase(TreePath, configHandler)
- Static method in class webtester.packages.apps.
configEditor
Determine if the selected node represents a test case.
iTestCaseIndex
- Static variable in class webtester.packages.threads.
fastProxyHandler
The starting index to use when parsing the test case name.
iTestCaseIndex
- Static variable in class webtester.packages.threads.
proxyHandler
The starting index to use when parsing the test case name.
iTextAreaCols
- Static variable in class webtester.packages.apps.
httpProxyGUI
The number of columns in the text area.
iTextAreaLength
- Variable in class webtester.packages.distributed.
clientThread
Max number of characters allowed in textarea.
iTextAreaLength
- Variable in class webtester.packages.distributed.
serverHandler
Max number of characters allowed in textarea.
iTextAreaRows
- Static variable in class webtester.packages.apps.
httpProxyGUI
The number of rows in the text area.
iTextField
- Static variable in class webtester.packages.apps.
configEditor
Specifies the initial size for a text field.
iTextFieldLen
- Static variable in class webtester.packages.apps.
distributedGUI
The number of characters that appear in text fields.
iTextFieldLen
- Static variable in class webtester.packages.apps.
httpProxyGUI
Default length of a text field.
iTextFieldLen2
- Static variable in class webtester.packages.apps.
httpProxyGUI
Default length for other text fields.
iTextLength
- Static variable in class webtester.packages.apps.
httpProxyGUI
Length at which the text area is cleared.
iTextLimit
- Static variable in class webtester.packages.apps.
runTestsGUI
The maximum number of characters displayed in the text area.
iTimeConversion
- Static variable in class webtester.packages.threads.
testCaseThread
Used to convert time values.
iTimeConversion
- Static variable in class webtester.packages.config.
testCaseConfig
Used when converting time from milliseconds to seconds.
iTimeConversion
- Static variable in class webtester.packages.stats.
executionStats
Used to convert time from milliseconds to seconds.
iTimeConversion
- Static variable in class webtester.packages.stats.
usageStats
Used to convert from milliseconds to seconds.
iURLCounter
- Variable in class webtester.packages.config.
treeParser
A counter used for indexing test case related elements.
iURLElement
- Static variable in class webtester.packages.threads.
testCaseThread
The starting index to use when parsing URLs.
iURLSize
- Static variable in class webtester.packages.config.
treeParser
The minimum size for an ArrayList representing a URL value.
iURLStartIndex
- Static variable in class webtester.packages.threads.
fastProxyHandler
The starting index to use when parsing URLs.
iURLStartIndex
- Static variable in class webtester.packages.threads.
proxyHandler
The starting index to use when parsing URLs.
iWidth
- Static variable in class webtester.packages.apps.
configEditor
The default width of the application.
J
javaScriptParser
- class webtester.packages.parser.
javaScriptParser
.
This class tokenizes javascript so that regexes can be created for it.
javaScriptParser()
- Constructor for class webtester.packages.parser.
javaScriptParser
L
label
- Static variable in class webtester.packages.apps.
httpProxyGUI
Label used to provide instructions to user.
M
main(String[])
- Static method in class webtester.packages.apps.
distributedGUI
The main method, which is the entry point to this application.
main(String[])
- Static method in class webtester.packages.apps.
configEditor
The main method, which is the entry point into the application.
main(String[])
- Static method in class webtester.packages.apps.
httpProxyGUI
The main method, the entry point into the application.
main(String[])
- Static method in class webtester.packages.apps.
runTests
The main method, the default entry point into the program.
main(String[])
- Static method in class webtester.packages.apps.
httpProxy
The main method which is the entry point into the program.
main(String[])
- Static method in class webtester.packages.apps.
runTestsGUI
The main method, the entry point into the program.
method
- Variable in class webtester.packages.threads.
testCaseThread
Used to send GET requests.
modifyURL(String, String)
- Method in class webtester.packages.config.
treeParser
Change the host name for the URL.
mpmethod
- Variable in class webtester.packages.threads.
testCaseThread
Used for uploading files.
N
needToModify(String)
- Static method in class webtester.packages.common.
timeRegexHandler
Determine if this string requires variable substitution.
normalProxy(String, boolean)
- Static method in class webtester.packages.apps.
httpProxyGUI
Determine if the normal proxy should be used.
numTestCases
- Variable in class webtester.packages.stats.
usageStats
The number of test cases executed.
numThreads
- Variable in class webtester.packages.stats.
usageStats
The number of threads used.
O
output
- Variable in class webtester.packages.threads.
fastProxyHandler
Used to send information to the browser.
output
- Variable in class webtester.packages.threads.
proxyHandler
Used to send information to the browser.
output
- Variable in class webtester.packages.distributed.
serverHandler
Sends ouput to the client.
P
parseContent(String)
- Method in class webtester.packages.threads.
proxyHandler
Extract the HTML content from the data returned by the webserver.
parseGlobalConfigValues(Object)
- Method in class webtester.packages.config.
treeParser
Traverse the TreeModel, and update the configuration objects as necessary.
parseHeaders(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Parse the request headers into a hashmap.
parseHeaders(String)
- Method in class webtester.packages.threads.
proxyHandler
Parse the request headers into a hashmap.
parseTestCases(Object)
- Method in class webtester.packages.config.
treeParser
Parse the tree and update test case related values.
parseTree()
- Method in class webtester.packages.config.
treeParser
Parse the tree into components that can be used to update the configuration classes.
parseXMLDocument()
- Method in class webtester.packages.config.
configHandler
Parse the XML document an retrieve the configuration values.
parseXMLNodes(Node)
- Method in class webtester.packages.config.
configHandler
Parse the XML document and save the information as it is retrieved.
pmethod
- Variable in class webtester.packages.threads.
testCaseThread
Used to send POST requests.
processClientRequest(Socket)
- Static method in class webtester.packages.apps.
httpProxy
Call the thread which processes the requests.
processClientRequest(Socket)
- Method in class webtester.packages.distributed.
distServer
Passes the client socket to the proper handler
processClientRequest(Socket, boolean)
- Static method in class webtester.packages.apps.
httpProxyGUI
Call the thread which processes the requests.
proxyHandler
- class webtester.packages.threads.
proxyHandler
.
The thread that is used for proxying HTTP requests, and examining the responses.
proxyHandler()
- Constructor for class webtester.packages.threads.
proxyHandler
The default constructor for the class, which takes no arguments.
proxyHandler(InputStream, OutputStream)
- Constructor for class webtester.packages.threads.
proxyHandler
Get the input/output streams for the browser.
R
randomOrder(ArrayList)
- Static method in class webtester.packages.apps.
runTests
Randomly order the test case descriptions.
randomOrder(ArrayList)
- Static method in class webtester.packages.apps.
runTestsGUI
Randomly order the test case descriptions.
removeLastVariable(int)
- Method in class webtester.packages.config.
testCaseConfig
Remove the last variable that was added.
run()
- Method in class webtester.packages.threads.
fastProxyHandler
The method used to start this thread.
run()
- Method in class webtester.packages.threads.
proxyHandler
The method used to start this thread.
run()
- Method in class webtester.packages.threads.
testCaseThread
The method used to start executing a test case.
run()
- Method in class webtester.packages.distributed.
clientThread
run()
- Method in class webtester.packages.distributed.
distServer
The main entry point into this class, executed by the calling thread.
run()
- Method in class webtester.packages.distributed.
serverHandler
The main entry point into the server handler routines.
runTests
- class webtester.packages.apps.
runTests
.
This application acquires the configuration file, and servers as a thread manager for executing test cases.
runTests()
- Constructor for class webtester.packages.apps.
runTests
runTests(configHandler)
- Static method in class webtester.packages.apps.
runTestsGUI
Execute the test cases specified.
runTests(String)
- Method in class webtester.packages.distributed.
clientThread
Execute the configuration returned from the server
runTestsGUI
- class webtester.packages.apps.
runTestsGUI
.
This class provides a GUI frontend for users to execute existing configuration files.
runTestsGUI()
- Constructor for class webtester.packages.apps.
runTestsGUI
S
sAttachment
- Variable in class webtester.packages.common.
alertHandler
Any HTML attachments to be sent with the message.
sConfigErrors
- Static variable in class webtester.packages.config.
configHandler
Contains descriptions of any configuration errors encountered.
sConfigFile
- Static variable in class webtester.packages.apps.
distributedGUI
The configuration file being executed.
sConfigFile
- Static variable in class webtester.packages.apps.
configEditor
The configuration file being edited.
sConfigFile
- Static variable in class webtester.packages.apps.
runTestsGUI
The configuration file being executed.
sConfigFile
- Variable in class webtester.packages.threads.
fastProxyHandler
The configuration file being written.
sConfigFile
- Variable in class webtester.packages.threads.
proxyHandler
The configuration file being written.
sConfigFile
- Variable in class webtester.packages.config.
globalConfig
The configuration file used.
sConfigFile
- Variable in class webtester.packages.distributed.
distServer
Configuration file that was loaded.
sConfigFile
- Variable in class webtester.packages.distributed.
serverHandler
The config file that was loaded.
sData
- Variable in class webtester.packages.threads.
fastProxyHandler
The data sent with the URL accessed.
sData
- Variable in class webtester.packages.threads.
proxyHandler
The data sent with the URL accessed.
sDefaultConfigFile
- Static variable in class webtester.packages.config.
configHandler
The configuration file being read.
sDefaultNotificationAddress
- Variable in class webtester.packages.config.
globalConfig
The address which receives all notifications sent by the application.
sDescription
- Variable in class webtester.packages.threads.
testCaseThread
Contains the description of the test case being executed.
sDescription
- Variable in class webtester.packages.config.
treeParser
Contains the last test case description.
sDescription
- Static variable in class webtester.packages.config.
configHandler
The test case description.
selectedFile
- Static variable in class webtester.packages.apps.
distributedGUI
The last file selected.
selectedFile
- Static variable in class webtester.packages.apps.
configEditor
The last selected file.
selectedFile
- Static variable in class webtester.packages.apps.
runTestsGUI
The last file selected.
sendData(String)
- Static method in class webtester.packages.distributed.
distClient
Send data to the server, and retrieve the result.
sendData(String, String, String)
- Method in class webtester.packages.threads.
testCaseThread
Calls the given URL and checks for the correctness of data.
sendImageAlertMessage()
- Method in class webtester.packages.common.
alertHandler
Sends the message for an image.
sendMessage()
- Method in class webtester.packages.common.
alertHandler
Sends the message.
sendNodeUpdate(String)
- Static method in class webtester.packages.distributed.
distClient
Send a node update to the master server.
sendRequest(byte[])
- Method in class webtester.packages.threads.
fastProxyHandler
Send the browser request to the specified host, then read the response data.
sendRequest(byte[])
- Method in class webtester.packages.threads.
proxyHandler
Send the browser request to the specified host, then read the response data.
sendResponse(String)
- Method in class webtester.packages.distributed.
serverHandler
sendStatistics()
- Method in class webtester.packages.stats.
usageStats
Send the statistics information by calling the necessary URL.
sendStatsEmail()
- Method in class webtester.packages.stats.
executionStats
Send email which contains the statistics email.
serverHandler
- class webtester.packages.distributed.
serverHandler
.
Handles user input, and sends appropriate responses.
serverHandler(InputStream, OutputStream)
- Constructor for class webtester.packages.distributed.
serverHandler
Constructor that takes input/output streams as arguments.
setApplicationBeginTime()
- Method in class webtester.packages.stats.
usageStats
Records the time at which the application started executing.
setApplicationEndTime()
- Method in class webtester.packages.stats.
usageStats
Records the time at which the application stopped executing.
setConfigFile(String)
- Method in class webtester.packages.config.
treeParser
Set the configuration file within the globalConfig class.
setConfigFile(String)
- Method in class webtester.packages.config.
globalConfig
Set the filename of the config file being used.
setConfigFile(String)
- Method in class webtester.packages.distributed.
distServer
Set the name of the config file that was loaded.
setConfigFile(String)
- Method in class webtester.packages.distributed.
serverHandler
Set the config file that was loaded.
setConfigLoaded(boolean)
- Method in class webtester.packages.distributed.
distServer
setConfigLoaded(boolean)
- Method in class webtester.packages.distributed.
serverHandler
Set the value that indicates if a config file is loaded.
setData(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the data that will be used to generate the config file.
setData(String)
- Method in class webtester.packages.threads.
proxyHandler
Set the data that will be used to generate the config file.
setDefaultConfigFile(String)
- Method in class webtester.packages.config.
configHandler
Set the configuration filename which should be used.
setDefaultNotificationAddress(String)
- Method in class webtester.packages.config.
globalConfig
Set the address which receives all notifications sent by the application.
setExcludeFile(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the name of the file which needs to be read to determine regexes that should NOT appear.
setExcludeFile(String)
- Method in class webtester.packages.threads.
proxyHandler
Set the name of the file which needs to be read to determine regexes that should NOT appear.
setFromAddress(String)
- Method in class webtester.packages.config.
globalConfig
Set the "FROM" address to be used when notifications are sent.
setGlobalConfiguration(globalConfig)
- Method in class webtester.packages.config.
configHandler
Set the global configuration object.
setHTMLContent(String)
- Method in class webtester.packages.parser.
javaScriptParser
Sets the HTML content to examine.
setImageRecord(boolean)
- Method in class webtester.packages.threads.
proxyHandler
Set the value which indicates if images are being recorded.
setLoggingPath(String)
- Method in class webtester.packages.config.
globalConfig
Set the value which indicates where logfiles will be written.
setMailServer(String)
- Method in class webtester.packages.config.
globalConfig
Set the mail server that should be used for sending notifications.
setMaster(boolean)
- Method in class webtester.packages.distributed.
distServer
Set the value which indicates if this is a master server.
setMaster(boolean)
- Method in class webtester.packages.distributed.
serverHandler
Indicates whether the server is a master.
setMessageText(String)
- Method in class webtester.packages.common.
alertHandler
Sets the body of the message that will be sent.
setNodeNumber(int)
- Static method in class webtester.packages.distributed.
distClient
Sets the node number assigned by the server.
setNodeNumber(int)
- Method in class webtester.packages.distributed.
clientThread
Set the node number previously retrieved from the server.
setNotificationsEnabled(String)
- Method in class webtester.packages.config.
globalConfig
Set the value which indicates whether notifications are enabled.
setNumberOfThreads(String)
- Method in class webtester.packages.config.
globalConfig
Set the number of threads the application can use.
setParsedHeaders(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the HTTP headers.
setParsedHeaders(String)
- Method in class webtester.packages.threads.
proxyHandler
Set the HTTP headers.
setPostRedirect(boolean)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the value which indicates if a POST redirect request was encountered.
setPostRedirect(boolean)
- Method in class webtester.packages.threads.
proxyHandler
Set the value which indicates if a POST redirect request was encountered.
setRandomOrder(String)
- Method in class webtester.packages.config.
globalConfig
Set the value which indicates if the test cases are executed in random order.
setRecordOn(boolean)
- Method in class webtester.packages.threads.
fastProxyHandler
Sets the value to indicate whether a testcase is being recorded.
setRecordOn(boolean)
- Method in class webtester.packages.threads.
proxyHandler
Sets the value to indicate whether a testcase is being recorded.
setRunOnlyOnce(boolean)
- Method in class webtester.packages.stats.
usageStats
Set the value which indicates if the application is running continuously or only once.
setRunOnlyOnce(String)
- Method in class webtester.packages.config.
globalConfig
Set a string which indicates whether test cases should be executed only once.
setRunTime(String)
- Method in class webtester.packages.config.
globalConfig
Set the amount of time test cases should be executed.
setSeparator(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the path separator so that the correct classpath can be displayed to the user.
setSeparator(String)
- Method in class webtester.packages.threads.
proxyHandler
Set the path separator so that the correct classpath can be displayed to the user.
setServerTypes(HashMap)
- Method in class webtester.packages.threads.
fastProxyHandler
Set the server type information.
setServerTypes(HashMap)
- Method in class webtester.packages.threads.
proxyHandler
Set the server type information.
setSpamCount(String)
- Method in class webtester.packages.config.
globalConfig
Set a value which indicates how many notifications can be sent.
setStatsEmail(String)
- Method in class webtester.packages.config.
globalConfig
Set the value which indicates whether an email containing statistical data should be sent.
setStatsReporting(String)
- Method in class webtester.packages.config.
globalConfig
Set the value which indicates if statistics can be reported.
setSubject(String)
- Method in class webtester.packages.common.
alertHandler
Sets the subject of the message.
setTestCaseBeginTime(String)
- Method in class webtester.packages.stats.
executionStats
Records the time at which the test case started executing.
setTestCaseConfiguration(testCaseConfig)
- Method in class webtester.packages.config.
configHandler
Set the test case configuration object.
setTestCaseEndTime(String)
- Method in class webtester.packages.stats.
executionStats
Records the time at which the test case stopped executing.
setTestcaseName(String)
- Method in class webtester.packages.threads.
fastProxyHandler
Assign the current test case name a new value.
setTestcaseName(String)
- Method in class webtester.packages.threads.
proxyHandler
Assign the current test case name a new value.
setTextArea(JTextArea)
- Method in class webtester.packages.distributed.
distServer
Set the textarea used to display info to user.
setTextArea(JTextArea)
- Method in class webtester.packages.distributed.
serverHandler
Set textarea used to update user.
setUrlBeginTime(String)
- Method in class webtester.packages.stats.
executionStats
Records the time at which the URL is being accessed.
setUrlBytesReturned(String, int)
- Method in class webtester.packages.stats.
executionStats
Record the number of bytes read when the URL was accessed.
setUrlEndTime(String)
- Method in class webtester.packages.stats.
executionStats
Records the time at which the URL returned all response data.
sExcludeFile
- Static variable in class webtester.packages.apps.
httpProxyGUI
Name of file which contains regexes to exclude from tokenized HTML.
sExcludeFile
- Static variable in class webtester.packages.apps.
httpProxy
A file which contains regexes to ignore.
sExcludeFile
- Variable in class webtester.packages.threads.
fastProxyHandler
A file which contains a list of regexes to be excluded while recording.
sExcludeFile
- Variable in class webtester.packages.threads.
proxyHandler
A file which contains a list of regexes to be excluded while recording.
sFormData
- Variable in class webtester.packages.threads.
testCaseThread
Contains data sent to the URL, and is used in error notifications.
sFromAddress
- Variable in class webtester.packages.common.
alertHandler
The from address used when sending the message.
sFromAddress
- Variable in class webtester.packages.config.
globalConfig
The from address used when sending email notifications.
sHost
- Variable in class webtester.packages.threads.
fastProxyHandler
The host being contacted for the HTTP request.
sHost
- Variable in class webtester.packages.threads.
proxyHandler
The host being contacted for the HTTP request.
sHostAddr
- Static variable in class webtester.packages.distributed.
distClient
The address of the master server.
sHostAddr
- Static variable in class webtester.packages.distributed.
clientThread
The address of the master server.
sHTMLContent
- Variable in class webtester.packages.parser.
javaScriptParser
The HTML content to examine.
sLastData
- Static variable in class webtester.packages.config.
configHandler
The last DATA value added to the test case.
sLastMethod
- Static variable in class webtester.packages.config.
configHandler
The last URL execution method added to the test case.
sLastRegex
- Static variable in class webtester.packages.config.
configHandler
The last regular expressions added to the test case.
sLastSleep
- Static variable in class webtester.packages.config.
configHandler
The last sleep value added to the test case.
sLastTestCaseNodeVal
- Variable in class webtester.packages.config.
treeParser
Contains the value of the last test case node.
sLastURL
- Static variable in class webtester.packages.config.
configHandler
The last URL value added to the test case.
sLastVar
- Static variable in class webtester.packages.config.
configHandler
The last variable assignment value added to the test case.
sLoggingPath
- Variable in class webtester.packages.config.
globalConfig
The path to use for writing logfiles.
sMailServer
- Variable in class webtester.packages.common.
alertHandler
The mailserver used for sending messages.
sMailServer
- Variable in class webtester.packages.config.
globalConfig
The mailserver to use for sending notifications.
sMasterAddress
- Static variable in class webtester.packages.apps.
distributedGUI
The address of the master node, if it is set.
sMessage
- Variable in class webtester.packages.common.
alertHandler
The message body.
sMessage
- Variable in class webtester.packages.distributed.
serverHandler
Last status message.
sMethod
- Variable in class webtester.packages.threads.
fastProxyHandler
The method associated with the URL accessed.
sMethod
- Variable in class webtester.packages.threads.
proxyHandler
The method associated with the URL accessed.
sName
- Static variable in class webtester.packages.apps.
httpProxyGUI
The test case name.
sName
- Static variable in class webtester.packages.apps.
httpProxy
The name of the testcase being recorded.
sNotificationsEnabled
- Variable in class webtester.packages.config.
globalConfig
Indicates whether notifications are enabled or disabled.
sNumberOfThreads
- Variable in class webtester.packages.config.
globalConfig
The number of threads to use when executing test cases.
sParsedHeaders
- Variable in class webtester.packages.threads.
fastProxyHandler
Contains the HTTP header information.
sParsedHeaders
- Variable in class webtester.packages.threads.
proxyHandler
Contains the HTTP header information.
sPathSeparator
- Static variable in class webtester.packages.apps.
httpProxyGUI
The path separator for the OS executing the application.
sPathSeparator
- Static variable in class webtester.packages.apps.
httpProxy
The character used to separate paths on the particular OS.
split(String, char)
- Static method in class webtester.packages.common.
webtesterCommons
Split a string into elements in an ArrayList based on the delimiting char.
sPrevURL
- Variable in class webtester.packages.config.
testCaseConfig
The previous URL added to the test case.
sRandomOrder
- Variable in class webtester.packages.config.
globalConfig
Determines if test case are executed in random order.
sRecipients
- Variable in class webtester.packages.common.
alertHandler
The recipient list for the message.
sRunOnlyOnce
- Variable in class webtester.packages.config.
globalConfig
Whether the application should run test cases once, or in a continuous loop.
sRunTime
- Variable in class webtester.packages.config.
globalConfig
The time, in minutes, to execute the test case.
sSeparator
- Variable in class webtester.packages.threads.
fastProxyHandler
The path separator for the OS on which this application is executing.
sSeparator
- Variable in class webtester.packages.threads.
proxyHandler
The path separator for the OS on which this application is executing.
sSpamCount
- Variable in class webtester.packages.config.
globalConfig
The number of messages sent before the application considers itself to be spamming.
sStatsEmail
- Variable in class webtester.packages.config.
globalConfig
Determines if a statistics email will be sent when the application has finished executing.
sStatsReporting
- Variable in class webtester.packages.config.
globalConfig
Indicates whether statisitics reporting to the webtester website is allowed.
sSubject
- Variable in class webtester.packages.common.
alertHandler
The subject of the message.
sTempMethod
- Static variable in class webtester.packages.config.
configHandler
A temporary storage location for URL methods.
sTestcaseName
- Variable in class webtester.packages.threads.
fastProxyHandler
The name of the test case being accessed.
sTestcaseName
- Variable in class webtester.packages.threads.
proxyHandler
The name of the test case being accessed.
sURL
- Variable in class webtester.packages.threads.
fastProxyHandler
The URL being accessed.
sURL
- Variable in class webtester.packages.threads.
proxyHandler
The URL being accessed.
T
tConfig
- Static variable in class webtester.packages.apps.
distributedGUI
Contains test case specific information.
tConfig
- Static variable in class webtester.packages.apps.
runTests
Contains test case specific information.
tConfig
- Static variable in class webtester.packages.apps.
runTestsGUI
Contains test case specific information.
tConfig
- Variable in class webtester.packages.threads.
testCaseThread
Contains test case specified information.
tConfig
- Variable in class webtester.packages.config.
treeParser
Used to store test case configuration information.
tConfig
- Static variable in class webtester.packages.config.
configHandler
Contains test case specific configuration information.
tConfig
- Variable in class webtester.packages.stats.
executionStats
Contains test case specific configuration information.
tConfig
- Variable in class webtester.packages.stats.
usageStats
The test case configuration class.
testCaseConfig
- class webtester.packages.config.
testCaseConfig
.
Contains configuration information as it relates to each individual test case.
testCaseConfig()
- Constructor for class webtester.packages.config.
testCaseConfig
testCaseThread
- class webtester.packages.threads.
testCaseThread
.
The thread that is used to execute test cases.
testCaseThread(globalConfig, testCaseConfig, String, executionStats, int, String)
- Constructor for class webtester.packages.threads.
testCaseThread
Constructor for the thread, which requires the objects necessary to execute a test case.
text
- Static variable in class webtester.packages.apps.
distributedGUI
The text area used to display information to the user.
text
- Static variable in class webtester.packages.apps.
httpProxyGUI
Text area used to display information to the user.
text
- Static variable in class webtester.packages.apps.
runTestsGUI
The text area used to display information to the user.
text
- Static variable in class webtester.packages.distributed.
clientThread
Text area used to update user.
text
- Variable in class webtester.packages.distributed.
distServer
TextArea used to show info to user.
text
- Variable in class webtester.packages.distributed.
serverHandler
Text area used to update user.
textField
- Static variable in class webtester.packages.apps.
httpProxyGUI
Text field for user to enter a test case name.
threadid
- Variable in class webtester.packages.threads.
testCaseThread
A unique thread identifier.
timeElapsed(long, String)
- Static method in class webtester.packages.apps.
runTests
Determine if the test case has executed beyond the allotted time.
timeElapsed(long, String)
- Static method in class webtester.packages.apps.
runTestsGUI
Determine if the test case has executed beyond the allotted time.
timeRegexHandler
- class webtester.packages.common.
timeRegexHandler
.
Used for time related variable substitution on-the-fly.
timeRegexHandler()
- Constructor for class webtester.packages.common.
timeRegexHandler
timeSubstitution(String)
- Static method in class webtester.packages.common.
timeRegexHandler
Substitute "system" variables with the current time values and return the modified value.
top
- Static variable in class webtester.packages.apps.
configEditor
The root node of the tree.
top
- Static variable in class webtester.packages.apps.
httpProxyGUI
The top node of the tree.
totalAppExecTime
- Variable in class webtester.packages.stats.
usageStats
The total time it took for the application to execute.
totalURLs
- Variable in class webtester.packages.stats.
usageStats
The total URLs called.
tree
- Static variable in class webtester.packages.apps.
configEditor
The component which displays the tree to the user.
tree
- Static variable in class webtester.packages.apps.
httpProxyGUI
The component used to display the tree to the user.
tree
- Variable in class webtester.packages.config.
configWriter
Used to extract configuration values from the tree.
treeModel
- Static variable in class webtester.packages.apps.
configEditor
DefaultTreeModel instance used to dynamically modify the JTree.
treeModel
- Static variable in class webtester.packages.apps.
httpProxyGUI
The tree model used to dynamically modify the tree.
treeModel
- Variable in class webtester.packages.config.
treeParser
The DefaultTreeModel instance used to retrieve values from the tree.
treeParser
- class webtester.packages.config.
treeParser
.
Parses a given JTree and updates the configuration classes based on its values.
treeParser(DefaultTreeModel)
- Constructor for class webtester.packages.config.
treeParser
Constructor which takes the DefaultTreeModel as an argument.
U
updateTestCases(Object, String, String)
- Method in class webtester.packages.config.
treeParser
Update the test case with the specified information.
updateTextArea(String)
- Method in class webtester.packages.distributed.
clientThread
Update the text area without erasing all existing data, if possible
updateTextArea(String)
- Method in class webtester.packages.distributed.
serverHandler
Update the text area without erasing all existing data, if possible
updateTree()
- Static method in class webtester.packages.apps.
httpProxyGUI
Update the JTree which appears on the right side of the screen to display a list of all recorded URLs.
usageStats
- class webtester.packages.stats.
usageStats
.
Gathers basic usage statistics and sends them to a hard-coded URL at sourceforge.net.
usageStats(globalConfig, testCaseConfig)
- Constructor for class webtester.packages.stats.
usageStats
Constructor, which takes the configuration classes as arguments.
V
validCharactersInRegex(String)
- Method in class webtester.packages.threads.
proxyHandler
Determine if the characters in the regex can be handled by the xml parser.
validResponse(String)
- Method in class webtester.packages.threads.
proxyHandler
Determine if the response contains HTML content.
validToken(String)
- Method in class webtester.packages.threads.
proxyHandler
Determines if the given token is valid.
W
webtester.packages.apps
- package webtester.packages.apps
webtester.packages.common
- package webtester.packages.common
webtester.packages.config
- package webtester.packages.config
webtester.packages.distributed
- package webtester.packages.distributed
webtester.packages.parser
- package webtester.packages.parser
webtester.packages.stats
- package webtester.packages.stats
webtester.packages.threads
- package webtester.packages.threads
webtesterCommons
- class webtester.packages.common.
webtesterCommons
.
Contains method commonly used throughout the application.
webtesterCommons()
- Constructor for class webtester.packages.common.
webtesterCommons
writeConfigFile()
- Method in class webtester.packages.config.
configWriter
Writes the configuration file using information from the configuration classes.
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes