CN114297085A - Full-automatic pressure measurement system, electronic equipment and storage medium - Google Patents

Full-automatic pressure measurement system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114297085A
CN114297085A CN202210000127.8A CN202210000127A CN114297085A CN 114297085 A CN114297085 A CN 114297085A CN 202210000127 A CN202210000127 A CN 202210000127A CN 114297085 A CN114297085 A CN 114297085A
Authority
CN
China
Prior art keywords
pressure measurement
module
data
fully automatic
scheduling
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
CN202210000127.8A
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.)
Beijing Zhidemai Technology Co ltd
Original Assignee
Beijing Zhidemai 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 Beijing Zhidemai Technology Co ltd filed Critical Beijing Zhidemai Technology Co ltd
Priority to CN202210000127.8A priority Critical patent/CN114297085A/en
Publication of CN114297085A publication Critical patent/CN114297085A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Fluid Pressure (AREA)

Abstract

The invention provides a full-automatic pressure measurement system, electronic equipment and a storage medium, wherein the system comprises: configuring a pressure measurement task type on a front-end page, and configuring parameters of a pressure measurement task according to the measurement task type; the back-end architecture undertakes database connection, API encapsulation and back-end service logic; the data storage module stores communication data among the front-end page, the rear-end framework and the pressure measurement module; the scheduling and communication module is responsible for data communication among the front-end page, the rear-end framework and the pressure measurement module; the pressure measurement module executes pressure measurement and collects pressure measurement data, and the pressure measurement data is transmitted to the back-end framework from the pressure measurement module through the scheduling and communication module calling API. According to the scheme provided by the invention, the problem of repeated labor of manual deployment is solved by automatic deployment; the full-automatic pressure measurement is combined with timing execution, so that unattended full-automatic pressure measurement is realized; the preset value is combined with the timing execution, so that the automatic execution under the fixed pressure measurement scene is realized; the combination of sequential pressure measurement and timing execution realizes the problem of multi-task automatic execution.

Description

