Basic Authentication

Applies to ReadyAPI 3.52, last modified on April 18, 2024

About

The Basic authentication is a common method to provide a username and password to a service.

You can add the Basic authentication by using built-in and external profiles.

Use built-in profiles if you do not need to apply the same authentication settings to other requests or test steps.

If you are going to reuse these settings, use external profiles. ReadyAPI stores these profiles in the Authorization manager, so you can later apply them to other requests or test steps. Also, you can use such profiles to specify different authorization settings in various environments.

After adding a basic authentication profile to a request, you can edit the settings.

Basic authentication

Click the image to enlarge it.

Settings

Basic authentication uses the following settings:

  • Username – The username to be used for authentication.

  • Password – The password to be used for authentication.

  • Domain – Optional. The domain name to be used for authentication.

  • Pre-emptive auth – Specifies if ReadyAPI will wait until an authentication challenge is received to send the credentials. The parameter has the following options:

    • Use global preference – Use the settings defined in the HTTP Settings global preferences.

    • Authenticate pre-emptively – For this request only. Do not wait until an authentication challenge is received to send the credentials.

  • Incoming WSS – Optional. The Incoming WS-Security configuration to be used for decrypting and validating incoming responses.

  • Outgoing WSS – Optional. The Outgoing WS-Security configuration to be used for processing outgoing requests.

See Also

Authentication

Watch the video
 
Highlight search results