Test Data Manager

  • 1.  TDM API for self service catalog

    Posted Mar 07, 2019 08:25 AM

    Hi All, 

     

    i have one self service catalog desinged using form based find and reserved. When i tried to find the data using TDM REST APIs i am not able to find the test data model. i have followed a below steps.

     

    Pre requisites.

    1) Create one self service model using ARD for find and reserve. 

     

    Steps:

    1)  use API  https://localhost:8443/TestDataManager/swagger-ui.html#/auth45controller  to get the access token. 

    2)  use API https://localhost:8443/TDMDataReservationService/swagger-ui.html#/test45data45model45controller  and provide details about project id, version id and check no of test data models. 

     

    Expected result: no of test data models should be 1 and details should be displayed. 

    Actual result : 

    {
    "numberOfTestDataModels": 0,
    "totalNumberOfTestDataModels": 0,
    "testDataModelsList": []
    }

     

    I have also created a find & Reserve data model in TDM portal, even this test data model is also not shown in the API. 

     

    Please let me know possible errors here. 

     

    Note: Currently we are using TDM Portal version 4.5, i will upgrade to latest verson soon. 



  • 2.  Re: TDM API for self service catalog

    Broadcom Employee
    Posted Mar 07, 2019 12:54 PM

    Hi Raju,

     

    Have you generated the access token for the user who has access to the test data model? Are you able to see the model directly by logging into the Portal?

     

    Thanks,

    Anil



  • 3.  Re: TDM API for self service catalog

    Posted Mar 08, 2019 03:19 AM

    Hi Anil,

     

    Yes i have generated access token for the user who has access to test data model. 

    i am able to see the model directly by logging into portal. 

     

    Please advise.



  • 4.  Re: TDM API for self service catalog

    Broadcom Employee
    Posted Mar 12, 2019 11:28 AM

    Hi Raju,

     

    Please check if you are using the the right model and the corresponding API. The legacy find and reserve and new one uses different set of API's to fetch the information.

     

    Thanks,

    Anil



  • 5.  Re: TDM API for self service catalog

    Posted Mar 13, 2019 06:18 AM

    Hi Anil, 

     

    do you have API details for legacy find and reserve. Now i am able to fetch details of new find and reserve. But not able to fetch details about legacy find and reserve. currently i am using below 2 APIs.

     

    1)  use API  https://localhost:8443/TestDataManager/swagger-ui.html#/auth45controller  to get the access token. 

    2)  use API https://localhost:8443/TDMDataReservationService/swagger-ui.html#/test45data45model45controller  and provide details about project id, version id and check no of test data models. 

     

    Thanks for your support. 

     

    Regards,

    Raju Devolla. 



  • 6.  Re: TDM API for self service catalog

    Broadcom Employee
    Posted Mar 13, 2019 12:05 PM

    Hi Raju,

     

    You could use the Reservation Controller for the legacy find and reserve.

     

    https://localhost:8443/TestDataManager/swagger-ui.html#/reservation45controller 

     

    Thanks,

    Anil



  • 7.  Re: TDM API for self service catalog

    Broadcom Employee
    Posted Mar 08, 2019 04:56 AM

    Hi,

       With Find and Reserve there are two types of Find and Reserve model, the API you are using returns all F&R Models of the "new" type can you check if the find and reserve models you have created are Legacy or New.  The type is shown in the Version column.  I would recommend moving forward that you use the New model type when creating find and reserve models.

     

     

        Hope this helps.

     

    Regards

     

    Keith