Authentication in RealBrowser
NeoLoad RealBrowser supports applications using SSO/HTTP authentication, such as NTLM or Kerberos.
Browser support
Chromium | Mozilla Firefox | WebKit | |||
---|---|---|---|---|---|
Basic authentication | Yes | Yes | Yes | ||
NTLM | Yes | Yes | No | ||
Kerberos | Yes | No | No | ||
Client certificate | Yes | Yes | Yes |
Setup
Chromium
As a good practice for SSO, you want to have one authentication per Virtual User (VU) at runtime. This means you need to make sure that the parameter AmbientAuthenticationInPrivateModesEnabled
isn't enabled. To do so, follow these steps:
-
Start a RealBrowser recording session.
-
Navigate to
chrome://policy/
. -
Check whether
AmbientAuthenticationInPrivateModesEnabled
is present or not. If it is, set its value to 0 (zero). Otherwise you need to disable the parameter in the Registry. Learn more here.
How to use
In the OpenBrowser action, you can now add the following parameters:
Parameter | Description |
---|---|
httpCredentials.login
|
Specifies the login for HTTP authentication. |
httpCredentials.password
|
Specifies the password for HTTP authentication. |
httpCredentials.origin
|
Specifies the origin that receives the credentials for the authentication, for example |
Note: From the moment you execute the OpenBrowser action until a CloseBrowser action, you can define only a single username/password pair. Consequently, it's not possible to visit applications behind different SSO providers within a single User Path, unless you restart the browser each time.
Troubleshooting
Tip: In case of any issues with SSO, first make sure you've followed the Setup steps.
I get automatically signed in to my application
You sign in without a username and password prompt, depending on the Kerberos configuration on your machine.
To fix the issue, try the following Windows configuration:
-
Open the Internet Options.
-
Go to the Security tab.
-
Click the Custom level... button in Security level for this zone for these zones:
-
Internet
-
Local intranet
-
Trusted sites
-
-
Scroll to User Authentication > Logon and select Prompt for user name and password.
-
Hit OK.
Client certificate authentication
With RealBrowser user paths, you can set up authentication with a client certificate. Use the Certificate Manager in the project preferences to easily load and configure these certificates.
Configure the Certificate Manager
-
To access the Certificate Manager, open the Preferences window for your project and navigate to Certificate Manager.
-
Select Import certificates... to import your PKCS#12/PFX certificates. Currently, NeoLoad only supports PKCS#12/PFX certificates.
-
You have several options for client certificates for recording:
-
Select No certificate to not use a certificate.
-
Use a specific certificate by entering the Name and Password.
-
Specify an Origin. You must specify the Origin because it sets the server domain NeoLoad authenticates to with the certificate.
-
-
You have several options for client certificates for playback:
-
Select No certificate to not use a certificate.
-
Use the same certificate as for recording,,
-
Use a different certificate for each user. For multiple users, you must specify certificate variables such as
${accounts.certificate}
for the file name and${accounts.password}
for the password.
-
Proxy server compatibility is not available when you use client certificates.