Add stub servers to a performance schedule
If you are using IBM 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 IBM Rational Service Tester for SOA Quality.
To automate stub deployment in a schedule:
- In the Test Navigator, browse to the schedule and double-click it.
- In the schedule, select the top-level element and click Add > Service Stub Server. The Service Stub Server Location window opens.
- Select an existing remote stub server location or create a new location. To create a remote location:
- Click New. The Add Location window opens. The first page of the wizard lets we specify general properties for the remote location.
- In Host name, set the IP address or the fully qualified host name of the remote computer, for example: localhost.
- In Name, type a descriptive name for the remote computer.
- In Deployment Directory field, set 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.
- In the Operating System field, select the operating system of the remote computer, and then click Next. The second page of the wizard lets we specify the IP aliasing properties for this location.
- To 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.
- 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, eth1. If you do not use this form, the connection attempt fails.
- Click Next. The third page of this wizard lets we specify file locations.
- Specify a project directory and a File name to store the information about the new remote location, and then click Finish.
- Click OK. A new service stub server is created in the schedule.
- Select the service stub server and click Add > Service Stub.
- In the Select Stub window, select the stubs 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, you must ensure that the 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
Create a service stub
Edit a service stub
Deploy service stubs
Record service stub activity in a log file
Related information:
Run a user group at a remote location
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.