Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Testing with WAPT
Load testing with WAPT is simple and straightforward.
WAPT can emulate the activity of hundreds or
even thousands of real users from a single testing machine. The program
replaces human users with virtual users. This lets you emulate the interaction
of multiple, simultaneously acting users with your web site.
At the first start of WAPT, the Global
Settings Wizard is initiated. It will help you specify WAPT
global settings.
To perform a test, you should create a test scenario. New
Test Scenario Wizard will help you create a new test scenario depending
on your testing objectives. WAPT test scenario
defines parameters of test run: the number of virtual users, test duration,
date and time when the test will be started, user simulation options and
the list of included user
profiles.
User profiles describe the behaviour of virtual users. You can create
as many profiles as you need. This will enable emulating a real workload
on a tested server. For each user profile, you should specify web pages
that will be requested (visited). This can be done by recording the real
activity in WAPTRecorder.
WAPT records pages as you navigate through a
web site. To add more reality to your tests, you can specify a number
of properties for each user
profile (the number of iterations, user think time, user connection
speed, authentication methods, cookies, HTTP headers). Profile properties
will be used for all its requests. However, you will be able to change
specific user think time and HTTP headers for individual
pages. In addition, you can use either recorded URI, or get it dynamically
at run-time. WAPT also provides you with a number
of functions for dynamic
calculation of request parameter values at run-time.
The session of each virtual user includes a single execution of Initial
actions, then the repeat of Main
pages, and at the end a single execution of Final
actions. All pages recorded in WAPTRecorder
will be added to the Main test sequence of current user profile.
You can also add page requests to any test sequence (Initial, Main
or Final) manually.
After you have created user profiles, you should define the number of
users belonging to each profile and completely configure the test scenario:
the number of virtual users, test duration and scheduling options. You
can set WAPT to create full
logs or error logs.
Log files will help you know what occurred during test run.
After you have created the test scenario, included user profiles to it,
recorded the sequence of requests for each user profile and completely
configured the test run, you can start
the test. When WAPT finishes the test, it
displays results of test
run. Graphs and reports will give you the summary and detailed information
on the performance of tested web server under the load.