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:
  • Been assigned a Member or Project Creator role in a team space.
  • 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.
  • Started the virtual service resources as a Tester or Owner from the Resources page.

About this task

After you run the virtual service resources that are in your project on Rational® Test Automation Server, you can view the routing rules for the running instances of the virtual service resources, from the Intercept Rules page.

Procedure

  1. Log in to Rational® Test Automation Server.

    The team space that contains your project is displayed.

  2. Open the project that contains the virtual service resources in the test assets by clicking Projects > My Projects > project_name.

    The Overview page is displayed.

  3. Click Virtualization > Intercept Rules 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.
  4. Expand the proxy or intercept panel by clicking the Expand icon Image of the expand icon..

    The details of the proxy or intercept are displayed in the Details tab in the expanded panel.

  5. 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 Image of the eye 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

You have viewed the routing rules for the virtual service, proxy, or intercept that are running or connected to Rational® Test Automation Server.

What to do next

You can perform any of the following tasks: