CN113127284A - Server pressure testing method and system, electronic equipment and storage medium - Google Patents

Server pressure testing method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113127284A
CN113127284A CN202110540871.2A CN202110540871A CN113127284A CN 113127284 A CN113127284 A CN 113127284A CN 202110540871 A CN202110540871 A CN 202110540871A CN 113127284 A CN113127284 A CN 113127284A
Authority
CN
China
Prior art keywords
user behavior
module
server
execution
behavior simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110540871.2A
Other languages
Chinese (zh)
Inventor
林硕
张星
牟泽友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lilith Technology Corp
Original Assignee
Shanghai Lilith Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lilith Technology Corp filed Critical Shanghai Lilith Technology Corp
Priority to CN202110540871.2A priority Critical patent/CN113127284A/en
Publication of CN113127284A publication Critical patent/CN113127284A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3447Performance evaluation by modeling

Abstract

The invention discloses a server stress test method, a system, equipment and a storage medium. The server pressure testing method comprises the following steps: establishing a user behavior simulation library, wherein a user behavior simulation configuration file is stored in the user behavior simulation library; receiving a test instruction through a starting module, and calling a loading module; the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module; the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module; and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result. The server pressure testing method and the server pressure testing system can effectively improve the authenticity and accuracy of the server pressure testing.

Description

