blob: eadda3f7e4d534633cef1601d3e8e24f16c3e486 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env python3
# yup, super simple config file
BASE_URL = "https://localhost:8080"
ACTION_TIMEOUT = 10000 # milliseconds
BROWSER_TYPE = "firefox" # chromium, firefox, webkit
CONCURRENT_USERS = 3
HEADLESS = True # headless mode = no browser UI
ITERATIONS_PER_USER = 3
LOG_FILE = "logs/logs.log"
LOG_LEVEL = "INFO" # DEBUG, INFO, WARNING, ERROR
LOG_TO_FILE = True
NAVIGATION_TIMEOUT = 30000 # milliseconds
RESULTS_FILE = "results/results.json"
THINK_TIME = 1.0 # seconds to sleep between iterations
VIEWPORT_HEIGHT = 720 # viewport height for each virtual user
VIEWPORT_WIDTH = 1280 # viewport width for each virtual user
# scenario configuration
# - use default example.py = "None"
# - single scenario = "path/to/scenario.py"
# - multiple scenarios = ["path/to/scenario.py", "path/to/scenario0.py"]
SCENARIOS = None
|