Test Data Manager

 View Only
  • 1.  Logout from CA TDM portal through API

    Posted May 07, 2020 06:36 AM
    Hi Team,

    How to logout fro CA TDM portal and invalidate the token for the session through API.

    I tried the method given in swagger, getting error as "Bad Request" Please provide your inputs

    Regards,
    Aadhavan


  • 2.  RE: Logout from CA TDM portal through API

    Broadcom Employee
    Posted May 07, 2020 08:31 AM
    Hi 
          This is the method for invaldidating a token, can you send some details on the error you are seeing.



    ------------------------------
    Regards

    Keith Puzey
    Client Services Consultant | Enterprise Software Division
    Broadcom
    ------------------------------



  • 3.  RE: Logout from CA TDM portal through API

    Posted May 07, 2020 08:55 AM
    Hi Kieth,

    I tried this method. But got error 400 bad request

    PFA screenshots


  • 4.  RE: Logout from CA TDM portal through API

    Broadcom Employee
    Posted May 07, 2020 09:23 AM
    Hi,

          It looks like the issue is the Content-Type configuration can you please try this.
    Content-
    Type:
    application/json;charset=UTF-8


    ------------------------------
    Regards

    Keith Puzey
    Client Services Consultant | Enterprise Software Division
    Broadcom
    ------------------------------



  • 5.  RE: Logout from CA TDM portal through API

    Posted May 07, 2020 09:49 AM
    Hi Keith,

    I got response code as 200 and the response header as

    date Thu, 07 May 2020 13:47:47 GMT
    transfer-encoding chunked

    However I am still able to get access using the same token. If it it invalidated I should not be able to use it right? I am able to use the same.

    Regards,
    Aadhavan



  • 6.  RE: Logout from CA TDM portal through API

    Broadcom Employee
    Posted May 07, 2020 10:14 AM
    Hi,

         I am seeing the same behaviour. Let me speak to  the engineering team to confirm how the API should work.

    ------------------------------
    Regards

    Keith Puzey
    Client Services Consultant | Enterprise Software Division
    Broadcom
    ------------------------------



  • 7.  RE: Logout from CA TDM portal through API

    Posted May 07, 2020 10:17 AM
    Thanks Keith, Looking forward to your response.

    Regards,
    Aadhavan


  • 8.  RE: Logout from CA TDM portal through API
    Best Answer

    Broadcom Employee
    Posted May 07, 2020 11:11 AM
    Hi,

        Engineering have confirmed that this API  should reset the security token.  Could i ask you to raise a support ticket so the team can investigate further?

    ------------------------------
    Regards

    Keith Puzey
    Client Services Consultant | Enterprise Software Division
    Broadcom
    ------------------------------



  • 9.  RE: Logout from CA TDM portal through API

    Posted May 07, 2020 11:56 AM
    Okay Sure Keith will raise a ticket. Thanks for your time.