Function goose::goose::get_base_url [−][src]
pub fn get_base_url(
config_host: Option<String>,
task_set_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 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)GooseDefault::Host
(default host defined for the current load test)