CN111045879B - Method, device and storage medium for generating pressure test report - Google Patents

Method, device and storage medium for generating pressure test report Download PDF

Info

Publication number
CN111045879B
CN111045879B CN201911291500.4A CN201911291500A CN111045879B CN 111045879 B CN111045879 B CN 111045879B CN 201911291500 A CN201911291500 A CN 201911291500A CN 111045879 B CN111045879 B CN 111045879B
Authority
CN
China
Prior art keywords
data
target
pressure test
category
preset
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
CN201911291500.4A
Other languages
Chinese (zh)
Other versions
CN111045879A (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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software 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 Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201911291500.4A priority Critical patent/CN111045879B/en
Publication of CN111045879A publication Critical patent/CN111045879A/en
Application granted granted Critical
Publication of CN111045879B publication Critical patent/CN111045879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention discloses a method for generating a pressure test report, which comprises the following steps: providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are data obtained after the pressure test is performed on a server, and the selection interface displays the thread number corresponding to the pressure test data; acquiring the pressure test data selected based on the selection interface as target data; dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category; and generating a test report according to the data summarizing results of all the preset categories. The invention also discloses a device for generating the pressure test report and a computer readable storage medium. The invention improves the generation efficiency of the test report of the pressure test.

Description

Method, device and storage medium for generating pressure test report
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method for generating a pressure test report, a device for generating a pressure test report, and a computer readable storage medium.
Background
At present, after a pressure test is performed on a server and other systems, a result document of the test is obtained by summarizing and analyzing according to index data of the pressure test. The process usually needs to manually calculate each data result, compare and analyze the data results, and form a report. This makes the report generation of the results of the stress test inefficient.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The main object of the present invention is to provide a method for generating a pressure test report, a device for generating a pressure test report, and a computer-readable storage medium, which improve the efficiency of generating a pressure test report.
In order to achieve the above object, the present invention provides a method for generating a pressure test report, the method for generating a pressure test report comprising the steps of:
providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are data obtained after the pressure test is performed on a server, and the selection interface displays the thread number corresponding to the pressure test data;
acquiring the pressure test data selected based on the selection interface as target data;
dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category;
and generating a test report according to the data summarizing results of all the preset categories.
Optionally, after the step of dividing the target sub-data in the target data according to the preset categories and summarizing the target sub-data divided into each preset category by taking the target data as a unit, the method further includes:
according to a preset threshold value corresponding to a sub-category of the preset category, carrying out data analysis on the target sub-data in the preset category, wherein the sub-category and the target sub-data have a corresponding relation;
and acquiring the target sub-data exceeding the preset threshold value to generate a data analysis result.
Optionally, after the step of acquiring the pressure test data selected based on the selection interface as target data, the method further includes:
providing a setting interface of the preset threshold;
and acquiring a threshold corresponding to a sub-category of the preset category set based on the setting interface, and taking the threshold as the preset threshold corresponding to the sub-category.
Optionally, after the step of acquiring the pressure test data selected based on the selection interface as target data, the method further includes:
acquiring the number of the test presses;
and generating a test scene topological graph according to the number of the test presses, the thread number corresponding to the target data and the server tested by the target data.
Optionally, after the step of dividing the target sub-data in the target data according to the preset categories and summarizing the target sub-data divided into each preset category by taking the target data as a unit, the method further includes:
and generating a performance analysis chart of the preset category according to the data summarization result of the preset category.
Optionally, after the step of acquiring the pressure test data selected based on the selection interface as target data, the method further includes:
generating a name setting interface according to the target data;
and updating the test scene name corresponding to the target data based on the name information set by the name setting interface.
In order to achieve the above object, the present invention also provides a device for generating a pressure test report, the device for generating a pressure test report including:
the device for generating the pressure test report comprises a memory, a processor and a pressure test report generating program which is stored in the memory and can run on the processor, wherein the pressure test report generating program realizes the steps of the pressure test report generating method when being executed by the processor.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a pressure test report generation program which, when executed by a processor, implements the steps of the pressure test report generation method described above.
The invention provides a method for generating a pressure test report, a device for generating the pressure test report and a computer readable storage medium, which provide a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are data obtained after a server is subjected to pressure test, and the selection interface displays the thread number corresponding to the pressure test data; acquiring the pressure test data selected based on the selection interface as target data; dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category; and generating a test report according to the data summarizing results of all the preset categories. Thus, the generation efficiency of the test report of the pressure test is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment of an embodiment terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for generating a pressure test report according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for generating a pressure test report according to the present invention;
fig. 4 is a flowchart of a third embodiment of a method for generating a pressure test report according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a method for generating a pressure test report, which improves the efficiency of generating the test report of the pressure test.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware running environment of an embodiment terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a generating device of the pressure test report, the generating device of the pressure test report can be a computer, and the terminal can also be a system comprising the generating device of the pressure test report.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU central processing unit (central processing unit), a memory 1002, and a communication bus 1003. The communication bus 1003 is used to implement connection communication between the constituent elements in the terminal. The memory 1002 may be a high-speed RAM Random Access Memory (RAM) or a stable memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the configuration of the terminal shown in fig. 1 is not limiting of the terminal of the embodiments of the present invention, and may include more or less components than those illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, a program for generating a stress test report may be included in a memory 1002 as a computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be used to call a generation program of the pressure test report stored in the memory 1002, and perform the following operations:
providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are data obtained after the pressure test is performed on a server, and the selection interface displays the thread number corresponding to the pressure test data;
acquiring the pressure test data selected based on the selection interface as target data;
dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category;
and generating a test report according to the data summarizing results of all the preset categories.
Further, the processor 1001 may call the generation program of the pressure test report stored in the memory 1002, and further perform the following operations:
according to a preset threshold value corresponding to a sub-category of the preset category, carrying out data analysis on the target sub-data in the preset category, wherein the sub-category and the target sub-data have a corresponding relation;
and acquiring the target sub-data exceeding the preset threshold value to generate a data analysis result.
Further, the processor 1001 may call the generation program of the pressure test report stored in the memory 1002, and further perform the following operations:
providing a setting interface of the preset threshold;
and acquiring a threshold corresponding to a sub-category of the preset category set based on the setting interface, and taking the threshold as the preset threshold corresponding to the sub-category.
Further, the processor 1001 may call the generation program of the pressure test report stored in the memory 1002, and further perform the following operations:
acquiring the number of the test presses;
and generating a test scene topological graph according to the number of the test presses, the thread number corresponding to the target data and the server tested by the target data.
Further, the processor 1001 may call the generation program of the pressure test report stored in the memory 1002, and further perform the following operations:
and generating a performance analysis chart of the preset category according to the data summarization result of the preset category.
Further, the processor 1001 may call the generation program of the pressure test report stored in the memory 1002, and further perform the following operations:
generating a name setting interface according to the target data;
and updating the test scene name corresponding to the target data based on the name information set by the name setting interface.
Referring to fig. 2, in an embodiment, the method for generating the pressure test report includes:
step S10, providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are obtained after the pressure test is performed on the server, and the selection interface displays the thread number corresponding to the pressure test data.
In this embodiment, the terminal may be a device for generating a pressure test report, and the device for generating a pressure test report may be a computer, or the terminal may be a system including a device for generating a pressure test report. The following will describe an example in which the embodiment terminal is a pressure test report generating device.
Alternatively, the stress test refers to simulating that multiple concurrent threads (simulating multiple users) access the server at the same time, so as to obtain operation data of the server under the concurrent access of the multiple threads, namely stress test data.
Optionally, generating multiple groups of test scenes in advance, wherein each group of test scenes is provided with a corresponding test thread number as a test parameter, and then performing pressure test on the server according to each group of test scenes. In the process of testing the server according to each group of test scenes, respectively recording the test start time and the test end time corresponding to each group of test scenes, and acquiring various operation data of the server as pressure test data under the test of the current test scene.
The number of threads means the number of simulated access threads.
In this way, multiple pressure tests are respectively carried out on the server according to multiple groups of test scenes, multiple groups of pressure test data can be obtained, and the terminal stores the obtained pressure test data in real time.
Alternatively, the terminal may be a selection interface that displays the stress test data on a display screen of the terminal or on a display device associated with the terminal upon receiving the test report generation instruction.
Optionally, the selection interface is provided with the option of multiple sets of pressure test data. Meanwhile, the selection interface adopts a test scene name corresponding to the pressure test data to represent the group of pressure test data. The pressure test data may be all the pressure test data stored in the terminal, or may be pressure test data generated in a certain preset period. It should be noted that, the preset period may be set by an engineer according to actual situations, and the embodiment is not limited.
Optionally, the selection interface further displays a thread number corresponding to each set of pressure test data. Therefore, the user can conveniently know the test parameters corresponding to the pressure test data.
Optionally, the selection interface further displays a test start time, a test end time and a test duration corresponding to each set of pressure test data, where the terminal may generate the test duration according to the test start time and the test end time.
In this way, the user may select the stress test data currently being used to generate the test report based on the selection interface.
And step S20, acquiring the pressure test data selected based on the selection interface as target data.
Optionally, the user may send a selection instruction of the pressure test data based on the selection interface, and when the terminal detects the selection instruction, the terminal obtains the set of pressure test data for which the selection instruction is directed as the target data.
Optionally, the selection interface is provided with a checking frame of the pressure test data, and when the clicking operation of the checking frame by the user is detected, the detection of the selected instruction is determined, and the pressure test data corresponding to the checking frame clicked by the clicking operation is obtained as the target data.
Optionally, in the selection interface, the user needs to select at least two sets of stress test data, i.e. each test report finally generated comprises at least two sets of target data.
Alternatively, the terminal may further display a name setting interface after acquiring the target data through the selection interface. Specifically, the terminal acquires all target data, and generates a name setting interface according to the target data. In this way, the user can set the test scenario name corresponding to each set of target data based on the name setting interface.
Optionally, after detecting that the user inputs the name information based on the name information input box of the name setting interface, the terminal updates the group name of the target data corresponding to the name information input box according to the name information, that is, the name information is used as the test scene name corresponding to the target data. Of course, when the terminal does not detect that the name information input box corresponding to the target data has data input, the default test scene name of the target data is continuously adopted as the group name.
And step S30, dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category.
And S40, generating a test report according to the data summarizing results of all the preset categories.
Optionally, the terminal is preset with preset categories of data categories for measuring the stress test data, wherein the preset categories comprise a business index category, a JVM index category and a server index category.
Optionally, the service indicator is used for measuring the service processing capacity of the server, and is mainly represented by the capacity of responding to the access request, and the sub-categories under the service indicator category include: the Label (Label), sample number (#samples), average response time (Avg Resp), minimum response time (Min Resp), maximum response time (Max Resp), standard deviation value (standard deviation), error rate (error%), number of parallel threads, etc. of the initiated request are tested.
Alternatively, the JVM (Java Virtual Machine ) is a specification for computing devices, and is an imaginary computer implemented by emulating various computer functions on an actual computer. The JVM index may be used to measure the capacity of the server, and the sub-categories under the JVM index category include: server IP and port information tested by the test scenario, maximum stack value, submitted non-stack value, daemon thread number, thread peak, total number of start threads, total number of loaded classes (classes), total number of unloaded classes, total number of Young GCs, average time of Young GCs, etc.
It should be noted that, the class is the basis for implementing information encapsulation by Object-oriented programming (OOP, object-Oriented Programming), and is a type of reference data defined by a user, which is also called a class type. Each class contains a data description and a set of functions that operate on data or transfer messages. An instance of a class is called an object (object); the total number of Young GCs is the total number of garbage collection times of the new Generation (Young Generation) of Java in which most objects are created in the new Generation and the life cycle of many objects is short.
Optionally, the server metrics may be used to measure data processing capacity of the server, and the sub-categories under the category of server metrics include: server IP address, CPU Load value (CPU Load), CPU Idle rate (CPU Idle), CPU usage rate (CPU User), CPU System occupancy rate (CPU System), total Memory (Memory Total), used Memory (Memory Used), free Memory (Memory Free), cache Memory (Memory Cached), etc. tested by the test scenario.
Optionally, after identifying each target sub-data in the target data, the terminal performs data division (i.e. performs data classification) on the target sub-data in the target data according to the sub-category in each preset category, and establishes a corresponding relationship between the target sub-data divided into each sub-category and the sub-category.
For example, in the target data a, the target sub-data a is the standard deviation value 1.3573, the target sub-data b is the total number of start threads 543, and the target sub-data c is the total memory 189.1GB; in the target data B, there is a standard deviation value 1.3246 for the target sub-data x, a total number 550 of start threads for the target sub-data y, and a total 189.1GB of the target sub-data z. Then, the terminal can divide the target sub-data a and the target sub-data x into sub-categories corresponding to the standard deviation values under the business index category; dividing the target sub-data b and the target sub-data y into sub-categories corresponding to the total number of the starting threads under the JVM index category; and dividing the target sub-data c and the target sub-data z into sub-categories corresponding to the total memory under the server index category.
Optionally, after the terminal finishes data division of all the target sub-data under each target data, the terminal respectively gathers the data divided into each preset category to generate a data gathering result corresponding to each preset category. When generating the data summary result, the target sub-data belonging to the same target data is output to the same data column by taking the target data as a unit. Therefore, the user can conveniently compare and view the target data under the same preset category.
Further, the terminal acquires data summarizing results corresponding to all preset categories, and generates and outputs a test report according to the acquired data summarizing results. Therefore, the automatic classification of the target data is realized, and the parallel output of each group of target data under the same preset category is realized, so that a user can conveniently check a test report.
Further, after obtaining the data summarization result corresponding to each preset category, the terminal generates a performance analysis chart of the preset category. Wherein, the performance analysis graph can be in the form of a line graph and a bar graph. Specifically, the terminal generates a performance analysis chart corresponding to a sub-category for obtaining target sub-data corresponding to the sub-category under a preset category. Therefore, when the terminal outputs the generated performance analysis chart and the test report simultaneously, the user can conveniently and intuitively check the data of the test report.
In an embodiment, a selection interface of a plurality of groups of pressure test data is provided, wherein the pressure test data is data obtained after a server is subjected to pressure test, and the selection interface displays the thread number corresponding to the pressure test data; acquiring the pressure test data selected based on the selection interface as target data; dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category; and generating a test report according to the data summarizing results of all the preset categories. Therefore, the automatic generation of the test report is realized, and the generation efficiency of the test report of the pressure test is improved.
In a second embodiment, as shown in fig. 3, based on the embodiment shown in fig. 2, after the step of dividing the target sub-data in the target data according to the preset categories and taking the target data as a unit to perform data summarization on the target sub-data divided into each preset category, the method further includes:
and S50, carrying out data analysis on the target sub-data in the preset category according to a preset threshold corresponding to the sub-category of the preset category, wherein the sub-category and the target sub-data have a corresponding relation.
And step S51, acquiring the target sub-data exceeding the preset threshold value to generate a data analysis result.
In this embodiment, after obtaining the target data, the terminal identifies each target sub-data under each group of target data, and then performs data division (i.e. performs data classification) on the target sub-data in the target data according to the sub-category under each preset category, and establishes a corresponding relationship between the target sub-data divided into each sub-category and the sub-category.
Optionally, the sub-category under each preset category is preset with a corresponding preset threshold, for example, when the preset threshold corresponding to the total number of Young GCs under the JVM index category is set, the maximum value is set to 30.
Optionally, the terminal compares each target sub-data with a preset threshold value of a corresponding sub-category, acquires target sub-data exceeding the corresponding preset threshold value, and generates a data analysis result according to the acquired target sub-data. For example, the total number of Young GCs per minute is 41 times, and when the maximum preset threshold value of the total number of Young GCs per minute is 30, the terminal acquires the target sub-data d to generate the data analysis result.
Further, the terminal outputs the data analysis result and the test report simultaneously. Therefore, the automatic generation of the data analysis result in the test report can be realized, so that the time of a tester is saved, and the test efficiency is improved.
Optionally, after the terminal obtains the target data through the selection interface, a setting interface of the preset threshold value may be further displayed, and under the setting interface, the user may set the preset threshold value corresponding to the sub-category under each preset category by itself.
The setting interface is provided with a selection frame of a preset category, after a user selects a corresponding preset category in the selection frame through selection operation, the sub-category under the preset category can be further selected, then a preset threshold corresponding to the currently selected sub-category is input through the threshold input frame, namely, the terminal acquires data input by the threshold input frame as the preset threshold corresponding to the sub-category.
Therefore, the preset threshold corresponding to various target sub-data can be set conveniently by a user.
In a third embodiment, as shown in fig. 4, after the step of obtaining the pressure test data selected based on the selection interface as target data, the method further includes:
and S60, acquiring the number of the test presses.
And step S61, generating a test scene topological graph according to the number of the test presses, the thread number corresponding to the target data and the server tested by the target data.
In this embodiment, after the terminal obtains the target data through the selection interface, the server tested by the target data is obtained as the target server, that is, the target data is the data obtained after the target server is tested according to the corresponding test scenario.
Optionally, the terminal obtains the number of test presses used when performing the pressure test on the target server, and obtains the number of threads corresponding to the target data. Further, the terminal generates a test scene topological graph of the target server according to the number of the test presses, the thread number corresponding to the target data and the target server. In the test scene topological graph, the number of threads distributed by each test press is equal to the value obtained by dividing the number of bus threads corresponding to the target data by the number of test presses.
Optionally, after the terminal obtains the target data through the selection interface, the terminal may further display a topology setting interface, and provide a target server selection box in the topology setting interface, where the target server selection box provides target servers corresponding to all the target data for the user to select. It should be noted that, the target servers tested by different target data may be the same or different.
Further, the terminal acquires all target servers selected based on the target server selection frame to generate a test scene topological graph.
Therefore, the automatic generation of the topological graph of the test scene can be realized, so that the time of a tester is saved, and the test efficiency is improved.
In addition, the invention also provides a device for generating the pressure test report, which comprises a memory, a processor and a pressure test report generating program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the pressure test report generating method according to the embodiment when executing the pressure test report generating program.
Furthermore, the present invention proposes a computer-readable storage medium comprising a generation program of a stress test report, which when executed by a processor implements the steps of the method of generating a stress test report as described in the above embodiments.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course also by means of hardware, but in many cases the former is an alternative embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a television, a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description of the invention and the accompanying drawings is only illustrative, and is not intended to limit the scope of the invention, but rather is to be construed in any way in view of the following description, the accompanying drawings and the like.

Claims (6)

1. The method for generating the pressure test report is characterized by comprising the following steps of:
providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are data obtained after the pressure test is performed on a server, and the selection interface displays the thread number corresponding to the pressure test data;
acquiring the pressure test data selected based on the selection interface as target data;
the server tested by the target data is obtained to serve as a target server, the number of testing presses used when the target server is subjected to pressure testing and the thread number corresponding to the target data are obtained;
generating a test scene topological graph of the target server according to the number of the test presses, the number of threads corresponding to the target data and the target server, wherein the number of threads allocated to each test press is equal to a value obtained by dividing the number of bus threads corresponding to the target data by the number of the test presses;
displaying a topology map setting interface, and providing the target server selection frame in the topology map setting interface;
dividing the target sub-data in the target data according to preset categories, and summarizing the target sub-data divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a business index category, a JVM index category and a server index category;
generating a test report according to the data summarizing results of all the preset categories;
the step of data partitioning the target sub-data in the target data according to the preset categories, and data summarizing the target sub-data partitioned into each preset category by taking the target data as a unit further includes:
performing data division on target sub-data in the target data according to sub-categories under each preset category, and establishing a corresponding relation between the target sub-data divided into the sub-categories and the sub-category, wherein the sub-category under each preset category is preset with a corresponding preset threshold value;
and comparing each target sub-data with a preset threshold value of a corresponding sub-category, acquiring target sub-data exceeding the corresponding preset threshold value, and generating a data analysis result according to the acquired target sub-data.
2. The method of generating a stress test report according to claim 1, wherein after the step of acquiring the stress test data selected based on the selection interface as target data, further comprising:
providing a setting interface of the preset threshold;
and acquiring a threshold corresponding to a sub-category of the preset category set based on the setting interface, and taking the threshold as the preset threshold corresponding to the sub-category.
3. The method for generating a pressure test report according to any one of claims 1 to 2, wherein after the step of dividing the target sub-data in the target data according to the preset categories and summarizing the target sub-data divided into each of the preset categories in units of the target data, further comprises:
and generating a performance analysis chart of the preset category according to the data summarization result of the preset category.
4. The method of generating a stress test report according to claim 1, wherein after the step of acquiring the stress test data selected based on the selection interface as target data, further comprising:
generating a name setting interface according to the target data;
and updating the test scene name corresponding to the target data according to the name information set on the name setting interface.
5. A pressure test report generating apparatus, characterized in that the pressure test report generating apparatus includes a memory, a processor, and a pressure test report generating program stored on the memory and executable on the processor, the pressure test report generating program realizing the steps of the pressure test report generating method according to any one of claims 1 to 4 when executed by the processor.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a generation program of a stress test report, which when executed by a processor, implements the steps of the method of generating a stress test report according to any one of claims 1 to 4.
CN201911291500.4A 2019-12-13 2019-12-13 Method, device and storage medium for generating pressure test report Active CN111045879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911291500.4A CN111045879B (en) 2019-12-13 2019-12-13 Method, device and storage medium for generating pressure test report

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911291500.4A CN111045879B (en) 2019-12-13 2019-12-13 Method, device and storage medium for generating pressure test report

Publications (2)

Publication Number Publication Date
CN111045879A CN111045879A (en) 2020-04-21
CN111045879B true CN111045879B (en) 2023-10-24

Family

ID=70236557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911291500.4A Active CN111045879B (en) 2019-12-13 2019-12-13 Method, device and storage medium for generating pressure test report

Country Status (1)

Country Link
CN (1) CN111045879B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522668A (en) * 2020-04-29 2020-08-11 青岛海尔科技有限公司 Method and apparatus for resource configuration and computer-readable storage medium
CN112860593A (en) * 2021-02-09 2021-05-28 山东英信计算机技术有限公司 GC performance prediction method, system, medium and equipment of storage system
CN113238934B (en) * 2021-04-30 2024-04-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for automatically judging data acquisition result of test system
CN115865732A (en) * 2022-11-29 2023-03-28 上海通联金融服务有限公司 Pressure measurement method based on RPC communication

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051965A (en) * 2007-05-24 2007-10-10 中兴通讯股份有限公司 Device and method for forming topological map and detecting topological structure
CN205377902U (en) * 2016-02-24 2016-07-06 闻鼓通信科技股份有限公司 Ethernet pressure test equipment
CN108182359A (en) * 2017-12-29 2018-06-19 中国信息通信研究院 The method, apparatus and storage medium of API safeties under a kind of test trusted context
CN109726103A (en) * 2018-05-14 2019-05-07 平安科技(深圳)有限公司 Generation method, device, equipment and the storage medium of test report
CN109783334A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 Pressure test report-generating method, device, computer equipment and storage medium
CN110221953A (en) * 2019-05-20 2019-09-10 平安普惠企业管理有限公司 Test result analysis method, apparatus, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051965A (en) * 2007-05-24 2007-10-10 中兴通讯股份有限公司 Device and method for forming topological map and detecting topological structure
CN205377902U (en) * 2016-02-24 2016-07-06 闻鼓通信科技股份有限公司 Ethernet pressure test equipment
CN108182359A (en) * 2017-12-29 2018-06-19 中国信息通信研究院 The method, apparatus and storage medium of API safeties under a kind of test trusted context
CN109726103A (en) * 2018-05-14 2019-05-07 平安科技(深圳)有限公司 Generation method, device, equipment and the storage medium of test report
CN109783334A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 Pressure test report-generating method, device, computer equipment and storage medium
CN110221953A (en) * 2019-05-20 2019-09-10 平安普惠企业管理有限公司 Test result analysis method, apparatus, server and storage medium

Also Published As

Publication number Publication date
CN111045879A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN110221982B (en) Performance test method, device and equipment of business system and readable storage medium
CN106649063B (en) Method and system for monitoring time-consuming data during program operation
CN110874324A (en) Test result data storage method and device, terminal equipment and storage medium
CN111563014A (en) Interface service performance test method, device, equipment and storage medium
CN109885496B (en) Test log management method and system
CN114546738B (en) Universal test method, system, terminal and storage medium for server
CN109495291B (en) Calling abnormity positioning method and device and server
CN112035314B (en) Memory leakage monitoring method and device and electronic equipment
CN110262955B (en) Application performance monitoring tool based on pinpoint
CN114326677A (en) Vehicle machine testing method and device
CN111367782A (en) Method and device for automatically generating regression test data
CN113238935A (en) Application testing method, system, device, medium, and computer program product
CN112988589A (en) Interface testing method, device and system
CN110943887B (en) Probe scheduling method, device, equipment and storage medium
CN112948262A (en) System test method, device, computer equipment and storage medium
CN108196992B (en) Automatic performance testing method and device
CN115292202A (en) Product test analysis method and device, electronic equipment and storage medium
CN114301904A (en) Monitoring method and device for big data cluster, monitoring system and readable storage medium
CN113868031A (en) Method, device and system for testing performance consistency of hard disk
CN113238901A (en) Multi-device automatic testing method and device, storage medium and computer device
CN112612679A (en) System running state monitoring method and device, computer equipment and storage medium
CN114676067B (en) Parameterization processing method and device for test script
CN116909903A (en) System testing method, device, equipment and storage medium
CN115080329A (en) Pressure test data monitoring method and device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant