WebLOAD Quick Start Guide
WebLOAD Quick Start Guide
Version 8.0
RadView Software
The software supplied with this document is the property of RadView Software and is furnished under a licensing agreement. Neither the software nor this document may be copied or transferred by any means, electronic or mechanical, except as provided in the licensing agreement. The information in this document is subject to change without prior notice and does not represent a commitment by RadView Software or its representatives. WebLOAD Quick Start Copyright 2007 by RadView Software. All rights reserved. January, 2007, RadView Publication Number WebLOAD, TestTalk, Authoring Tools, ADL, AppletLoad, WebFT, and WebExam, are trademarks or registered trademarks of RadView Software IBM, and OS/2 are trademarks of International Business Machines Corporation. Microsoft Windows, Microsoft Windows 95, Microsoft Windows NT, Microsoft Word for Windows, Microsoft Internet Explorer, Microsoft Excel for Windows, Microsoft Access for Windows and Microsoft Access Runtime are trademarks or registered trademarks of Microsoft Corporation. SPIDERSESSION is a trademark of NetDynamics. UNIX is a registered trademark of AT&T Bell Laboratories. Solaris, Java and Java-based marks are registered trademarks of Sun Microsystems, Inc. HP-UX is a registered trademark of Hewlett-Packard. SPARC is a registered trademark of SPARC International, Inc. Netscape Navigator and LiveConnect are registered trademarks of Netscape Communications Corporation. Any other trademark name appearing in this book is used for editorial purposes only and to the benefit of the trademark owner with no intention of infringing upon that trademark.
International Headquarters:
RadView Software Inc. 7 New England Executive Park Burlington, MA 01803 Email: [email protected] Phone: (781) 238-1111
RadView Software Ltd. 14 Hamelacha Street, Park Afek Rosh Haayin, Israel 48091 Email: [email protected] Phone: +972-3-915-7060 Fax: +972-3-915-7683
RadView Software
Table of Contents
Index ..................................................................................................19
36H
RadView Software
1.
Welcome to WebLOAD, the premier performance, scalability and reliability testing solution for Web applications - Internet and intranet. WebLOAD is easy to use and delivers maximum testing performance and value. WebLOAD verifies the scalability and integrity of Web applications by generating a load composed of Virtual Clients that simulate real-world traffic. Probing Clients let you refine the testing process by acting as a single user that measures the performance of targeted activities, and provides individual performance statistics of the Web application under load.
Creating an Agenda
The first step in creating an Agenda is to record your actions as you interact with your Web application. 1. Start WebLOAD IDE by selecting Start | All Programs | TestView | WebLOAD IDE. WebLOAD IDE opens.
RadView Software
2. Select Create a new project, and click OK. The WebLOAD IDE main window opens in Editing Mode, for you to begin creating your Agenda.
3. In the main window, in Editing Mode, click the Start Record recording. The following message appears.
Creating an Agenda
4. Click OK. WebLOAD IDE begins recording all of the actions you perform in the browser, as indicated by the recording notification in the WebLOAD IDE status bar.
A blank browser window opens. 5. In the address bar, enter the Web address www.netizenbanking.com to go to the RadView Software test site.
6. Navigate through the site, performing the actions you want to test. For example: a. Click My Account on the home page.
RadView Software
c.
Enter any set of numbers as a fictional social security number, enter a dummy password, and click Submit. Enter a keyword such as Interest to search for in the search field and select the checkboxes Home Mortgage and Business Banking.
f. Click Search. Your actions are recorded and appear in the Agenda Tree as you navigate the site. (If you see more nodes in the Agenda Tree with different URLs, this may be traffic generated by browser plug-ins or extensions, for example, third-party toolbars).
9. Type in Netizen Banking for the name of the Agenda in the Save As dialog box and click Save. The Agenda is saved with the extension *.wlp. You now have a basic Agenda that can be used in a WebLOAD template. For complete information on creating, editing, modifying Agendas, and adding functionality to your Agenda, see the WebLOAD IDE User's Guide.
1. Opening the WebLOAD Wizard. 2. Selecting an Agenda and a Performance Statistic to monitor. 3. Selecting a host on which to run the Load Machine. 4. Scheduling the test, and selecting the number of Virtual Clients to run. 5. Setting session options. For more details about each of these steps, see the WebLOAD User's Guide.
5. On the Welcome screen, click Next. 6. Click the + adjacent to Other to expand the tree, select General Performance Monitor, and click Next. 7. Click Browse to browse available hosts. In the Host selection dialog box, highlight the name of your computer in the list, and click Select. 8. Click Next. WebLOAD attempts to connect to the selected host and collect data. A tree of all available measurements to monitor is displayed. 9. Expand the tree to select the measurement you want. Click Processor | _Total, select the checkbox adjacent to % Processor Time, and click Next. 10. Click Finish.
Close & update toolbar button to save the configuration with the template 11. Click the and return to the WebLOAD Wizard. 12. On the Agenda / Mix Selection screen, click Next.
Selecting a Host
For the steps in this Quick Start, you use your own machine as the host load machine to generate Virtual Clients. The number of Virtual Clients that can be generated depends on the power of the host machine. For this test, you do not select a Probing Client.
WebLOAD Quick Start 11
1. On the Host Selection screen, note that your computer is automatically listed as the default Load Machine. 2. Click Next to accept the default selection.
12
RadView Software
Collect data at the page level. Verify the time required to receive a page (default 20 seconds). Verify that the links in your Web application act as expected. When you select page verification, WebLOAD collects transaction data under the Title name (in this case www.netizenbanking.com (http://www.netizenbanking.com)). You can observe statistics, such as the response times for this page, as the load increases. You can also gather performance data about the objects on a page by setting WebLOAD to collect object level data. As a result, you can determine whether pictures or other embedded objects are taking a long time to download. To set options for these verification tests: 1. In the WebLOAD Console, select Tools | Current Session Options. 2. Select the Functional Testing tab. 3. Under Automatic Data Collection, select the Pages checkbox. 4. Under Page Time, select the Verification checkbox, enter 20 in the Max Time field, and select Minor Error from the Severity Level drop-down list. If the time required to receive a page exceeds 20 seconds, a Minor Error message appears in the Log Window and the event is available in the WebLOAD data drilling report. 5. Under Verification, select the Verification checkbox, and enter 5 in the % field. 6. Select the Advanced Emulation Verifications checkbox, and click the [...] button to open the Emulation Verifications dialog box. 7. Select the Compare Links checkbox, and click OK. Five percent of the Virtual Clients will perform the selected verification tasks. This percentage lets you balance data gathering with the need to maintain performance during the test. 8. Click OK.
2. At the prompt, click Yes to save the template. Type the filename NetizenBanking.tpl, and click Save. You can now reuse this template, with its Agenda, schedule and options at a later time. The test begins.
WebLOAD Quick Start 13
14
RadView Software
15
2. In the Integrated Report dialog box, click New. 3. In the tree, expand the Netizen Banking::Total branch. 4. Click the + sign adjacent to Hit Time to expand the branch and then expand Current Slice. Select the checkbox adjacent to Average (Current Value). Checkmarks appear next to Hit Time, Current Slice, and Average (Current Value). 5. Expand Successful Hits and then expand Current Slice. Select the checkbox next to Sum (Current Value). 6. Expand Successful Connections and then expand Current Slice. Select the checkbox next to Sum (Current Value). 7. Scroll to the PM@your-system-name branch at the bottom of the tree (PM stands for performance monitor). Click the + sign adjacent to it to expand the branch. Expand Processor:%Processor Time:_Time and then expand Current Slice. Select the checkbox next to Average (Current Value). This choice displays the statistics on CPU processor usage that were collected during the load test. 8. Click OK. The Save dialog box appears. 9. Type in MyReport for the name of the report, click Predefined Report, and click OK. The new report is added to the list of Predefined Reports. 10. To open the newly created report, select MyReport in the list of Predefined Reports, and click Open. In the WebLOAD Console Results window, the MyReport tab appears displaying the report data. The name of the tab is the name of the report you selected. 11. If the test is still running, select Session Control | Stop All. 12. Select File | Save Load Session to save the data from the test along with the template information (Agenda, options and schedule). Specify a filename (NetizenBanking), and location and click Save.
16
RadView Software
Total Successful Failed Marked counts (indicates how many children of the transaction failed.) Data Drilling provides both a global and detailed account of hit successes and failures, letting you verify the functional integrity of your Web application at the per-client, per-transaction, and per-instance level. To view Data Drilling reports: 1. Click on the Data Drilling icon on the Console toolbar.
A Transactions tab appears in the Results window. 2. On the Transaction tab, transaction failures are noted in the Failed Count column. For any transaction that has an entry in this column, click the page name in the Transaction Name column to see the reasons for the transaction failure. A reason failure row will appear in the bottom half of the screen. 3. To discover which transactions failed, double-click the reason failure row to open the Instance Grid. This grid lists the individual instances of transaction failure. Note: You can continue exploring the reasons for the transaction failure by double-clicking grid rows. For example, double-clicking a row in the Instance Grid opens a Parent Transaction Instance Tree, which provides a detailed breakdown of all sub-events that occurred as part of the selected transaction. You can return to these test results to track progress as you tune performance and reopen the session at a later point to perform more analysis on the data gathered. You can also export the results.
2. Double-click the Ten Slowest Transactions icon at the far left or the Ten Slowest Transactions link in the Report List tree or select the Ten Slowest Transactions item from the Reports menu. The report will be generated in the main window. Ten Slowest Transactions is an example of the many standard reports available. Reports are displayed in separate windows. Use the Windows menu to move back and forth among reports that you create. 3. Create a custom report by selecting Reports | Custom Session Report or Reports | Custom Agenda Report, name the report, click the Save checkbox to save the report, select an axis metric and statistics (from the tree), and click OK. You can create both session and Agenda reports. Session reports display a higher level of information for the entire session, including all the Agendas that were run. Agenda reports display detailed data pertaining to one Agenda. In the steps outlined in this Quick Start, you ran one Agenda so the only difference in these reports is the level of detail. Each generated report can be either printed or exported to one of the formats that appear on the Export toolbar. 4. Close WebLOAD REPORTER. 5. Close the WebLOAD Console. This concludes our Quick Start guide for WebLOAD. For additional information please refer to the WebLOAD User's Guide or to RadView's web site at http://www.RadView.com (http://www.radview.com/support).
18
RadView Software
A
Analyzing Test Results 6, 14
C
Configuring a Load Template using the WebLOAD Wizard 6, 9 Creating an Agenda 6 Creating Integrated Reports 15
H
How WebLOAD Works 5
O
Opening the WebLOAD Wizard 10
Q
Quick Start Steps 6
R
Running the Test 6, 13
S
Scheduling the Test 12 Selecting a Host 11 Selecting an Agenda and a Performance Statistic to Monitor 10 Setting Session Options 6, 12
V
Viewing Data Drilling Reports 16 Viewing Results with WebLOAD REPORTER 17 Viewing the Results in Real Time 15
W
WebLOAD Quick Start 5
19