CN111338956A - Automatic pressure measurement method, device, equipment and storage medium - Google Patents

Automatic pressure measurement method, device, equipment and storage medium Download PDF

Info

Publication number
CN111338956A
CN111338956A CN202010125598.2A CN202010125598A CN111338956A CN 111338956 A CN111338956 A CN 111338956A CN 202010125598 A CN202010125598 A CN 202010125598A CN 111338956 A CN111338956 A CN 111338956A
Authority
CN
China
Prior art keywords
pressure measurement
code
performance
pressure
index 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.)
Pending
Application number
CN202010125598.2A
Other languages
Chinese (zh)
Inventor
陈双民
王星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology 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 Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202010125598.2A priority Critical patent/CN111338956A/en
Publication of CN111338956A publication Critical patent/CN111338956A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The embodiment of the invention discloses an automatic pressure measurement method, device, equipment and storage medium. Wherein, the method comprises the following steps: when a pressure measurement instruction is detected, analyzing a pressure measurement code and a performance code in a pressure measurement object; and automatically processing the pressure measurement index data of the pressure measurement code in the operation process according to the performance code to generate a corresponding pressure measurement performance result. According to the technical scheme provided by the embodiment of the invention, the pressure measurement code and the performance code which are compiled in advance in the specified pressure measurement object are analyzed and run simultaneously, the performance code automatically processes the pressure measurement index data of the pressure measurement code in the running process to generate the corresponding pressure measurement performance result, the automatic pressure measurement of the pressure measurement object is realized, manual intervention or additional programming auxiliary program intervention is not needed, the manual time consumed by technical personnel is greatly saved, the performance analysis error caused by manual intervention or additional programming auxiliary program intervention is avoided, and the stability and the reliability of pressure measurement performance analysis are improved.

Description

