Open APIs

Expand all | Collapse all

CTK run is not creating html results

  • 1.  CTK run is not creating html results

    TM Forum Member
    Posted 12 days ago

    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 10 days ago
    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

    TM Forum Member
    Posted 7 days ago

    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 5 days ago
    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

    TM Forum Member
    Posted 4 days ago
    Thanks a lot @Victor Rodriguez. This worked. Now we can analyze success and failure of the runs. ​

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