A Web Performance Testing Model based on Accessing Characteristics

Similar documents
Performance Modeling for Web based J2EE and.net Applications

The WAMS Power Data Processing based on Hadoop

How To Test A Web Server

Recommendations for Performance Benchmarking

Scalability Factors of JMeter In Performance Testing Projects

Comparative Study of Load Testing Tools

Virtual Desktops Security Test Report

PERFORMANCE TESTING. New Batches Info. We are ready to serve Latest Testing Trends, Are you ready to learn.?? START DATE : TIMINGS : DURATION :

Application Performance Testing Basics

Web Application s Performance Testing

TESTING AND OPTIMIZING WEB APPLICATION S PERFORMANCE AQA CASE STUDY

Performance Testing. Slow data transfer rate may be inherent in hardware but can also result from software-related problems, such as:

Web Load Stress Testing

Load Testing on Web Application using Automated Testing Tool: Load Complete

Learning More About Load Testing

Transforming LoadRunner Data into Information and Action

1 st year / / Principles of Industrial Eng. Chapter -3 -/ Dr. May G. Kassir. Chapter Three

Performance Testing Process A Whitepaper

Web Application Testing. Web Performance Testing

Tableau Server 7.0 scalability

How To Test On The Dsms Application

packet retransmitting based on dynamic route table technology, as shown in fig. 2 and 3.

SOLUTION BRIEF: SLCM R12.8 PERFORMANCE TEST RESULTS JANUARY, Submit and Approval Phase Results

Understand Troubleshooting Methodology

MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM?

On Cloud Computing Technology in the Construction of Digital Campus

Successful Factors for Performance Testing Projects. NaveenKumar Namachivayam - Founder - QAInsights

A Performance Engineering Story

SCAS: AN IMPROVED SINGLE SIGN-ON MODEL BASE ON CAS

WHAT WE NEED TO START THE PERFORMANCE TESTING?

Uptime Infrastructure Monitor. Installation Guide

Performance Testing Why and How? Sudheer Parpatakam

Performance Tuning Guide for ECM 2.0

Bringing Value to the Organization with Performance Testing

Performance Tuning and Optimizing SQL Databases 2016

Projetex 9 Workstation Setup Quick Start Guide 2012 Advanced International Translations

Liferay Portal Performance. Benchmark Study of Liferay Portal Enterprise Edition

Tivoli IBM Tivoli Web Response Monitor and IBM Tivoli Web Segment Analyzer

Task Scheduling in Hadoop

Chapter 2: Getting Started

10 basic steps to create load testing. Questions Summery. Tips. Tips

Resource grouping selection to minimize the maximum over capacity planning

SOLUTION BRIEF: SLCM R12.7 PERFORMANCE TEST RESULTS JANUARY, Load Test Results for Submit and Approval Phases of Request Life Cycle

Q: What is the difference between the other load testing tools which enables the wan emulation, location based load testing and Gomez load testing?

Load Testing and Monitoring Web Applications in a Windows Environment

Business Application Services Testing

F-Secure Internet Gatekeeper Virtual Appliance

How To Model A System

Performance Comparison of Server Load Distribution with FTP and HTTP

SP Apps Performance test Test report. 2012/10 Mai Au

A closer look at HP LoadRunner software

SQL Server Performance Tuning for DBAs

A Load Balancing Algorithm based on the Variation Trend of Entropy in Homogeneous Cluster

Delivering Quality in Software Performance and Scalability Testing

IxChariot Virtualization Performance Test Plan

The Power Marketing Information System Model Based on Cloud Computing

Job Reference Guide. SLAMD Distributed Load Generation Engine. Version 1.8.2

Hands-On Microsoft Windows Server 2008

Dynamic Adaptive Feedback of Load Balancing Strategy

ELIXIR LOAD BALANCER 2

Directions for VMware Ready Testing for Application Software

Optimization of Distributed Crawler under Hadoop

