Thanks for the feedback. I could see the file exported to the specified server path with the suggested approach.
Original Message:
Sent: 04-07-2021 11:05 AM
From: Cihan Ankara
Subject: TDM export API execution through Javelin
Hi Mahesh,
As Billy said, Rest API works fine but Javelin's RestPutActivity function does not have ability to download files which are returned in response body. It requires enhancement on that.
However, I would suggest you to use "async" option when calling that API which will help you to export and download the files asynchronously.
Give a try with adding "asycn=true" in the end.
i.e.
/TDMModelService/api/ca/v1/objects/33960/actions/export?projectId=5106&versionId=5107&async=true
That should save the files under
C:\ProgramData\CA\CA Test Data Manager Portal\objects\projects_5106\versions_5107\****
Hope this helps
Cihan
Original Message:
Sent: 04-07-2021 06:47 AM
From: Billy Keefer
Subject: TDM export API execution through Javelin
Mahesh I recommend that you open a support ticket for this problem.
Original Message:
Sent: 04-06-2021 05:50 AM
From: Billy Keefer
Subject: TDM export API execution through Javelin
Hello all. I believe the problem is that javelin has not been set up with the correct parameters to deal with the returning data type, eg a zip file. When tracing the TDM backend, the rest api appears to be working. The final part back to javelin is not. I dont have a solution to offer as I dont know what parameters/values need to be specified. Still investigating
Original Message:
Sent: 04-06-2021 05:38 AM
From: Mahesh
Subject: TDM export API execution through Javelin
Hi Gene,
I tried upgrading to the specified Javelin version 4.9.155.0, but still same error. Please can you suggest.
Original Message:
Sent: 04-01-2021 02:51 PM
From: Gene HOWARD
Subject: TDM export API execution through Javelin
No, the latest Javelin version is 4.9.155
https://ftp.broadcom.com/user/downloads/priv/cbtmaint/zahab01/TDM/Javelin/Javelin-4.9.155.0.zip
------------------------------
Gene Howard
Principal Support Engineer
Broadcom
Original Message:
Sent: 04-01-2021 02:50 PM
From: Karan
Subject: TDM export API execution through Javelin
For Javelin I'm using Javelin v4.9.100 and TDM 4.9.1, I believe they are latest one you are talking about as per the url.
Original Message:
Sent: 04-01-2021 02:32 PM
From: Gene HOWARD
Subject: TDM export API execution through Javelin
What version of TDM are you using and what version of Javelin?
I would suggest you try the latest 64-bit version of Javelin and see if it helps.
You can download it at the below link
https://support.broadcom.com/external/content/release-announcements/Test-Data-Manager-TDM-Patches/16649
------------------------------
Gene Howard
Principal Support Engineer
Broadcom
Original Message:
Sent: 04-01-2021 02:28 PM
From: Karan
Subject: TDM export API execution through Javelin
Hi,
I want to execute TDM EXPORT [TDMModelService] Api through Javelin.
This Is how I'm executing the API after creating a authentication token, that is being passed into headers.
baseUrl: https://localhost:8443/TDMModelService/api/ca/v1/objects/33960
resource: "/actions/export?projectId=5106&versionId=5107"
While executing this API through Javelin, I'm getting this error. As per my understanding it is because of resource in that '&' symbol is creating error while parsing.
Can you please suggest something for this, and how to export the JSON files successfully using Javelin?