FunkLoad test case using Richard Jones’ webunit.
$Id: FunkLoadTestCase.py 24757 2005-08-31 12:22:19Z bdelbosc $
Testing Funkload TestCase.
Simple apache test.
Unit test with browser and configuration capabilties.
Add an http header.
Add metadata info.
Remove basic authentication.
Reset the testcase.
Remove all http headers set by addHeader or setUserAgent.
Note that the Referer is also removed.
Clear any key file or certificate file paths set by calls to setKeyAndCertificateFile.
Initiate a comet request and process the input in a separate thread. This call is async and return a thread object.
The consumer method takes as parameter an input string, it can close the comet connection by returning 0.
Return an entry from the options or configuration file.
Return a float from the configuration file.
Return an integer from the configuration file.
Return a list from the configuration file.
Print request headers.
Remove an http header key.
DELETE method on url.
Try a GET on URL return True if the page exists or False.
GET method on url adding params.
Return the last response content.
Return the base href url.
Return the last accessed url taking into account redirection.
HEAD method on url adding params.
Return a list of href anchor url present in the last html response.
Filtering href with url pattern or link text pattern.
Verbose Debug log.
Generic method request can be used to submit MOVE, MKCOL or whatever method name request.
Called in the middle of a bench cycle.
OPTIONS method on url.
POST method on url with params.
DAV PROPFIND method.
Set HTTP basic authentication for the following requests.
Add or override an http header.
If value is None, the key is removed.
Set the paths to a key file and a certificate file that will be used by a https (ssl/tls) connection when calling the post or get methods.
keyfile_path : path to a PEM formatted file that contains your private key. certfile_path : path to a PEM formatted certificate chain file.
Set ok codes.
Called before the start of the bench.
Called on bench mode before a cycle start.
Set User-Agent http header for the next requests.
If agent is None, the user agent header is removed.
Sleeps a random amount of time.
Between the predefined sleep_time_min and sleep_time_max values.
Called after a the bench.
Called after a cycle in bench mode.
Wait until url is available.
Try a get on url every sleep_time until server is reached or time is out.
Call an xml rpc method_name on url with params.
BBB of xmlrpc, this method will be removed for 1.6.0.
FunkLoad doc test