Skip to content

Environments and HTTP authentication

An environment is a named URL for one stage of your application, such as development, staging or production. Environments let you run the same tests against each one. If an environment is protected by HTTP or HTTPS basic authentication, you can store its credentials too.

  1. Open the Environments tab in application Settings and select the option to create a new environment.
  2. Enter the environment Name and URL, then save.

Creating an environment

Add an environment that needs basic authentication

Section titled “Add an environment that needs basic authentication”
  1. Enter the environment Name and URL.
  2. Select the is basic auth checkbox.
  3. Enter the HTTP authentication credentials and save.

An environment with basic authentication

You can choose the environment in two ways:

  • As the default. On the Preferences tab, choose the HTTP auth URL or environment URL in the Base URL dropdown and save. See Preferences.
  • For a single run. Use Custom Execute on the Test Cases page and choose the environment, or user ID, for that run.

See also Run in multiple environments.