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 authorization profile to a request, you can edit the settings.
To configure basic authorization, specify the following settings:
Username – The username to be used for authorization.
Password – The password to be used for authorization.
Domain – Optional. The domain name to be used for authorization.
Pre-emptive auth – Specifies if ReadyAPI will wait until an authorization 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 authorization 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.