The International Journal Of Science & Technoledge (ISSN X)

TRACE PERFORMANCE TESTING APPROACH. Overview. Approach. Flow. Attributes

Analysis of Information Management and Scheduling Technology in Hadoop

Avoiding Performance Bottlenecks in Hyper-V

An introduction to load testing for Web applications. Business white paper

A MODEL FOR PERFORMANCE TESTING OF AJAX BASED WEB APPLICATIONS

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

SQL Sentry Essentials

Sensitivity Analysis and Patterns Implementation on Load Testing Software Systems

Performance Testing of a Large Wealth Management Product

An Optimized Load-balancing Scheduling Method Based on the WLC Algorithm for Cloud Data Centers

HUAWEI OceanStor Load Balancing Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Auto-Scaling, Load Balancing and Monitoring As service in public cloud

Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine

The Truth Behind IBM AIX LPAR Performance

Step by Step Guide To vstorage Backup Server (Proxy) Sizing

Test Run Analysis Interpretation (AI) Made Easy with OpenLoad

Performance Test Process

Optimization of Cluster Web Server Scheduling from Site Access Statistics

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

Business white paper. Load factor: performance testing for Web applications

How To Test For Elulla

Real Time Network Server Monitoring using Smartphone with Dynamic Load Balancing

2. Research and Development on the Autonomic Operation. Control Infrastructure Technologies in the Cloud Computing Environment

Performance White Paper

Guide to Setting up Internet Connection Sharing for Windows

Monitoring DoubleTake Availability

Citrix EdgeSight for Load Testing User s Guide. Citrx EdgeSight for Load Testing 2.7

CYAN SECURE WEB APPLIANCE. User interface manual

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Research on Job Scheduling Algorithm in Hadoop

Transcription:

Proceedings of 2012 4th International Conference on Machine Learning and Computing IPCSIT vol. 25 (2012) (2012) IACSIT Press, Singapore A Web Performance Testing Model based on Accessing Characteristics Zhaoyang Qu 1, Xiaoxu Song 2 and Pengfei Sun 1 + 1 School of Information Engineering, Northeast Dianli University, Jilin Jilin 132012, China 2 School of Information Engineering, Northeast Dianli University, Jilin Jilin 132012, China 3 School of Information Engineering, Northeast Dianli University, Jilin Jilin 132012, China Abstract. After researching the user behavior of Web Performance Testing, this paper summarizes the performance indicators and the accessing characteristic of users, and Proposes a Web performance testing model which based on accessing characteristics, improving the lack of independent in the original model, it increases the actual delay and request failure rate to reflect the characteristics of user behavior, strengthening the simulation of original model user behavior. And form a new performance testing process to make the performance test better simulate the real users actions. Keywords: Testing Model, Accessing characteristic, Testing indicator,test process 1. Introduction With the rapid development of the Internet have made the Web application system to a large presence, web performance testing is more and more attention by people. Web performance test is through the simulation of a certain number of users and implement corresponding operation to get all kinds of performance indicators of the system to judge bottlenecks of the system under the expected load, facilitate system in the development and deployment for the corresponding adjustment and optimization [1]. Based on the existing Web performance test model, and puts forward the research based on accessing characteristics of the performance test model, perfect and comprehensively analysis performance index, add test tools into module, established a new performance test process, and through the concrete example to demonstrate the validity of the test. 2. Analysis of the Web Performance Test Model Web performance test is mainly for the goal to maintain the performance of the system and find effective strategies of the improvement. In the Web application performance test,big differences between test + Corresponding author. Tel.: +8613843275692. E-mail address:song2005come@126.com. 60

