Font Size: a A A

Client-End Performance Testing Of Web Services: The Executing Part

Posted on:2005-04-24Degree:MasterType:Thesis
Country:ChinaCandidate:W Y ChenFull Text:PDF
GTID:2168360155971824Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Companying with the maturation of the Internet, Web-based applications become more and more popular. This trend makes it a very important and pressing task to improve the performance of the applications. The performance test plays an important role in web service and web server performance enhancing, and it is helpful to the website layout.Because it consider little about the network service structure, and the variety of the behavior pattern of consumer, the test results of the performance test tools at present is difficult to reflect true performance of the services.Current performance auto test tools are all according to a black box test technique, the whole test process carry on under the condition of don't understand the structure and the relation of logic of the software, this make the performance analyze very difficult.For this reason, the thesis presents an approach based on a gray box test technique, which request to understand something about the system to be tested. The main idea is: Create the function model of the server's application; mine the log file of the server, get the proportion of the entire affair, use this to create test case. Modeling the user behavior; simulate the user behavior and base on this generate the workload of the test. The advantage of this approach is: the characteristic of the workload is more like a true man generate it, and this make the result of the test is more accurate; and much easier to find the choke point of the performance.This thesis presents an approach to create the affair model of the server's application; and the approach to modeling user behavior. The main idea of the user behavior model is: The user behavior changes with the variety of the time; because test of drive is the actual behavior of the users, the workload of the test creation is more reliability and accurate, the results of the test matches actual performance of the network service more.In this paper, a user-behavior oriented workload generator for network service is presented. In this novel approach, both packet generation and user interaction with applications and services that cause the network traffic are modeled. This way, the analyst can model traffic and construct a workload at a higher level of abstraction. The user behavior is represented by a user profile. The currently implemented modeltypes consist of different versions of finite state machines (FSMs) specialized for certain tasks like user status changes. The whole test process begins with the virtual users running the business end with the over of the business, real imitated the whole process of a user to handle of the business, this is the advantage of test tool that currently tools not have.At the end of the paper, an electronic commerce website of J2ee is taken to be the AUT(application under test), verified the accuracy of the model and tool.
Keywords/Search Tags:network service, performance testing, user-behavior model, Services model, workload generator
PDF Full Text Request
Related items