Viewing virtual service resources

When project repositories contain virtual service resources and you want to view the resources so that you can start them, you can view the virtual services from the Resources page in your team space on Rational® Test Automation Server.

Before you begin

You must have completed the following tasks:
  • Ensured that you are assigned a role as a Project Creator in the team space. See Managing members and their roles in a team space.
  • Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to server projects.
  • Created virtual services that use the HTTP or IBM® WebSphere® MQ transport for tests in Rational® Integration Tester, committed the test resources to the remote repository, and added the repository to your project.

About this task

After you have committed the test assets and resources to the remote repositories and added the repositories to projects in your team space on Rational® Test Automation Server, you can go to the Resources page and perform the following tasks:
  • View the virtual service resources that are contained in any branch of the repositories that are added to your project.
  • View the components in the System Model that are associated with the virtual service resources.
  • Create or use saved filters for viewing virtual service resources.
  • Run or start an instance of the virtual service resource.
  • View the number of instances of the virtual service resources that are running.
  • View all instances of a running virtual service on the Instances page by clicking the Show in instances page icon Image of the icon..

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 > Resources in the navigation pane.

    The Resources page is displayed.

  4. Complete the steps for the task that you want to perform as listed in the following table:
    Task Action

    Viewing the virtual service resources that are contained in a branch of any of the repositories that are added to your project.

    Select the branch of the repository that contains the virtual services that you want to run from the list in the Branch field.

    All virtual services in the selected branch are displayed on the Resources page.

    Viewing the components that are associated with the virtual service resource.

    The components that are associated with the virtual service resource are displayed in the Components column.

    Click the component in the Components column to view the virtual resource on the System Model page.

    Creating or using saved filters for viewing specific instances of virtual service resources.
    To create a query, perform the following actions:
    1. Click New filter.
    2. Create a rule with an appropriate operator.
    3. Select criteria such as Name, Path, Instance number, Instance state, or Components.
    4. Select the condition, and then enter the value for the criteria.
    5. Apply the filter query.

      The virtual services that match the filter criteria are displayed.

    6. Save the filter query for retrieving it from the saved filters list.
    To use a saved filter query, perform the following actions:
    Note: To open the filter query, you must have created and saved a filter query.
    1. Click the Open filters icon Image of the icon.
    2. Select the saved filter.
    3. Apply the filter.

      The virtual services that match the filter criteria are displayed.

    Running an instance of the virtual service resource. After you identify the virtual service that you want to run, perform the following actions:
    1. Click the Execute icon Image of the icon. in the row of the identified virtual service.

      The Execute virtual service dialog is displayed.

    2. Run the virtual service with the settings that are configured in the resource by clicking Execute or modify any of the settings, and then click Execute.

      An instance of the virtual service starts to run. The virtual service is displayed with the state as Running along with the number of instances that are running in the Active instances column.

    Viewing the number of instances of the virtual service resources that are running. If any of the virtual services in the project repositories are started by any project member with the Tester or Owner role, you can view the number of instances that are running or active from the Resources page.

    The virtual services are displayed with the state as Running along with the number of instances that are running, in the Active instances column.

    Viewing all instances of a running virtual service. Click the Show in instances page icon Image of the icon. in the row of the virtual service on the Resources page.

    The Instances page is displayed with all the running instances of a particular virtual service.

    You can also view the number of requests that are received by the virtual service. The number of requests is displayed as the number of hits when you hover the cursor over the text in the Activity column.

Results

You have viewed virtual services from the Resources page on Rational® Test Automation Server.