Open APIs

 View Only
  • 1.  TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 21, 2024 11:23
      |   view attached

    While testing the APIs using Postman with the authorization token, everything is functioning as expected, and the output is correct. However, when running the CTK tests with the authorization token passed in the header, all tests are failing, despite running successfully without the token. Could you kindly confirm whether the authorization token needs to be passed in the header while running CTK tests, or if it is acceptable to execute them without the token?



    ------------------------------
    Prasan Kumar
    FSM Global Technologies FZ LLC
    ------------------------------

    Attachment(s)

    zip
    CHANGE_ME.zip   1 KB 1 version


  • 2.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 22, 2024 02:45

    Hello Prasan,

    I encountered the same issue while testing with CTK. However, after switching from the token to an API key, everything started functioning as expected. 



    ------------------------------
    Ragavi Ramasamy
    Halleyx Inc.
    ------------------------------



  • 3.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 22, 2024 04:59

    Thanks Ragavi. Let me check and come back.



    ------------------------------
    Prasan Kumar
    FSM Global Technologies FZ LLC
    ------------------------------



  • 4.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 23, 2024 13:52
      |   view attached

    Hello Ragavi,

    When we tried to pass the API key instead of the token, still the tests are not getting passed. The headers json is not passed in the API. I have attached the file for reference. Please find below it as a screenshot as well: 



    ------------------------------
    Prasan Kumar
    FSM Global Technologies FZ LLC
    ------------------------------



  • 5.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 23, 2024 04:30

    Hi Ragavi, Can you share the steps to switch from token to API key ?



    ------------------------------
    Venkata Jonnalagadda
    AT&T Inc.
    ------------------------------



  • 6.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 24, 2024 05:59

    Hi all,

    I have completed testing the TMF629 with V4 conformance, following the steps outlined in the README.md. This involved modifying the URL, including the API key in the headers of the config.json file, and updating the payload as required.



    ------------------------------
    Ragavi Ramasamy
    Halleyx Inc.
    ------------------------------



  • 7.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Oct 24, 2024 14:04

    Thanks, Ragavi. We were able to get it working through both token and API key with V4 conformance now. Version 5.0 is still not working though with authorization.



    ------------------------------
    Prasan Kumar
    FSM Global Technologies FZ LLC
    ------------------------------



  • 8.  RE: TM Forum 629 Version 5 API Test cases failing while using Authorization Token

    TM Forum Member
    Posted Nov 07, 2024 23:39
    Edited by Venkata Jonnalagadda Nov 07, 2024 23:52

    Prasan,

    Can you share steps/samples how you included token and API key with V4 to make it working ?

    I tried to include api secret key in config.json but didn't worked with v4 or v5.

    ------------------------------
    Venkata Jonnalagadda
    AT&T Inc.
    ------------------------------