Server pressure testing method and system, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a server pressure testing method, a server pressure testing system, electronic equipment and a storage medium.
Background
With the rapid development of internet technology, more and more servers are applied, and in order to determine the bearing capacity of the servers, the servers need to be subjected to stress testing.
The existing server pressure testing method is to perform independent pressure testing on each functional module in the server, and evaluate the overall performance of the server according to the pressure testing result of each functional module, so as to find out the bottleneck problem of the server. However, this test method has two problems:
firstly, the pressure of each functional module in the server in the actual operation environment is different, the pressure of some functional modules is large, and the pressure of some functional modules is small, so that the pressure of each module needs to be evaluated before the pressure test in the existing server pressure test method, and the evaluation is performed by an evaluator according to experience, so that the problem of wrong evaluation often occurs, and the accuracy of the test is influenced.
Secondly, the existing server pressure testing method is to perform independent pressure testing on each functional module, and in the actual operation process of the server, the resource competition situation may occur among the functional modules, so that mutual influence is generated, and therefore, the existing server pressure testing method cannot accurately reflect the overall performance problem of the server.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a server pressure testing method, a server pressure testing system, electronic equipment and a storage medium, wherein the server pressure testing method and the server pressure testing system can effectively improve the authenticity and the accuracy of the server pressure testing.
According to one aspect of the present invention, there is provided a server stress testing method, including the steps of: establishing a user behavior simulation library, wherein a user behavior simulation configuration file is stored in the user behavior simulation library; receiving a test instruction through a starting module, and calling a loading module; the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module; the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module; and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
Optionally, the step of counting, by the counting module, the execution results of all the functional modules in the server at the same time, and summarizing and calculating the final pressure test result further includes the following steps: receiving an execution result from the execution module; calculating the request error rate and the request time-consuming data of each functional module in the server according to the execution result; and comparing the execution result obtained by calculation of one or more previous time periods to determine the change condition of the overall performance of the server.
Optionally, after determining the change condition of the overall performance of the server, the statistical module further precisely locates the specific functional module of the server whose performance changes.
Optionally, the execution module includes a user behavior action library, the user behavior action library stores user behavior actions, and the execution module searches for a corresponding user behavior action from the user behavior action library according to the user behavior and executes the corresponding user behavior action.
Optionally, the step of creating a user behavior simulation library further includes: receiving, by a user behavior editor, a simulated behavior; exporting the simulated behavior to the user behavior simulation library.
Optionally, the user behavior editor is a visualization tool; the user behavior simulation configuration file is a JSON file.
Optionally, the user behavior action comprises an HTTP request, a TCP request; the user actions include login, logout, and purchase.
According to another aspect of the present invention, there is also provided a server stress testing system, including a user behavior simulation library, a starting module, a loading module, an executing module, and a statistics module, wherein: the user behavior simulation library stores user behavior simulation configuration files; the starting module is used for receiving a test instruction and calling the loading module; the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module; the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module; and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
According to yet another aspect of the present invention, there is also provided a computer readable storage medium, having stored thereon a computer program, which when executed by a processor, performs the steps of the server stress testing method described above.
According to still another aspect of the present invention, there is also provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the steps of the server stress testing method described above via execution of the executable instructions.
Compared with the prior art, in the server stress testing method and the system, the electronic device and the storage medium thereof provided by the embodiment of the invention, on one hand, the request of a real user is simulated more accurately by establishing the user behavior simulation library and adopting the method for simulating the user behavior to carry out the request, so that the authenticity of the test is improved, and the test result is more accurate; on the other hand, the pressure is applied to all the function modules of the server at the same time, and the pressure of the operating environment of the server is simulated more truly in a mode that the execution results of all the function modules in the server are counted by the counting module at the same time, so that the overall performance of the server can be tested, the test result is more accurate, and the problem of resource competition possibly existing among all the function modules can be found, so that optimization is facilitated.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a flow chart of a server stress testing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a server stress testing system in accordance with one embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer-readable storage medium in an exemplary disclosed embodiment of the invention; and
fig. 4 is a schematic diagram of an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In some instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring the invention.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
According to the main idea of the invention, the server stress testing method comprises the following steps: establishing a user behavior simulation library, wherein a user behavior simulation configuration file is stored in the user behavior simulation library; receiving a test instruction through a starting module, and calling a loading module; the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module; the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module; and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
The technical contents of the present invention will be further described with reference to the accompanying drawings and examples.
Referring to fig. 1, a flow chart of a server stress testing method according to an embodiment of the invention is shown. As shown in fig. 1, in an embodiment of the present invention, the server stress testing method includes the following steps:
step S10: and establishing a user behavior simulation library. The user behavior simulation library stores user behavior simulation configuration files. In an embodiment of the present invention, the user behavior simulation configuration file may be a JSON file, but is not limited thereto. The user behavior simulation profile may record user behaviors, sequences, etc. that need to be manipulated. More specifically, in an embodiment of the present invention, the step of establishing a user behavior simulation library further comprises the sub-steps of:
step S101: simulated behavior is received by a user behavior editor. The user behavior editor may be a visual tool for editing the simulated behavior of the user conveniently, and may be implemented using a behavior tree editor, for example. The actions in the user action editor may be added according to the service, such as logging in, logging out, entering a lobby, purchasing goods, etc.
Step S102: and exporting the simulated behaviors to a user behavior simulation library.
It should be noted that, for a real user, in the process of accessing a web page, running App, a game, and the like, not only one function module of the server but also various different function modules need to be operated. Some function modules, as mentioned in the prior art, operate frequently by users, while some function modules operate less frequently by users. The invention establishes the user behavior simulation library aiming at the problem, and can adopt a method for simulating the user behavior to request, thereby more accurately simulating the request of a real user, improving the authenticity of the test and further ensuring that the test result is more accurate.
After the user behavior simulation library is built, step S20 is executed: and receiving a test instruction through the starting module. And the starting module activates each module in the whole server pressure testing system after receiving the testing instruction.
Step S30: and the starting module calls the loading module, and the loading module loads the corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the configuration file to the execution module.
Step S40: the execution module executes corresponding user behavior actions on the functional modules in the server according to the received user behavior simulation configuration file, and transmits execution results to the statistical module. More specifically, the execution module includes a library of user behavior actions. The user behavior action library stores user behavior actions, wherein the user behavior actions comprise HTTP requests, TCP requests and the like. The execution module searches for corresponding user behavior actions from a user behavior action library according to the user behaviors, wherein the user behaviors refer to the behaviors indicated by the user behavior simulation configuration file received by the execution module, and may include, for example, login, exit, entrance into a hall, purchase of goods, and the like, and each user behavior has a specific corresponding user behavior action such as an HTTP request, a TCP request, and the like.
Step S50: and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result. Specifically, step S50 further includes the steps of:
step S501: an execution result from the execution module is received. Specifically, the execution module reports the current execution result to the statistics module every other time period, and the execution module receives all the execution results.
Step S502: and calculating the request error rate and the request time-consuming data of each functional module in the server according to the execution result. Specifically, the statistical module sorts and summarizes the received execution results to calculate the request error rate and the request time-consuming data of each functional module in the server.
Step S503: and comparing the execution result obtained by calculation of one or more previous time periods to determine the change condition of the overall performance of the server. In particular, the statistics module may analyze results of execution over one or more previous time periods (e.g., which may be the same time of the previous day or the same time of the last week) to determine whether there is an increase or decrease in the overall performance of the server under test.
Further, in an optional embodiment of the present invention, after determining the change condition of the overall performance of the server, the statistical module further precisely locates the specific functional module in the server whose performance has changed (i.e. the performance of the functional module has been improved or reduced).
It should be noted that, in the actual operation process of the server, each function module may simultaneously bear the pressure of the user request, and then resource competition conditions (such as CPU resources, network resources, memory resources, and the like) may occur between each function module, thereby causing mutual influence and performance degradation of the function modules, and therefore, in the invention, the mode of simultaneously applying pressure to each function module of the server and simultaneously counting the execution results of all function modules in the server by the counting module is adopted, so that the pressure of the server operation environment can be simulated more truly, and further, not only the overall performance of the server can be tested, and the problem of possible resource competition between each function module can be found, so as to perform optimization.
Further, the present invention also provides a server stress testing system, which is used for implementing the server stress testing method shown in fig. 1. Referring to fig. 2, a schematic structural diagram of a server stress testing system according to an embodiment of the present invention is shown. Specifically, in the embodiment shown in fig. 2, the server stress testing system includes: the system comprises a user behavior simulation library 1, a starting module 2, a loading module 3, an execution module 4 and a statistic module 5.
Specifically, the user behavior simulation library 1 stores a user behavior simulation profile. The user behavior simulation configuration file may be, but is not limited to, a JSON file. The user behavior simulation profile may record user behaviors, sequences, etc. that need to be manipulated. More specifically, as shown in fig. 2, the server stress testing system further includes a user behavior editor 6. The user behavior editor 6 is used to receive the simulated behavior, and the user behavior editor 6 may be a visual tool for editing the simulated behavior of the user conveniently, and may be implemented using a behavior tree editor, for example. The actions in the user action editor 6 may be added according to the service, such as logging in, logging out, entering a lobby, purchasing goods, etc. The user behavior editor 6 may export the simulated behavior to the user behavior simulation library 1.
The starting module 2 is used for receiving the test instruction and calling the loading module 3.
The loading module 3 is used for loading the corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction, and transmitting the user behavior simulation configuration file to the execution module 4.
The execution module 4 is configured to execute a corresponding user behavior action on a function module in the server according to the received user behavior simulation configuration file, and transmit an execution result to the statistics module 5. In the embodiment shown in fig. 2, the execution module 4 further comprises a user behavior action library 41. The user behavior action library 41 stores user behavior actions, wherein the user behavior actions include HTTP requests, TCP requests, and the like. The execution module 4 searches the corresponding user behavior action execution from the user behavior action library 41 according to the user behavior. The user behavior refers to a behavior indicated by the user behavior simulation configuration file received by the execution module, and may include, for example, login, logout, entering a hall, purchasing goods, and the like, where each user behavior has a specific corresponding user behavior action such as an HTTP request, a TCP request, and the like.
The statistical module 5 is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a computer program is stored, which when executed by, for example, a processor, may implement the steps of the server stress testing method described in any one of the above embodiments. In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the server stress testing method section of fig. 1 described above in this specification, when the program product is run on the terminal device.
Referring to fig. 3, a program product 300 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the server stress testing method in any of the above embodiments via execution of the executable instructions.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 4. The electronic device 600 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention described in the server stress test method section above in this specification. For example, the processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the server stress testing method according to the embodiments of the present disclosure.
In summary, in the server stress testing method and system, the electronic device, and the storage medium provided in the embodiments of the present invention, on one hand, by establishing the user behavior simulation library and using the method of simulating the user behavior to perform the request, the request of the real user is simulated more accurately, the authenticity of the test is improved, and the test result is more accurate; on the other hand, the pressure is applied to all the function modules of the server at the same time, and the pressure of the operating environment of the server is simulated more truly in a mode that the execution results of all the function modules in the server are counted by the counting module at the same time, so that the overall performance of the server can be tested, the test result is more accurate, and the problem of resource competition possibly existing among all the function modules can be found, so that optimization is facilitated.
Although the invention has been described with respect to alternative embodiments, it is not intended to be limited thereto. Various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention is subject to the scope defined by the claims.

