Guidelines for using UFT tests in LoadRunner Professional
When creating test scripts in Unified Functional Testing (UFT) that are going to be used as GUI Vuser scripts in a LoadRunner Professional testing scenario, you need to follow certain guidelines to ensure smooth integration of the script. For detailed explanations about creating tests in UFT, see the UFT One Help Center.
UFT offers several features that are designed specifically for integration with LoadRunner Professional. Some UFT features, however, may not be available when they are integrated with LoadRunner Professional. For more information about specific limitations, see the UFT One Help Center.
To measure the performance of the server, you define transactions. A transaction represents an action or a set of actions that you are interested in measuring. You define transactions within your Vuser script by enclosing the appropriate sections of the script with start and end transaction statements.
For example, you can define a transaction that measures the time it takes for the server to process a request to view the balance of an account and for the information to be displayed at the ATM.
Note: LoadRunner Professional only provides performance information for data that is included within a transaction. Therefore, your UFT test must include transactions to be used by LoadRunner Professional.
For more information about using transactions in Unified Functional Testing, see the UFT One Help Center.
You can use the Services object and its associated methods to insert statements that are specifically relevant to performance testing. These include Abort, GetEnvironmentAttribute, LogMessage, SetTransactionStatus, ThinkTime, UserDataPoint, StartTransaction and EndTransaction. For more information on these methods, see the UFT One Help Center.
Designing tests for LoadRunner Professional
Consider the following design guidelines when designing tests for use with LoadRunner Professional:
The UFT tests you use with LoadRunner Professional should be simple tests, designed to pinpoint specific operations.
LoadRunner Professional cannot run nested action iterations.
Do not include references to external actions or other external resources, such as an external Data Table file, environment variable file, shared object repositories, and so forth.
Include transactions in your UFT test since LoadRunner Professional only provides performance information for data that is included within a transaction.