2. Specifying the Server and Counters to Monitor

Applies to LoadComplete 4.97, last modified on May 20, 2019

Let’s create a new project and configure it to monitor the performance of your current computer under load:

  1. To create a new project, select File > New > New Project from the LoadComplete main menu.

    In the Create New Project wizard, specify the project name and location and click Finish.

    LoadComplete will create the project and display its contents in the Project Explorer panel.

  2. In the Project Explorer, double-click the Counters node to open the Counters page and click Add Counter on the page toolbar:

    Open the Counters page and call the Add Counter wizard
  3. LoadComplete will open the Add Counter wizard. On the first page of the wizard, specify the server you want to monitor - in this tutorial it will be your current computer, that is, localhost:

    Specify the localhost server to monitor

    Click Next to continue.

  4. On the next page of the wizard, you select the performance data provider that will retrieve counters for your computer during the test run. Click Standard Counters:

    Select the Standard Counters provider
  5. The next page of the wizard lists four standard counters: % CPU, % Memory, Memory (MB) and % Disk Time. Select % CPU:

    Select the % CPU counter

    Click Finish to complete adding the counter.

  6. LoadComplete will add the counter to the counter list.

    Let’s add another standard counter. Right-click the Standard Counters provider node on the page, and then click Add Counter:

    Add another counter of the Standard Counter provider
  7. LoadComplete will open the Select Performance Counter page of the Add Counter wizard. Select the Memory (MB) counter on it:

    Select the Memory (MB) counter

    Click Finish. LoadComplete will add the counter to the counter list.

  8. Now, we will add a custom counter, Requests/Sec, to the project. This metric will help us analyze how the number of requests executed per second changes under the load.

    Right-click the localhost node in the counter list, and then click Add Counter:

    Add another provider to the server
  9. LoadComplete will open the Select a provider of performance counters page of the Add Counter wizard. Select Windows Performance Monitor:

    Select the Windows Performance Monitor provider
  10. On the next page of the wizard, enter Requests/Sec in the Quick Search text box to find the needed counter faster, expand the ASP.NET Apps v2.0.50727 > __Total__ node, and select the Request/Sec counter:

    Select the Requests/Sec counter

    Click Next.

  11. On the next page of the wizard, select measure units for the selected counter. In this case, it is Number per second:

    Select the data type for the counter

    Click Finish.

  12. LoadComplete will add the counter to the counter list:

    All the counters in the counter list
  13. To monitor the added counters during the test run, let’s enable them on the Runtime > Graphs page.

    Open the Runtime > Graphs page of your project and in the View drop-down list, select the Server performance view:

    Added counters in the counter list on the Graphs page
  14. In the list of available counters in the right part of the page, locate the Server performance group. Enable the added counters:

    Enable the counters

    Click the image to enlarge it.

    LoadComplete will add the counters to the page.

    Note: The Runtime > Graphs page contains no data and shows all the graphs as circles if you haven't run any test or scenario yet.
  15. (Optional.) You can rearrange the counters to show them on a single graph:

    Rearrange the metrics

    Click the image to enlarge it.

Prev     Next

See Also

Creating Test Projects
About Server Monitoring
Preparing Servers for Monitoring
Managing Server-Side Performance Counters

Highlight search results