Claims (10)

1. A server stress testing method is characterized by comprising the following steps:
establishing a user behavior simulation library, wherein a user behavior simulation configuration file is stored in the user behavior simulation library;
receiving a test instruction through a starting module, and calling a loading module;
the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module;
the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module;
and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
2. The server stress testing method according to claim 1, wherein the step of simultaneously counting the execution results of all the functional modules in the server by the counting module and calculating the final stress testing result in a summary manner further comprises the following steps:
receiving an execution result from the execution module;
calculating the request error rate and the request time-consuming data of each functional module in the server according to the execution result;
and comparing the execution result obtained by calculation of one or more previous time periods to determine the change condition of the overall performance of the server.
3. The server stress testing method of claim 2, wherein the statistical module further pinpoints specific functional modules of the server that have changed performance after determining the change in the overall performance of the server.
4. The server stress testing method of claim 1, wherein the execution module comprises a user behavior action library, the user behavior action library stores user behavior actions, and the execution module searches the corresponding user behavior actions from the user behavior action library according to the user behaviors for execution.
5. The server stress testing method of claim 1, wherein the step of building a user behavior simulation library further comprises:
receiving, by a user behavior editor, a simulated behavior;
exporting the simulated behavior to the user behavior simulation library.
6. The server stress testing method of claim 5, wherein the user behavior editor is a visualization tool; the user behavior simulation configuration file is a JSON file.
7. The server stress testing method of claim 4, wherein the user behavior action comprises an HTTP request, a TCP request; the user actions include login, logout, and purchase.
8. The server stress test system is characterized by comprising a user behavior simulation library, a starting module, a loading module, an executing module and a counting module, wherein:
the user behavior simulation library stores user behavior simulation configuration files;
the starting module is used for receiving a test instruction and calling the loading module;
the loading module loads a corresponding user behavior simulation configuration file from the user behavior simulation library according to the test instruction and transmits the user behavior simulation configuration file to the execution module;
the execution module executes corresponding user behavior actions on the functional module in the server according to the received user behavior simulation configuration file and transmits an execution result to the statistical module;
and the statistical module is used for simultaneously counting the execution results of all the functional modules in the server and summarizing and calculating the final pressure test result.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
storage medium having stored thereon a computer program which, when being executed by the processor, performs the server stress testing method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program which, when executed by a processor, performs the server stress testing method of any one of claims 1 to 7.
CN202110540871.2A 2021-05-18 2021-05-18 Server pressure testing method and system, electronic equipment and storage medium Pending CN113127284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110540871.2A CN113127284A (en) 2021-05-18 2021-05-18 Server pressure testing method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110540871.2A CN113127284A (en) 2021-05-18 2021-05-18 Server pressure testing method and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113127284A true CN113127284A (en) 2021-07-16

