~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to benchmarks/Frontpage.conf

  • Committer: Robert Collins
  • Date: 2011-02-27 19:45:44 UTC
  • mfrom: (12475 launchpad)
  • mto: This revision was merged to the branch mainline in revision 12481.
  • Revision ID: robert@canonical.com-20110227194544-wt0gq1zm7b4s9piw
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# FunkLoad test configuration file
2
 
# $Id: $
3
 
 
4
 
 
5
 
# ------------------------------------------------------------
6
 
# Main section
7
 
#
8
 
[main]
9
 
title=Front Page
10
 
description=Launchpad Front Page
11
 
 
12
 
# the server url to test
13
 
url=http://launchpad.net
14
 
 
15
 
# the User-Agent header to send default is 'FunkLoad/1.xx' examples:
16
 
#user_agent = Opera/8.0 (Windows NT 5.1; U; en)
17
 
#user_agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
18
 
#user_agent = Mozilla/5.0 (X11; U; Linux i686; en; rv:1.7.10) Gecko/20050912 Firefox/1.0.6
19
 
 
20
 
 
21
 
# ------------------------------------------------------------
22
 
# Tests description and configuration
23
 
#
24
 
[test_frontpage]
25
 
description=Load the Launchpad front page.
26
 
 
27
 
 
28
 
# ------------------------------------------------------------
29
 
# Credential access
30
 
#
31
 
[credential]
32
 
host=localhost
33
 
port=8007
34
 
 
35
 
 
36
 
# ------------------------------------------------------------
37
 
# Monitoring configuration
38
 
#
39
 
[monitor]
40
 
#hosts=localhost
41
 
 
42
 
# Each host in [monitor]hosts should have a section
43
 
# with a 'port' and 'description' keys
44
 
[localhost]
45
 
port=8008
46
 
description=The benching machine
47
 
 
48
 
 
49
 
# ------------------------------------------------------------
50
 
# Configuration for unit test mode fl-run-test
51
 
#
52
 
[ftest]
53
 
 
54
 
# log_to destination =
55
 
# console - to the screen
56
 
# file - to a file
57
 
log_to = console file
58
 
 
59
 
# log_path = path and file name to store log file
60
 
log_path = frontpage-test.log
61
 
 
62
 
# result_path = path to store the xml result file
63
 
result_path = frontpage-test.xml
64
 
 
65
 
# ok_codes = list of successfull HTTP response code default is 200:301:302
66
 
# ok_codes =  200:301:302
67
 
 
68
 
# sleeptime_min = minimum amount of time in seconds to sleep between requests
69
 
#                 to the host
70
 
sleep_time_min = 0
71
 
 
72
 
# sleeptime_max = maximum amount of time in seconds to sleep between requests
73
 
#                 to the host
74
 
sleep_time_max = 0
75
 
 
76
 
 
77
 
# ------------------------------------------------------------
78
 
# Configuration for bench mode fl-run-bench
79
 
#
80
 
[bench]
81
 
 
82
 
# cycles = list of cycles with their number of concurrent users
83
 
cycles =  1:2:3
84
 
 
85
 
# duration = duration of a cycle in seconds
86
 
duration = 30
87
 
 
88
 
# startup_delay = time to wait between starting-up threads in seconds
89
 
startup_delay = 0.2
90
 
 
91
 
# sleep_time = time to wait between test in seconds
92
 
sleep_time = 1
93
 
 
94
 
# cycle_time = time to wait between cycle in seconds
95
 
cycle_time = 1
96
 
 
97
 
# same keys than in [ftest] section
98
 
log_to = file
99
 
log_path = frontpage-bench.log
100
 
result_path = frontpage-bench.xml
101
 
#ok_codes =  200:301:302
102
 
sleep_time_min = 0
103
 
sleep_time_max = 2