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.jmx.enabled |
false |
Controls whether JMX (Java Management Extensions) is enabled for the GUI server.
Use Case: Enable this for remote monitoring and management of the GUI server using JMX tools.
|
trafficparrot.gui.jmx.port |
8085 |
The port number for JMX connections when JMX is enabled.
Valid Range: 1-65535
Note: Only effective when trafficparrot.gui.jmx.enabled is set to true .
|
trafficparrot.gui.startup.timeout.milliseconds |
45000 |
The maximum time in milliseconds to wait for the GUI server to start up before timing out.
Default: 45000 (45 seconds)
Use Case: Increase this value if the GUI server takes longer to start on slower systems or when loading large configurations.
|
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.http.queuedThreadPool.minThreads |
8 |
Sets the minimum number of threads in the Jetty thread pool for the Traffic Parrot GUI HTTP server.
Performance Impact: Controls the base number of threads available for handling GUI requests. Higher values ensure better responsiveness under load.
|
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, log4j,lib |
Defines regex patterns for files/directories that are forbidden from editing through the GUI.
Security: Blocks access to system-critical files and directories.
|