Family

ID=76782704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110540871.2A Pending CN113127284A (en) 2021-05-18 2021-05-18 Server pressure testing method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113127284A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485941A (en) * 2021-07-27 2021-10-08 山石网科通信技术股份有限公司 System pressure testing method and device, readable storage medium and processor

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882105A (en) * 2010-06-01 2010-11-10 华南理工大学 Method for testing response time of Web page under concurrent environment
CN102063354A (en) * 2009-11-18 2011-05-18 英业达股份有限公司 Pressure test method of server
CN103391559A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, simulation terminal and system for testing interactive data
CN104811979A (en) * 2015-04-16 2015-07-29 努比亚技术有限公司 Pressure testing method and device based on FOTA upgrading
CN106776165A (en) * 2016-12-05 2017-05-31 广州爱九游信息技术有限公司 Server performance method of testing and system
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
CN108920369A (en) * 2018-07-02 2018-11-30 郑州云海信息技术有限公司 A kind of server stress test method, device, equipment and storage medium
CN108923999A (en) * 2018-05-31 2018-11-30 苏州蜗牛数字科技股份有限公司 A kind of net surfing server automatic performance test method and system
CN110380922A (en) * 2019-05-29 2019-10-25 兴业证券股份有限公司 The full link stress test method and storage medium of transaction system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063354A (en) * 2009-11-18 2011-05-18 英业达股份有限公司 Pressure test method of server
CN101882105A (en) * 2010-06-01 2010-11-10 华南理工大学 Method for testing response time of Web page under concurrent environment
CN103391559A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, simulation terminal and system for testing interactive data
CN104811979A (en) * 2015-04-16 2015-07-29 努比亚技术有限公司 Pressure testing method and device based on FOTA upgrading
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
CN106776165A (en) * 2016-12-05 2017-05-31 广州爱九游信息技术有限公司 Server performance method of testing and system
CN108923999A (en) * 2018-05-31 2018-11-30 苏州蜗牛数字科技股份有限公司 A kind of net surfing server automatic performance test method and system
CN108920369A (en) * 2018-07-02 2018-11-30 郑州云海信息技术有限公司 A kind of server stress test method, device, equipment and storage medium
CN110380922A (en) * 2019-05-29 2019-10-25 兴业证券股份有限公司 The full link stress test method and storage medium of transaction system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485941A (en) * 2021-07-27 2021-10-08 山石网科通信技术股份有限公司 System pressure testing method and device, readable storage medium and processor

