Monitoring the Load
Test
While creating load on an application,
you want to see how the application
performs in real time and where
potential bottlenecks exist. You use
LoadRunner’s suite of integrated
monitors to measure the performance of
every single tier, server, and
component of the system during the load test.
LoadRunner includes monitors for a
variety of major backend system
components including Web, application,
network, database, and ERP/CRM
servers.
1 View the default
graphs.
By default, the Controller displays
the Running Vusers, Transaction
Response Time, Hits per Second, and
Windows Resources graphs. The first
three don’t require configuration. The
Windows Resources monitor has
been configured for you for this test.
➤Running
Vusers - whole scenario graph lets you monitor the number of
Vusers that are running at a given
time. You can see that the Vusers
gradually start running at a rate of 2 Vusers every 1
minute.
In this example, you can see that
after 5 minutes, the system starts to
encounter an increasing number of
errors. These errors are caused by
timeouts due to degrading response
times.
Note: It will take your scenario a few
minutes to run. You can go back and
forth from the graphs to the Vusers as
your scenario proceeds to display your
results online.
Analyzing Results
At the conclusion of the test run,
LoadRunner provides an in-depth analysis
section composed of detailed graphs
and reports. You can compare multiple
graphs by combining results from
several scenarios. Alternatively, you can
use the Auto-correlate tool to merge
all the graphs that contain data that
could have had an effect on the
response time, to pinpoint what washappening at the moment the problem
occurred. Using these graphs and
reports, you can easily identify the
bottlenecks in your application, and
determine what changes need to be made
to your system to improve its
performance. You will learn how to use
the Analysis tool in Lesson 10,
“Analyzing Your Scenario.”
You can open the Analysis with the
scenario results by selecting Results >
Result Settings or clicking the
Analyze Results button. The results are saved
to the <LoadRunner
installation>\Results\tutorial_demo_resdirectory.
Where To Go From Here
Now that you have discovered the power
of LoadRunner’s automated testing
process, you are ready to learn how to
build a load-testing script, design and
run your own test, and analyze the
test results. The following lessons will
walk you through the process of achieving these results.
No comments:
Post a Comment