Modifying configurations of running instances of virtual services

After you start virtual services from the Resources page and before you run tests on the virtual service, you might want to modify the configurations for the behavior or the logging level of the running instance.

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 in the project so that you can view the virtual services that are running.
  • Started the virtual service resources as a Tester or Owner from the Resources page.

About this task

After you have started the virtual services from the Resources page on IBM® Rational® Test Automation Server, you can go to the Instances page and identify the running instance of the virtual service for which you want to modify the configurations. You can modify the configurations for the behavior or logging levels of the running instance of the virtual service.

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

    The Instances page is displayed with all running instances of the virtual services that are in your project.

  4. Identify the running instance of the virtual service for which you want to modify the configurations.
  5. Click the Expand icon Image of the icon. of the instance that you want to modify the configurations.

    The Details panel of the instance is displayed.

  6. Click Behavior to expand the panel and perform the following steps to change the configurations:
    1. Click the Edit icon Image of the edit icon..

      The options that you can modify are enabled for editing.

    2. Select a different operation for the virtual service, if available, from the list for the Operation option.
    3. Select a different response time from the list for the Response time option, and then enter the values for the delay that you want to set.
      You can modify the value by selecting a value from the following options:
      Option Description

      No delay

      Select this option for a response with no delay.

      Minimum delay

      Select this option for a delay in the response by entering the required delay in milliseconds (ms).

      Uniform distribution

      Select this option for a uniformly distributed response time by specifying the minimum and maximum delay in milliseconds (ms).

      Gaussian distribution

      Select this option for a response time with Gaussian distribution by specifying the minimum and maximum delay in milliseconds (ms).

    4. Click apply to apply the modified settings.
  7. Click Diagnostics to expand the panel and perform the following steps to change the logging level that is configured:
    1. Click the Edit icon Image of the edit icon..

      The Logging level option is enabled for editing.

    2. Select a different logging level from the following options.
      Option Description
      None

      Specifies that the virtual service does not write log messages.

      Normal Specifies that the virtual service writes informational messages.
      Debug Specifies that the virtual service writes informational and debugging messages.
    3. Click apply to apply the modified settings.

Results

You have viewed and modified the configurations of a running virtual service instance from the Instances page on Rational® Test Automation Server.

What to do next

You can run tests that are in an API Suite in your project, which then run on the virtual service instance. See Configuring an API Suite or an API test run.