Skip to content
Browse files

sample configs for replay and pure request drivers

  • Loading branch information...
1 parent d732e18 commit 085959d52c629d12fa97c2d0b6a533828c74bb6b @igrigorik committed Jun 19, 2010
Showing with 43 additions and 0 deletions.
  1. 0 sample.conf → replay_sample.conf
  2. +43 −0 requests_sample.conf
View
0 sample.conf → replay_sample.conf
File renamed without changes.
View
43 requests_sample.conf
@@ -0,0 +1,43 @@
+# 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
+
+# Autoperf can generate different wlog instructions for every run if
+# you set wlog (not httperf_wlog) to a glob pattern of the files you
+# want to use.
+# wlog = x?.nul
+
+# 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"'

0 comments on commit 085959d

Please sign in to comment.
Something went wrong with that request. Please try again.