2
The Power of
LoadRunner
To illustrate the power of LoadRunner,
you will run and analyze a load test
against a database application, with
up to 10 concurrent users. The test will
emulate travel agents simultaneously
using the flight reservation system (for
example, logging on, searching
flights, purchasing flights, checking
itineraries, and logging off).
During the test, you will observe how
the Web server behaves under load
usingLoadRunner’s online monitors. In
particular, you will see how an
increase in load affects the time that
it takes the server to respond to a user
action (transaction response time) and
causes errors.
After you have seen how LoadRunner can
be used to generate load on a
system and measure the responsiveness
of the system to that load, you will
learn how to use the LoadRunner
components—VuGen, Controller, and
Analysis—to create and run your own
test, and analyze test results.
Note: LoadRunner allows you to
purchase a license to use as many virtual
users (Vusers) as you need to
effectively test your application. For the
purposes of this LoadRunner trial
version, however, you are licensed to use
25 Vusers only.
Creating the Load
Test
The Controller is the central console
from which you build, manage, and
monitor your test. You will use the
Controller to run a sample script that
emulates the actions performed by a
real user, and create load on the system
by having a number of virtual users
concurrently perform these actions.
1 Open the HP
LoadRunner window.
Choose Start > Programs
>LoadRunner>LoadRunner. The HP LoadRunner
Launcher window opens.
Running the Load Test
Click the Start Scenario button. The Controller
run view is displayed, and
the Controller begins the scenario.
In the Scenario Groups pane, you can
see as Vusers gradually start to run
and generate load on the system. You
can see the responsiveness of the
server to the Vuser actions in the online graphs
No comments:
Post a Comment