Analysis templates

This section describes how to customize analysis templates to display your performance test run reports in a format that suits your needs.

Analysis templates overview

You can customize your analysis reports using templates. In LoadRunner Analysis, you create the customized templates. You then import the templates to LoadRunner Enterprise and access the specific template you want for each test.

Back to top

Customize analysis templates

You can customize analysis templates to display your performance test run reports in a format that is suitable to your needs.

  1. Create a customized analysis template

    In LoadRunner, create a customized analysis template. For user interface details, see the LoadRunner Professional Help Center.

  2. Create a zip file with the customized analysis template

    After creating a local copy of the customized analysis template, zip the folder containing the customized analysis template and save it locally.

    Note: Make sure the analysis template folder contains a .tem file, the folder is compressed with its contents, and that the folder name is the same name as the .tem file.

  3. Upload the template file

    1. In the top banner, select Analysis Templates from the Assets module.

    2. In the Resources tree, select a folder for the analysis template. To create a new folder, select the root folder and click the New Folder button New folder button.

    3. Click the New Analysis template button New Analysis template button.

    4. Enter a name and optional description for the analysis template.

    5. Click the Upload button Upload button and select the analysis template file to upload.

      Note: The template file must be saved locally, must be in ZIP format, and must include at least one .tem file.

    6. Click OK. The template is added to the selected folder in the Resources tree.

  4. Manage the template

    1. To view a template's details and related tests, select it in the Resources tree and click its ID link.

    2. To update or replace a template file, click Replace File and select a file to upload in place of the existing file.

    3. To download the template, click the Download button Download button. The template zip file is downloaded to the Downloads folder of the client user.

  5. Apply the template to the analysis report of your performance test

    1. In the Test Management module, go to Test & Scripts. In the Tests and Scripts tab, click on an ID of a performance test.

    2. Select the Assets tab.

    3. Expand the Analysis Template dropdown, and select a template option:

      • Default to use the default analysis template for the selected performance test report.

      • Select Analysis Template and select a customized analysis template for the selected performance test report.

    4. Click OK to save your choice.

    Note:  

    • During the test run, the analysis template is logically bound to the run entity by its ID.

    • Editing a test after it has run and changing to another analysis template only impacts future runs. Prior runs still use the previous analysis template.

    • If the customized analysis template is not found, the default analysis template is used.

Back to top

See also: