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:

  1. --host (host specified on the command line when running load test)
  2. GooseTaskSet.host (default host defined for the current task set)
  3. GooseDefault::Host (default host defined for the current load test)