Quick start tests for Configuration Management Database (CMDB)

  • Release version: Xanadu
  • Updated August 1, 2024
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Quick Start Tests for Configuration Management Database (CMDB)

    The Quick Start Tests for the Configuration Management Database (CMDB) are designed to validate the functionality of the CMDB following configuration changes, such as upgrades or application development. These tests require the activation of the Configuration Management (CMDB) plugin and the CMDB - ATF Tests plugin.

    Show full answer Show less

    Key Features

    • Dependency Views Test Suite: Validates the functionality of Dependency Views APIs, ensuring correct retrieval of Dependency Views maps and associated items.
    • CMDB Health Dashboard Test Suite: Checks the operational status of CMDB Health dashboard jobs and verifies recommended metrics are fully functional.
    • Identification Reconciliation Engine (IRE) Test Suite: Assesses CI identifier validation, reconciliation definitions, and operations on reconciliation and identification rules.
    • Query Builder Test Suite: Verifies the creation, reading, and execution of queries by different user roles within the CMDB Query Builder.
    • Relationship Editor and Formatter Test Suite: Tests the ability to add and delete relationships for Configuration Items (CIs) and ensures accurate information is displayed.
    • SDK REST API Test Suite: Confirms the functionality of various CMDB SDK REST APIs, including querying, creating, updating, and deleting CIs and relationships.

    Key Outcomes

    By implementing these quick start tests, ServiceNow customers can ensure the integrity and functionality of their CMDB, quickly identify any issues following changes, and maintain a high level of operational efficiency. The tests are tailored to specific user roles and can be customized with instance-specific data for precise validation.

    Validate that Configuration Management Database (CMDB) still works after you make any configuration change such as apply an upgrade or develop an application. Copy and customize these quick start tests to pass when using your instance-specific data.

    Configuration Management Database (CMDB) quick start tests require activating the Configuration Management (CMDB) plugin (com.snc.cmdb) and the CMDB - ATF Tests plugin (com.snc.cmdb.atf).

    Table 1. CMDB BSM: Dependency Views test suiteTest suite to check functionality of Dependency Views APIs.
    Test Description Release version
    CMDB BSM: Dependency Views Test functionality of Dependency Views APIs. These APIs retrieve Dependency Views map and associated map items such as context menu items, for a given CI sys_id and using itil user role. New York
    Table 2. CMDB HEALTH: CMDB Health Dashboard test suiteTest suite to check whether CMDB CMDB Health Dashboard is functional at a basic level.
    Test Description Release version
    CMDB HEALTH: Health Job Status Checks whether any CMDB Health dashboard jobs, which were started 30 or more days ago, are still in progress. New York
    CMDB HEALTH: CMDB Health Completeness/ Recommended Checks whether the recommended metric (included in the CMDB Health completeness KPI) is fully functional.
    This test validates:
    • Creation of a health inclusion rule for the recommend metric.
    • Creation of a recommended field that satisfies the health inclusion rule.
    • Validate that the health inclusion rule is correctly applied to a test record with missing data in the recommended field.
    New York
    Table 3. CMDB IRE: Identification Reconciliation Engine test suiteTest suite to check Identification and Reconciliation Engine (IRE) functionality.
    Test Description Release version
    CMDB IRE: IRE Validation Validate CI identifiers and reconciliation definitions and check indexes for CI identifiers. Madrid
    CMDB IRE: Reconciliation Rule

    Check operations on a reconciliation rule, in CI Class Manager, using itil and itil_admin roles. Operations include create, edit, and delete a reconciliation rule.

    Also, check for active and not active setting, and derived rules.

    Paris
    CMDB IRE: Identification Rule

    Check operations on an identification rule, in CI Class Manager, using itil and itil_admin roles. Operations include create, edit, and delete an identification rule.

    Also, check for active and not active setting, and derived rules.

    Paris
    Table 4. CMDB QB: Query Builder test suiteTest suite to verify CMDB Query Builder functions such as create query, read query, and execute query using two related user roles - cmdb_query_builder and cmdb_query_builder_read.
    Test Description Release version
    CMDB QB: Query Builder - cmdb_query_builder Role Verify that cmdb_query_builder user role can save queries, and access and run all saved queries, in CMDB Query Builder. New York
    CMDB QB: Query Builder - cmdb_query_builder_read Role Verify that cmdb_query_builder_read user role can access and run all saved queries, and cannot save any query, in CMDB Query Builder. New York
    Table 5. CMDB REL: Relationship Editor and Formatter test suiteTest suite to verify functionality of Relationship Editor and Relationship Formatter.
    Test Description Release version
    CMDB REL EDITOR:Relationship Editor Check addition of relations to a CI and deletion of relations from a CI using itil user role. New York
    CMDB REL FORMATTER:Relationship Formatter Check accuracy of CI information, relationship types, relationships, associated records such as change tickets, and settings such as CMDB views (relationship filters), displayed for a specific CI in relationship formatter using itil user role. New York
    Table 6. CMDB SDK: SDK REST API test suiteTest suite to verify functionality of CMDB SDK Rest APIs.
    Test Description Release version
    CMDB SDK: Query CMDB Metadata Test querying CMDB metadata. New York
    CMDB SDK: Create a relation for a CI using REST APIs Test creation of a relationship for a CI in the CMDB using the CMDB REST APIs. New York
    CMDB SDK: Delete a relation for a CI using REST APIs Test deletion of a relationship for a CI using CMDB REST APIs. New York
    CMDB SDK: Create a CI using REST API Test creation of a CI using CMDB REST APIs. New York
    CMDB SDK: Query CMDB using REST APIs Test querying the CMDB using CMDB REST APIs. New York
    CMDB SDK: Update a CI using REST APIs Test updating of a CI using CMDB REST APIs. New York
    CMDB SDK: Query for a CI using REST APIs Test querying a CI using CMDB REST APIs. New York