On the Endpoints page, you can define any number of endpoints for your service.
To open the page:
Double-click a service in the Navigator.
Switch to the Endpoints page.
On this page, you can configure endpoint options. These options are available in the table.
The table includes the following columns:
|Endpoint||The endpoint URL or destination.|
|Username||The authorization username.|
|Password||The authorization password.|
|Domain||The authorization domain.|
The endpoint mode.
Possible values: OVERRIDE, COMPLEMENT, COPY.
To add a new endpoint:
In the follow-up dialog, enter a new endpoint URL. Click OK.
If necessary, enter a username, password, and domain.
Select a mode.
To delete an endpoint:
Select an endpoint in the table.
In the subsequent dialog, click Yes.
Assign Endpoints to Requests
You can assign endpoints to a large number of requests:
Select an endpoint.
Click Assign on the toolbar.
In the subsequent dialog, select one of the following options from the drop-down list:
Option Description All Interface Requests Assigns the selected endpoint to all requests in the interface. All Test Requests Assigns the selected endpoint to all REST Request test steps in the project. All Interface Requests and Test Requests Assigns the selected endpoint to all requests in the interface and REST request test steps in the project. All Requests with no endpoint Assigns the selected endpoint to all requests without an endpoint.
Assign Endpoints in Test Runner
You can assign any endpoint to any request before starting the test run using the built-in functional, security or performance test runner. This can be done in the following ways:
Specify a value after the
-eargument when constructing the command-line test launch string.
In the GUI of the test runner, specify the endpoint on the Overrides tab, in the Endpoint field.
|Any values you specify in the test runner override those you have specified in the project settings.|
To learn more about ReadyAPI test runners, see one of the following topics depending on the application you are working in: