Viewing routing rules of the virtual services
When you run virtual services that are created to run on proxies or intercepts and have routing rules defined, you can view the proxies or intercepts and the routing rules from the Intercept Rules page.
Before you begin
You must have completed the following tasks:
- Started the virtual service resources as a Tester or Owner from the Resources page.
- Been assigned the Viewer, Tester, or Owner role so that you can view the routing rules defined for the virtual services from the Intercept Rules page.
About this task
After you run the virtual service resources that are in your project on HCL OneTest™ Server, you can view the routing rules for the running instances of the virtual service resources, from the Intercept Rules page.
Procedure
- Log in to HCL OneTest™ Server.
-
Open the project that contains the stubs in the test assets by clicking
.
The Overview page is displayed.
-
Click
in the navigation pane.
The Intercept Rules page is displayed.
The agents, proxies, or intercepts that are configured in the virtual service resources that are in your project are displayed.
You can find the following information that is displayed on the Intercept Rules page.Column Description Activity Lists the agent or proxy. Target Lists a summary view of the endpoint that was recorded or virtualized. Recipient Lists the destination where messages sent to are captured. -
Expand the proxy or intercept panel by clicking the Expand icon .
The details of the proxy or intercept are displayed in the Details tab in the expanded panel.
-
Click each tab to view the following information:
Tab Description Details The Details panel provides the following information: Option Description Condition Lists the condition that causes the traffic to be recorded or routed to a virtual service. You can view the detailed condition of the rule defined for the proxy or intercept by clicking the View icon .
The detailed condition of the rule is displayed in the Full condition window.Note: You can copy the detailed condition if you intend to use it elsewhere.Routing to Lists the virtual service to which traffic is routed. Created by Lists the user who created the rule. Created at Lists the date and time when the rule was created. Activity The Activity panel lists the log of the activities performed by the proxy or intercept. This panel also displays the details of the activity, date and time, and message for that activity.
Results
What to do next
You can perform any of the following tasks:
- You can view the usage statistics of the virtual services that are running. See Viewing usage statistics of virtual services.
- You can stop the stubs that are running on HCL OneTest™ Server. See Stopping a virtual service.