Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

openload(1) [debian man page]

OPENLOAD(1)						      General Commands Manual						       OPENLOAD(1)

NAME
openload - Tool for load testing of web applications SYNOPSIS
openload [options] url [clients] DESCRIPTION
This manual page documents briefly the openload usage. This manual page was written for the Debian distribution because the original program does not have a manual page. openload is (currently) a commandline tool, easy to use and providing near real-time performance measurements of the application under test which is very usefull during optimizations. OPTIONS
openload uses the usual GNU command line syntax, but the options starting with one dash (`-'). To run this program it is necessary to set the PATH or URL under test. You can set the clients number after the URL, which is the number of simultanous clients to simulate, defaults to 5. A summary of options is included below. -t Test mode: No throughput measurements are done. However the full response from the webserver (including headers) is displayed. This is useful for verifying that you get the right content before executing the real test. In this mode the number of clients defaults to 1. -h Header value: Specifies a HTTP request header. You can use this option several times to specify several headers. The sentence is -h followed by the name of header and the quoted value, separated by spaces. E.g. openload -h User-Agent "MSIE 5.0" mysite.com -l Time limit: number of seconds. The test will only run for the specified number of seconds. The sentence is -l followed by number of seconds, separated by spaces. E.g. openload -l 10 mysite.com -o Output mode: Currently only CSV (comma seperated values) is supported. This is useful for importing the result in a spreadsheet. The fields are: Url, Number of clients, TPS (Transactions Per Second), Average response time (seconds), Maximum response time, Total number of requests. -v Verifier mode: (undocumented) -b Body request: The test just request body response from the test URL. E.g. openload -b mysite.com OUTPUT RESULTS
A description of output results is listing below. * MaTps: a 20 second moving average of TPS. * Tps: (Transactions Per Second) is the number of completed requests during that second. * Resp Time: the average response time in seconds for the elapsed second. * Err: the percentage of responses that was erronous, i.e. didn't return a HTTP 200 Ok staus. * Count: the total number of completed requests. * Total TPS is the average TPS for the whole run, i.e. (Total completed requests) / (Total elapsed time). * Avg. Response time: the overall average response time in seconds. * Max Response time: the highest response time during this run. ABORTING THE PROCESS
To abort the process just press Enter or return Key, or use the terminal interrupt key (usually Ctrl-C). SEE ALSO
For a complete description of data results see the README file. AUTHOR
openload was written by Pelle Johnsen <pelle.johnsen@mail.dk>. This manual page was written by Silvia Alvarez <sils@powered-by-linux.com>, for the Debian project (but may be used by others). January 29, 2007 OPENLOAD(1)

Check Out this Related Man Page

Dancer::Response(3pm)					User Contributed Perl Documentation				     Dancer::Response(3pm)

NAME
Dancer::Response - Response object for Dancer SYNOPSIS
# create a new response object Dancer::Response->new( status => 200, content => 'this is my content' ); Dancer::SharedData->response->status; # 200 # fetch current response object my $response = Dancer::SharedData->response; # fetch the current status $response->status; # 200 # change the status $response->status(500); PUBLIC API
new Dancer::Response->new( status => 200, content => 'my content', headers => HTTP::Headers->new(...), ); create and return a new Dancer::Response object current my $response = Dancer::SharedData->response->current(); return the current Dancer::Response object, and reset the object exists if ($response->exists) { ... } test if the Dancer::Response object exists content # get the content my $content = $response->content; my $content = Dancer::SharedData->response->content; # set the content $response->content('my new content'); Dancer::SharedData->response->content('my new content'); set or get the content of the current response object status # get the status my $status = $response->status; my $status = Dancer::SharedData->response->status; # set the status $response->status(201); Dancer::SharedData->response->status(201); set or get the status of the current response object content_type # get the status my $ct = $response->content_type; my $ct = Dancer::SharedData->response->content_type; # set the status $response->content_type('application/json'); Dancer::SharedData->response->content_type('application/json'); set or get the status of the current response object pass $response->pass; Dancer::SharedData->response->pass; set the pass value to one for this response has_passed if ($response->has_passed) { ... } if (Dancer::SharedData->response->has_passed) { ... } test if the pass value is set to true halt Dancer::SharedData->response->halt(); $response->halt; halted if (Dancer::SharedData->response->halted) { ... } if ($response->halted) { ... } header # set the header $response->header('X-Foo' => 'bar'); Dancer::SharedData->response->header('X-Foo' => 'bar'); # get the header my $header = $response->header('X-Foo'); my $header = Dancer::SharedData->response->header('X-Foo'); get or set the value of a header headers $response->headers(HTTP::Headers->new(...)); Dancer::SharedData->response->headers(HTTP::Headers->new(...)); return the list of headers for the current response headers_to_array my $headers_psgi = $response->headers_to_array(); my $headers_psgi = Dancer::SharedData->response->headers_to_array(); this method is called before returning a PSGI response. It transforms the list of headers to an array reference. perl v5.14.2 2012-01-28 Dancer::Response(3pm)
Man Page