Open APIs

 View Only

TMF-653 | Question on handling multiple TestSpecifications & aggregated results in TMF-653

  • 1.  TMF-653 | Question on handling multiple TestSpecifications & aggregated results in TMF-653

    TM Forum Member
    Posted Aug 27, 2025 07:16

    Hello Team,

    According to the TMF-653 Service Test API, a TestSpecification is typically associated with a ServiceSpecification, and on execution of each TestSpecification, a payload is generated for its results which can be retrieved via GET /serviceTest.

    In my scenario, I have a ServiceSpecification that contains multiple TestSpecifications. From an execution perspective:

    • One TestSpecification is modeled as the parent, and the others as its children.
    • Only the parent TestSpecification is directly executed, which then triggers execution of the child TestSpecifications.
    • Each TestSpecification has its own TestMeasures as defined by the TMF specification.
    • After execution, I need to capture the results of both parent and child TestSpecifications.

    My requirements are:

    1. Single Payload for Aggregated Results
      Is there a recommended way in TMF-653 to represent the results of all related TestSpecifications within a single ServiceTest payload, instead of having multiple ServiceTest payloads (one per TestSpecification)?
    2. Pass/Fail Metrics
      Each TestMeasure should have a pass/fail indicator, and there also needs to be an aggregated pass/fail outcome at the TestSpecification level (both parent and children).
      • Does TMF-653 provide a standard way to represent this?
      • Or is the recommended approach to extend the model (e.g., by introducing custom attributes for evaluation metrics)?

    I would greatly appreciate any guidance on how to best model this scenario while staying compliant with TMF-653.

    Thanks in advance



    ------------------------------
    Ashwajit Bhoutkar
    ------------------------------