igrigorik / autoperf

Ruby driver for httperf - automated load and performance testing

This URL has Read+Write access

autoperf / sample.conf
100644 39 lines (30 sloc) 1.397 kb
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
# Autoperf Configuration File
 
# The host, URI (relative to the document root) and port to test.
host = localhost
uri = /homepage
port = 80
 
# The 'rate' is the number of number of connections to open per second.
# A series of tests will be conducted, starting at low rate,
# increasing by rate step, and finishing at high_rate.
low_rate = 100
high_rate = 500
rate_step = 50
 
 
# httperf options
 
# wlog specifies a replay log file (null terminated requests paths)
# 'n' prefix tells httperf to stop after all requests in the file
# have been replayed
# httperf_wlog = n,requests_httperf
 
# num-conns is the total number of connections to make during a test
# num-calls is the number of requests per connection (if keep alive is supported)
# The product of num_call and rate is the the approximate number of
# requests per second that will be attempted.
httperf_num-conns = 50
httperf_num-calls = 1
 
# timeout sets the maximimum time (in seconds) that httperf will wait
# for replies from the web server. If the timeout is exceeded, the
# reply concerned is counted as an error.
httperf_timeout = 5
 
# add-header adds an HTTP header
# If your test server is using HTTP basic auth, add a header like the following.
# To figure out what it should be use "curl -u user:password -v ..."
# httperf_add-header = '"Authorization: Basic AbC123xYz456==\n"'