Test cases for CSDM

VidyaBR
Tera Contributor

Please help with the sample test cases for CSDM. This would be really helpful. Thanks in advance!

How to validate the mapping and the services

1 ACCEPTED SOLUTION

suraj sengar
Giga Guru

@VidyaBR - 

To validate CSDM (Common Service Data Model) mappings and services in ServiceNow, you should build test cases that check whether services are correctly aligned to the CSDM framework, ensure relationships between service types are consistent, and confirm that reporting and service mapping behave as expected.

Sample Test Cases for CSDM
1. Service Classification
Test Case: Verify that Business Services are mapped to the correct Business Capabilities.

Expected Result: Each Business Service record has a valid parent Business Capability in the CMDB.

2. Application Service Mapping
Test Case: Validate that Application Services are linked to the correct Technical Services.

Expected Result: Application Service records show consistent relationships to Technical Services and underlying infrastructure.

3. Technical Service Validation
Test Case: Confirm that Technical Services are tied to the correct Service Offerings.

Expected Result: Technical Services have Service Offerings defined and linked to the right Service Portfolio.

4. Service Portfolio Alignment
Test Case: Check that all Service Offerings are associated with a Service Portfolio entry.

Expected Result: No orphan Service Offerings exist; all are tied to a portfolio.

5. Service Mapping Consistency
Test Case: Validate that discovered CI relationships align with CSDM service definitions.

Expected Result: Service Mapping results show CIs correctly grouped under Application Services and Technical Services.

6. Reporting & Dashboards
Test Case: Verify that CSDM‑aligned services appear correctly in Service Portfolio and Service Owner dashboards.

Expected Result: Dashboards reflect accurate counts and hierarchies of Business, Application, and Technical Services.

7. Lifecycle State Validation
Test Case: Ensure that services follow the defined lifecycle states (e.g., Draft → Published → Retired).

Expected Result: No service record skips lifecycle states; transitions are logged.

How to Validate Mapping & Services
Use CSDM Whitepaper Guidelines: Follow the Foundation, Crawl, Walk, Run, Fly maturity model to check alignment.

Run CMDB Health Dashboards: Validate completeness, correctness, and compliance of service records.

Cross‑check Service Mapping Results: Compare discovered infrastructure/application relationships with CSDM service definitions.

Audit Service Portfolio: Ensure every service has a defined owner, offering, and portfolio entry.

Risks & Considerations
Incomplete Mapping: If services aren’t tied to the right portfolio or capability, reporting will be inaccurate.
Over‑customization: Avoid custom relationships that break CSDM standards. Stick to the recommended data model.
Data Quality: Poor CI data leads to incorrect service mappings. Regular CMDB audits are essential.

refer - https://www.servicenow.com/community/itom-blog/where-to-start-with-service-mapping-in-the-csdm-focus...

View solution in original post

6 REPLIES 6

suraj sengar
Giga Guru

@VidyaBR - 

To validate CSDM (Common Service Data Model) mappings and services in ServiceNow, you should build test cases that check whether services are correctly aligned to the CSDM framework, ensure relationships between service types are consistent, and confirm that reporting and service mapping behave as expected.

Sample Test Cases for CSDM
1. Service Classification
Test Case: Verify that Business Services are mapped to the correct Business Capabilities.

Expected Result: Each Business Service record has a valid parent Business Capability in the CMDB.

2. Application Service Mapping
Test Case: Validate that Application Services are linked to the correct Technical Services.

Expected Result: Application Service records show consistent relationships to Technical Services and underlying infrastructure.

3. Technical Service Validation
Test Case: Confirm that Technical Services are tied to the correct Service Offerings.

Expected Result: Technical Services have Service Offerings defined and linked to the right Service Portfolio.

4. Service Portfolio Alignment
Test Case: Check that all Service Offerings are associated with a Service Portfolio entry.

Expected Result: No orphan Service Offerings exist; all are tied to a portfolio.

5. Service Mapping Consistency
Test Case: Validate that discovered CI relationships align with CSDM service definitions.

Expected Result: Service Mapping results show CIs correctly grouped under Application Services and Technical Services.

6. Reporting & Dashboards
Test Case: Verify that CSDM‑aligned services appear correctly in Service Portfolio and Service Owner dashboards.

Expected Result: Dashboards reflect accurate counts and hierarchies of Business, Application, and Technical Services.

7. Lifecycle State Validation
Test Case: Ensure that services follow the defined lifecycle states (e.g., Draft → Published → Retired).

Expected Result: No service record skips lifecycle states; transitions are logged.

How to Validate Mapping & Services
Use CSDM Whitepaper Guidelines: Follow the Foundation, Crawl, Walk, Run, Fly maturity model to check alignment.

Run CMDB Health Dashboards: Validate completeness, correctness, and compliance of service records.

Cross‑check Service Mapping Results: Compare discovered infrastructure/application relationships with CSDM service definitions.

Audit Service Portfolio: Ensure every service has a defined owner, offering, and portfolio entry.

Risks & Considerations
Incomplete Mapping: If services aren’t tied to the right portfolio or capability, reporting will be inaccurate.
Over‑customization: Avoid custom relationships that break CSDM standards. Stick to the recommended data model.
Data Quality: Poor CI data leads to incorrect service mappings. Regular CMDB audits are essential.

refer - https://www.servicenow.com/community/itom-blog/where-to-start-with-service-mapping-in-the-csdm-focus...

Test cases with steps would be really helpful. Thanks again!

 

@VidyaBR - If my response helped, please mark it as correct and close the thread — this helps future readers find the solution faster!

 

Thank you 😊 

GlideFather
Tera Patron

Hi @VidyaBR,

 

I recommend to use the official materials only. You can check the new resource MeasureUp, refer to this for more details: [GF#9] ServiceNow exams preparations with MeasureUp (CSA, CAD, CIS DF, CIS CSM)

_____
100 % GlideFather experience and 0 % generative AI