Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Starting a Test Run
Starting a Test Run
After you created your test scenario, recorded the sequence of page requests and specified one or several
Load Agents that will emulate user activity and generate test load,
you can perform the load testing of your web site or web application.
Note that you should specify at least one Load Agent to start the test. You can use the local agent, or any agent
running on another computer either in LAN, or on a remote server in the Internet.
Click the Run Test button
on the program toolbar to start the test.
WAPT Pro Workplace will automatically distribute
the load between selected agents and gather the results of test run.
For each Load Agent participating in the test
you can see how many virtual users it is emulating at the moment and also its level of
CPU, Memory and Network utilization.
If the utilization of some resource reaches 80% during the test, you will see a warning message.
If the utilization reaches 98%, you will see an error message.
If the utilization of resources remains high during the test (especially if it reaches 100%),
it may signal that the
current configuration is not sufficient to produce the desired test load.
In this case you can extend the system by adding more servers running Load Agents and repeat the test.
On the whole, you can perform the same test with any number of agents, so you can create almost any load.
You are only limited by the network bandwidth.
While the test is being performed, WAPT Pro Workplace status bar displays the progress
of test run.
You can see the time passed since the start of test run and
the number of running users versus the overall number of users.
You can view intermediate results at run-time while your test is being executed. Results
are available in the form of Summary Report, Summary Graphs and graphs for all
user profiles and individual requests.
Information in reports and graphs is refreshed regularly during test run.
When the test completes, you will see: The status Ready on the program status bar; Web browser window with the generated
HTML Report
(if Show HTML report on test completion option is checked in program
settings).
You can review the results of test run in the form of text reports and graphs to know how tests were
performed.
Prompts before Running a Test
When you click the Run Test button
to start the test, you can see several prompt dialogs depending on the options checked in program
settings.
Before starting a test, WAPT Pro calculates the time
of running one user session for each profile.
If the time of running a session for some profile exceeds the whole test duration (specified in
the Run time combo-box of Test Volume
view), you will receive a warning about insufficient test time
(if the option Insufficient test run time warning is turned on in program settings).
When you start a test which is not yet verified, you will see
a prompt suggesting you to verify your scenario before running the test
(if the option Verify test before first execution prompt is turned on in program settings).
If logs are disabled in Log and Report Settings, you will see a prompt
suggesting you to turn on logging (if the option Enable logging prompt is turned on in program settings).
You can select a desired type of log file in the Log level of detail combo-box just in the prompt
dialog.
Stopping the Test Run
If you need to interrupt the test execution, click the Stop Test button
on the toolbar. This operation is not momentary.
The program waits until the already sent requests are completed and then interrupts the test.
Scheduling the Test Run
Sometimes you may need to start a test at off-hours. Use the scheduled test run option
for this purpose:
Switch to the Test Volume view in the Navigation Pane.
Check the Schedule run at option.
Select desired date and time.
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.