Adding an authentication folder

Web application servers can include an option to force a login. You might have recorded a test with this option disabled but want to run the test with the option enabled. Adding an authentication folder to the appropriate test request lets you do this without recording the test again.

Procedure

To add an authentication folder to a request:

  1. In the Test Navigator, browse to the test and double-click it.
    The test opens.
  2. Click the request that will contain the authentication folder.
  3. Click Add and select Basic Authentication.
    A folder named Authentication is added to the request, and the Test Element Details area displays the Userid, Password, and Realm fields.