environment and real environment, uncertain load of the test, difficulties of simulation environment and simulation real user behavior become the bottleneck of the performance test [2]. The performance test model mainly consist of the performance index, performance parameters and performance indicators. At present the performance of existing models use measures mainly include response, throughput, system resources utilization, concurrent users, network statistics, resource requests queue length, number of HTTP affairs /SEC and session number/sec etc [3]. (1)Response Time:Response also called waiting, from the user perspective, it is the experience of delay that server received a response from a request to the clients. Response usually used seconds or milliseconds to measure the unit. Waiting is general inversely proportional to the system capacity which the system has not used. In order to better position performance bottlenecks, response can be further broken down,waiting can be divided into many small fragments of the. (2)Throughput:System throughput is to point that system handled user requests number in a certain of the units. It directly reflects the carrying capacity of the performance of the system. Commonly used unit is requests per second or the page number/sec. (3)Resource Utilization:Resource utilization is refers to the system to the level of use different resources, Such as server's CPU, memory and disk utilization ratio etc. It often takes the percentage of the resource and maximum with the resources available to measure. During test most important is to choose and set up the performance index. Performance index is an important measure of the system performance, but not all indicators have relations with each or all applications, in the specific working environment, selecting the reasonable performance evaluation index is the base of correcting web server performance.by adding the actual delaying and request failure rate, the performance test model mainly includes a few indexs of average response, throughput, CPU utilization, actual delaying and HTTP request failure rate. 3. Designing of the Web Performance Test Model Accessing characteristics is to point to various behavioral characteristics of the real users when interacting with the Web system. The user when interacting with the Web system mainly includes characteristics of dynamic pages,, over give up browsing etc. During test, through simulate users to represent real users. Only real simulation the users behavior of accessing the web system, to produce actual request of web load characteristics, to reach the purpose of improving the accuracy and reliability of the test, so web performance test model need improve according to the accessing characteristics. In Web performance test, there are closely contact each index, each parameter index can't explain the system performance alone. Real user conduct on the server it affects the actual performance [4]. Through adding users request failure rate to reflect the pattern of users over give up browsing. Request failure rate reflects multiple performance index common effect. For dynamic pages, taking and adjusting some of the realization mechanism steps order to get response data before the users requests. When the user sends request, the server is generated by static page back to the user, improve the response speed [5]. Through the comprehensive analysis parameter index of the test model, form a whole Web performance test framework. In order to become more real simulation delay of user operations, during the test there is period of between the two operation. On the basis of the existing test framework, add into test tools, this paper puts forward a new Web performance process test framework. The process of basic follow include: Web performance test requirement analysis, generating test cases, implementation and supervision testing, testing results and the measure index and adjustment, and generating the test report. Specific performance test model shows as Fig.1: 61

Fig.1 Web performance test model Through to the Web system performance test requirement analysis, including ensure the test strategy and test range, laid the foundations for the whole performance test. And then analysis system and application, according to use mode and the system characteristics of distribution of information of client to determine the test loads, design test cases, and develop the relevant test scripts simulation of different types of typical users behavior. Through the configuration parameters to create test environment, configuration testing machine, to define parameters of computer operation performance and testing for plan etc. According to relevant test configurations and test tools to create test cases. The real test tools or by users to do implementation and supervision of the generation of test cases. To test cases of the implementation and supervision can also provide the basis for Web applications development. Finally, it is analysis the test data generated by executing test cases to get test results that determine the performance index of concern whether meeting performance requirements, and create the test report, and realize the performance test of the system. In order to get the actual delay must first calculation, real users operation can be more real simulation by. In the specific test according to the following steps can get: C nl = T (1) According to the formula: (C is an average of concurrent users, n is the number of login session, L is the average length of login session, T says the amount of of performance test) calculated the average of system concurrent users; Nvu * R F = (2) Statistics the average of system throughput, throughput use the equation T (F is throughput, N vu is the number of virtual users, R is the number of request from each virtual users) to compute; (3) Statistics request quantity from an average of each user; R = T (4) According to the formula T s to calculate the (Ts is ). In some of the interactive system, somes ignore in order to simulate the pressure of as big as possible to observe the performance of the system. But for interactive system, from the point of view of business, generally don't ignore, because such words will not have practical significance. 4. Case Analysis With the new test model as the foundation, according to the following test process as shown in Fig.2, choose LoadRunner [6] performance test tools for a shopping website for case analysis, to realize the validation of the effectiveness of the model. 62