Similar Documents

Publication Publication Date Title
CN107341098B (en) Software performance testing method, platform, equipment and storage medium
CN107506300B (en) User interface testing method, device, server and storage medium
CN109388376B (en) Software development risk assessment method, device, equipment and readable storage medium
CN108415826B (en) Application testing method, terminal device and computer readable storage medium
CN110674047B (en) Software testing method and device and electronic equipment
CN107145446B (en) Application program APP test method, device and medium
CN112100079B (en) Test method and system based on simulation data calling and electronic equipment
CN113837596A (en) Fault determination method and device, electronic equipment and storage medium
US10380313B1 (en) Implementation and evaluation of designs for heterogeneous computing platforms with hardware acceleration
US9811447B2 (en) Generating a fingerprint representing a response of an application to a simulation of a fault of an external service
CN114564390A (en) Performance test method, device, equipment and product of application program
CN110597704B (en) Pressure test method, device, server and medium for application program
CN113127284A (en) Server pressure testing method and system, electronic equipment and storage medium
CN112988578A (en) Automatic testing method and device
US10318615B1 (en) Modeling and measuring browser performance using reference pages
CN110806969A (en) Test case integrity evaluation method and device and electronic equipment
CN110674491B (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN113656391A (en) Data detection method and device, storage medium and electronic equipment
CN114661571A (en) Model evaluation method, model evaluation device, electronic equipment and storage medium
CN111679885A (en) Method, device, medium and electronic equipment for determining virtual machine drift
CN113204462A (en) Applet processing method, device, electronic equipment and computer readable storage medium
CN114490349A (en) Software quality testing method and device, electronic equipment and storage medium
CN116955189A (en) Automatic testing method, device and equipment for user interface and storage medium
CN113190453A (en) User interface testing method, device, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210716