Automatic pressure measurement method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of system performance testing, in particular to an automatic pressure testing method, device, equipment and storage medium.
Background
Currently, pressure testing (i.e. pressure testing) is a testing method for establishing the performance stability of a system, and is usually performed outside the normal operation range of the system to examine the functional limit and hidden danger. For example, a stress test for the running performance of a network game is a test that continuously applies "stress" to a server configured with the network game, that is, a bottleneck or an intolerable performance point of the network game application system is determined to obtain the maximum service level that can be provided by the game system.
However, the pressure measuring party at the present stage does not have a sound development capability, and when a pressure measuring program is written for pressure testing, the pressure measuring party usually needs manual intervention to collect pressure measuring data in the pressure measuring process for summary analysis of the pressure measuring performance, or additionally writes an auxiliary program to intervene collection and summary analysis of the pressure measuring data; at the moment, when manual intervention is carried out on pressure measurement data processing, a large amount of manual time needs to be consumed, and the reliability of pressure measurement performance analysis is greatly influenced; when the interference is carried out through an additional auxiliary program, the interference needs to be matched with a pressure measurement program, and the condition of low matching degree exists at the moment, so that the reliability and the stability of pressure measurement performance analysis cannot be ensured.
Disclosure of Invention
The embodiment of the invention provides an automatic pressure measurement method, device, equipment and storage medium, which realize automatic pressure measurement of a pressure measurement object and improve the stability and reliability of pressure measurement performance analysis.
In a first aspect, an embodiment of the present invention provides an automatic pressure measurement method, where the method includes:
when a pressure measurement instruction is detected, analyzing a pressure measurement code and a performance code in a pressure measurement object;
and automatically processing the pressure measurement index data of the pressure measurement code in the operation process according to the performance code to generate a corresponding pressure measurement performance result.
In a second aspect, an embodiment of the present invention provides an automatic pressure measurement apparatus, including:
the code analysis module is used for analyzing the pressure measurement codes and the performance codes in the pressure measurement object when the pressure measurement instruction is detected;
and the automatic pressure measurement module is used for automatically processing pressure measurement index data of the pressure measurement code in the operation process according to the performance code and generating a corresponding pressure measurement performance result.
In a third aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the automated pressure testing method of any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an automated pressure measurement method according to any of the embodiments of the present invention.
According to the automatic pressure measurement method, the automatic pressure measurement device, the automatic pressure measurement equipment and the automatic pressure measurement storage medium, when a pressure measurement instruction is detected, the pressure measurement code and the performance code which are pre-programmed in the specified pressure measurement object are analyzed and run simultaneously, so that the performance code automatically processes pressure measurement index data of the pressure measurement code in the running process, a corresponding pressure measurement performance result is generated, the automatic pressure measurement of the pressure measurement object is realized, manual intervention or additional programming of auxiliary program intervention is not needed, the manual time consumed by technical personnel is greatly saved, performance analysis errors caused by manual intervention or additional programming of auxiliary program intervention are avoided, and the stability and the reliability of pressure measurement performance analysis are improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1A is a flowchart of an automated pressure measurement method according to an embodiment of the present invention;
fig. 1B is a schematic diagram of an automated pressure measurement process according to an embodiment of the present invention;
fig. 2A is a flowchart of an automated pressure measurement method according to a second embodiment of the present invention;
fig. 2B is a schematic diagram illustrating a principle of automatically processing pressure measurement index data of a pressure measurement code in an operation process in the method according to the second embodiment of the present invention;
fig. 3A is a flowchart of an automated pressure measurement method according to a third embodiment of the present invention;
fig. 3B is a schematic diagram of an automated pressure measurement process according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an automated pressure measurement apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Example one
Fig. 1A is a flowchart of an automated pressure measurement method according to an embodiment of the present invention, which is applicable to a scenario of performing pressure measurement analysis on any system performance. The automated pressure measurement method provided by this embodiment may be implemented by the automated pressure measurement apparatus provided by the embodiment of the present invention, and the apparatus may be implemented by software and/or hardware and integrated in a device for implementing the method.
Specifically, referring to fig. 1A, the method may include the steps of:
and S110, when the pressure measurement command is detected, analyzing the pressure measurement code and the performance code in the pressure measurement object.
In particular, pressure testing (i.e., pressure testing) is a test method for establishing the performance stability of a system, and is usually performed outside the normal operation range of the system to examine the functional limit and hidden danger. For example, a stress test for the running performance of a network game is a test that continuously applies "stress" to a server configured with the network game, that is, a bottleneck or an intolerable performance point of the network game application system is determined to obtain the maximum service level that can be provided by the game system.
The pressure measurement instruction is generated by a pressure measurement party executing corresponding trigger operation on equipment provided with a system needing pressure test and controlling a pressure measurement program of the system to start running; the pressure measurement object can be an integral program obtained by implanting a corresponding performance analysis program into an original pressure measurement program, and at the moment, the pressure measurement object comprises a pressure measurement code and a performance code, wherein the pressure measurement code refers to the original pressure measurement program written by a developer, and the performance code refers to the performance analysis program which is implanted into the pressure measurement object in advance and can directly read, write, analyze and gather operation data generated by the pressure measurement code in the operation process; at this time, in order to ensure that the performance code can automatically read the running data generated by the pressure measurement code in the running process, the performance code in this embodiment may be written based on an open source code library that supports reading and writing of a target format file, for example, a developer may write the performance code by using an Apache POI open source code library, and at this time, the Apache POI open source code library may provide a corresponding Application Programming Interface (API) to a corresponding program, and has a function of reading and writing a Microsoft Office format file.
It should be noted that, the device for executing the automated pressure testing method according to the present embodiment may be any terminal, server, and the like where a system with a pressure testing requirement exists, and this is not limited thereto.
Optionally, when a pressure measuring party performs a pressure test on a certain pressure measuring object, the pressure measuring party may first perform a corresponding pressure measuring trigger operation on the device where the pressure measuring object is located, for example, the pressure measuring party clicks a pressure measuring button and the like correspondingly configured on the device, and then generates a corresponding pressure measuring instruction; at this moment, as shown in fig. 1B, the device detects the pressure measurement instruction, determines the current pressure measurement object by analyzing the pressure measurement identifier carried in the pressure measurement instruction and used for performing pressure measurement in this time, and further analyzes the pressure measurement code and the performance code included in the pressure measurement object, so that the pressure measurement index data generated in the operation process of the pressure measurement code can be directly read for processing according to the performance code, and thus, the automatic test of the pressure measurement object is realized.
Further, as shown in fig. 1B, in order to implement an automatic test of a pressure test object, a pressure test code and a performance code must be present in the pressure test object, so as to be able to automatically read pressure test data generated by the pressure test code in the operation process, therefore, before detecting a pressure test instruction, this embodiment may further include: and uniformly packaging the pressure test codes and the performance codes written in the development stage into a pressure test object in advance.
Specifically, in the development stage, a developer writes corresponding pressure measurement codes for each system with pressure measurement requirements, and at this time, in order to automatically read pressure measurement data generated by the pressure measurement codes in the operation process, the developer also writes corresponding performance codes by using an open source code library capable of supporting reading and writing of a target format file, for example, the performance codes are written by using an apache poi open source code library to automatically read pressure measurement data generated by the pressure measurement codes in the operation process. Therefore, after the pressure measurement code and the performance code written by the developer are obtained, the pressure measurement code and the performance code can be analyzed in a unified manner, so that the pressure measurement code and the performance code are packaged into the corresponding pressure measurement object in a unified manner, and the pressure measurement data generated in the midway can be automatically read when a pressure measurement instruction is detected in the following process.
And S120, automatically processing the pressure measurement index data of the pressure measurement code in the operation process according to the performance code, and generating a corresponding pressure measurement performance result.
Optionally, when analyzing the pressure measurement code and the performance code in the pressure measurement object, the pressure measurement code and the performance code may be run simultaneously, at this time, the pressure measurement code may generate corresponding pressure measurement data in the running process, and at the same time, the performance code may read the pressure measurement data generated by the pressure measurement code in the running process in real time in the running process, and automatically analyze the pressure measurement index data capable of marking the pressure measurement performance condition in the pressure measurement data for summary processing, so as to generate a corresponding pressure measurement performance result, at this time, the pressure measurement performance result may be a table file generated after analyzing and summarizing the pressure measurement index data in the running process of the pressure measurement code, and a tester may visually determine the corresponding pressure measurement performance by looking up the table file, thereby implementing an automated pressure test, avoiding performance analysis errors caused by manual intervention or additional programming of an auxiliary program, the stability and reliability of pressure measurement performance analysis are improved.
According to the technical scheme, when a pressure measurement instruction is detected, a pressure measurement code and a performance code which are written in advance in the appointed pressure measurement object are analyzed and run simultaneously, so that pressure measurement index data of the pressure measurement code in the running process are automatically processed by the performance code, a corresponding pressure measurement performance result is generated, automatic pressure measurement of the pressure measurement object is achieved, manual intervention or additional programming auxiliary program intervention is not needed, manual time consumed by technicians is greatly saved, performance analysis errors caused by manual intervention or additional programming auxiliary program intervention are avoided, and stability and reliability of pressure measurement performance analysis are improved.
Example two
Fig. 2A is a flowchart of an automated pressure measurement method according to a second embodiment of the present invention, and fig. 2B is a schematic diagram of a principle of automatically processing pressure measurement index data of a pressure measurement code in an operation process according to the second embodiment of the present invention. The embodiment is optimized on the basis of the embodiment. Specifically, as shown in fig. 2A, the present embodiment explains in detail a process of automatically processing pressure measurement index data of a pressure measurement code in an operation process according to a performance code.
Optionally, as shown in fig. 2A, the present embodiment may include the following steps:
s210, when the pressure measurement command is detected, the pressure measurement code and the performance code in the pressure measurement object are analyzed.
And S220, extracting corresponding pressure measurement index data in real time in the running process of the pressure measurement code according to the index collection code in the performance code.
Optionally, because the pressure measurement code may generate corresponding operation data in the operation process, and when analyzing the pressure measurement performance, it is first required to extract corresponding pressure measurement index data from the pressure measurement data for analysis and summary, in order to ensure the analysis accuracy of the pressure measurement index data, when a developer writes the performance code in the development stage, an open source code library capable of supporting reading and writing of a target format file is used to write corresponding index collection codes and performance summary codes, for example, an Apache POI open source code library is used to write index collection codes and performance summary codes in the performance code; as shown in fig. 2B, after obtaining the performance code in the pressure measurement object, the present embodiment may analyze the index collection code in the performance code, and operate the index collection code simultaneously in the operation process of the pressure measurement code, so that the pressure measurement index data capable of indicating the pressure measurement performance is extracted from each item of operation data generated by the index operation code in the operation process of the pressure measurement code in real time, so as to analyze and summarize the pressure measurement index data in the following process.
And S230, automatically analyzing and summarizing the pressure measurement index data according to the performance summarizing codes in the performance codes to generate corresponding pressure measurement performance results.
Optionally, after obtaining the performance code in the pressure measurement object, the embodiment also analyzes the performance summary code in the performance code, and then after extracting the pressure measurement index data generated by the pressure measurement code in the operation process, by operating the performance summary code, automatically analyzes and summarizes each item of pressure measurement index data extracted in the operation process of the pressure measurement code, thereby obtaining a summary table corresponding to the indicated pressure measurement performance, that is, the pressure measurement performance result in the embodiment.
According to the technical scheme provided by the embodiment, when a pressure measurement instruction is detected, a pressure measurement code and a performance code which are written in advance in a specified pressure measurement object are analyzed and run at the same time, at the moment, the pressure measurement index data of the pressure measurement code in the running process are extracted in real time by an index collection code in the performance code, and the performance summary code in the performance code analyzes and summarizes all the pressure measurement index data to generate a corresponding pressure measurement performance result, so that automatic pressure measurement of the pressure measurement object is realized, manual intervention or additional programming auxiliary program intervention is not needed, the manual time consumed by technical personnel is greatly saved, performance analysis errors caused by manual intervention or additional programming auxiliary program intervention are avoided, and the stability and reliability of pressure measurement performance analysis are improved.
EXAMPLE III
Fig. 3A is a flowchart of an automated pressure measurement method according to a third embodiment of the present invention, and fig. 3B is a schematic diagram of a principle of an automated pressure measurement process according to a third embodiment of the present invention. The embodiment is optimized on the basis of the embodiment. Specifically, the present embodiment explains in detail other processes still existing in the automated pressure measurement process.
Optionally, as shown in fig. 3A, the present embodiment may include the following steps:
and S310, when the pressure measurement command is detected, analyzing the pressure measurement code and the performance code in the pressure measurement object.
And S320, operating the pressure measurement code according to the pressure measurement instruction, and recording corresponding pressure measurement operation data in an operation log of the pressure measurement code.
Wherein the pressure measurement operation data comprises pressure measurement index data.
Specifically, after analyzing the pressure measurement code and the performance code in the pressure measurement object, the pressure measurement code is directly operated according to the pressure measurement instruction, so that the pressure measurement code generates a large amount of pressure measurement operation data in real time in the operation process, as shown in fig. 3B, and the generated pressure measurement operation data is recorded in the operation log of the pressure measurement code in real time, so that the subsequent performance code is read in the operation process, and analyzed and summarized.
And S330, processing the pressure measurement index data in the running log in real time in the running process of the pressure measurement code according to the performance code, and generating a corresponding pressure measurement performance result.
Optionally, after the pressure measurement running data generated by the pressure measurement code in the running process in real time is recorded in the running log of the pressure measurement code, the pressure measurement index data cached in the running log can be read in real time through the running performance code, and the pressure measurement index data is analyzed and summarized, so that a corresponding summary table is generated, namely a pressure measurement performance result in the embodiment, a tester can visually determine corresponding pressure measurement performance by looking up the summary table, thereby realizing automatic pressure test, avoiding performance analysis errors caused by manual intervention or additional programming of auxiliary programs, and improving the stability and reliability of pressure measurement performance analysis.
For example, in this embodiment, the running log of the pressure measurement code may be extracted by running the index collection code in the performance code, and various pieces of pressure measurement index data cached in the running log are read, so that the pressure measurement index data is automatically analyzed and summarized by running the performance summary code in the performance code, and a corresponding pressure measurement performance result is generated.
According to the technical scheme, when a pressure measurement instruction is detected, a pressure measurement code and a performance code which are written in advance in the appointed pressure measurement object are analyzed and run simultaneously, so that pressure measurement index data of the pressure measurement code in the running process are automatically processed by the performance code, a corresponding pressure measurement performance result is generated, automatic pressure measurement of the pressure measurement object is achieved, manual intervention or additional programming auxiliary program intervention is not needed, manual time consumed by technicians is greatly saved, performance analysis errors caused by manual intervention or additional programming auxiliary program intervention are avoided, and stability and reliability of pressure measurement performance analysis are improved.
Example four
Fig. 4 is a schematic structural diagram of an automated pressure measurement apparatus according to a fourth embodiment of the present invention, specifically, as shown in fig. 4, the apparatus may include:
the code analysis module 410 is used for analyzing the pressure measurement code and the performance code in the pressure measurement object when the pressure measurement instruction is detected;
and the automatic pressure measurement module 420 is configured to automatically process pressure measurement index data of the pressure measurement code in the operation process according to the performance code, and generate a corresponding pressure measurement performance result.
According to the technical scheme, when a pressure measurement instruction is detected, a pressure measurement code and a performance code which are written in advance in the appointed pressure measurement object are analyzed and run simultaneously, so that pressure measurement index data of the pressure measurement code in the running process are automatically processed by the performance code, a corresponding pressure measurement performance result is generated, automatic pressure measurement of the pressure measurement object is achieved, manual intervention or additional programming auxiliary program intervention is not needed, manual time consumed by technicians is greatly saved, performance analysis errors caused by manual intervention or additional programming auxiliary program intervention are avoided, and stability and reliability of pressure measurement performance analysis are improved.
Further, the automatic pressure measurement module 420 may be specifically configured to:
collecting corresponding pressure measurement index data of the code in real time in the running process of the pressure measurement code according to indexes in the performance code;
and automatically analyzing and summarizing the pressure measurement index data according to the performance summarizing codes in the performance codes to generate corresponding pressure measurement performance results.
Further, the automatic pressure measuring device may further include:
and the code running module is used for running the pressure measurement codes according to the pressure measurement instruction.
Further, the automatic pressure measuring device may further include:
and the data recording module is used for recording corresponding pressure measurement operation data in the operation log of the pressure measurement code, wherein the pressure measurement operation data comprises pressure measurement index data.
Further, the automatic pressure measurement module 420 may be specifically configured to:
and processing the pressure measurement index data in the running log in real time in the running process of the pressure measurement code according to the performance code.
Furthermore, the performance code is compiled based on an open source code library which supports reading and writing of the target format file.
Further, the automatic pressure measuring device may further include:
and the code packaging module is used for uniformly packaging the pressure testing code and the performance code written in the development stage into the pressure testing object in advance.
The automatic pressure measurement device provided by the embodiment can be applied to the automatic pressure measurement method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention, as shown in fig. 5, the apparatus includes a processor 50, a storage device 51, and a communication device 52; the number of processors 50 in the device may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50, the storage means 51 and the communication means 52 in the device may be connected by a bus or other means, which is exemplified in fig. 5.
The storage device 51 is a computer readable storage medium, and can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the automated pressure measurement method according to any embodiment of the present invention. The processor 50 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the storage device 51, that is, the automated pressure measurement method described above is realized.
The storage device 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 51 may further include memory located remotely from the processor 50, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication means 52 may be used to enable a network connection or a mobile data connection between the devices.
The device provided by the embodiment can be used for executing the automatic pressure measurement method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE six
A sixth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the automated pressure measurement method in any of the above embodiments. The method specifically comprises the following steps:
when a pressure measurement instruction is detected, analyzing a pressure measurement code and a performance code in a pressure measurement object;
and automatically processing the pressure measurement index data of the pressure measurement code in the operation process according to the performance code to generate a corresponding pressure measurement performance result.
Of course, the storage medium provided by the embodiments of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the automated pressure measurement method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the automatic pressure measurement apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
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.

