Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Editing Scenario Options
Editing Scenario Options
To perform a test, you should create a test scenario.
WAPT Pro 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.
Scenario also contains options for saving log files and test results.
To create a new test scenario, click the New button
on the program toolbar.
New Scenario Wizard will be initiated.
This wizard will help you create a new test scenario depending on your test goals.
It also includes a short guide on test results.
You can modify the properties of created test scenario. Select
Test Volume or Log and Report Settings in the Navigation Pane. Scenario options will be
displayed in the right pane where you can modify them.
Test Volume
In the Test Volume view, you can select a criterion of test completion and specify a
number of virtual users participating in the test.
You can select one of 2 criteria of test completion: either test duration, or
the total number of virtual user sessions that should be executed during the test.
(Virtual user session is a single pass of user profile.)
The test completes when the selected criterion is fulfilled.
Run time:
Specify test duration (time format is hours : minutes : seconds).
Execute _ user sessions
before test end: Specify the total number of user sessions that should be
executed during the test.
Complete all open sessions: If you check this option, the program will
execute all running user sessions to the end
of their profiles. WAPT Pro will complete all open sessions when
the time of test run is over, and only after that it will finish the test.
The program will also complete open sessions when you use the periodic user load (when the load changes from high to
low).
This option is useful if you do not want to leave many open sessions
on your server after the test.
However, requests executed after the end of specified run time are not included in test run statistics.
Schedule run at: Enables to schedule a test run if, for example,
you need to start a test at off-hours.
Select a desired date and time and click the Run Test
button
on the program toolbar.
Note that scheduled run will be activated only after you click the Run Test button.
If the specified time has already passed, the test will start immediately.
WAPT Pro can emulate 3 types of user load:
a fixed load, ramp-up number of users and periodic user load.
You can select one of these types of user load for your test.
The load with ramp-up number of users is the load where the number of virtual users is gradually increasing
until it reaches a specified maximum.
This type of test is useful to see how your site responds to the increasing load volume.
Periodic user load is the load consisting of 2 phases repeating several times: one with a low load level
and one with a high load level.
This type of load is useful to test that web application allocates and frees server resources correctly.
Fixed number of users
If you need to make a fixed load on the tested server, you should
specify a constant number of users that will be active during the whole
test run. All users will start simultaneously at the beginning of the test.
Ramp-up load
If you wish to perform a test where the number of users is gradually increasing, you should
select the option with the ramp-up load and specify
an initial and maximum number of users and iteration step.
You can also set a delay before starting the next user(s) in the
every edit box. The number of users will increase
gradually during the test until it reaches the specified maximum.
Periodic load
Periodic load consists of 2 phases changing one another: one with a low load level and another with a high load level.
Specify the number of users for each phase and set the duration of phases.
In the Profiles table you can edit the number of users of each profile.
Click on a value you want to change and specify a desired value.
The total number of users (the sum of all profiles)
will be recalculated automatically.
User load graph shows how the number of users
changes with the time during the test.
Red vertical line on this graph indicates the end of test run.
In the trial version of WAPT Pro, the maximum number of virtual users is limited to 20.
Even if you specify greater values, only 20 users will be added to the test.
This limitation is removed when you register the product.
Log and Report Settings
In the Log and Report Settings view, you can define options for log files, reports and test results.
Logs
You can set WAPT Pro to create full logs or error logs.
Log files will help you know what occurred during test run.
Full log is a comprehensive log of WAPT Pro test run that includes information on all
requests, responses,
redirects and returned HTML code.
Error log contains page requests that were processed with errors during the test.
Note that creation of full logs may require much space on the disk. Usually it is necessary for functional
testing or when you verify a test scenario with dynamic parameter values.
Level of detail: Select the type of log file that will be created during test run.
Disable: No log files will be created.
Errors: For each virtual user participated in the test, error log will be
created.
Full: For each virtual user participated in the test, full log will be created.
Full for 1-st user, Error for others: Full log will be created for the first user of each profile.
For other users, WAPT Pro will create error logs.
HTML Reports E-mail reports to: This option allows sending the generated HTML Report to any interested person
on test completion. Check this option and enter desired addresses in the text box.
If you enter several addresses, separate them by a space sign.
Note that you should configure the E-mail settings
first to use this option.
All errors occurred during the delivery of E-mails are saved to a special file
SmtpLog.txt. This file is kept together with other log files.
Test run comment: Here you can enter your comment for test run.
This comment will be displayed in HTML Report and
Summary Report.
Number of columns in tables: Here you can specify a number of columns that will be
used in tables of HTML Report and Summary Report.
The whole test duration interval is divided into this number of intervals.
The program calculates the averaged data on each interval and shows it in reports.
Time scale units: Select a desired time scale unit (seconds, minutes or hours)
that will be used in tests.
Depending on this option, the program will measure the number of pages/hits/sessions either per second, or minute, or hour.
CSV Results
You can adjust WAPT Pro to save test results in
CSV format and
import them later, at any time you
wish to Microsoft® Excel. For instance, you will be able to
make graphs there.
Save results: Check this option if you want to save test results in CSV format.
Default location for CSV files is specified in
General settings.
Results file name pattern: It is the default pattern that will be used to generate names
of CSV files with test results.
Click the Edit... button to modify
this pattern.
Saving a Test Scenario
You can save a newly created test scenario and open it later to continue testing
your site. Scenario file includes information on all user profiles of the current scenario,
test volume options, user simulation options and settings for saving log files and test results.
Click the Save button
on the program toolbar.
You will see the Save As dialog.
Type the appropriate name for a new scenario, select a location and click Save.
The file will be saved as a file with .wps extension.
It is WAPT Pro extension for files with test
scenarios. Scenario files store data in XML format.
If you wish to save changes made in the existing scenario, click the Save button
and all changes will be automatically saved.
After saving, the Save button becomes disabled.
WAPT Pro displays the name of test scenario in the title bar.
Opening a Test Scenario
You can open an existing test scenario and continue testing your site.
For this, click the Open button
on the toolbar and select a desired scenario file.