Configure a scenario to use J2EE/.NET Diagnostics

This task describes how to capture J2EE/.NET diagnostics metrics in a LoadRunner Professional 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 Professional scenario that runs the script.

  3. Enable J2EE/.NET Diagnostics

    In 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 Controller, click the Diagnostics for J2EE/.NET tab to view the online graphs.
    2. After the scenario run is complete, open Analysis to view the J2EE & .NET Diagnostics Graphs. If the graph is not visible, select Graph > Add New Graph. For details, see J2EE and .NET Diagnostics graphs.

Back to top