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
Occurrence of "
Getting Converted into "
in Swagger
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:
- HTTP Request URL
"http://localhost:8080/SomeService/?param1=false"eFieldNames=true"eNonNumerics=true"
Note that the occurrence of "
is not replaced with a double quote ("
) in this case, which is correct. - Curl Request URL
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"
Note that the occurrence of "
is converted into a double quote ("
) in this case, which is incorrect.
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