Using CA Application Test › Using the Workstation and Console with CA Application Test › Running Test Cases and Suites › The REST API › Invoke the REST API from the Web Interface
Invoke the REST API from the Web Interface
DevTest Solutions includes a simple web interface that you can use to explore the REST API.
Note: You must use Google Chrome, Internet Explorer, or Mozilla Firefox to access the web interface.
By default, the web interface uses localhost in the URL. To access the web interface from other than localhost, set the following property in the local.properties file:
lisa.invoke2.swagger.basepath=http://<public_hostname_or_ip_address>:1505/api/Dcm
Follow these steps:
- Ensure that the registry is running.
- Enter http://localhost:1505/api/swagger/ in a supported browser. If the registry is on a remote computer, replace localhost with the name or IP address of the computer.
The web interface appears.
- Click Show/Hide for a category.
- Click one of the API paths.
- Use the Response Content Type field to specify whether the response is in XML or JSON format.
- If the Parameters section appears, enter the required value for each parameter.
- Click Try it out!.
The request URL and the response are displayed.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|