| trafficparrot.gui.forwardToVirtualService.enabled |
true |
When enabled, requests made to the GUI port that don't match GUI endpoints will be forwarded to the simulator (virtual service/mock) port.
Use Case: This allows the GUI and simulator (virtual service/mock) to effectively share the same port, simplifying configuration in some scenarios.
Note: In performance profile, this is disabled by default to maximize throughput.
|
| trafficparrot.gui.http.queuedThreadPool.maxThreads |
200 |
Maximum number of threads in the Jetty thread pool for handling GUI HTTP requests.
Performance Note: This affects the GUI server's ability to handle concurrent connections. Increase for high-concurrency scenarios.
Resource Impact: Each thread consumes memory, so balance this with available system resources.
|
| trafficparrot.gui.config.files.allowedFilesToEdit |
.json$, .csv$, .properties$ |
Defines regex patterns for file types that can be edited through the GUI configuration files editor.
Security: Prevents unauthorized editing of sensitive files through the web interface.
|
| trafficparrot.gui.config.files.notAllowedFilesToEdit |
^\.,\.git,target, deleted-scenarios, trafficparrot.properties, trafficparrot.performance.properties, trafficparrot.gui.login.properties, .*-connections\.json, log4j,lib |
Comma-separated (CSV) list of regex patterns for files and directories that the GUI configuration files editor will neither load nor save. The list gates Load as well as Save, so a file it matches cannot be read through the editor either. Each pattern is matched against the file's path relative to the Traffic Parrot installation directory or the traffic files directory, so a pattern cannot be triggered by a directory name further up the machine's filesystem. Override this property to change the list; an installation that does so keeps its own list, so carry the entries described below into it.
By default, the first pattern ^\. matches a dot-prefixed directory or file in the first path segment below that directory (for example .idea, .vscode, or .claude sitting directly under the traffic files directory), so those hidden entries are blocked from editing in addition to the listed build and system directories (target, deleted-scenarios, trafficparrot.properties, trafficparrot.performance.properties, log4j, lib) and the two credential entries described below. A dot-prefixed directory nested deeper (for example mappings/.hidden) is not matched by this pattern; add /\. to the list if you want dot-entries blocked at any depth. .git has its own entry and so is blocked at any depth. A dot inside a file name is not affected, so report.v1.json stays editable.
Two entries keep files that hold credentials out of the editor. trafficparrot.gui.login.properties is the web user interface's own user store, which holds every user name, password and role when trafficparrot.gui.security.mode=LOGIN_PROPERTIES is set. .*-connections\.json matches database-connections.json, ibm-mq-connections.json, jms-connections.json and any other file whose path contains -connections.json: the files that hold the connection details and passwords for the databases, IBM MQ queue managers and JMS brokers Traffic Parrot connects to. Each entry keeps the file it names out of the editor and nothing more. The list is not a permission check on the user, so any other file the editor lists (see trafficparrot.gui.config.files.allowedFilesToEdit) is offered to every user who can open the Settings page, whatever it holds, including a connections file whose path does not contain -connections.json.
Security: Blocks access to system-critical files and directories.
|