Configuring virtual IPs in stubs
After you create a virtual IP address, you can configure the virtual IP address as the server socket override bind address for the HTTP transport configured for the stubs.
Before you begin
You must have completed the following tasks:
- Created the virtual IP address that you want to use in tests.
- Created a logical connection and a physical resource. See Creating logical HTTP connections and Creating physical web server resources.
- Configured the relevant settings for the logical connection and physical resource.
Procedure
-
Open the physical resource by using any of the following methods:
- Right-click the logical resource or connection, and then click Physical Resource in the Logical View.
- Click the physical HTTP transport in the Physical View.
The Web Server dialog is displayed.
- Click the Server tab.
-
Enter the virtual IP address in the Bind Address field.
For example, if you configured 10.134.59.4 as the virtual IP, enter 10.134.59.4 in the Bind Address field.
- Provide the details in the relevant fields that apply to your test.
- Click OK.