Full-automatic pressure measurement system, electronic equipment and storage medium
Technical Field
The invention belongs to the field of internet, and particularly relates to a full-automatic pressure measurement system, electronic equipment and a storage medium.
Background
The pressure tests in the industry are generally ab, LoadRunner, Jmeter and locust, wherein ab is not suitable for complex scenes, LoadRunner pays high fee, both the Jmeter and the locust belong to open source free, have comprehensive and continuous updating functions, the Jmeter is realized by java language, the locut is realized by python language, java is efficient and safe and can not decay, and python is widely used due to simplicity and easiness in learning, so the Jmeter and the locut are two pressure testing tools with the highest utilization rate in the industry, and the locut is selected as the pressure testing tool to be developed secondarily based on the background.
Prior Art
In the djongo application program framework, a python development language is used for writing logic codes, packaging interfaces and constructing a communication protocol, mysql is used for data management and construction, html is used as a basic framework, vue is used as an interactive core, javascript is used as a logic basis to construct a dynamic page, and finally a complete project with separated front and back ends and independent deployment is formed.
The method comprises the steps of a locust pressure measuring tool, a python development language, an html front-end static coding language, an vue front-end response type programming framework, a javascript front-end script language, djongo based framework technology and mysql database management.
Disadvantages of the prior art
The full-automatic pressure measurement platform can execute pressure measurement tasks in an unattended mode, however, performance data analysis is comprehensive and work with many elements, the current platform needs manual analysis to draw a conclusion, and in order to complement short boards as far as possible, the work of analyzing data is divided into three aspects, namely: predictable, statistical, normative, predictable characteristics such as performance anomalies (error rates, response times, expected values, etc.), statistical characteristics such as pressure curves, load capacity values, key data summaries, etc., normative characteristics such as pressure report compilations, pressure script compilations, etc.; through the limited automation to above three points, supplementary artifical data analysis, the tester is absorbed in the work of manual handling more.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a full-automatic pressure measurement system, an electronic device, and a storage medium, so as to solve the above technical problems.
The invention discloses a full-automatic pressure measuring system in a first aspect, which comprises:
the system comprises a front-end page, a rear-end framework, a data storage module, a scheduling and communication module and a pressure measurement module;
configuring a pressure measurement task type on the front-end page, and configuring parameters of a pressure measurement task according to the measurement task type;
the back-end architecture undertakes database connection, API encapsulation and back-end service logic;
the data storage module stores communication data among the front-end page, the rear-end framework and the pressure measurement module;
the scheduling and communication module is responsible for data communication among the front-end page, the rear-end framework and the pressure measurement module;
and the pressure measurement module executes pressure measurement and collects pressure measurement data, and the scheduling and communication module calls an API (application programming interface) to transmit the pressure measurement data from the pressure measurement module to the back-end framework.
According to the system of the first aspect of the present invention, the front page is further configured with a Host.
According to the system of the first aspect of the present invention, the backend architecture uses Django as a project framework.
According to the system of the first aspect of the invention, Redis is responsible for storing non-temporal data in the data module.
According to the system of the first aspect of the present invention, MySql is used to store persistent data in the data module.
According to the system of the first aspect of the present invention, the scheduling and communication module is further responsible for checking the script to be pressure-measured at regular time, updating the script, triggering the pressure measurement, and ending the pressure measurement.
According to the system of the first aspect of the present invention, the scheduling and communication module transfers the pressure measurement data from the pressure measurement module to the backend framework through the encapsulated API, and reorganizes the data for display to the front-end page.
According to the system of the first aspect of the invention, the pressure measurement module is an lcoust tool of an open source Python pressure measurement tool.
A second aspect of the present invention provides an electronic device comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs a method in a fully automatic pressure measurement system according to the first aspect of the present invention.
A third aspect of the present invention provides a storage medium storing a computer program, executable by one or more processors, for implementing a method in a fully automatic pressure measurement system according to the first aspect of the present invention.
According to the scheme provided by the invention, the technical cost is solved by the template of the script, and the technical threshold for writing the script is greatly reduced; the automatic deployment solves the problem of repeated labor of manual deployment; the full-automatic pressure measurement is combined with timing execution, unattended full-automatic pressure measurement is realized, and manpower is completely liberated; the preset value is combined with the timing execution, so that the automatic execution under the fixed pressure measurement scene is realized; the problem of multi-task automatic execution is realized by combining sequential pressure measurement and timing execution; the scheduler solves the problems of multi-task manual pressure measurement data summarization and control; the pages such as the pressure measurement report, the history and the progress solve the problems of key data summarization and report generation during data analysis.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of a fully automatic pressure measurement system according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of cost reduction of a hair press according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of zeroing out the cost of an engine according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating the automation rate of a pressure measurement task and the effect of an auxiliary function of manual pressure measurement according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A first aspect of the present invention discloses a full-automatic pressure measurement system, and fig. 1 is a structural diagram of a full-automatic pressure measurement system according to an embodiment of the present invention, specifically as shown in fig. 1, the system includes:
the system comprises a front-end page, a rear-end framework, a data storage module, a scheduling and communication module and a pressure measurement module;
configuring a pressure measurement task type on the front-end page, and configuring parameters of a pressure measurement task according to the measurement task type;
the back-end architecture undertakes database connection, API encapsulation and back-end service logic;
the data storage module stores communication data among the front-end page, the rear-end framework and the pressure measurement module;
the scheduling and communication module is responsible for data communication among the front-end page, the rear-end framework and the pressure measurement module;
and the pressure measurement module executes pressure measurement and collects pressure measurement data, and the scheduling and communication module calls an API (application programming interface) to transmit the pressure measurement data from the pressure measurement module to the back-end framework.
In some embodiments, the front page also configures a Host.
In some embodiments, the backend architecture uses Django as the project framework.
In some embodiments, Redis is responsible for storing non-temporal data in the data module.
In some embodiments, MySql is used to store persistent data in the data module.
In some embodiments, the scheduling and communication module is also responsible for checking the scripts to be tested, updating the scripts, triggering the pressure test, and ending the pressure test at regular times.
In some embodiments, the scheduling and communication module communicates pressure measurement data from the pressure measurement module to the backend architecture through an encapsulated API, which reorganises the presentation of data to the front-end page.
In some embodiments, the pressure measurement module employs the lcoust tool of an open source Python pressure measurement tool.
In summary, the technical solutions of the aspects of the present invention have the following advantages compared with the prior art: as shown in fig. 2, fig. 3 and fig. 4, the templated solution technology cost of the script greatly reduces the technical threshold of script writing; the automatic deployment solves the problem of repeated labor of manual deployment; the full-automatic pressure measurement is combined with timing execution, unattended full-automatic pressure measurement is realized, and manpower is completely liberated; the preset value is combined with the timing execution, so that the automatic execution under the fixed pressure measurement scene is realized; the problem of multi-task automatic execution is realized by combining sequential pressure measurement and timing execution; the scheduler solves the problems of multi-task manual pressure measurement data summarization and control; the pages such as the pressure measurement report, the history and the progress solve the problems of key data summarization and report generation during data analysis.
The second aspect of the present invention discloses an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the fully automatic pressure measurement method according to any one of the first aspect of the present invention.
Fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes a processor, a memory, a communication interface, a display screen, and an input device, which are connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the structure shown in fig. 5 is only a partial block diagram related to the technical solution of the present disclosure, and does not constitute a limitation of the electronic device to which the solution of the present application is applied, and a specific electronic device may include more or less components than those shown in the drawings, or combine some components, or have a different arrangement of components.
A third aspect of the invention discloses a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the fully automatic pressure measurement method according to any one of the first aspect of the present disclosure.
It should be noted that the technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present description should be considered. The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A fully automatic pressure measuring system, the system comprising:
the system comprises a front-end page, a rear-end framework, a data storage module, a scheduling and communication module and a pressure measurement module;
configuring a pressure measurement task type on the front-end page, and configuring parameters of a pressure measurement task according to the measurement task type;
the back-end architecture undertakes database connection, API encapsulation and back-end service logic;
the data storage module stores communication data among the front-end page, the rear-end framework and the pressure measurement module;
the scheduling and communication module is responsible for data communication among the front-end page, the rear-end framework and the pressure measurement module;
and the pressure measurement module executes pressure measurement and collects pressure measurement data, and the scheduling and communication module calls an API (application programming interface) to transmit the pressure measurement data from the pressure measurement module to the back-end framework.
2. The fully automatic pressure measurement system of claim 1, wherein the front end page is further configured with a Host.
3. The fully automatic pressure measuring system of claim 1, wherein the backend architecture is project-framed by Django.
4. A fully automatic pressure measurement system according to claim 1, wherein Redis is responsible for storing non-time-sensitive data in the data module.
5. The fully automatic pressure measuring system according to claim 4, wherein MySql is used to store permanent data in the data module.
6. The fully automatic pressure measurement system according to claim 1, wherein the scheduling and communication module is further responsible for checking the script to be measured, updating the script, triggering the pressure measurement and ending the pressure measurement at regular time.
7. The fully automatic pressure measurement system according to claim 6, wherein the scheduling and communication module transmits pressure measurement data from the pressure measurement module to the backend architecture through the encapsulated API, and reorganizes data for presentation to the front-end page.
8. The system according to claim 1, wherein the pressure measurement module is a lcoust tool with an open source Python pressure measurement tool.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, performs the method of any one of claims 1 to 8 in a fully automatic pressure measurement system.
10. A storage medium storing a computer program executable by one or more processors and operable to implement a method in a fully automatic pressure measurement system as claimed in any one of claims 1 to 8.
CN202210000127.8A 2022-01-02 2022-01-02 Full-automatic pressure measurement system, electronic equipment and storage medium Pending CN114297085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210000127.8A CN114297085A (en) 2022-01-02 2022-01-02 Full-automatic pressure measurement system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210000127.8A CN114297085A (en) 2022-01-02 2022-01-02 Full-automatic pressure measurement system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114297085A true CN114297085A (en) 2022-04-08

