Method and system for test, simulation and concurrence of software performance

A technology for software performance testing and business functions, applied in the computer field, can solve problems such as the inability to guarantee accurate delivery of user services, simple models, and expensive fees, and achieve the effects of ensuring concurrency stability, avoiding interference, and preventing bottlenecks

Inactive Publication Date: 2014-01-29
烟台中科网络技术研究所
View PDF7 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is, for commercial software in the prior art: LoadRunner, WebLoad, but it all belongs to commercial software, and code and structure belong to commercial secret, not open, charge is expensive, and can not run under Linux system; Open source Software: Similar to HttpLoad, only single test process and single test thread architecture is false concurrency. Its model is simple, the accuracy rate is low, and it cannot guarantee the accurate delivery of user services. It provides a software that explains how computer programs can simulate user concurrency Performance testing simulates concurrent methods

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
  • Method and system for test, simulation and concurrence of software performance
  • Method and system for test, simulation and concurrence of software performance
  • Method and system for test, simulation and concurrence of software performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0095] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0096] like figure 1 As shown, it is a flow chart of a software performance test simulation concurrency method described in Embodiment 1 of the present invention, which specifically includes the following steps:

[0097]Step 1: the reading conversion module reads the user configuration information input by the user, and converts it into a user requirement structure recognizable by the computer;

[0098] Step 2: The shared memory module stores the user demand structure;

[0099] Step 3: The request receiving module receives business requests from at least one concurrent user, creates at least one test process according to the number of concurrent users and the user demand structure, makes each test process correspon...

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 relates to a method for test, simulation and concurrence of software performance. The method for the test, simulation and concurrence of the software performance specifically comprises the steps that (1) user configuration information which is input by a user is read, (2) a user requirement structural body is stored in a shared memory module and mapping is established, (3) service requests of concurrent users are received and at least one test progress is established according to the number of the concurrent users and the user requirement structural body, (4) test threads are established, (5) each test thread is used for processing the service request of a corresponding user and is stopped when a stopping condition is met, (6) operation is ended and the test threads in each test process are stopped after operation of the test threads in each process is ended in sequence, (7) relevant data of each service are stored, analyzed and counted, and then all the processes are finished. According to the method and system for the test, simulation and concurrence of the software performance, the fact that how to simulate user concurrence is explained, bottlenecks are prevented from occurring, and the purpose of a high-concurrency scene by means of a small number of hardware sources is achieved; concurrency stability is guaranteed; support to different user services is achieved; help is provided for positioning and development cycle shorting.

Description

technical field [0001] The invention relates to a software performance test simulation concurrency method and system, belonging to the technical field of computers. Background technique [0002] For the concurrent method of software product performance evaluation, the classic scenario is: concurrent user request scenario, for example, 5000 users simultaneously submit telephone bill payment services. Among them, how to use as few computers as possible to simulate user operation behaviors smoothly and accurately has become a difficult problem in the industry. [0003] The computer hardware configuration is getting higher and higher, and more and more resources can be allocated by the program, and the test process is the smallest unit that can allocate hardware resources. Multiple test processes can be allocated to hardware resources as much as possible, simulating multiple user concurrency scenarios. The testing process has technical advantages. [0004] The operating system...

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/36
Inventor 衣安平杨光宇孙一铭刘增刘初阳殷炳玉
Owner 烟台中科网络技术研究所
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