forked from tempesta-tech/tempesta-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests_config.ini.sample
221 lines (187 loc) · 5.72 KB
/
tests_config.ini.sample
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
[General]
# This section refer to testing framework itself.
# IPv4/IPv6 address of the host that runs the testing framework.
# This is the address deproxy's server will be listening at.
# This value will be used internally, in command lines and configuration files.
#
# ex.: ip = 192.168.11.6 (default 127.0.0.1)
#
ip = 127.0.0.1
# Verbose level:
# 0 - quiet mode, result of each test is shown by symbols:
# `.` - passed,
# `F` - failed,
# `u` - unexpected success,
# `x` - expected failure.
# `s` - skipped;
# 1 - Show test names;
# 2 - Show tests names and performance counters;
# 3 - Full debug output.
#
# ex.: verbose = 2 (default 0)
#
verbose = 1
# Duration of every single test involving HTTP benchmarks utilities, in seconds.
# Use small values to obtain results quickly add large for more heavy stress
# tests. Default is 10 seconds.
#
# ex.: duration = 60 (default 10)
#
duration = 10
# Number of concurrent connections for HTTP benchmarks utilities.
# Larger values stress TempestaFW better, but require more resources.
#
# ex.: concurrent_connections = 10 (default 10)
#
concurrent_connections = 10
# Absolte or cwd-relative path to a log file to tee (duplicate) tests' stderr to.
#
# ex.: log_file = /tmp/log.txt (default tests_log.txt)
log_file = tests_log.txt
# Path to temporary file on remote node (if any), e.g. TLS certificates
# generated by the framework.
#
# ex.: workdir = /tmp/host (default /tmp/host)
#
workdir = /tmp/host
[Client]
# Configuration for the HTTP clients. Clients are always ran locally.
# Note: in some tests, HTTP servers are also ran locally using this configuration
# (disregarding [Server] section).
# IPv4/IPv6 address of this host in the test network, as reachable from the host
# running TempestaFW.
# This value will be used internally, in command lines and configuration files.
#
# ex.: ip = 192.168.11.6 (default 127.0.0.1)
#
ip = 127.0.0.1
# Absolute path to the working (temporary) directory on this host.
#
# ex.: workdir = /home/user/client (default /tmp/client)
#
workdir = /tmp/client
# Binaries of utilities used for testing. Must be present in PATH or
# absolute paths must be given.
# Apache Benchmark binary.
#
# ex.: ab = /usr/bin/ab (default ab)
#
ab = ab
# wrk benchmark utility.
#
# ex.: wrk = /home/user/wrk/wrk (default wrk)
#
wrk = wrk
# h2spec conformance testing tool for HTTP/2 implementation.
#
# ex.: h2spec = /home/user/bin/h2spec
#
h2spec = h2spec
# h2load load testing tool (nghttp2).
#
# ex.: h2load = /home/user/bin/h2load
#
h2load = h2load
# TLS handshakes benchmarking tool.
#
# ex.: tls-perf = /home/user/bin/tls-perf
#
tls-perf = tls-perf
[Tempesta]
# Configuration for the host running TempestaFW. It may be configured to run
# locally or remotely (using SSH). Refer to README.md for more information.
# IPv4/IPv6 address of the host running TempestaFW in the test network,
# as reachable from this host.
# This value will be used internally, in command lines and configuration files.
#
# ex.: ip = 192.168.11.6 (default 127.0.0.1)
#
ip = 127.0.0.1
# Target host description. These values will be used to SSH into the remote host.
# If hostname is 'localhost', TempestaFW will be ran locally.
#
# ex.: Use a remote host to run TempestaFW:
# hostname = tempesta.test (default localhost)
# user = rtest (default root)
# port = 22022 (default 22)
#
# ex.: Use the local host to run TempestaFW (default):
# hostname = localhost
#
hostname = localhost
# Absolute path to the TempestaFW source tree.
#
# ex.: srcdir = /home/user/tempesta (default /root/tempesta)
#
srcdir = /root/tempesta
# Absolute path to directory with tempesta config etc
#
# ex.: workdir = /tmp/tempesta (default /tmp/tempesta)
#
workdir = /tmp/tempesta
# Workdir-relative path to the temporary TempestaFW config
# (created during testing).
#
# ex.: config = etc/tempesta_test.conf (default tempesta.conf)
#
config = tempesta.conf
# Timeout to wait if node is unavaliable
# ex.: unavaliable_timeout = 300 (default 300)
unavaliable_timeout = 300
[Server]
# Configuration for the host running HTTP servers. They may be configured to run
# locally or remotely (using SSH). Refer to README.md for more information.
# IPv4/IPv6 address of the host running HTTP servers in the test network,
# as reachable from the host running TempestaFW.
#
# ex.: ip = 192.168.11.7 (default 127.0.0.1)
#
ip = 127.0.0.1
# Target host description. These values will be used to SSH into the remote host.
# If hostname is 'localhost', HTTP servers will be ran locally.
#
# ex.: Use a remote host to run HTTP servers:
# hostname = remote.com (default localhost)
# user = rtest (default root)
# port = 22022 (default 22)
#
# ex.: Use the local host to run HTTP servers (default):
# hostname = localhost
#
hostname = localhost
# NGINX binary. Must be present in PATH or absolute path must be given.
#
# ex.: nginx = /usr/bin/nginx (default nginx)
#
nginx = nginx
# Absolute path to the working (temporary) directory on the server host.
#
# ex.: workdir = /home/user/nginx (default /tmp/nginx)
#
workdir = /tmp/nginx
# Absolute path to the sample web site root location. Must be reachable by nginx.
#
# ex.: resources = /usr/share/nginx/http/ (default /var/www/html/)
#
resources = /var/www/html/
# If we need to create many aliases of interface to listen > 64k ports
# we need to specify interface, where aliases will be created
#
# ex.: aliases_interface = enp2s0
#
# this will create aliases enp2s0:0, enp2s0:1, etc
#
aliases_interface = eth0
# Base IP address of interfaces.
#
# ex. aliases_base_ip = 192.168.10.1
#
# eth0:0 will have ip 192.168.10.1
# eth0:1 will have ip 192.168.10.2
#
# etc
#
aliases_base_ip = 192.168.10.1
# Maximal workers amount
# -1 for unlimited
max_workers = 16