forked from EZLippi/WebBench
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwebbench.1
133 lines (130 loc) · 3.21 KB
/
webbench.1
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
-.TH WEBBENCH 1 "14 Jan 2004"
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
-.SH NAME
-webbench \- simple forking web benchmark
-.SH SYNOPSIS
-.B webbench
-.I "[options] URL"
-.br
-.SH "AUTHOR"
-This program and manual page was written by Radim Kolar,
-for the
-.B Supreme Personality of Godhead
-(but may be used by others).
-.SH "DESCRIPTION"
-.B webbench
-is simple program for benchmarking HTTP servers or any
-other servers, which can be accessed via HTTP proxy. Unlike others
-benchmarks,
-.B webbench
-uses multiple processes for simulating traffic
-generated by multiple users. This allows better operating
-on SMP systems and on systems with slow or buggy implementation
-of select().
-.SH OPTIONS
-The programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options are included below.
-.TP
-.B \-?, \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.TP
-.B \-f, \-\-force
-Do not wait for any response from server. Close connection after
-request is send. This option produce quite a good denial of service
-attack.
-.TP
-.B \-9, \-\-http09
-Use HTTP/0.9 protocol, if possible.
-.TP
-.B \-1, \-\-http10
-Use HTTP/1.0 protocol, if possible.
-.TP
-.B \-2, \-\-http11
-Use HTTP/1.1 protocol (without
-.I Keep-Alive
-), if possible.
-.TP
-.B \-r, \-\-reload
-Forces proxy to reload document. If proxy is not
-set, option has no effect.
-.TP
-.B \-t, \-\-time <n>
-Run benchmark for
-.I <n>
-seconds. Default value is 30.
-.TP
-.B \-p, \-\-proxy <server:port>
-Send request via proxy server. Needed for supporting others protocols
-than HTTP.
-.TP
-.B \-d, \-\-data
-Read POST body from csv or json file.
-.TP
-.B \-F, \-\-Field <fieldA,fieldB,....fieldZ>
-Read the Field added to request body from csv or json file.
-.TP
-.B \-u, \-\-User-Agent
-Send Specific User-Agent request
-1 for WeCaht iPhone\t 2 for WeChat Android\t 3 for iPhone Safari\n"
-4 for Android Chrome\t 5 for Windows IE11\t 6 for Windows IE10\n"
-7 for Windows Edge\t 8 for Windows Chrome\t 9 for Windows FireFox\n"
-10 for Mac Safari\t 11 for Mac Chrome\t 12 for Mac FireFox\n"
-Empty for WebBench Program Version.\n"
-.TP
-.B \-\-get
-Use GET request method.
-.TP
-.B \-\-head
-Use HEAD request method.
-.TP
-.B \-\-options
-Use OPTIONS request method.
-.TP
-.B \-\-trace
-Use TRACE request method.
-.TP
-.B \-\-trace
-Use TRACE request method.
-.TP
-.B \-\-post
-Use POST request method.
-.TP
-.B \-\-delet
-Use DELET request method.
-.TP
-.B \-\-put
-Use PUT request method.
-.TP
-.B \-\-connect
-Use connect request method.
-.TP
-.B \-c, \-\-clients <n>
-Use
-.I <n>
-multiple clients for benchmark. Default value
-is 1.
-.SH "EXIT STATUS"
-.TP
-0 - sucess
-.TP
-1 - benchmark failed, can not connect to server
-.TP
-2 - bad command line argument(s)
-.TP
-3 - internal error, i.e. fork failed
-.SH "TODO"
-Include support for using
-.I Keep-Alive
-HTTP/1.1 connections.
-.SH "COPYING"
-Webbench is distributed under GPL. Copyright 1997-2004
-Radim Kolar ([email protected]).
-UNIX sockets code taken from popclient 1.5 4/1/94
-public domain code, created by Virginia Tech Computing Center.
-.BR
-This man page is public domain.