aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py23
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