How to Configure a LoadRunner Scenario to use J2EE/.NET Diagnostics

This task describes how to capture J2EE/.NET diagnostics metrics in a LoadRunner scenario and how to select the probes that will be included in the scenario.

  1. Prerequisites

    • Make sure that the application server you are monitoring is started.

    • Make sure that the load test scenario is not already running.

    • Make sure to assign a unique transaction name for each scenario.

  2. Prepare a VuGen script and scenario

    • Prepare a VuGen script that emulates user's behavior on your application on the application server.

    • Prepare a LoadRunner scenario that runs the script.

  3. Enable J2EE/.NET Diagnostics

    In the Controller, select Diagnostics > Configuration to open the Diagnostics Distribution dialog box. Then select Enable the following diagnostics. For details, see Diagnostics Distribution Dialog Box.

  4. Set a distribution percentage

    Specify the percentage of Vusers for which you want to collect J2EE/.NET Diagnostics data.

  5. Select the Probes

    1. In the Diagnostics Distribution dialog box, locate the Online & Offline Diagnostics section and click Configure. The Enable J2EE/.NET Diagnostics Configuration dialog box opens. For details, see J2EE/.NET Configuration Dialog Box.
    2. Select the Enable J2EE/.NET Diagnostics check box.
    3. Select the probes that you want to include in the scenario run. Click OK.
  6. View the graphs

    1. Begin the scenario run. In the Controller, click the Diagnostics for J2EE/.NET tab to view the online graphs.
    2. After the scenario run is complete, open LoadRunner Analysis to view the J2EE & .NET Diagnostics Graphs. If the graph is not visible, select Graph > Add New Graph. For details, see J2EE & .NET Diagnostics Graphs.

Back to top