Resource-User-Account Tests

Last modified 22 Apr 2021 17:31 +02:00

Scenario 1 - Import resource test

*Prerequirement: *OpenDJ server is to be run

  • Actions:*

    1. Click Configuration → Import object

    2. Select Overwrite existing object checkbox

    3. Select file to be imported (e.g. samples/resources/opendj/opendj-localhost-resource-sync-no-extension-advanced.xml)

    4. Click Import object button (Expected result: Success message appears after object importing)

    5. Open Resources → List resources page

    6. Find the imported resource by name ("Localhost OpenDJ (no extension schema)")

Result:

  • The imported resource is to be found in the resources list

Scenario 2 - Check resource connection test

Prerequirement: OpenDJ server is to be run, resource is to be imported (see scenario 1)

Actions:

  1. Open Resources → List resources page

  2. Find the imported resource by name ("Localhost OpenDJ (no extension schema)")

  3. Click on the found resource link to open Resource details page

  4. On the opened Resource details page, click Test connection button

Result:

  • On the Resource details page, all Status icons are to be green

Scenario 3 - Create account test

Prerequirement: OpenDJ server is to be run, resource is to be imported (see scenario 1)

Actions:

  1. Create user

  2. Open Edit page for the created user

  3. Select Add account menu item in Accounts section menu

  4. In the opened Select resource(s) window, select OpenDJ resource which was imported in the Scenario 1, click Add resource(s) button

  5. Fill in account attributes: Common Name, Surname, first and second Password fields.

  6. Click Save button

Result:

  • User is saved, account is added to the user and is displayed in the Accounts section on the user’s Edit page

Scenario 4 - Update account attributes test

Prerequirement: OpenDJ server is to be run, resource is to be imported (see scenario 1), account is to be added to the user (see scenario 3)

Actions:

  1. Open Users → List users page

  2. Find user created in the Scenario 1

  3. Open user’s Edit page

  4. Expand empty fields for the user’s account

  5. Udate Common Name, Surname fields with new values

  6. Click Save button

Result:

  • User is saved, user’s Full name and Family name attributes are updated according to new values. Open user’s Edit page to check if Common Name and Surname attributes are updated for account

Was this page helpful?
YES NO
Thanks for your feedback