Using Performance Testing and Business Service Management Products with UFT GUI Tests

Relevant for: GUI tests only

UFT enables you to create complex tests that examine the full spectrum of your application's functionality to confirm that every element of your application works as expected in all situations.

After you use UFT to create and run a suite of tests that test the functional capabilities of your application, you may want to test how much load your application can handle or to monitor your application as it runs.

  • HPE performance testing products (LoadRunner and Performance Center) test the performance and reliability of an entire system under controlled and peak load conditions. To generate load, these performance testing products run hundreds or thousands of virtual users. These virtual users provide consistent, repeatable, and measurable load to exercise your application just as real users would.

  • HPE Business Service Management (formerly HPE Business Availability Center) enables real-time monitoring of the end user experience. Business Process Monitor runs synthetic users to perform typical activities on the monitored application.

If you have already created and perfected a test in UFT that is a good representation of your user’s actions, you may be able to use your test as the basis for performance testing and application management activities.

You can use Silent Test Runner to check in advance that a test will run correctly from LoadRunner, Performance Center, and Business Process Monitor.

UFT offers several features that are designed specifically for integration with LoadRunner, Performance Center, and Business Process Monitor.

Note: These products are designed to run tests using virtual or synthetic users representing many users simultaneously performing standard user operations. Some features may not be available when integrating these products with UFT.

You can use the Services object and its associated methods to insert statements that are specifically relevant to Performance Testing and Business Service Management. These include:

AddWastedTime
EndTransaction
SetTransaction
EndDistributedTransaction
LogMessage
SetTransactionStatus
GetEnvironmentAttribute
Rendezvous
ThinkTime
StartDistributedTransaction
StartTransaction
UserDataPointUserDataPoint

For details on these methods, see the Services object of the UFT Object Model Reference for GUI Testing and your performance testing or Business Service Management documentation.

For details on transactions, see Measuring transactions.

For details on inserting StartTransaction and EndTransaction statements using the UFT menu options, see Start Transaction Dialog Box and End Transaction Dialog Box.