CN106776165B - Server performance test method and system - Google Patents

Server performance test method and system Download PDF

Info

Publication number
CN106776165B
CN106776165B CN201611103701.3A CN201611103701A CN106776165B CN 106776165 B CN106776165 B CN 106776165B CN 201611103701 A CN201611103701 A CN 201611103701A CN 106776165 B CN106776165 B CN 106776165B
Authority
CN
China
Prior art keywords
server
test
pressure application
project
data
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.)
Active
Application number
CN201611103701.3A
Other languages
Chinese (zh)
Other versions
CN106776165A (en
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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201611103701.3A priority Critical patent/CN106776165B/en
Publication of CN106776165A publication Critical patent/CN106776165A/en
Application granted granted Critical
Publication of CN106776165B publication Critical patent/CN106776165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/2268Logging of test results
    • 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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a server performance testing method and system. In one embodiment, the method comprises: the background server acquires pressure application data in the pressure application request according to the received pressure application request, wherein the pressure application data comprises a pressure application script, a selected test server and a selected project server; the background server sends a pressure application instruction to the selected test server; the test server sends a test request to the project server according to the pressure application instruction so as to test the project server; the project server collects performance test data in the test process; and the project server sends the performance test data to the background server and stores the performance test data. The test efficiency and accuracy can be improved.

Description

Server performance test method and system
Technical Field
The invention relates to the technical field of computers, in particular to a server performance testing method and system.
Background
The prior art tests the performance of a server mainly by the following steps: recording or making a simulation script of user behavior operation; utilizing the script to apply pressure to the project server; and manually recording the performance data index of the project server. In the prior art, the test server and the project server are randomly used for testing, so that use conflict can be caused, and in addition, performance data is recorded manually, so that the recording efficiency is lower.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and a system for testing server performance.
The embodiment of the invention provides a server performance test method, which is applied to a performance test system comprising a background server, a test server and a project server which are in communication connection with each other, and comprises the following steps:
the background server acquires pressure application data in the pressure application request according to the received pressure application request, wherein the pressure application data comprises a pressure application script, a selected test server and a selected project server;
the background server sends a pressure application instruction to the selected test server;
the test server sends a test request to the project server according to the pressure application instruction so as to test the project server;
the project server collects performance test data in the test process;
and the project server sends the performance test data to the background server and stores the performance test data.
The embodiment of the invention also provides a server performance test system, which is applied to the performance test system comprising a background server, a test server and a project server which are in communication connection with each other, and the system comprises: the system comprises a background server, a test server and a project server;
the background server comprises:
the pressure application data acquisition module is used for acquiring pressure application data in the pressure application request according to the received pressure application request, wherein the pressure application data comprises a pressure application script, a selected test server and a selected project server;
a pressure application instruction sending module for sending a pressure application instruction to the selected test server;
the test server includes:
the test sending module is used for sending a test request to the project server according to the pressing instruction so as to test the project server;
the project server includes:
the test data acquisition module is used for acquiring performance test data in the test process;
and the test data sending module is used for sending the performance test data to the background server and storing the performance test data.
Compared with the prior art, the method and the system specify the test server and the project server for testing in the pressure application request before testing, can effectively avoid errors of test results caused by simultaneously selecting one test server by a plurality of test actions, and improve the test efficiency and the accuracy. In addition, during testing, the project server records the test data, so that the tester can conveniently obtain the test data, and the workload of the tester is reduced.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram illustrating interaction among a background server, a test server, and a project server according to a preferred embodiment of the present invention.
Fig. 2 is a block diagram of a background server according to a preferred embodiment of the present invention.
FIG. 3 is a block diagram of a project server according to a preferred embodiment of the present invention.
Fig. 4 is a flowchart of a server performance testing method according to a preferred embodiment of the present invention.
FIG. 5 is a functional block diagram of a server performance testing system according to the present invention.
Icon: 100-background server; 200-a test server; 300-a project server; 110 — a first memory; 111-a first processor; 112-a first network module; 1102-a pressure data acquisition module; 1103-pressure application instruction sending module; 1104-a test report generation module; 1105-a comparison file generation module; 1106-report sending module; 310-a second memory; 311-a second processor; 312-a second network module; 3102-a test data acquisition module; 3103-a test data transmission module; 210-test send module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
As shown in fig. 1, the background server 100, the test server 200 and the project server 300 provided by the preferred embodiment of the present invention interact with each other. The background server 100, the test server 200 and the project server 300 are connected through network communication to perform data communication or interaction. The background server 100, the test server 200 and the project server 300 may be a web server, a database server, etc. In this embodiment, the test server 200 may be one or more servers for sending test requests to the project server 300. After receiving the test request, the project server 300 starts a performance test process, and the specific method will perform detailed life in the following content.
Fig. 2 is a block diagram of the background server 100. The backend server 100 includes a first memory 110, a first processor 111, a first network module 112, a pressure data obtaining module 1102, and a pressure instruction sending module 1103. It is understood that the backend server 100 shown in fig. 2 may include more or less components and is not limited to the description of fig. 2.
The elements of the first memory 110, the first processor 111 and the first network module 112 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The pressure data acquiring module 1102 and the pressure instruction sending module 1103 include at least one software function module that can be stored in the memory in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the backend server 100. The first processor 111 is configured to execute executable modules stored in the first memory 110, such as software functional modules or computer programs included in the pressure data obtaining module 1102 and the pressure instruction sending module 1103.
The first Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The first memory 110 is used for storing a program, and the first processor 111 executes the program after receiving an execution instruction, and the method executed by the backend server 100 defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to a processor, or implemented by the first processor 111.
The first processor 111 may be an integrated circuit chip having signal processing capabilities. The first Processor 111 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The first network module 112 is used for receiving and transmitting network signals. The network signal may include a wireless signal or a wired signal.
The pressure data obtaining module 1102 and the pressure instruction sending module 1103 will be described in detail below with reference to the embodiment of the server performance testing method shown in fig. 4.
As shown in fig. 3, is a block schematic diagram of the project server 300. The project server 300 includes a second memory 310, a second processor 311, a second network module 312, a test data acquisition module 3102, and a test data transmission module 3103.
The elements of the second memory 310, the second processor 311 and the second network module 312 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The test data collection module 3102 and the test data transmission module 3103 include at least one software function module which may be stored in the memory in the form of software or firmware (firmware) or fixed in an Operating System (OS) of the project server 300. The second processor 311 is used to execute executable modules stored in the second memory 310, such as software functional modules or computer programs included in the test data acquisition module 3102 and the test data transmission module 3103.
The second Memory 310 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The second memory 310 is used for storing a program, and the second processor 311 executes the program after receiving an execution instruction, and the method executed by the project server 300 defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to a processor, or implemented by the second processor 311.
The second processor 311 may be an integrated circuit chip having signal processing capabilities. The second Processor 311 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The second network module 312 is used for receiving and transmitting network signals. The network signal may include a wireless signal or a wired signal.
The test data collection module 3102 and the test data transmission module 3103 will be described in detail below with reference to an embodiment of a server performance testing method.
Please refer to fig. 4, which is a flowchart illustrating a server performance testing method applied in a server performance testing system according to a preferred embodiment of the present invention. The specific flow shown in fig. 4 will be described in detail below.
In step S101, the background server 100 obtains pressure application data in the pressure application request according to the received pressure application request. In this embodiment, the step S101 is executed by the pressure data acquisition module 1102.
The pressure application data comprises a pressure application script, a selected test server and a selected project server; the pressure application data further comprises: configuring the number of pressing persons, the pressing interval time and the pressing duration time.
In one embodiment, the pressure application request may be continuously sent to the backend server 100 through Jenkins persistent integration tool. The Jenkins continuous integration tool is a continuous integration tool developed based on Java and used for monitoring continuous and repeated work. Further, the Jenkins continuous integration tool may send a pressure application request to the backend server 100 at regular time, or may send a pressure application request to the backend server 100 when the website version is updated. The Jenkins continuous integration tool may be stored in any user terminal in communication connection with the backend server 100, or may be directly stored in the backend server 100. In order to integrate the pressure application data with the pressure application request, the Jenkins continuous integration tool pre-stores the configured number of persons applying pressure, the pressure application interval time, the pressure application duration time and different time to specify the test rules of different test servers 200 and project servers 300. And the Jenkins continuous integration tool carries the pressure application data in the pressure application request when sending the pressure application request.
In another embodiment, after receiving the test operation of the user, the user terminal sends the pressure application request to the backend server 100. In detail, in practical applications, the test server 200 may be a test server cluster formed by a plurality of servers. The project server 300 may be a project server cluster comprised of a plurality of servers. Further, before the user terminal sends the pressure application request to the background server 100, the user terminal may receive an operation of selecting the non-working test server 200 and the project server 300 according to the usage status of the test server 200 and the project server 300. In detail, the user terminal may acquire data of the use states of the test server 200 and the project server 300, and the user may determine whether the test server 200 and the project server 300 are in the operating state according to the data of the use states, thereby selecting the test server 200 and the project server 300 which are in the non-operating state. In order to integrate the pressure application data with the pressure application request, the user terminal configures the number of persons applying pressure, the interval time of pressure application and the duration time of pressure application before sending the pressure application request. By selecting the servers in the non-working state for testing, the condition that the same server is selected to test different testing actions at the same time can be effectively avoided.
In step S102, the background server 100 sends a pressure application instruction to the selected test server 200. In this embodiment, the step S102 is executed by the pressing instruction sending module 1103.
Specifically, the pressure application data includes the selected test server 200. The backend server 100 sends the stress application instruction only to the selected test server 200. The stress script includes a series of instructions for the test item server 300.
In step S103, the test server 200 sends a test request to the project server 300 according to the pressure application instruction to test the project server 300.
The test server 200 tests the project server 300 according to the number of persons exerting pressure, the interval time of the pressure and the duration time of the pressure in the pressure data, and sends a test request to the project server 300.
In one example, the method of the present embodiment may be used to test a game that has just been updated. As such, the pressing script may include some operation instructions in the game, such as a game character forward instruction, a game character backward instruction, a game character attack action instruction, a game article purchase instruction, and the like. For another example, if the number of persons who apply pressure is ten thousand, the pressing interval time is five minutes, and the pressing duration time is ten minutes, the test server 200 sends ten thousand persons to the item server 300 while performing a behavior of simulating a user operation of an operation instruction in a game. Further, the pressure application instruction may further include multiple sets of pressure application data. Further, the testing server 200 sends different testing requests to the project server 300 according to different pressure data to test the project server 300.
Step S104, the project server 300 collects performance test data in the test process. This step S104 is performed by the test data acquisition module 3102.
The performance test data includes: CPU occupancy rate, memory occupancy rate, disk read-write condition and network bandwidth use data.
Step S105, the project server 300 sends the performance test data to the background server 100 and stores the performance test data. This step S105 is executed by the test data transmission module 3103.
And the background server 100 generates a test report according to the performance test data and stores the test report. In detail, the user terminal may send a request for obtaining the test report to the background server 100 after logging in the account. The login account may be set as a special account for a backend administrator, so that a general game player account cannot log in the backend server 100 to obtain the test report. Therefore, a user can conveniently obtain the test report, the user does not need to manually record test data during testing, and the testing efficiency and the accuracy are greatly improved.
The background server 100 generates a comparison file according to the performance test data obtained by multiple tests for the user terminal to view. In this embodiment, the background server 100 compares the test data with the previously acquired test data to generate a comparison file. In detail, the CPU occupancy, the memory occupancy, the disk read-write condition, and the network bandwidth usage data in the test data may be respectively compared to generate corresponding test tables. By generating the comparison file, a user can conveniently and intuitively know different test data and test results brought by the test data.
After generating the test report, the background server 100 may also send the test report to a corresponding user. For example, the background server 100 sends the test report to a specified account of the user, such as a mobile phone number, a mailbox account, and the like. The designated account may be pre-stored in the background server 100, or may be stored in a Jenkins persistent integration tool. According to the method in the embodiment, the automatic test of the project server 300 can be realized, the pressure application instruction also carries pressure application data, and the test server 200 for testing is specified in the pressure application data, so that the test efficiency and the accuracy can be improved; in addition, the project server 300 automatically records the test data, which can reduce the workload of the tester.
Please refer to fig. 5, which is a functional module diagram of a server performance testing system according to a preferred embodiment of the present invention. Each server in the system of this embodiment includes a module for executing the steps in the above method embodiments. The system comprises: a background server 100, a test server 200 and a project server 300;
the background server 100 includes: a pressure data acquisition module 1102 and a pressure instruction sending module 1103;
and an pressure application data obtaining module 1102, configured to obtain pressure application data in the request according to the received pressure application request, where the pressure application data includes a pressure application script, a selected test server, and a selected project server. In one embodiment, Jenkins continues to send the pressure application request to the backend server 100. The Jenkins continuous integration tool sends a pressure application request to the background server 100 at regular time; or send a pressure application request to the background server 100 when the website version is updated. In another embodiment, after receiving the test operation of the user, the user terminal sends the pressure application request to the backend server 100.
And the pressing instruction sending module 1103 is configured to send a pressing instruction to the selected test server 200.
The test server 200 includes: a test sending module 210, configured to send a test request to the project server 300 according to the pressurization instruction to test the project server 300.
The item server 300 includes: a test data acquisition module 3102 and a test data transmission module 3103;
the test data acquisition module 3102 is configured to acquire performance test data during a test process.
The test data sending module 3103 is configured to send the performance test data to the background server 100 and store the performance test data.
The background server 100 further includes: and the test report generating module 1104 is configured to generate and store a test report according to the performance test data.
The background server 100 further includes a comparison file generating module 1105, configured to generate a comparison file from the performance test data obtained through multiple tests.
The background server 100 further includes a report sending module 1106, configured to send the test report to the corresponding user.
In other embodiments, the system further comprises a user terminal:
the user terminal includes a selection module for receiving the operation of the user selecting the non-working test server 200 and the project server 300 according to the use status of the test server 200 and the project server 300.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (18)

1. A performance test method of a server is applied to a performance test system comprising a background server, a plurality of test servers and a plurality of project servers which are mutually communicated, and is characterized by comprising the following steps:
the background server acquires pressure application data in the pressure application request according to the received pressure application request, wherein the pressure application data comprises a pressure application script, a selected test server and a selected project server;
the background server sends a pressure application instruction to the selected test server;
the test server sends a test request to the project server according to the pressure application instruction so as to test the project server;
the project server collects performance test data in the test process;
and the project server sends the performance test data to the background server and stores the performance test data.
2. The server performance testing method of claim 1, wherein the pressure application data further comprises: configuring the number of pressing persons, the pressing interval time and the pressing duration, wherein the step of sending a test request to the project server by the test server according to the pressing instruction to test the project server specifically comprises the following steps: and the test server tests the project server according to the test request sent to the project server by the pressure application number, the pressure application interval time and the pressure application duration in the pressure application data.
3. The server performance testing method of claim 1, wherein the performance testing data comprises: CPU occupancy rate, memory occupancy rate, disk read-write condition and network bandwidth use data.
4. The server performance testing method of claim 3, further comprising:
and the background server generates a test report according to the performance test data and stores the test report.
5. The server performance testing method of claim 4, further comprising:
and the background server generates a comparison file from the performance test data obtained by the multiple tests for the user terminal to check.
6. The server performance testing method of claim 4, further comprising:
and the background server sends the test report to a corresponding user.
7. The server performance testing method of claim 1, wherein the pressure application request is continuously sent to the background server by Jenkins continuous integration tool; or
And the user terminal sends the test operation of the user to the background server after receiving the test operation of the user.
8. The server performance testing method of claim 7, wherein the Jenkins persistent integration tool periodically sends a pressure application request to the background server; or sending a pressure application request to the background server when the website version is updated.
9. The server performance testing method of claim 7, further comprising, before the user terminal sends the pressure application request to the backend server:
and the user terminal receives the operation that the user selects the test server and the project server in the non-working state according to the use conditions of the test server and the project server.
10. A performance test system of a server is applied to the performance test system comprising a background server, a test server and a project server which are mutually communicated and connected, and is characterized in that the system comprises: the system comprises a background server, a plurality of test servers and a plurality of project servers;
the background server comprises:
the pressure application data acquisition module is used for acquiring pressure application data in the pressure application request according to the received pressure application request, wherein the pressure application data comprises a pressure application script, a selected test server and a selected project server;
a pressure application instruction sending module for sending a pressure application instruction to the selected test server;
the test server includes:
the test sending module is used for sending a test request to the project server according to the pressing instruction so as to test the project server;
the project server includes:
the test data acquisition module is used for acquiring performance test data in the test process;
and the test data sending module is used for sending the performance test data to the background server and storing the performance test data.
11. The server performance testing system of claim 10, wherein the pressure application data further comprises: and the test sending module is used for testing the project server according to the number of pressing persons, the pressing interval time and the pressing duration time in the pressing data.
12. The server performance testing system of claim 10, wherein the performance testing data comprises: CPU occupancy rate, memory occupancy rate, disk read-write condition and network bandwidth use data.
13. The server performance testing system of claim 12, wherein the backend server further comprises: and the test report generating module is used for generating and storing a test report according to the performance test data.
14. The server performance testing system of claim 13, wherein the backend server further comprises a profile generation module for generating a profile from the performance testing data obtained from the plurality of tests.
15. The server performance testing system of claim 13, wherein the backend server further comprises a report sending module for sending the test report to a respective user.
16. The server performance testing system of claim 10, wherein the pressure application request is continuously sent to the backend server by Jenkins continuous integration tools; or
And the user terminal sends the test operation of the user to the background server after receiving the test operation of the user.
17. The server performance testing system of claim 16, wherein the Jenkins persistence integration tool periodically sends a pressure application request to the backend server; or sending a pressure application request to the background server when the website version is updated.
18. The server performance testing system of claim 16, further comprising the user terminal:
the user terminal comprises a selection module used for receiving the operation of the test server and the project server in the non-working state selected by the user according to the use conditions of the test server and the project server.
CN201611103701.3A 2016-12-05 2016-12-05 Server performance test method and system Active CN106776165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611103701.3A CN106776165B (en) 2016-12-05 2016-12-05 Server performance test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611103701.3A CN106776165B (en) 2016-12-05 2016-12-05 Server performance test method and system

Publications (2)

Publication Number Publication Date
CN106776165A CN106776165A (en) 2017-05-31
CN106776165B true CN106776165B (en) 2020-08-25

Family

ID=58884413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611103701.3A Active CN106776165B (en) 2016-12-05 2016-12-05 Server performance test method and system

Country Status (1)

Country Link
CN (1) CN106776165B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021478B (en) * 2017-11-24 2021-06-01 中国航空工业集团公司西安航空计算技术研究所 Robustness testing method for graphics processor
CN109918275B (en) * 2019-01-17 2022-09-16 珠海金山网络游戏科技有限公司 Method, device and system for realizing pressure test on server performance
CN109960619A (en) * 2019-02-12 2019-07-02 众安在线财产保险股份有限公司 A kind of Testing Platform and method
CN110262970A (en) * 2019-06-14 2019-09-20 浪潮软件集团有限公司 A kind of method and system based on Hadoop big data cluster API automatic test
CN112491654B (en) * 2020-11-19 2024-04-19 广州力挚网络科技有限公司 Performance test method and device, electronic equipment and storage medium
CN113127284A (en) * 2021-05-18 2021-07-16 上海莉莉丝科技股份有限公司 Server pressure testing method and system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055780A (en) * 2009-11-04 2011-05-11 英业达股份有限公司 System and method for testing disk array
CN102075384A (en) * 2010-12-20 2011-05-25 创新科存储技术有限公司 Performance test system and method
CN105446846A (en) * 2015-11-30 2016-03-30 中电科华云信息技术有限公司 Cloud desktop based performance test method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574624B2 (en) * 2007-02-20 2009-08-11 Inventec Corporation Integrated test method on multi-operating system platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055780A (en) * 2009-11-04 2011-05-11 英业达股份有限公司 System and method for testing disk array
CN102075384A (en) * 2010-12-20 2011-05-25 创新科存储技术有限公司 Performance test system and method
CN105446846A (en) * 2015-11-30 2016-03-30 中电科华云信息技术有限公司 Cloud desktop based performance test method

Also Published As

Publication number Publication date
CN106776165A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106776165B (en) Server performance test method and system
CN110245078B (en) Software pressure testing method and device, storage medium and server
CN111522922B (en) Log information query method and device, storage medium and computer equipment
US20140089477A1 (en) System and method for monitoring storage machines
CN111162934B (en) Business service test method and device, storage medium and electronic device
CN109309596B (en) Pressure testing method and device and server
CN108293010A (en) The selective measurement of internet of things equipment is reported
CN108124042B (en) Device fault detection method and device and mobile terminal
CN111177165B (en) Method, device and equipment for detecting data consistency
CN112491654B (en) Performance test method and device, electronic equipment and storage medium
CN108366012B (en) Social relationship establishing method and device and electronic equipment
CN105843892B (en) Data persistence method, device and system based on Ehcache
US10489265B2 (en) Monitoring application operations using user interaction times
CN111464376A (en) Website availability monitoring method and device, storage medium and computer equipment
CN111176918A (en) Server testing method, system, equipment and computer readable storage medium
CN113485931A (en) Test method, test device, electronic equipment and computer readable storage medium
CN108319539A (en) A kind of method and system generating GPU card slot position information
CN112751711A (en) Alarm information processing method and device, storage medium and electronic equipment
CN110780882A (en) Code file processing method, device and system, electronic equipment and storage medium
CN108304322B (en) Pressure testing method and terminal equipment
CN111193945A (en) Advertisement playing processing method and device
CN110377444B (en) Fault alarm method, device, electronic equipment and computer readable storage medium
CN104750717A (en) Click rate recording method, server and client
CN111159006B (en) Automatic testing method and device
US20140068562A1 (en) Application Review

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200527

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 02 (only for office use)

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant