Web Application Performance Test with webload-Author: hanva Source: testage http://www.csai.cn

Source: Internet
Author: User
Tags snmp
What is webload?
Webload is a performance testing and analysis tool launched by radview. It allows web application developers to perform stress testing automatically. webload simulates real user operations and generates load to test web performance.
The user creates a javascript-based test script called the Agenda agenda, which is used to simulate customer behavior. By executing this script, the performance of Web applications in the real environment is measured.
The current maximum version is 6.0.

What is webload?
Webload provides the cruise control function of the cruise controller. With the cruise controller, You Can predefine the performance metrics that Web applications should meet and test whether the system meets these requirements; cruise control can automatically add the load to the Web application and generate a report on the number of customers that can access the program under this load.
Webload can generate real-time reports on the monitored system performance during test session execution. These test results are displayed in a readable graphical interface and can be exported to excel and other files.

Webload Structure

Webload6.0 Installation
:
Http://www.radview.com/

Communication settings of webload
Configure the SNMP protocol to allow multiple presses to communicate with each other:
In Win2000, go to [Control Panel]-> [add and delete programs]-> [add and delete Windows Components]
Select [management and monitoring tools], [next], and then select the path to the Windows Installation File. [complete]
Testtalk:
Testtalk monitors information transfer between presses during test sessions. If the communication fails, an error is returned.
Testtalk is automatically installed and runs in the background during test execution. Do not disable it.

Webload Program Composition
Agenda authoring tool for Explorer (SSL)
Visual AAT
Webload Console
Webload reporter
Tools: testtalk and performance measurements Manager

Webload Performance Test Workflow
Schedule a stress session load session
Create test Agenda agenda
Create a stress template load templates
Running pressure template load templates
Enter test report and analyze test results

How to plan a stress session load session
What application are you going to test?
What functionality do you want to test-what actions will the users perform?
How many virtual clients you want to simulate?
How long your test will run?
What are acceptable results? Acceptable results are defined by your test objective. For example, you can verify:
Acceptable user response times
Reliability by running stress tests
Performance degradation after updates
What resources are required for faster Ming the test?

Create test Agenda agenda

Use webload visual AAT to create the test Agenda agenda:
Open visual agenda Authoring Tool
Select [Create a new project] and [OK]

Create test Agenda agenda
Set to clear the cache and cookie of the browser:
Choose [tools]-> [Default project options]-> [ie playback settings]
Select [clear cache] and [clear cookie]
Click [OK]
Objective: To prevent unnecessary problems caused by saving ie information to cache or cookie during script recording.

Create test Agenda agenda
Click [start record]. A prompt is displayed. Click OK.
Automatically open an IE, manually enter the address to be tested, and enter the system
Complete a series of operations in the Test System
Click [Stop Record] to stop recording. An agenda script is created and saved.
Note:

Create a stress template load templates
Use webload console to create load templates-define a series of stress events into a load session:
I. Use webload Wizard to create a simple pressure Template
Ii. Use cruise control Wizard to create a stress test template for expected performance parameters
Iii. Use webload console to manually create a pressure Template
Note: When webload console is opened, the system prompts you to select which method to use.

Use webload Wizard to create a pressure Template
The previous preparations must be defined as follows:
Running agenda (s)
Press used to generate Load
Number of virtual clients
Stress test schedule (created using webrm)
In addition, you can set the agenda option, such as simulating the browser type, connection speed, and playback sleep time.
Use webload Wizard to create a pressure Template
Go to the webload console and select this method to create a pressure template:

Use webload Wizard to create a pressure Template
Select an agenda or hybrid type
Lsingle agendas: Create a stress template with only one agenda script
Lmix of agendas: multiple agenda scripts to simulate different user activities

Use webload Wizard to create a pressure Template
Select single agenda:

Use webload Wizard to create a pressure Template
Select Mix mode: You can select an existing mix file or create a new mix.

Use webload Wizard to create a pressure Template
When creating a new mix:

Use webload Wizard to create a pressure Template
After the above three methods [next], the selection host window is reached:

Use webload Wizard to create a pressure Template
Stress session progress settings: there are two options: one is to manually allocate the pressure of each press; the other is to automatically evenly distribute the pressure of each press.

Use webload Wizard to create a pressure Template
Manually allocate the pressure of each press:

Use webload Wizard to create a pressure Template
Load profiler settings: there are eight Progress Models. For details, refer to Appendix 1.

Use webload Wizard to create a pressure Template
Automatic and even distribution of pressure on each press: You can manually add, delete, and copy the press to set the progress, or you can set the load profiler. The specific operation is the same as manual distribution of pressure.