Claims (10)

1. An automated pressure measurement method, comprising:
when a pressure measurement instruction is detected, analyzing a pressure measurement code and a performance code in a pressure measurement object;
and automatically processing the pressure measurement index data of the pressure measurement code in the operation process according to the performance code to generate a corresponding pressure measurement performance result.
2. The method of claim 1, wherein automatically processing pressure measurement index data of the pressure measurement code during operation according to the performance code to generate a corresponding pressure measurement performance result comprises:
extracting corresponding pressure measurement index data in real time in the running process of the pressure measurement code according to index collection codes in the performance codes;
and automatically analyzing and summarizing the pressure measurement index data according to the performance summarizing codes in the performance codes to generate corresponding pressure measurement performance results.
3. The method of claim 1, after parsing the pressure code and the performance code in the pressure object, further comprising:
and operating the pressure measurement code according to the pressure measurement instruction.
4. The method of claim 3, wherein when executing the pressure measurement code according to the pressure measurement instruction, further comprising:
and recording corresponding pressure measurement operation data in the operation log of the pressure measurement code, wherein the pressure measurement operation data comprises pressure measurement index data.
5. The method of claim 4, wherein automatically processing the pressure measurement indicator data of the pressure measurement code during operation according to the performance code comprises:
and processing the pressure measurement index data in the running log in real time in the running process of the pressure measurement code according to the performance code.
6. The method according to any one of claims 1 to 5, wherein the performance code is written based on an open source code library that supports reading and writing of object format files.
7. The method of any of claims 1-5, further comprising, prior to detecting a pressure command:
and uniformly packaging the pressure test codes and the performance codes written in the development stage into the pressure test object in advance.
8. An automated pressure measurement device, comprising:
the code analysis module is used for analyzing the pressure measurement codes and the performance codes in the pressure measurement object when the pressure measurement instruction is detected;
and the automatic pressure measurement module is used for automatically processing pressure measurement index data of the pressure measurement code in the operation process according to the performance code and generating a corresponding pressure measurement performance result.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the automated pressure testing method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out an automated pressure measurement method according to any one of claims 1 to 7.
CN202010125598.2A 2020-02-27 2020-02-27 Automatic pressure measurement method, device, equipment and storage medium Pending CN111338956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010125598.2A CN111338956A (en) 2020-02-27 2020-02-27 Automatic pressure measurement method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010125598.2A CN111338956A (en) 2020-02-27 2020-02-27 Automatic pressure measurement method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111338956A true CN111338956A (en) 2020-06-26

