Configuring HTTP Authentication

Overview

HTTP Authentication (HTTP AUTH) is a standard protocol used by web servers to verify a user's identity before granting access to protected resources on a website or web application. Functionize can utilize HTTP AUTH to test applications that require user authentication to access specific functionalities.

How It Works

You can configure HTTP Authentication within a test case. For the setup to be successful, the configuration details must precisely match the requirements of the authentication pop-up on the site.

Configuration Best Practices

When setting up HTTP Authentication, follow these guidelines:

  • URL/Domain: The URL in the configuration should match the one shown in the HTTP authentication pop-up on the site, but without the protocol. For example, use sts.example.com instead of https://sts.example.com.
  • Username: It is recommended to use the username without the email domain (e.g., use myuser instead of myuser@example.com). Alternatively, a format like DOMAIN\username may be used if that is what the site accepts when entered manually.

Adding an HTTP AUTH Configuration Action to a Test Case

You can insert an HTTP AUTH configuration action directly into a test case from the Slider View.

  1. Open the Slider View for a test.
  2. Click the Quick Add button at the step where you want to insert the action.
  3. Select Configuration to add a Configuration action.
  4. In the Insert Config window, select HTTP AUTH from the dropdown list.
  5. Enter the authentication details in the Default HTTP Authentication field.
  6. Click the Insert button.

Limitations

This feature will not work if the configuration details, such as the domain or username format, are entered incorrectly. The settings must match what the web server expects.

Related Info

For other types of authentication or connection needs, Functionize also supports Proxy Configuration.