File: bench.1

package info (click to toggle)
gatling 0.13-6
  • links: PTS
  • area: main
  • in suites: sid, stretch
  • size: 1,196 kB
  • ctags: 1,115
  • sloc: ansic: 23,805; makefile: 143; sh: 71; perl: 30
file content (34 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.TH bench 1
.SH NAME
bench \- http benchmark
.SH SYNOPSIS
.B bench [-n requests] [-c concurrency] [-t timeout] [-k] [-K count]
        \fB[-C cookie-file] [http://]host[:port]/uri
.SH DESCRIPTION
bench is a HTTP benchmark program that can fetch the same URL over and
over again, or fetch several URLs (coming in from stdin).

If you specify a URL on the command line, this URL will be fetch many
times (specify with -n, default: 10000) with several connections open in
parallen (specify with -c, default: 10).

You can specify a timeout (per request) in seconds with -t.

The -k switch activates keep-alive mode.  In keep-alive mode, the TCP
connection is not closed between requests.  You also have to specify how
many HTTP requests can go over one TCP connection with -K.

bench can also send one HTTP cookie per connection, as specified using a
cookie file.  The cookie file is read line by line, and each request
gets the next line inserted into it.  So each line should look something
like this:

  Cookie: foo=bar

If the end of the file is reached, bench restarts it at the beginning.

.SH "AUTHOR"
Initially written by Felix von Leitner <felix-gatling@fefe.de>.

.SH "LICENSE"
GPLv2 (see http://www.gnu.org/copyleft/gpl.html)