Open APIs

 View Only
  • 1.  CTK run is not creating html results

    Posted Jun 09, 2021 10:16

    Hi,
       We are working on TMF 620. When we run CTK, it doesn't generate HTML or JSON results file. Can anybody help to debug this? Attached is the output of the run. Here is config.json

    {
        "url": "http://xx.xx.xx.xx/api/productCatalogManagement/v1/",
        "headers": {
            "Accept": "application/json",
            "Content-Type": "application/json",
            "Authorization": "xxxxxxxx"
        },
        "payloads": {
            "ProductSpecification": {
                "POST": {
                    "payload": {
                        "name": "Cisco Firepower NGFW"
                    }
                }
            },
            "ProductOffering": {
                "GET": {
                    "payload": {
                        "id": "PO-14001"
                    }
                }
            },
            "ProductOfferingPrice": {
                "POST": {
                    "payload": {
                        "name": "Recurring Charge for Business Firewall",
                        "isBundle": false,
                        "priceType": "recurring"
                    }
                }
            }
        }
    }



    Regards,
    Somesh



    ------------------------------
    Somesh Batra
    Pegasystems, Inc.
    ------------------------------


  • 2.  RE: CTK run is not creating html results

    TM Forum Member
    Posted Jun 11, 2021 13:27
    Hi @Somesh Batra

    Do you have any more output from the index.js?

    If not the CTK is hanging and I will need more logs to understand why.

    I will follow up with you by e-mail.

    Best Regards,​​

    ------------------------------
    Henrique Rodrigues
    TM Forum
    ------------------------------



  • 3.  RE: CTK run is not creating html results

    Posted Jun 14, 2021 07:50

    Hi Henrique,
        Thanks for replying. No other output is created. Also CTK is not hanging. It completes without generating any output. Node.js window is getting closed automatically with number of vulnerabilities reported. Look forward to connect with you on email.

    Regards,

    Somesh



    ------------------------------
    Somesh Batra
    Pegasystems, Inc.
    ------------------------------



  • 4.  RE: CTK run is not creating html results

    TM Forum Member
    Posted Jun 16, 2021 11:37
    Hi @Somesh Batra,

    There is an error in the configuration that you provided. ​The resource ProductOffering has a payload associated to the GET attribute.
    The CTK software does not support payloads for GET requests so the collection won't run and the results won't be generated either. 

    Best Regards,

    Victor Mari

    ------------------------------
    Victor Rodriguez
    TM Forum
    ------------------------------



  • 5.  RE: CTK run is not creating html results

    Posted Jun 17, 2021 15:07
    Thanks a lot @Victor Rodriguez. This worked. Now we can analyze success and failure of the runs. ​

    ------------------------------
    Somesh Batra
    Pegasystems, Inc.
    ------------------------------