Family

ID=80976000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210000127.8A Pending CN114297085A (en) 2022-01-02 2022-01-02 Full-automatic pressure measurement system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114297085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277481A (en) * 2022-09-22 2022-11-01 东方合智数据科技(广东)有限责任公司 Performance index monitoring method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN112749087A (en) * 2021-01-13 2021-05-04 叮当快药科技集团有限公司 Test service platform, electronic equipment and test service method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN112749087A (en) * 2021-01-13 2021-05-04 叮当快药科技集团有限公司 Test service platform, electronic equipment and test service method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WUJUNFENG1991: "Joy_QA_Platform", pages 1 - 6, Retrieved from the Internet <URL:《https://github.com/JoyMobileDevelopmentTeam/Joy_QA_Platform》> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277481A (en) * 2022-09-22 2022-11-01 东方合智数据科技(广东)有限责任公司 Performance index monitoring method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108446215B (en) POS machine test method, device, system and terminal
CN110457211B (en) Script performance test method, device and equipment and computer storage medium
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN103838663A (en) Application testing method and device
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN114297085A (en) Full-automatic pressure measurement system, electronic equipment and storage medium
CN107844486B (en) Method and system for analyzing webpage problems for client
CN109542464B (en) Development and deployment system, method and storage medium of IoT (Internet of things) equipment script program
CN103838664A (en) Pressure testing method and device
CN110955601A (en) Android platform stability-based automatic testing method and device and electronic equipment
CN115495082B (en) TLV format data automatic conversion method and related equipment
CN112148599A (en) Performance pressure measurement method, device and equipment
CN112363912A (en) Method for testing comprehensive automatic interface
CN112084108A (en) Test script generation method and device and related components
CN101916221A (en) Method and system for performing unit testing on equipment
CN113220586A (en) Automatic interface pressure test execution method, device and system
CN113485919A (en) Test method, test device and computer readable storage medium
CN113190386A (en) Chip and using method thereof
CN111083007A (en) Test method, test device, computer equipment and storage medium
CN110716849A (en) Method and device for recording test cases of application programs
CN109522205A (en) A kind of method, apparatus of emulation testing, computer storage medium and terminal
CN114116466B (en) Unit test method, device and medium based on operation log
CN113268436B (en) Multi-granularity computer simulation operation information acquisition method based on hook points
CN114579976B (en) Automatic verification method and system for heap memory damage loopholes based on state transition
CN114116291B (en) Log detection method, log detection device, computer device 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