-
Notifications
You must be signed in to change notification settings - Fork 1
/
QA.conf
106 lines (82 loc) · 2.76 KB
/
QA.conf
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
# FunkLoad test configuration file
# $Id: $
# ------------------------------------------------------------
# Main section
#
[main]
title=
description=This is a series of tests to do anonymous requests.
# the server url to test
url=http://qa.cnx.org
# the User-Agent header to send default is 'FunkLoad/1.xx' examples:
#user_agent = Opera/8.0 (Windows NT 5.1; U; en)
#user_agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
#user_agent = Mozilla/5.0 (X11; U; Linux i686; en; rv:1.7.10) Gecko/20050912 Firefox/1.0.6
user_agent = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.17) Gecko/2010010604 Ubuntu/9.04 (jaunty) Firefox/3.0.17
# ------------------------------------------------------------
# Tests description and configuration
#
[test_loads]
description=This test does a series of get requests and searches as an anonymous user.
search_terms_1 = Plone,welcome
search_terms_2 = Brazil,Ghana
# ------------------------------------------------------------
# Monitoring configuration
#
[monitor]
hosts=128.42.169.26 128.42.169.28 128.42.169.21 128.42.169.7
# Each host in [monitor]hosts should have a section
# with a 'port' and 'description' keys
[128.42.169.21]
port=8008
description=qa.cnx.org
[128.42.169.28]
port=8008
description=chopping.cnx.rice.edu
[128.42.169.26]
port=8008
description=carving.cnx.rice.edu
[128.42.169.7]
port=8008
description=wakizashi.cnx.rice.edu
# ------------------------------------------------------------
# Configuration for unit test mode fl-run-test
#
[ftest]
# log_to destination =
# console - to the screen
# file - to a file
log_to = console file
# log_path = path and file name to store log file
log_path = logs/qa-test.log
# result_path = path to store the xml result file
result_path = logs/qa-test.xml
# ok_codes = list of successfull HTTP response code default is 200:301:302
ok_codes = 200:204:301:302:304:404:500
# sleeptime_min = minimum amount of time in seconds to sleep between requests
# to the host
sleep_time_min = 0
# sleeptime_max = maximum amount of time in seconds to sleep between requests
# to the host
sleep_time_max = 2
# ------------------------------------------------------------
# Configuration for bench mode fl-run-bench
#
[bench]
# cycles = list of cycles with their number of concurrent users
cycles = 1:10:20:30:50
# duration = duration of a cycle in seconds
duration = 600
ok_codes = 200:204:301:302:304:404:500
# startup_delay = time to wait between starting-up threads in seconds
startup_delay = 0.2
# sleep_time = time to wait between test in seconds
sleep_time = 1
# cycle_time = time to wait between cycle in seconds
cycle_time = 1
# same keys than in [ftest] section
log_to = file
log_path = logs/qa-bench.log
result_path = logs/qa-bench.xml
sleep_time_min = 1
sleep_time_max = 2