Method and device for test and simulation of software performance

A technology of software performance testing and simulation methods, applied in the direction of software testing/debugging, etc., can solve problems such as lack of accuracy, lack of consideration, fluctuations, etc., and achieve the effects of reducing mutual influence, reasonable pressure load, and improving robustness
CN103544102AActive Publication Date: 2014-01-29烟台中科网络技术研究所

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
烟台中科网络技术研究所
Publication Date
2014-01-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a method and device for test and simulation of software performance. The method for the test and simulation of the software performance comprises the steps that configuration information which is configured by a user is stored in a structural body file for simulation; a shared memory for simulation is established and the structural body file is stored in the shared memory; the structural body file is read and analyzed to obtain a speed value, and a plurality of test processes for simulation are established; establishment of a preset number of sub-threads is simulated in each test process, each sub-thread is used for simulating execution of a service file requested to be executed by the user according to the configuration information to generate service return data for simulation, and destroying of the service file sub-thread which is executed is simulated; establishment of new sub-threads is simulated in each test process every a preset period of time; the simulated service return data are stored and counted. According to the method and device for the test and simulation of the software performance, the multi-process and multi-thread architecture is used, resources are distributed reasonably, the reasonable pressure load of each process is guaranteed, only a small-frequency speed model is simulated by each process, and robustness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a software performance test model, in particular to a software performance test simulation method and device. Background technique

[0002] For the software product performance test simulation rate method, the applicable classic scenario is: for example, the ticket booking service that starts at 12306 at a certain time, and from a certain point in time, the number of users grows rapidly and continuously. It causes a sharp consumption of the CPU, memory, network or database resources of the server under test, and it is also a huge test for the software architecture under test. The most important thing for simulating user behavior in this test scenario is the accuracy and stability of the load rate model. Among them, how to use as few computers as possible to smoothly and accurately simulate the user's increasing operation behavior per second has become a difficult problem in the industry.

[0003] The computer hardware configu...

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