[−][src]Function goose::goose::get_base_url
pub fn get_base_url(
config_host: Option<String>,
task_set_host: Option<String>,
default_host: Option<String>
) -> Result<Url, GooseError>
A helper to determine which host should be prepended to relative load test paths in this TaskSet.
The first of these defined will be returned as the prepended host:
--host
(host specified on the command line when running load test)GooseTaskSet.host
(default host defined for the current task set)GooseAttack.host
(default host defined for the current load test)