Text files created on Windows use a different, and incompatible, line ending scheme than what is used by Unix. Because of this shell scripts created or edited on Windows typically won't be executable on a Unix system. Hence, the use of the tr command to “UNIX-fy” the line endings of any shell scripts that may have been modified by a Windows editor.
The script uses the server and username, but has a LOOKUP_PWD constant instead of the actual password. At playback the authentication datapool is searched, matching the server username pairing. The password is returned from the matching row.
To modify the Authentication Datapool with TestManager: Click Tools > Manage > Datapools. Click RTAuthentication (the Authentication Datapool). Click Edit. Click Edit Datapool Data in the Datapool Properties dialog box. The Edit Datapool dialog box appears. Each row in the Edit Datapool dialog box contains the following information: State; Service; Class; Login; Subclass; Password Repeat the last step for each user ID and password you need to enter. Click Save, and then click Close. Click OK to close the Datapool Properties dialog box, and then close the Manage Datapools dialog box.
The red line indicates the time that the virtual tester was waiting for the database to confirm it had successfully added the customer record. The white space along the dotted line for each virtual tester indicates the time that the virtual tester was in a the init script or a transaction delay. Here it is good to note that transactors control the arrival rate; they control the left-most point of each of the response times shown above. The response time of the system under test controls the right-most point; response time is a determined by the capabilities and saturation of the system under test. Since the arrival rate of work to the system under test (one add_customer request per second) is matched by the unloaded system’s capability to fulfill each request in one second, there is no time when the system under test is concurrently servicing more than one request.
Please see Robot Helper Help for sample code.
Intermediate and Advanced Tips and Tricks for Performance Testing with Rational Suite TestStudio Scott Silverstone Jeff Robbins Rational Software
This turns off automatic copying of datapools to agents
Note: Rational TestManager & Rational Robot must be restarted to read the new value of this variable
Updates to datapools won’t be used unless the datapool file is refreshed
The best way to refresh the datapool is to set RT_MASTER_DISABLE_MANDATORY_DP_XFER to 0, restart Rational TestManager and Rational Robot, then run a test. The updated datapools will then be copied to the agents.
Example Situation: Passwords are encrypted during the initial recording of the test run – Rational Suite TestStudio can’t play back the results properly because all virtual users after the first “Mary Smith” are locked out