Family

ID=71181997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010125598.2A Pending CN111338956A (en) 2020-02-27 2020-02-27 Automatic pressure measurement method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111338956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699032A (en) * 2020-12-29 2021-04-23 北京同有飞骥科技股份有限公司 Method for analyzing performance test result of vdbench based on Excel

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491891A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Full-automatic interface pressure surveys method, apparatus, computer equipment and storage medium
CN110008133A (en) * 2019-04-16 2019-07-12 珠海金山网络游戏科技有限公司 Automatization test system, calculates equipment and storage medium at method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491891A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Full-automatic interface pressure surveys method, apparatus, computer equipment and storage medium
CN110008133A (en) * 2019-04-16 2019-07-12 珠海金山网络游戏科技有限公司 Automatization test system, calculates equipment and storage medium at method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699032A (en) * 2020-12-29 2021-04-23 北京同有飞骥科技股份有限公司 Method for analyzing performance test result of vdbench based on Excel
CN112699032B (en) * 2020-12-29 2023-10-03 北京同有飞骥科技股份有限公司 Method for realizing vddbench performance test result analysis based on Excel

Similar Documents

Publication Publication Date Title
CN109710508B (en) Test method, test device, test apparatus, and computer-readable storage medium
CN110764945B (en) Crash log processing method, device, equipment and storage medium
CN107506300B (en) User interface testing method, device, server and storage medium
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN108459954B (en) Application program vulnerability detection method and device
KR101979329B1 (en) Method and apparatus for tracking security vulnerable input data of executable binaries thereof
CN113114680B (en) Detection method and detection device for file uploading vulnerability
CN111158741A (en) Method and device for monitoring change of dependency relationship of business module on third-party class library
CN105022694A (en) Test case generation method and system for mobile terminal test
CN112035314B (en) Memory leakage monitoring method and device and electronic equipment
CN111552475B (en) Method, method and system for compiling work load test file for aging test of semiconductor memory
CN111124870A (en) Interface testing method and device
CN111338956A (en) Automatic pressure measurement method, device, equipment and storage medium
CN112084108A (en) Test script generation method and device and related components
CN112114987B (en) Abnormality detection method and device for operation environment, intelligent terminal and storage medium
CN113037521B (en) Method for identifying state of communication equipment, communication system and storage medium
CN115016968A (en) Exception handling method, device, equipment and medium
US9940068B2 (en) Device and method for determining memory leaks
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
CN113760696A (en) Program problem positioning method and device, electronic equipment and storage medium
CN111880078A (en) Method and equipment for automated instruction testing
JP2021096685A (en) Test execution program, test execution method, and test execution device
CN112035373B (en) Method, device, server and medium for testing basic test script
CN117742897B (en) Method for realizing automatic repair of vulnerability based on container mirror image
CN111309311B (en) Vulnerability detection tool generation method, device, equipment 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