~launchpad-pqm/launchpad/devel

8911.2.4 by Stuart Bishop
ShipIt load tester
1
# FunkLoad test configuration file
2
# $Id: $
3
4
5
# ------------------------------------------------------------
6
# Main section
7
#
8
[main]
9
title=ShipIt
10
description=ShipIt load test
11
12
# the server url to test.
13
url=https://shipit.staging.launchpad.net
14
15
# Database connection string to the Launchpad database.
16
database_conninfo=dbname=lpmain_staging host=localhost port=55435
17
18
# ------------------------------------------------------------
19
# Tests description and configuration
20
#
21
[test_shipit]
22
description=Create an account, request cds, cancel order.
23
24
25
# ------------------------------------------------------------
26
# Credential access
27
#
28
[credential]
29
host=localhost
30
port=8007
31
32
33
# ------------------------------------------------------------
34
# Monitoring configuration
35
#
36
[monitor]
37
#hosts=localhost
38
39
# Each host in [monitor]hosts should have a section
40
# with a 'port' and 'description' keys
41
[localhost]
42
port=8008
43
description=The benching machine
44
45
46
# ------------------------------------------------------------
47
# Configuration for unit test mode fl-run-test
48
#
49
[ftest]
50
51
# log_to destination =
52
# console - to the screen
53
# file - to a file
54
log_to = console file
55
56
# log_path = path and file name to store log file
57
log_path = shipit-test.log
58
59
# result_path = path to store the xml result file
60
result_path = shipit-test.xml
61
62
# ok_codes = list of successfull HTTP response code default is 200:301:302
63
# ok_codes =  200:301:302
64
65
# sleeptime_min = minimum amount of time in seconds to sleep between requests
66
#                 to the host
67
sleep_time_min = 0
68
69
# sleeptime_max = maximum amount of time in seconds to sleep between requests
70
#                 to the host
71
sleep_time_max = 0
72
73
74
# ------------------------------------------------------------
75
# Configuration for bench mode fl-run-bench
76
#
77
[bench]
78
79
# cycles = list of cycles with their number of concurrent users
80
cycles =  1:5:10:20:40:80:160:200
81
82
# duration = duration of a cycle in seconds
83
duration = 60
84
85
# startup_delay = time to wait between starting-up threads in seconds
86
startup_delay = 0.2
87
88
# sleep_time = time to wait between test in seconds
89
sleep_time = 1
90
91
# cycle_time = time to wait between cycle in seconds
8911.2.10 by Stuart Bishop
More login race conditions, and ensure CD order fields are allowed lengths
92
# We have a significant delay in case we had to terminate the previous
93
# cycle by restarting the service.
94
cycle_time = 45
8911.2.4 by Stuart Bishop
ShipIt load tester
95
96
# same keys than in [ftest] section
97
log_to = file
98
log_path = shipit-bench.log
99
result_path = shipit-bench.xml
100
#ok_codes =  200:301:302
101
sleep_time_min = 0
102
sleep_time_max = 2