HP United Functional Testing (UFT) enables you to create complex tests that examine the full spectrum of your application's functionality and API.
After creating a test in UFT, you can add it to the list of scripts in the LoadRunner Controller, as you would with any script created with VuGen, LoadRunner's script generation tool. You can then assign it virtual users and execute it in a load testing scenario.
LoadRunner can integrate UFT into a load testing scenario in the form of GUI or API Vuser scripts. These scripts, after having been designed and debugged in UFT, can be used as the basis of your load test.
The main uses of running GUI and API scripts in LoadRunner are:
- To check how your application's functionality is affected by heavy load
- To measure the response time that a typical user experiences on the client side while your application is under load (end-to-end response time)
- To load test a business process that could not be scripted using VuGen, but can be scripted using UFT
One special advantage of using a GUI Vuser script as part of your LoadRunner scenario is that the GUI Vuser script runs on your screen during the scenario, enabling you to watch the actual steps executed by the Vuser in real time.
When UFT and LR are installed on the same machine, you can create tests that are initially compatible with LoadRunner, or you can convert existing UFT tests to LoadRunner compatible tests.
- To convert an existing API test to a LR compatible script, click the Enable for Load Testing button on the UFT toolbar.
- To prepare an existing GUI test for LoadRunner, include StartTransaction and EndTransaction statements in your actions and make sure that there are no references to external actions or resources.
Coexistence with Unified Functional Testing (UFT)
If you install LoadRunner and UFT on the same machine. and then uninstall one of them, the remaining software program may not function correctly.
Workaround: Reinstall the software program you want to use on the machine.
A machine with LoadRunner and UFT, in which UFT was installed after LoadRunner, may not allow the recording of certain protocols.
Workaround: Uninstall UFT and run a Repair on the LoadRunner installation.
If you install UFT on a load generator machine when the load generator agent is running, the remote Controller may not be able to run UFT scripts on the load generator machine.
Workaround: After installing UFT, restart the load generator agent using the Agent Configuration utility, or alternatively reboot the machine.
Documentation for this integration can be found using the following link:
- LoadRunner Help Center (see the Controller > Running Load Test Scenarios > Using QuickTest or Unified Functional Testing Scripts in LoadRunner )
|Unified Functional Testing|
For an older version of this integration, please see Integration ID #585
Generated: 6/11/2018 4:45:58 AM