Log-based Web performance test traffic description method

A web application and log technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as poor versatility of UML models, inability to describe complex business types of web application traffic, construction, and difficulty in data acquisition

Inactive Publication Date: 2017-09-22
MINZU UNIVERSITY OF CHINA
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] URL sequence, which uses a series of request lists to describe traffic. The most common application is recording and playback technology, which describes its characteristics by recording user behavior on the browser side. This method has the advantages of being simple and intuitive, but it has poor script reusability and path Incomplete coverage leads to poor test authenticity and low effectiveness
[0006] UML model, which can be used in the description of web application traffic to describe the interaction between users and applications in detail. The premise of using this model is that there are complete UML software design documents and specifications, which have relatively large limitations. Based on the UML model It has the disadvantages of poor versatility and abstraction, and cannot describe web application traffic with complex business types
[0007] Markov model, Markov chain is used in physics, statistics, biology and other fields, and it is more widely used in the computer field. There are many variants for testing the performance of web applications. It is a statistical model, but there are some complex
[0008] Graph model, using the graph model to describe web application traffic, the structure of the graph is diverse and flexible, for complex applications, the changeable functions can be flexibly handled, but there are also difficulties in construction and data acquisition
[0009] The above methods and models all have different degrees of defects and deficiencies, the most important of which are the flow characteristics described by the model itself and the lack of model data acquisition, resulting in poor traffic authenticity. The key to the description of web application traffic lies in the selection of models and Acquisition of model data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log-based Web performance test traffic description method

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0026] Specific implementation mode one: combine figure 1 "Implementation steps of a log-based web application performance test traffic description method" is used to illustrate that a log-based web application performance test traffic description method described in this embodiment includes the following steps: log data preprocessing steps, user behavior model Construction steps, user type distribution information extraction steps, and time distribution feature extraction steps.

specific Embodiment approach 2

[0027] Specific implementation mode two: this implementation mode is a further limitation to specific implementation mode one, and the described log data preprocessing steps are specifically:

[0028] The first step is to filter out dirty data that is useless for session extraction, including missing, error, and embedded objects contained in the page;

[0029] The second step is to structure the remaining records and match actions to generate structured records, including flags, types, and time.

specific Embodiment approach 3

[0030] Specific implementation mode three: this implementation mode is a further limitation to specific implementation mode two, and the described user behavior model construction steps are specifically:

[0031] The first step is to analyze the business logic of the web application, classify the pages, divide similar functional pages into an action according to the functional characteristics, and define the application action;

[0032] In the second step, the preprocessed formatted records are sequentially processed to identify records belonging to the same session;

[0033] The third step is to cluster the session, and extract k user behavior models from the session, the k user behavior models are k types of users, different types of users have different behavioral characteristics, and k is customized according to user needs.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a log-based Web performance test traffic description method. The method comprises four steps of log data preprocessing, user behavior model establishment, user type distribution extraction and time distribution feature extraction. According to the method, user behavior features, user type distribution features and strength time distribution features are extracted from background logs to describe Web application traffic, so that the real description for test traffic of Web application performance is realized and the requirement, for test flow reality, of the performance test is satisfied.

Description

technical field [0001] The invention relates to the field of web application performance testing, in particular to a description method of web application performance testing traffic. Background technique [0002] With the development of the Internet, various web applications emerge in an endless stream, which have had a profound impact on people's work and life. The web application system is based on the Internet and is user-oriented, resulting in a huge number of users. Coupled with its typical B / S architecture, it faces great performance challenges. Web application performance testing is an important means to ensure the quality of the web application system. It is to test whether the performance of the web application is consistent with the expected goal under the condition of limited time and space resources, to determine whether the system has performance defects, and to find the performance through the test result data. Bottlenecks, improve the process of optimizing s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F11/34
CPCG06F11/3452G06F11/3692
Inventor 宋伟张玉军贺柳
Owner MINZU UNIVERSITY OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products