LoadRunner integration with HP QC/ALM

Hi,

If your organization is using LoadRunner for performance testing and also using ALM/QC for test management then you can leverage ALM/QC as a repository for performance testing. It cannot replace Performance Center; however, features like storing scripts, execution, store results, access reports etc. can be done with some restrictions.

See below steps to integrate LR with ALM/QC  and let me know if any queries.

1) Install ALM/QC desktop client. If you are using only IE client of ALM and ALM has timeout enabled then your test results won't update from Controller to ALM.

2) Open Vugen and from version control, connect to ALM project by connecting to your ALM URL (https://XXXX:<port>/qcbin/)

3) Open your script from local drive and do a Save As and select ALM/QC. This will save the script in to Test Plan folder

4) In ALM->test plan, create a new test and choose type as LR-SCENARIO. This will create a load runner scenario.

5) To design the scenario, select the scenario and click Test Script tab->Launch. This should open the local controller. Add all the test scripts as you do normally and save the scenario.
(NOTE - THIS STEP MUST BE DONE IN A MACHINE WHERE LOADRUNNER IS INSTALLED AS THIS STEP WILL TRY TO OPEN THE LOCAL CONTROLLER)

6) To run the scenario, first login to the Controller machine (which has the license). Go to ALM/Test Lab and create a new test set. Now click select tests and choose the LR scenario created above

7) Click RUN to start the execution of the scenario. Select Run local tests which will open the controller and start the execution.

(Note - you can also run remote tests by specifying the IP address of the controller machine)

8) When the test is completed, Controller will automatically save the results back to ALM and update the run status

9) In ALM, go to Test Run and select the run just executed. Click reports tab and select LR Analysis to view the results.

Thanks for viewing. Happy LoadRunning!!!

Comments

Popular posts from this blog

CI CD Continuous Performance Test Framework with LoadRunner/Jenkins/Bitbucket

Android native app scripting with LoadRunner