ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to download a MAR file using the Virtual Services Invoke API with DevTest 10.1?


Article ID: 126690


Updated On:


CA Application Test CA Continuous Application Insight (PathFinder)


The Virtual Services Invoke API in DevTest 10.1 does not have the option to download a MAR file.
Is there a different way that could be used to download a MAR file?


DevTest on release 10.1 and 10.2.


The API call to download a MAR file is available starting with DevTest on release 10.3. 

I you are using a previs release you can try the following GET call can to download a MAR file: 

Where PortalServer is the address where the Portal service is running, http is my VSM name and the securityToken value is the accessToken generated when we login to the Portal. 

The following POST call can be used to generate the securityToken/accessToken: 
In the request body we would need to have the username and password like the below sample:  

The response will contain the accessToken in the response body:  
"access_token": "9ikf0m83p8oagf7g3nb89f6bq7mqtp1q",  

With this information you will be able to send the GET request: 
Make sure to update the PortalServer address, the VSM name and the securityToken.

Additional Information

For more information regarding the Virtual Services Invoke API, please use the links below
DevTest 10.2: Using the Virtual Services Invoke API -
DevTest 10.4: Virtual Service Invoke API -