-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsiegerc
85 lines (67 loc) · 3.05 KB
/
siegerc
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
# Signify verbose output mode: true|false
verbose = false
# Print a timestamp on each line in verbose output mode
timestamp = true
# Show logfile location at the end of every run when logging
show-logfile = false
# Default logging status, true turns logging on.
logging = true
# HTTP protocol: HTTP/1.1 || HTTP/1.0
protocol = HTTP/1.1
# Chunked encoding is required by HTTP/1.1 protocol
# but siege allows you to turn it off as desired.
chunked = true
# Cache revalidation.
# Siege supports cache revalidation for both ETag and Last-modified headers.
cache = false
# Connection directive: close || keep-alive
connection = close
# Default number of simulated concurrent users
concurrent = 20
# Default duration of the siege.
time = 10s
# Repetitions. The length of siege may be specified in client
# reps rather then a time duration. Instead of specifying a time
# span, you can tell each siege instance to hit the server X number
# of times. So if you chose 'reps = 20' and you've selected 10
# concurrent users, then siege will hit the server 200 times.
# reps = 50
# Default delay value, used for load testing, and not for benchmarking.
delay = 1
# Connection timeout value. Set the value in seconds for socket connection timeouts. The default value is 30 seconds.
timeout = 30
# Internet simulation. If true, siege clients will hit
# the URLs in the urls.txt file randomly, thereby simulating
# internet usage. If false, siege will run through the
# urls.txt file in order from first to last and back again.
internet = false
# If true, siege runs as fast as the web server and the network will let it.
# Set this to false for load testing.
benchmark = false
# Set the siege User-Agent to identify yourself at the host
#
# osx 10.8 / Firefox 17
# user-agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0
#
# osx 10.8 / Chromium 25
# user-agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.20 (KHTML, like Gecko) Chrome/25.0.1330.0 Safari/537.20
#
# osx 10.8 / Safari 6.0.2
# user-agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
#
# osx 10.8 / Yandex Browser 1.1
# user-agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.5 (KHTML, like Gecko) YaBrowser/1.1.1084.5409 Chrome/19.1.1084.5409 Safari/536.5
#
# iPhone.iOS4 / Safari
# user-agent = Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
# iPhone.iOS5 / Safari
# user-agent = Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
# iPad.iOS5 / Safari
# user-agent = Mozilla/5.0 (iPad; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
# Use this directive to turn on compression.
# * || gzip || compress;q=0.5;gzip;q=1
accept-encoding = gzip
#
# Siege spawns a thread and runs a spinner to entertain you
# as it collects and computes its stats.
spinner = true