Use webload Wizard to create a pressure Template
Click Next to perform the test immediately or immediately. Click Finish. For the created pressure template, you can:
Edit a stress Template
Choose Reports> integrated report> New Report to view the reports generated by webload by default.
Choose [session control]> [Modify host selection] To Modify host settings.
Choose [session control]> [modify schedule] to modify the pressure schedule.
Create a stress test template for expected performance parameters
Most of the time, we don't know how many users access the application system, but we know what kind of indicators the system performance should meet; for example, if you want the response time of the application server to be less than 3 seconds, webload will get the best performance under this target.
Open the webload console and select "use cruise control wizard" to create a template:

Create a stress test template for expected performance parameters
Choose single agenda or mix mode to add the script, and then select press and test client. These operations are the same as the previous method. Then enter the test target definition window:

Create a stress test template for expected performance parameters
Click Add goal to display all the measurement parameters that can be added:

Create a stress test template for expected performance parameters
Add one or more measurement parameters:

Create a stress test template for expected performance parameters
To achieve the Measurement Parameter goal, set the speed of adding virtual users each time:

Create a stress test template for expected performance parameters
Define the webload status when the measurement target parameter is reached:

Create a stress test template for expected performance parameters
Click "finish and run" to start running the pressure template and get the test result of real-time tracking:

Manually create a pressure Template
On the webload console homepage, select create a new template manually to start creating a stress template manually. The workflow in this mode is as follows. The specific operations are not described here:

Running pressure template load templates
The pressure templates created in each mode can be automatically run, saved, or modified and run as follows:
On the webload console, choose "session control"> "Start session]
Select Start session in webload console Toolbar
Output test report and analyze test results
View test results in real time:
On the chat view page, right-click any point to view the actual value.
Click dashboard in the toolbar to view the key parameters in the test.
Click the [openstatistics] button on the toolbar to collect detailed parameters for the entire test. Click a parameter value to view more details.
Click the data drilling button in the toolbar to view the transmission performance parameters on each of the tested web pages. Click here to view more details.
Output test report and analyze test results
Create an integrated report:
Choose Report> integrated report> new report from the menu bar]
Click Rename to create a new report.
Select the report generation option from the parameter tree for this test.
Click OK. The report is displayed.
Output test report and analyze test results
Analyze test results using webload reporter
Open webload reporter
Here, there are various analysis tools that you want throughout the test. Click any one to dynamically generate this type of report, which has been analyzed.
Click publish on the menu bar to export the generated report in other ways.
Disable webload reporter
Webload reporter Interface

Performance measurement manager PMM Introduction
Webload uses performance measurements Manager (PMM)
To check the server performance. webload provides a fully graphical web application performance report by collecting valid data on the server. With PMM, we can monitor the server's performance:
Application Server resources
Database resources
System Resources
Web Server resources
Stream technology resources
Other resources
Performance measurement manager PMM operation
Enable PMM in three ways:
In the webload console menu, choose session control> performance measurements manager]
In the Start Menu, START | programs | webload 6.0 | tools | performance measurements Manager
When creating load templates, we usually have a button to enter the PMM interface. We will focus on the operation of this method.
Performance measurement manager PMM operation
PMM Main Interface: click Add Data Source]

Performance measurement manager PMM operation
Start to select the data source and select the host of the Data source:

Performance measurement manager PMM operation
If the connection is successful, the following data source parameters are displayed. Select the parameters you want to test and click Finish ]:

Performance measurement manager PMM operation
Then, the system automatically jumps back to the PMM main interface. The following data source parameter code is displayed here. Click Close and update on the main interface. These data source parameters will automatically appear in the report after load templates is complete:

Performance measurement manager PMM operation
Before setting measurement parameters for WebLogic, Iplanet, Oracle, and other servers, webload's PMM must be set on this server to make it an SNMP proxy server; for detailed configuration steps, see page 372 of the user manual.
Appendix loader profile progress Model Parameters
1. Linear:
Total time in minutes-total stress testing time (points)
Starting load size-Initial Pressure count
Concluding load size-pressure at the end
2. Random:
Min. Load size-minimum pressure
Max. Load size-maximum pressure
Appendix loader profile progress Model Parameters
Incrementing intervals:
Base load size-initial pressure (minimum square wave)
Time between each Interval-T1-pressurization duration
Time of each Interval-T2-interval
Load to increase each interval-number of pressures per Pressurization
Incrementing intervals (Time calculate): Same as above
Appendix loader profile progress Model Parameters
TEP Increments: Time of each interval-interval
Load to increase each interval-number of pressures added during each interval
Ramp Up:
Max load size-maximum pressure
Ramp uptime-continuous increase time to reach the maximum pressure
Time to run max load size-time to run at maximum pressure
Ramp down time-minimum process duration from maximum pressure
The end

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.