+

Search Tips   |   Advanced Search


Add stub servers to a performance schedule

If you are using Rational Performance Tester, you can automate the deployment of stub servers in a performance schedule.

You must have created one or several service stubs.

This topic does not apply to Rational Service Tester for SOA Quality. To automate stub deployment in a schedule:

  1. In the Test Navigator, browse to the schedule and double-click it.

  2. In the schedule, select the top-level element and click Add > Service Stub Server. The Service Stub Server Location window opens.

  3. Select an existing remote stub server location or create a new location.

    To create a remote location:

    1. Click New. The Add Location window opens. The first page of the wizard lets you specify general properties for the remote location.

    2. In Host name, type the IP address or the fully qualified host name of the remote computer, for example: localhost.

    3. In Name, type a descriptive name for the remote computer.

    4. In Deployment Directory field, type the directory on the remote computer that will store the test assets, for example: C:\tmp. The directory, which will be created if it does not exist, stores the temporary files that are needed during a schedule run.

    5. In the Operating System field, select the operating system of the remote computer, ... The second page of the wizard lets you specify the IP aliasing properties for this location.

    6. deploy multiple stub servers on a single computer, select Enable IP Aliasing to make it appear as though each stub server has its own IP address.

    7. Select Use IP addresses from all network interfaces to use IP addresses from all network interfaces at the remote location or select Only use IP addresses from the following network interfaces to use addresses from a subset of network interfaces. Click Add to add the name of an interface and Edit to change the interface name. Specify network interfaces in the form eth0, eth2. If you do not use this form, the connection attempt fails.

    8. Click Next. The third page of this wizard lets you specify file locations.

    9. Specify a project directory and a File name to store the information about the new remote location, and then click Finish.

  4. Click OK. A new service stub server is created in the schedule.

  5. Select the service stub server and click Add > Service Stub.

  6. In the Select Stub window, select the stubs that you want to deploy on the server and click OK. To select multiple stubs, press and hold the Control key.


Results

When you run the schedule, the stub servers are deployed at the beginning of the test. When the schedule finishes, stub servers are stopped and removed from the remote locations.

In the schedule, verify stub servers have enough time to be correctly deployed before the user groups start running.

To do this, select a user group, and click Add > Delay and specify a 30 second delay.


Related

  • Service stub overview


    Related tasks

  • Create a service stub
  • Editing a service stub
  • Deploying service stubs


    Related information

  • Running a user group at a remote location