9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
1 |
# FunkLoad test configuration file |
2 |
# $Id: $ |
|
3 |
||
4 |
||
5 |
# ------------------------------------------------------------ |
|
6 |
# Main section |
|
7 |
#
|
|
8 |
[main] |
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
9 |
title=Auth |
10 |
description=Testing load with basic authentication to Launchpad |
|
9053.2.6
by Ursula Junque
Adding login name and password to the conf file. |
11 |
login=foo@mailinator.com |
12 |
password=test |
|
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
13 |
|
14 |
# the server url to test. |
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
15 |
url=https://staging.launchpad.net |
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
16 |
|
17 |
# ------------------------------------------------------------ |
|
18 |
# Tests description and configuration |
|
19 |
#
|
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
20 |
[test_auth] |
21 |
description=Does the login to Launchpad page. |
|
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
22 |
|
23 |
||
24 |
# ------------------------------------------------------------ |
|
25 |
# Credential access |
|
26 |
#
|
|
27 |
[credential] |
|
28 |
host=localhost |
|
29 |
port=8007 |
|
30 |
||
31 |
||
32 |
# ------------------------------------------------------------ |
|
33 |
# Monitoring configuration |
|
34 |
#
|
|
35 |
[monitor] |
|
36 |
#hosts=localhost |
|
37 |
||
38 |
# Each host in [monitor]hosts should have a section |
|
39 |
# with a 'port' and 'description' keys |
|
40 |
[localhost] |
|
41 |
port=8008 |
|
42 |
description=The benching machine |
|
43 |
||
44 |
||
45 |
# ------------------------------------------------------------ |
|
46 |
# Configuration for unit test mode fl-run-test |
|
47 |
#
|
|
48 |
[ftest] |
|
49 |
||
50 |
# log_to destination = |
|
51 |
# console - to the screen |
|
52 |
# file - to a file |
|
53 |
log_to = console file |
|
54 |
||
55 |
# log_path = path and file name to store log file |
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
56 |
log_path = auth-test.log |
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
57 |
|
58 |
# result_path = path to store the xml result file |
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
59 |
result_path = auth-test.xml |
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
60 |
|
61 |
# ok_codes = list of successfull HTTP response code default is 200:301:302 |
|
62 |
# ok_codes = 200:301:302 |
|
63 |
||
64 |
# sleeptime_min = minimum amount of time in seconds to sleep between requests |
|
65 |
# to the host |
|
66 |
sleep_time_min = 0 |
|
67 |
||
68 |
# sleeptime_max = maximum amount of time in seconds to sleep between requests |
|
69 |
# to the host |
|
70 |
sleep_time_max = 0 |
|
71 |
||
72 |
||
73 |
# ------------------------------------------------------------ |
|
74 |
# Configuration for bench mode fl-run-bench |
|
75 |
#
|
|
76 |
[bench] |
|
77 |
||
78 |
# cycles = list of cycles with their number of concurrent users |
|
79 |
cycles = 1:5:10:20:40:80:160:200 |
|
80 |
||
81 |
# duration = duration of a cycle in seconds |
|
82 |
duration = 60 |
|
83 |
||
84 |
# startup_delay = time to wait between starting-up threads in seconds |
|
85 |
startup_delay = 0.2 |
|
86 |
||
87 |
# sleep_time = time to wait between test in seconds |
|
88 |
sleep_time = 1 |
|
89 |
||
90 |
# cycle_time = time to wait between cycle in seconds |
|
91 |
# We have a significant delay in case we had to terminate the previous |
|
92 |
# cycle by restarting the service. |
|
93 |
cycle_time = 45 |
|
94 |
||
95 |
# same keys than in [ftest] section |
|
96 |
log_to = file |
|
9053.2.2
by Ursula Junque
Modified Auth.conf file for the auth tests - it was a copy of ShipIt.conf |
97 |
log_path = auth-bench.log |
98 |
result_path = auth-bench.xml |
|
9053.2.1
by Ursula Junque
Adding conf file for auth fl tests |
99 |
#ok_codes = 200:301:302 |
100 |
sleep_time_min = 0 |
|
101 |
sleep_time_max = 2 |