Function goose::goose::get_base_url
source · pub fn get_base_url(
config_host: Option<String>,
scenario_host: Option<String>,
default_host: Option<String>
) -> Result<Url, GooseError>
Expand description
A helper to determine which host should be prepended to relative load test paths in this Scenario.
The first of these defined will be returned as the prepended host:
--host
(host specified on the command line when running load test)Scenario
.host
(default host defined for the current scenario)GooseDefault::Host
(default host defined for the current load test)