Is it possible to do CA TDM Portal activities like creating a connection profiles and projects are possible with cURL commands. If this is possible, can I automate this with any CI tools such as Jenkins?
Hi Swathy, I do not think you can use Curl commands to create connection profiles, but you can use it with the Swagger UI and TDM Portal.
There was a known issue for this noted here: Known Issues - CA Test Data Manager - 4.4 - CA Technologies Documentation
While forming the Curl request URL, the Swagger interface converts the occurrence of " (if any) in the query parameter name to " (double quote). As a workaround, you can use any other REST client for such requests.
This issue is not observed while forming the HTTP request URL.
Example: You are sending a POST request using the Swagger interface. The POST request includes two parameters quoteFieldNames and quoteNonNumerics. In this case, the Swagger interface creates the HTTP and Curl request URLs as follows:
curl -X POST --header "Content-Type: application/json" --header "Accept: /" --header "Authorization: Bearer NiJ9.eyJzdWIiOiJBZG" "http://localhost:8080/SomeService/?param1=false"eFieldNames=true"eNonNumerics=true"
You can use Jenkins with Javelin to automate Portal activities. More about Javelin can be read here: Javelin - CA Test Data Manager - 4.4 - CA Technologies Documentation
It is actually possible to create a connection profile with curl. There is an example curl in this document: API NOTES and examples .
Retrieving data ...