[][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:

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