Do you support BASIC authentication?
  • 17 Oct 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Do you support BASIC authentication?

  • Dark
    Light

Yes, you can set up Basic authentication on a per-domain basis.

1. How to set up Basic authentication

Click [Settings] and choose the workspace you want to set up Basic authentication for. "Basic auth credentials" will appear at the bottom of the page.

2022-10-14_14-49-34.png

Click [Add]. A New Basic Auth Credentials Page will appear, where you will be prompted to enter the domain name, username, and password. Enter the information and click [Save].

2. If setting up on a per-domain basis does not work

Currently, you can only set up Basic authentication on a per-domain basis, so if you need to set it up on a different granularity, please send us feedback using the Contact Us feature on the lower right corner of the page. When you do so, please tell us your preferred setup.

For example, setting up Basic authentication on a per-domain basis will not work in the following cases:

  • The username and password for https://example.com/A/ is user_a / password_a
  • The username and password for https://example.com/B/ is user_b / password_b

Although this is not a highly recommended solution, you may be able to run tests in the following way.
As shown in the example below, set up the "start URL" so that information for Basic authentication is included (this method also works for Digest authentication).

  • https://user_a:password_a@example.com/A/

There are three points to keep in mind when using this method:

  1. The test will not work if you assign a URL like this to a domain that already has Basic authentication set up. Please use either solution described above.
  2. Some JavaScript methods do not work due to security issues, which may affect the website's behavior.
  3. For security reasons, Safari does not accept this solution as of September 11, 2020. It may also be banned on other browsers in the future.

3. Other notes

  1. If Basic authentication has been set up, you will be unable to run tests on websites that use WebSockets. This is due to the implementation constraints of our product.
  2. If you have registered the Basic authentication information in workspace settings but authentication does not take place on the target website, the test execution engine will run as usual. Error messages will not appear on test results, so you cannot test whether Basic authentication is working on the target website.

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.