Starting stubs by using the IBM® Rational® Test Control Panel method

When you want to start stubs that are published to IBM® Rational® Test Control Panel, you can do so from the Environments Dashboard. Also, when you cannot use or access Rational® Integration Tester to control stubs, you can use the Environments Dashboard of Rational® Test Control Panel to start the stubs.

About this task

The Environments Dashboard also enables you to perform the following tasks:

  • Override a stubs tag setting.
  • Adjust a stubs response time.
  • Start scenarios, which are collections of configured stubs. This action starts all stubs in the scenario.
Note: If you have multiple engines set up on Rational® Integration Tester Agent on which you intend to run the stubs, you can configure the number of engines that you want to start concurrently. You can edit the Agent.config file to set the values of the following attributes:
Attribute Description Default value
maxConcurrentStarts Specifies the number of engines that must be started concurrently. 10 engines
concurrencyPeriodSecs Specifies the duration in seconds within which time the engines that were specified must be started after the first engine is started. 60 seconds

Procedure

  1. Log in to Rational® Test Control Panel.
  2. Click the Environments icon Image of the environments icon. or navigation link from the landing page.
    The Environments Dashboard is displayed.
    Note: You can change the domain and environment that you want to view by clicking the domain:environment link, and from the domain:environment selection dialog displayed, select the domain, and then select the Environment.
  3. Select the domain, and then select the Environment that contains the stubs.
    The Environments Dashboard is displayed for the selected environment and domain.
    Note: If you are using 8.5.1.1 or later, and domain-level security is enabled, you can use only the domains to which you were granted access.
  4. Click the Start icon image of the icon of the stub that you want to start.
    Note: If the stub fails to start and displays a Broken state, then you can find the possible cause by hovering over the stub.

Results

After the stub has started, the status changes from Stopped to Starting, and then the status changes to Running. After the stub runs, you can view the following details about the stub in a tabular format:

Column

Description

Status

Displays the state of the stub.

For example, the status of a stub that is started is displayed as Starting and the status changes to Running when the stub runs.

Name

Displays the name of the stub that was published to Rational® Test Control Panel.

Version

Displays the version of the stub that was published to Rational® Test Control Panel.

Components

Displays the name of the service component in Rational® Integration Tester in which the stub was created.

Operations

Displays the name of the operation in Rational® Integration Tester in which the stub was created.

Hits

Displays the count of the messages or calls received by the stub after the stub was started.

For example, when you start a stub named as McStub with version 1.0 that was created in the Add operation under the AddNumbers service component and that had a hit count of 4, the stub is displayed in the Environments Dashboard as follows:
Image of the stub in the environments dashboard.
Starting from 9.2.1 or later, stubs are automatically restarted if the original instance stops working for any of the following reasons:
  • Rational® Integration Tester Agent fails.
  • Rational® Test Control Panel fails.
  • A network outage.