Fig.2 Test flow chart (1) Through the analysis function of the shopping site, select the affairs that user inquires the commodity information as an example for testing. Based on the investigation of the information from the user of the measured system, using the formula which is used to calculate steps to get: the system average throughput is 10 (requests number per second), each user sends the number of request per second is 9.480, benchmark of test is 12.496 seconds. In a scene set operation due to set have certain effect on performance test data, so when the test choose to ignore and set up as20% of the benchmark about the (2.5 s) to test. Use the LoadRunner s VuGen to create virtual users, by the way that virtual users simulate real users business operations. (2) In the generation of the test script because virtual users is category of electronic business, so when recording script choose "Web (HTTP/HTML) "agreement. In creating scripts, ignore and set respectively corresponding to produce different execution scripts. In addition, somes in order to be able to replay the script, also need "parametric" to some script. And by "parametric" (such as login module, the use of the test user name and password parametric) can make script adapt to a changing environment. (3) Use Controller function to design test scene. According to the system's requirements and designing documents to determine the test target of system, reasonable configuration testing scene, and set respectively different quantity of virtual users. Through the technology of virtual IP to imitate many different users to solve the problem that the default state of virtual users have used the same IP to run a Web system. After the setting of the scene, Complete running test scene tests, and use Analysis to analysis test results. Record the indicators as shown in Tab1. Tab.1. Test results of the affairs about inquiring the commodity information The number of users 100 240 320 Measurement index Average response of affairs(s) Thinking Thinking Thinking 5.66 4.05 8.26 5.19 12.26 8.48 63

CPU utilization 76% 65% 82% 73% 93% 82% Request failure rate 0% 0% 0% 0% 4% 0% Observation data in Tab.1 can see, after joining (considering the actual delay ), and in the larger extent can reduce CPU utilization and affairs of the request of the failure rate. In the test results can be found, the average response of affairs are not that great, in the range of users can bear. If the model hardly considers request failure rate, then the testers might think the performance of the system to be in good condition. But at the moment, in fact in high load users may have occurred the condition of the user attempt failed, then may exist the potential risk. But according to the improved test model, comprehensive analysis each test index, then testers will come to different conclusions: the performance of the system under the condition that does not occur in the request failed, the number of limit load will decrease, performance condition fell. In order to pay more attention to the actual operation of the user behavior, join the actual delay to the index of the test to ensure the performance test. 5. Summaries Through to research the Web performance test of the concept, content, index, model, tools and so on, put forward a performance test model based on accessing characteristics of the users. But in reality, the more accurate for Web performance testing, completely simulation of the specific conditions of the real users, must also consider other factors, such as both hardware and software. 6. References [1] ZhuHaiYan. An algorithm of software test suite reduction [J]. J microelectronics and computer, 2007, 24 (1) : 204-206. [2] Jiang HanBin, Cui XiaoLe, ZhouHao. The stability of the process model of adaptive software testing [J]. Microelectronics and calculation, 2008, 25 (8) : 96-102. [3] DengXiaoPeng, XingChunXiao, CaiLianGong. Progress of the Web application testing technology [J]. Computer research and development, 2007, 44 (8) : 1273-1283. [4] MArlitt, CWilliamson.Web server workload characterization:the search for invariants (extended version). In: ACMSIGMETRICS'96.Marriott, PA, 1996. [5] ZhuLianZhang, TianChao. Improved the Web application performance methods and performance test analysis [J]. Computer engineering and design. 2008, 29 (7) : 1817-1819182 3. [6] MecruryLoadRunner[EB/OL].[2009-07-06].http://www.mecrury.com/us/products/performance-center/loadrunner/. 64