CN111045879A - Pressure test report generation method and device and storage medium - Google Patents

Pressure test report generation method and device and storage medium Download PDF

Info

Publication number
CN111045879A
CN111045879A CN201911291500.4A CN201911291500A CN111045879A CN 111045879 A CN111045879 A CN 111045879A CN 201911291500 A CN201911291500 A CN 201911291500A CN 111045879 A CN111045879 A CN 111045879A
Authority
CN
China
Prior art keywords
data
target
category
preset
generating
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.)
Granted
Application number
CN201911291500.4A
Other languages
Chinese (zh)
Other versions
CN111045879B (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

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
    • 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

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 obtained after pressure test is carried out 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category; and generating a test report according to the data summarizing result 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

Pressure test report generation method and device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a computer-readable storage medium for generating a stress test report.
Background
At present, after a system such as a server is subjected to a pressure test, a result document of the test is obtained through summarization and analysis according to index data of the pressure test. This process usually requires manual calculation of the data results, comparison and analysis to form a report. This makes the generation of the stress test result report inefficient.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method for generating a stress test report, a device for generating the stress test report and a computer readable storage medium, which improve the generation efficiency of the stress test report.
In order to achieve the above object, the present invention provides a method for generating a stress test report, including the following steps:
providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are obtained after pressure test is carried out 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category;
and generating a test report according to the data summarizing result of all the preset categories.
Optionally, after the step of performing data division on the target sub-data in the target data according to preset categories and performing data summarization on the target sub-data divided into each preset category with the target data as a unit, the method further includes:
performing data analysis on the target subdata under the preset category according to a preset threshold corresponding to a sub-category of the preset category, wherein the sub-category and the target subdata have a corresponding relation;
and acquiring the target subdata 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 value corresponding to a sub-category of the preset category set on the basis of the setting interface, and taking the threshold value as the preset threshold value 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 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 performing data division on the target sub-data in the target data according to preset categories and performing data summarization on the target sub-data divided into each preset category with the target data as a unit, the method further includes:
and generating a performance analysis chart of the preset category according to the data summarizing 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 further provides a device for generating a stress test report, including:
the device for generating the stress test report comprises a memory, a processor and a stress test report generating program which is stored on the memory and can run on the processor, wherein when the stress test report generating program is executed by the processor, the steps of the stress test report generating method are realized.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, on which a program for generating a stress test report is stored, and when the program for generating a stress test report is executed by a processor, the steps of the method for generating a stress test report described above are implemented.
The method for generating the pressure test report, the device for generating the pressure test report and the computer readable storage medium provided by the invention provide a selection interface of a plurality of groups of pressure test data, wherein the pressure test data is obtained after pressure test is carried out 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category; and generating a test report according to the data summarizing result of all the preset categories. In this way, the efficiency of generating the test report of the stress test is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for generating a stress test report according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for generating a stress test report according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for generating a stress test report according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a method for generating a pressure test report, which improves the generation efficiency of the pressure test report.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a pressure test report generation device, the pressure test report generation device can be embodied as a computer, and the terminal can also be a system comprising the pressure test report generation device.
As shown in fig. 1, the terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a memory 1002, and a communication bus 1003. The communication bus 1003 is used for implementing connection communication between the components in the terminal. The memory 1002 may be a random-access memory (RAM) or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting of the terminal of embodiments of the present invention and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a program for generating a stress test report may be included in the memory 1002, which is a kind of computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a program for generating a stress 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 obtained after pressure test is carried out 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category;
and generating a test report according to the data summarizing result of all the preset categories.
Further, the processor 1001 may call the program for generating a stress test report stored in the memory 1002, and further perform the following operations:
performing data analysis on the target subdata under the preset category according to a preset threshold corresponding to a sub-category of the preset category, wherein the sub-category and the target subdata have a corresponding relation;
and acquiring the target subdata exceeding the preset threshold value to generate a data analysis result.
Further, the processor 1001 may call the program for generating a stress 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 value corresponding to a sub-category of the preset category set on the basis of the setting interface, and taking the threshold value as the preset threshold value corresponding to the sub-category.
Further, the processor 1001 may call the program for generating a stress test report stored in the memory 1002, and further perform the following operations:
acquiring the number of 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 program for generating a stress 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 summarizing result of the preset category.
Further, the processor 1001 may call the program for generating a stress 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 stress test report includes:
and step S10, providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are obtained after pressure test is carried out on the server, and the selection interface displays the thread number corresponding to the pressure test data.
In this embodiment, the terminal in this embodiment may be a device for generating a stress test report, the device for generating a stress test report may be specifically a computer, and the terminal may also be a system including the device for generating a stress test report. The following description will be given taking an example in which the terminal of the embodiment is a device for generating a stress test report.
Alternatively, the stress test refers to simulating a plurality of concurrent threads (simulating a plurality of users) to access the server at the same time, so as to obtain the running data of the server under the concurrent access of the plurality of threads, namely the stress test data.
Optionally, a plurality of groups of test scenarios are generated in advance, each group of test scenarios is provided with a corresponding test thread number as a test parameter, and then the server is subjected to pressure test according to each group of test scenarios. In the process of testing the server according to each group of test scenes, the test starting time and the test ending time corresponding to each group of test scenes are respectively recorded, and various types of operation data of the server under the test of the current test scene are obtained and used as pressure test data.
The number of threads refers to the number of analog access threads.
Therefore, the server is subjected to pressure tests for multiple times respectively 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 the 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 time period. It should be noted that the preset time period may be set by an engineer according to actual needs, and this embodiment is not limited.
Optionally, the selection interface further displays the number of threads 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 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 group of pressure test data targeted by the selection instruction is acquired as the target data.
Optionally, the selection interface is provided with a check box for pressure test data, and when a click operation of the check box by a user is detected, it is determined that a selection instruction is detected, and pressure test data corresponding to the check box clicked by the click operation is acquired as target data.
Optionally, in the selection interface, the user needs to select at least two sets of pressure test data, that is, each test report generated finally includes at least two sets of target data.
Optionally, 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 the terminal detects that the user inputs name information based on a 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 data input exists in the name information input box corresponding to the target data, the default test scene name of the target data is continuously adopted as the group name.
Step S30, performing data partitioning on target sub-data in the target data according to preset categories, and performing data summarization on the target sub-data partitioned into each preset category by using the target data as a unit, where the preset categories include a service index category, a JVM index category, and a server index category.
And step S40, generating a test report according to the data summarizing result of all the preset categories.
Optionally, the terminal is preset with preset categories for measuring data categories of the pressure test data, where the preset categories include a service index category, a JVM index category, and a server index category.
Optionally, the service index is used to measure a service processing capability of the server, and is mainly embodied as a capability of responding to the access request, and sub-categories under the category of the service index include: the tag of the initiated request (Label), sample number (# Samples), average response time (Avg Resp), minimum response time (Min Resp), maximum response time (MaxResp), standard deviation value (standardDeviation), error reporting rate (error%), parallel thread number, etc. are tested.
Alternatively, a JVM (Java Virtual Machine) is a specification for a computing device, and the JVM is an imaginary computer implemented by simulating various computer functions on an actual computer. The JVM index can be used for measuring the storage capacity of the server, and the sub-category under the JVM index category comprises: the server IP and port information tested by the test scenario, the maximum stack value, the submitted non-stack value, the number of daemon threads, the thread peak value, the total number of start threads, the total number of loaded classes (Class), the total number of unloaded classes, the total number of Young GC, the average time of Young GC, etc.
It should be noted that a class is a basis for implementing information encapsulation by Object-Oriented Programming (OOP), and is a user-defined reference data type, also called a class type. Each class contains a description of the data and a set of functions that operate on the data or pass messages. Instances of classes are called objects (objects); the Young GC total number is the total number of garbage collection of a Java new Generation (Young Generation) 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 the data processing capacity of the server, and the sub-categories under the category of server metrics include: the server IP address, the CPU Load value (CPU Load), the CPU idle rate (CPU UDLE), the CPU usage rate (CPU User), the CPU System occupancy rate (CPU System), the Total Memory (Memory Total), the Used Memory (Memory Used), the Free Memory (Memory Free), the cache Memory (Memory Cached) and the like tested by the test scene.
Optionally, after the terminal identifies each target subdata in the target data, data division (i.e., data classification) is performed on the target subdata in the target data according to the sub-category in each preset category, and a corresponding relationship is established between the target subdata 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 starting thread 543, and the target sub-data c is the total memory 189.1 GB; in the target data B, the target sub-data x is the standard deviation value 1.3246, the target sub-data y is the total number of threads started 550, and the target sub-data z is the total memory 189.1 GB. Then, the terminal can divide the target subdata a and the target subdata x into subcategories corresponding to the standard deviation values under the service index categories; dividing the target subdata b and the target subdata y into subclasses corresponding to the total number of the starting threads under the JVM index class; and dividing the target subdata c and the target subdata z into subcategories corresponding to the total memory under the server index category.
Optionally, after the terminal finishes data division of all the target subdata under each target data, the terminal summarizes the data divided under each preset category respectively to generate a data summarizing result corresponding to each preset category. When the data summarization result is generated, the target subdata 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 check 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, automatic classification of the target data is realized, and the user can conveniently check the test report by outputting all groups of target data in the same preset category in parallel.
Further, after the terminal obtains the data summarization result corresponding to each preset category, a performance analysis chart of the preset category is generated. The performance analysis chart can be in the form of a line chart or a bar chart. Specifically, the terminal generates a performance analysis chart corresponding to a sub-category in order to obtain target sub-data corresponding to the sub-category in a preset category. Therefore, when the terminal outputs the generated performance analysis chart and the test report at the same time, a user can conveniently and intuitively check the data of the test report.
In one embodiment, a selection interface of a plurality of groups of pressure test data is provided, wherein the pressure test data is obtained after a 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category; and generating a test report according to the data summarizing result of all the preset categories. Therefore, the generation efficiency of the test report of the pressure test is improved by automatically generating the test report.
In a second embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, after the step of performing data division on target sub-data in the target data according to preset categories and performing data summarization on the target sub-data divided into each preset category by using the target data as a unit, the method further includes:
step S50, performing data analysis on the target subdata under the preset category according to a preset threshold corresponding to a sub-category of the preset category, wherein the sub-category and the target subdata have a corresponding relationship.
And step S51, obtaining the target subdata exceeding the preset threshold value to generate a data analysis result.
In this embodiment, after the terminal obtains the target data, after identifying each target subdata under each group of target data, data division (i.e., data classification) is performed on the target subdata in the target data according to the sub-category under each preset category, and a corresponding relationship is established between the target subdata divided under each sub-category and the sub-category.
Optionally, a corresponding preset threshold is preset in each sub-category in the preset category, for example, when a preset threshold corresponding to the total number of Young GCs in the JVM index category is set, the maximum value is set to 30.
Optionally, the terminal compares each target subdata with a preset threshold of the corresponding sub-category, acquires the target subdata exceeding the corresponding preset threshold, and generates a data analysis result according to the acquired target subdata. For example, the total number of times of the Young GC per minute of the target sub-data d in the target data a is 41, and when the maximum preset threshold of the total number of times of the Young GC per minute is 30, the terminal acquires the target sub-data d to generate a data analysis result.
Further, the terminal outputs the data analysis result and the test report at the same time. 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 acquires the target data through the selection interface, a setting interface of the preset threshold may be further displayed, and in the setting interface, the user may set the preset threshold corresponding to the sub-category in each preset category by himself.
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, a sub-category under the preset category can be further selected, and then a preset threshold corresponding to the currently selected sub-category is input through a threshold input frame, namely, data input by the threshold input frame are acquired by the terminal and serve as the preset threshold corresponding to the sub-category.
Therefore, the user can conveniently set the preset threshold corresponding to various target subdata.
In a third embodiment, as shown in fig. 4, on the basis of the above embodiments of fig. 2 to 3, after the step of acquiring the pressure test data selected based on the selection interface as target data, the method further includes:
and step S60, acquiring the number of the test presses.
And S61, generating a test scene topological graph according to the number of the test presses, the number of the threads corresponding to the target data and the server tested by the target data.
In this embodiment, after the terminal acquires the target data through the selection interface, the server to which the target data is tested is acquired as the target server, that is, the target data is obtained by testing the target server according to the corresponding test scenario.
Optionally, the terminal obtains the number of test presses used in the pressure test of 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 acquires the target data through the selection interface, the terminal may further display a topological graph setting interface, and provide a target server selection box in the topological graph 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 box to generate a test scene topological graph.
Therefore, the test scene topological graph can be automatically generated, so that the time of testers is saved, and the test efficiency is improved.
In addition, the present invention further provides a device for generating a stress test report, where the device for generating a stress test report includes a memory, a processor, and a program for generating a stress test report that is stored in the memory and is executable on the processor, and the processor implements the steps of the method for generating a stress test report according to the above embodiment when executing the program for generating a stress test report.
Furthermore, the present invention also provides a computer-readable storage medium, which includes a program for generating a stress test report, and when the program for generating a stress test report is executed by a processor, the steps of the method for generating a stress test report according to the above embodiment are implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by 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 in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for generating a stress test report is characterized by comprising the following steps:
providing a selection interface of a plurality of groups of pressure test data, wherein the pressure test data are obtained after pressure test is carried out 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 target subdata in the target data into data according to preset categories, and summarizing the data of the target subdata divided into each preset category by taking the target data as a unit, wherein the preset categories comprise a service index category, a JVM index category and a server index category;
and generating a test report according to the data summarizing result of all the preset categories.
2. The method for generating a stress test report according to claim 1, wherein after the step of dividing target sub-data in the target data according to preset categories and summarizing the target sub-data divided into each preset category by using the target data as a unit, the method further comprises:
performing data analysis on the target subdata under the preset category according to a preset threshold corresponding to a sub-category of the preset category, wherein the sub-category and the target subdata have a corresponding relation;
and acquiring the target subdata exceeding the preset threshold value to generate a data analysis result.
3. The method of generating a stress test report according to claim 2, wherein said step of obtaining said stress test data selected based on said selection interface as target data further comprises:
providing a setting interface of the preset threshold;
and acquiring a threshold value corresponding to a sub-category of the preset category set on the basis of the setting interface, and taking the threshold value as the preset threshold value corresponding to the sub-category.
4. The method for generating a stress test report according to any one of claims 1 to 3, wherein the step of obtaining the stress test data selected based on the selection interface as target data further comprises:
acquiring the number of 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.
5. The method for generating a stress test report according to any one of claims 1-3, wherein after the step of performing data division on the target sub-data in the target data according to preset categories and performing data summarization on the target sub-data divided into each preset category by using the target data as a unit, the method further comprises:
and generating a performance analysis chart of the preset category according to the data summarizing result of the preset category.
6. The method of generating a stress test report according to claim 1, wherein said step of obtaining said stress test data selected based on said selection interface as target data further comprises:
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 based on the name setting interface.
7. A stress test report generation apparatus, comprising a memory, a processor and a stress test report generation program stored in the memory and executable on the processor, wherein the stress test report generation program, when executed by the processor, implements the steps of the stress test report generation method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for generating a stress test report, which when executed by a processor implements the steps of the method for generating a stress test report according to any one of claims 1 to 6.
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 true CN111045879A (en) 2020-04-21
CN111045879B 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)

Cited By (3)

* 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
CN113238934A (en) * 2021-04-30 2021-08-10 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for automatically judging data acquisition result of test system

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

Cited By (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
CN113238934A (en) * 2021-04-30 2021-08-10 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for automatically judging data acquisition result of test system
CN113238934B (en) * 2021-04-30 2024-04-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for automatically judging data acquisition result of test system

Also Published As

Publication number Publication date
CN111045879B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN111045952B (en) Software testing method, flow playback device, terminal equipment and readable storage medium
CN110175110B (en) Pressure testing method, device, system, equipment and computer readable storage medium
CN106502876B (en) Method for determining hotspot function and related equipment
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN109633351B (en) Intelligent IT operation and maintenance fault positioning method, device, equipment and readable storage medium
CN108763089B (en) Test method, device and system
CN109885496B (en) Test log management method and system
CN114546738B (en) Universal test method, system, terminal and storage medium for server
CN110647471A (en) Interface test case generation method, electronic device and storage medium
CN111104324A (en) Test case generation method, test case generation device and computer-readable storage medium
CN113434396A (en) Interface test method, device, equipment, storage medium and program product
CN112148607A (en) Interface testing method and device for service scene
CN109240916B (en) Information output control method, information output control device and computer readable storage medium
CN114661551A (en) Method and device for monitoring software running state and computer readable storage medium
CN113238935A (en) Application testing method, system, device, medium, and computer program product
CN112948262A (en) System test method, device, computer equipment and storage medium
CN111026669A (en) Test log management method, test log management device, and storage medium
CN111756594B (en) Control method of pressure test, computer device and computer readable storage medium
CN111090589A (en) Software testing method, software testing device and readable storage medium
CN112214532A (en) Service data auditing method and related device
CN114301904A (en) Monitoring method and device for big data cluster, monitoring system and readable storage medium
CN111078518A (en) Data acquisition method, terminal device and computer-readable storage medium
CN114741325B (en) Recording method and device of test script for application system test
CN114860549B (en) Buried data verification method, buried data verification device, buried data verification equipment and storage medium
CN113934644B (en) Version difference comparison method and device, intelligent terminal and readable 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