diff options
| author | kj_sh604 | 2026-02-11 11:57:38 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-02-11 11:57:38 -0500 |
| commit | d060ff5ca58e87e6dd1c6d93b97adbfd45f57f9b (patch) | |
| tree | aded1017253e8aa5b5c2996caf30630f8ed89c1f /src/config.py | |
| parent | aa845e20842ecf93f7e69b03097dbc6508a70fc8 (diff) | |
Diffstat (limited to 'src/config.py')
| -rw-r--r-- | src/config.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/config.py b/src/config.py new file mode 100644 index 0000000..eadda3f --- /dev/null +++ b/src/config.py @@ -0,0 +1,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
\ No newline at end of file |
