TM Forum Community

 View Only

TMF620 CTK test : POST for resource ProductOffering

  • 1.  TMF620 CTK test : POST for resource ProductOffering

    TM Forum Member
    Posted Apr 26, 2023 06:19

    Hi Team,

    According to the CTK doc, we have three conditions on the "isBundle" field for resource ProductOffering :
    1) If "IsBundle" is true , then bundledProductOffering should be present as a sub-resource .
    2) If "IsBundle" is false , then productSpecification should be present as a sub-resource .
    3) If "IsBundle" is true , then productSpecification should be empty .

    The POST call for resource ProductOffering is failing for first and third condition , with error msg "

    Instance has all mandatory attributes | AssertionError: expected [ 'productOfferingPrice', …(9) ] to be a superset of [ 'href', 'id', 'lastUpdate', …(3) ]" (screenshot attached) , so can we get the response which CTK is expecting for first and third conditions .
    Thanks

    #General

    ------------------------------
    Vaishnavi Goyal
    Salesforce
    ------------------------------