CN111309570A - Pressure testing method, medium, device and computing equipment - Google Patents
Pressure testing method, medium, device and computing equipment Download PDFInfo
- Publication number
- CN111309570A CN111309570A CN201911137100.8A CN201911137100A CN111309570A CN 111309570 A CN111309570 A CN 111309570A CN 201911137100 A CN201911137100 A CN 201911137100A CN 111309570 A CN111309570 A CN 111309570A
- Authority
- CN
- China
- Prior art keywords
- data
- online
- test data
- system under
- stress
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3698—Environments for analysis, debugging or testing of software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Fluid Pressure (AREA)
Abstract
Description
技术领域technical field
本发明的实施方式涉及性能测试技术领域,更具体地,本发明的实施方式涉及压力测试方法、介质、装置和计算设备。Embodiments of the present invention relate to the technical field of performance testing, and more particularly, embodiments of the present invention relate to stress testing methods, media, apparatuses, and computing devices.
背景技术Background technique
本部分旨在为权利要求书中陈述的本发明的实施方式提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context for the embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section.
压力测试是指给被测系统不断加压,强制被测系统在极限的情况下运行,观察其可以运行到何种程度,从而发现被测系统性能缺陷的方法。Stress testing refers to the method of continuously pressurizing the system under test, forcing the system under test to operate under the limit conditions, and observing to what extent it can operate, so as to discover the performance defects of the system under test.
现有压力测试一般是在测试环境或者是另外搭建的高仿真环境中部署被测系统,由测试程序在同一时间内或某一段时间内发送预期数量的请求,记录被测系统在不同压力情况下的效率状况、以及被测系统可以承受的压力情况。然后采用记录的信息进行针对性的分析,找到影响被测系统性能的瓶颈,评价被测系统性能以及判断是否需要对被测系统进行优化处理或结构调整。The existing stress test is generally to deploy the system under test in the test environment or another high simulation environment, and the test program sends the expected number of requests at the same time or within a certain period of time to record the system under test under different stress conditions. efficiency conditions, and the stress conditions that the system under test can withstand. Then use the recorded information to conduct targeted analysis to find the bottleneck that affects the performance of the system under test, evaluate the performance of the system under test, and determine whether it is necessary to optimize or adjust the structure of the system under test.
这种测试方法需要搭建测试环境或高仿真环境,对资源的需求量高,并且部署成本高。并且,由于部分配置和网络情况等无法完全模拟真实的线上环境,导致测试结果不够准确,通过压力测试的被测系统在上线之后仍然有可能存在缺陷。This test method needs to build a test environment or a high-simulation environment, requires high resources, and has high deployment costs. In addition, because some configurations and network conditions cannot fully simulate the real online environment, the test results are not accurate enough, and the system under test that passes the stress test may still have defects after it goes online.
发明内容SUMMARY OF THE INVENTION
本发明期望提供一种压力测试方法和装置,以解决上述技术问题中的至少一项。The present invention desires to provide a stress testing method and apparatus to solve at least one of the above technical problems.
在本发明实施方式的第一方面中,提供了一种压力测试方法,包括:In a first aspect of the embodiments of the present invention, a stress testing method is provided, comprising:
获取被测系统的线上数据;Obtain online data of the system under test;
采用所述线上数据生成压力测试数据;using the online data to generate stress test data;
将所述压力测试数据发送至被测系统的线上环境。Send the stress test data to the online environment of the system under test.
在本发明的一个实施例中,所述将所述压力测试数据发送至被测系统的线上环境之前,还包括:复制被测系统在线上环境中的历史数据,将复制的历史数据保存入存储模块;In an embodiment of the present invention, before sending the stress test data to the online environment of the system under test, the method further includes: copying historical data in the online environment of the system under test, and saving the copied historical data into a storage module;
所述将所述压力测试数据发送至被测系统的线上环境之后,还包括:将所述被测系统处理所述压力测试数据的过程中产生的数据保存入所述存储模块。After the sending the stress test data to the online environment of the system under test, the method further includes: saving the data generated in the process of processing the stress test data by the system under test into the storage module.
在本发明的一个实施例中,所述采用所述线上数据生成压力测试数据,包括:In an embodiment of the present invention, generating the stress test data by using the online data includes:
对所述线上数据执行复制及改写中的至少一项操作,得到所述压力测试数据;其中,所述改写包括:对所述线上数据中的预定字段执行补全、修改及替换中的至少一项操作。Perform at least one operation of copying and rewriting on the online data to obtain the stress test data; wherein the rewriting includes: performing an operation of complementing, modifying and replacing a predetermined field in the online data at least one action.
在本发明的一个实施例中,所述将所述压力测试数据发送至被测系统的线上环境,包括:In an embodiment of the present invention, the sending the stress test data to the online environment of the system under test includes:
将所述压力测试数据包含在请求中,并在所述请求中添加压力测试标记字段;Include the stress test data in the request, and add a stress test tag field to the request;
将所述请求发送至所述被测系统的线上环境。The request is sent to the online environment of the system under test.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
在所述被测系统处理所述压力测试数据时需要依赖外部服务的情况下,模拟外部服务的返回值,并将所述返回值提供给所述被测系统的线上环境。When the system under test needs to rely on an external service when processing the stress test data, the return value of the external service is simulated, and the return value is provided to the online environment of the system under test.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
监控所述被测系统的至少一项性能指标;monitoring at least one performance indicator of the system under test;
在所述性能指标超出预设条件的情况下,停止向所述被测系统的线上环境发送压力测试数据。When the performance index exceeds the preset condition, stop sending stress test data to the online environment of the system under test.
在本发明实施方式的第二方面中,提供了一种压力测试装置,包括:In a second aspect of the embodiments of the present invention, there is provided a pressure testing device, comprising:
流量录制模块,用于获取被测系统的线上数据;Traffic recording module, used to obtain online data of the system under test;
生成模块,用于采用所述线上数据生成压力测试数据;a generating module for generating stress test data by using the online data;
压力测试引擎模块,用于将所述压力测试数据发送至被测系统的线上环境。The stress test engine module is used for sending the stress test data to the online environment of the system under test.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
存储模块,用于复制并保存被测系统在线上环境中的历史数据,还用于保存所述被测系统处理压力测试数据的过程中产生的数据。The storage module is used for copying and saving the historical data in the online environment of the system under test, and also for saving the data generated in the process of processing the stress test data by the system under test.
在本发明的一个实施例中,所述生成模块,用于对所述线上数据执行复制及改写中的至少一项操作,得到所述压力测试数据;其中,所述改写包括:对所述线上数据中的预定字段执行补全、修改及替换中的至少一项操作。In an embodiment of the present invention, the generation module is configured to perform at least one operation of copying and rewriting on the online data to obtain the stress test data; wherein the rewriting includes: A predetermined field in the online data performs at least one operation of completion, modification and replacement.
在本发明的一个实施例中,所述压力测试引擎模块,用于将所述压力测试数据包含在请求中,并在所述请求中添加压力测试标记字段;将所述请求发送至所述被测系统的线上环境。In an embodiment of the present invention, the stress test engine module is configured to include the stress test data in a request, and add a stress test tag field to the request; send the request to the recipient The online environment of the test system.
在本发明的一个实施例中,还包括:虚拟外部服务模块,用于在所述被测系统处理所述压力测试数据时需要依赖外部服务的情况下,模拟外部服务的返回值,将所述返回值提供给所述被测系统的线上环境。In an embodiment of the present invention, it further includes: a virtual external service module, configured to simulate the return value of an external service when the system under test needs to rely on an external service when processing the stress test data, and convert the The return value is provided to the online environment of the system under test.
在本发明的一个实施例中,还包括:监控模块,用于监控所述被测系统的至少一项性能指标,在所述性能指标超出预设条件的情况下,指示所述压力测试引擎模块停止向所述被测系统的线上环境发送压力测试数据。In an embodiment of the present invention, it further includes: a monitoring module, configured to monitor at least one performance index of the system under test, and instruct the stress test engine module when the performance index exceeds a preset condition Stop sending stress test data to the online environment of the system under test.
在本发明实施方式的第三方面中,提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现上述压力测试方法的步骤。In a third aspect of the embodiments of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, implements the steps of the above-mentioned stress testing method.
在本发明实施方式的第四方面中,提供了一种计算设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现压力测试方法的步骤。In a fourth aspect of an embodiment of the present invention, there is provided a computing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the program when the processor executes the program Steps of the stress test method.
根据本发明实施方式的压力测试方法和装置,利用被测系统的线上数据生成压力测试数据,将压力测试数据发送至被测系统的线上环境,因此能够在线上环境进行测试。通过这种方式,无需额外搭建测试环境或高仿真环境,节约了成本及资源;并且,由于直接在线上环境进行测试,避免了测试环境与线上环境不完全相同带来的不利影响,提高了测试结果的准确性。According to the stress testing method and device of the embodiments of the present invention, the stress testing data is generated by using the online data of the system under test, and the stress testing data is sent to the online environment of the system under test, so that the test can be performed in the online environment. In this way, there is no need to build an additional test environment or a high-simulation environment, which saves costs and resources; in addition, because the test is performed directly in the online environment, the adverse effects caused by the different test environment and the online environment are avoided, and the improvement is improved. Accuracy of test results.
附图说明Description of drawings
通过参考附图阅读下文的详细描述,本发明示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本发明的若干实施方式,其中:The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown by way of example and not limitation, wherein:
图1示意性地示出了根据本发明一实施方式的压力测试方法实现流程图;FIG. 1 schematically shows a flow chart for implementing a stress testing method according to an embodiment of the present invention;
图2示意性地示出了根据本发明一实施方式的压力测试系统结构示意图;FIG. 2 schematically shows a schematic structural diagram of a stress testing system according to an embodiment of the present invention;
图3示意性地示出了根据本发明一实施方式的压力测试方法中,步骤S13的一种实现流程图;FIG. 3 schematically shows an implementation flow chart of step S13 in the stress testing method according to an embodiment of the present invention;
图4示意性地示出了根据本发明一实施方式的用于压力测试方法的介质示意图;FIG. 4 schematically shows a schematic diagram of a medium for a pressure testing method according to an embodiment of the present invention;
图5示意性地示出了根据本发明一实施方式的压力测试装置结构示意图;FIG. 5 schematically shows a schematic structural diagram of a stress testing device according to an embodiment of the present invention;
图6示意性地示出了根据本发明一实施方式的计算设备的结构示意图。FIG. 6 schematically shows a schematic structural diagram of a computing device according to an embodiment of the present invention.
在附图中,相同或对应的标号表示相同或对应的部分。In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.
具体实施方式Detailed ways
下面将参考若干示例性实施方式来描述本发明的原理和精神。应当理解,给出这些实施方式仅仅是为了使本领域技术人员能够更好地理解进而实现本发明,而并非以任何方式限制本发明的范围。相反,提供这些实施方式是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。The principles and spirit of the present invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are only given for those skilled in the art to better understand and implement the present invention, but not to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
本领域技术人员知道,本发明的实施方式可以实现为一种系统、装置、设备、方法或计算机程序产品。因此,本公开可以具体实现为以下形式,即:完全的硬件、完全的软件(包括固件、驻留软件、微代码等),或者硬件和软件结合的形式。As will be appreciated by those skilled in the art, embodiments of the present invention may be implemented as a system, apparatus, device, method or computer program product. Accordingly, the present disclosure may be embodied in entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
根据本发明的实施方式,提出了一种压力测试方法、介质、装置和计算设备。According to the embodiments of the present invention, a stress testing method, medium, apparatus and computing device are provided.
在本文中,附图中的任何元素数量均用于示例而非限制,以及任何命名都仅用于区分,而不具有任何限制含义。Herein, any number of elements in the figures is for illustration and not limitation, and any designation is for distinction only and does not have any limiting meaning.
下面参考本发明的若干代表性实施方式,详细阐释本发明的原理和精神。The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
发明概述SUMMARY OF THE INVENTION
本发明人发现,现有的压力测试需要搭建测试环境或高仿真环境,对资源的需要较高;并且由于无法完全模拟真实的线上环境,导致测试结果的准确率较低。The inventors found that the existing stress test needs to build a test environment or a high simulation environment, which requires high resources; and because the real online environment cannot be completely simulated, the accuracy of the test results is low.
有鉴于此,本发明提供一种压力测试方法和装置,利用被测系统的线上数据生成压力测试数据,并直接在线上环境对被测系统进行测试,因此无需额外搭建测试环境或高仿真环境,节约了成本及资源,并且能够提高测试结果的准确性。In view of this, the present invention provides a stress testing method and device, which utilizes the online data of the system under test to generate stress test data, and directly tests the system under test in the online environment, so there is no need to build an additional test environment or high-simulation environment , saving costs and resources, and can improve the accuracy of test results.
在介绍了本发明的基本原理之后,下面具体介绍本发明的各种非限制性实施方式。Having introduced the basic principles of the present invention, various non-limiting embodiments of the present invention are described in detail below.
示例性方法Exemplary method
下面参考图1来描述根据本发明示例性实施方式的压力测试方法。A stress testing method according to an exemplary embodiment of the present invention is described below with reference to FIG. 1 .
图1示意性地示出了根据本发明一实施方式的压力测试方法实现流程图,如图1所示,本发明实施例的压力测试方法包括以下步骤:FIG. 1 schematically shows a flow chart for implementing a stress testing method according to an embodiment of the present invention. As shown in FIG. 1 , the stress testing method according to an embodiment of the present invention includes the following steps:
S11:获取被测系统的线上数据;S11: Obtain online data of the system under test;
S12:采用线上数据生成压力测试数据;S12: Use online data to generate stress test data;
S13:将压力测试数据发送至被测系统的线上环境。S13: Send the stress test data to the online environment of the system under test.
通过上述过程,本发明实施例采用被测系统的线上数据生成压力测试数据,并将生成的压力测试数据发送至被测系统的线上环境,以供在线上环境测试被测系统,因此无需额外搭建测试环境或高仿真环境,节约了成本及资源;并且,由于不存在测试环境与线上环境的偏差,因此能够提高测试结果的准确性。Through the above process, the embodiment of the present invention uses the online data of the system under test to generate stress test data, and sends the generated stress test data to the online environment of the system under test, so as to test the system under test in the online environment, so there is no need to An additional test environment or a high-simulation environment is built, which saves costs and resources; and because there is no deviation between the test environment and the online environment, the accuracy of the test results can be improved.
在一种可能的实施方式中,如图1所示,上述步骤S13之前还可以包括:步骤S14,复制被测系统在线上环境中的历史数据,将复制的历史数据保存入存储模块;In a possible implementation manner, as shown in FIG. 1 , before the above step S13, it may further include: step S14, copying the historical data in the online environment of the system under test, and saving the copied historical data into the storage module;
上述步骤S13之后还可包括:步骤S15,将被测系统处理压力测试数据的过程中产生的数据保存入该存储模块。After the above step S13, the method may further include: step S15, storing the data generated in the process of processing the stress test data by the system under test into the storage module.
上述内容中,线上数据可以指用户请求,或称用户流量;历史数据可以指被测系统在处理线上数据的过程中产生的数据。In the above content, online data may refer to user requests, or user traffic; historical data may refer to data generated by the system under test in the process of processing online data.
上述存储模块可以是独立设置的,存储模块与现有的线上存储器相对独立。其中,现有的线上存储器用于存储被测系统在处理线上数据的过程中产生的数据(也就是在提供线上服务时产生的数据),本申请实施例独立设置的存储模块用于单独存储被测系统在处理压力测试数据的过程中产生的数据(也就是在测试过程中产生的数据)。通过这种设置方式,可以将测试过程中产生的数据与提供线上服务时产生的数据隔离,避免测试过程对线上服务产生影响。The above-mentioned storage module may be set independently, and the storage module is relatively independent from the existing online storage. Wherein, the existing online memory is used to store the data generated in the process of processing the online data by the system under test (that is, the data generated when the online service is provided), and the storage module independently provided in the embodiment of the present application is used for Separately store the data generated by the system under test in the process of processing the stress test data (that is, the data generated during the test). Through this setting method, the data generated during the testing process can be isolated from the data generated during the online service provision, so as to avoid the impact of the testing process on the online service.
图2示意性地示出了根据本发明一实施方式的压力测试系统结构示意图。在图2中,实线表示被测系统提供线上服务时涉及的数据及装置,虚线表示被测系统在被进行压力测试时涉及的数据及装置。需要强调的是,被测系统在被进行压力测试的同时,也在正常提供线上服务。图2中的被测系统为线上环境中的被测系统,可以部署在分布式服务框架(DFS,Distributed Service Framework)中。FIG. 2 schematically shows a schematic structural diagram of a stress testing system according to an embodiment of the present invention. In FIG. 2 , the solid line represents the data and devices involved when the system under test provides online services, and the dotted line represents the data and devices involved when the system under test is subjected to the stress test. It should be emphasized that while the system under test is being stress tested, it is also providing online services normally. The system under test in FIG. 2 is a system under test in an online environment, and can be deployed in a distributed service framework (DFS, Distributed Service Framework).
如图2所示,涉及线上服务的内容包括:将线上数据传输至被测系统的线上环境,将被测系统在提供线上服务时产生的数据保存在线上存储器中;在需要依赖外部服务的情况下,调用真实外部服务系统的接口,由真实外部服务系统为被测系统提供外部服务。As shown in Figure 2, the contents related to online services include: transmitting online data to the online environment of the system under test, saving the data generated when the system under test provides online services in the online storage; In the case of external services, the interface of the real external service system is called, and the real external service system provides external services for the system under test.
如图2所示,涉及压力测试的内容包括:将压力测试数据传输至被测系统的线上环境,将被测系统在处理压力测试数据的过程中产生的数据保存入独立设置的存储模块;在被测系统处理压力测试数据时需要依赖外部服务的情况下,模拟外部服务的返回值,并将返回值提供给被测系统的线上环境。其中,可以由独立设置的虚拟外部服务模块来模拟外部服务,避免调用真实的外部服务系统。由于压力测试数据并不是真实的用户请求数据,如果由真实的外部服务系统对压力测试数据提供服务,将是对外部服务系统资源的浪费。因此,本申请实施例采用了模拟外部服务返回值的方式,避免对外部服务系统造成浪费或不必要的压力;并且,由于不使用真实的外部服务系统,避免了由于外部服务系统无法正常提供服务而对压力测试的准确性造成不利影响。另外,本申请实施例还可以设置监控模块,用于监控被测系统的至少一项性能指标;在性能指标超出预设条件的情况下,停止向被测系统的线上环境发送压力测试数据,即停止进行压力测试。As shown in Figure 2, the content involved in the stress test includes: transmitting the stress test data to the online environment of the system under test, and saving the data generated by the system under test in the process of processing the stress test data in an independently set storage module; When the system under test needs to rely on external services when processing stress test data, simulate the return value of the external service and provide the return value to the online environment of the system under test. The external service can be simulated by an independently set virtual external service module to avoid calling the real external service system. Since the stress test data is not the real user request data, if a real external service system provides services to the stress test data, it will be a waste of the resources of the external service system. Therefore, the embodiment of the present application adopts the method of simulating the return value of the external service to avoid waste or unnecessary pressure on the external service system; and, because the real external service system is not used, it is avoided that the external service system cannot provide services normally. This adversely affects the accuracy of the stress test. In addition, in this embodiment of the present application, a monitoring module may be set to monitor at least one performance index of the system under test; when the performance index exceeds a preset condition, stop sending stress test data to the online environment of the system under test, That is, the stress test is stopped.
以上概述了用于压力测试的各个模块的功能,以及数据生成、传输及存储机制。以下结合附图进行详细介绍。The above outlines the functions of the various modules used for stress testing, as well as the data generation, transmission, and storage mechanisms. A detailed description is given below with reference to the accompanying drawings.
在一种可能的实施方式中,上述步骤S12包括:对线上数据执行复制及改写中的至少一项操作,得到压力测试数据。In a possible implementation manner, the above step S12 includes: performing at least one operation of copying and rewriting on online data to obtain stress test data.
其中,复制可以指:当从日志中解析出的线上数据的数据量不够时,将已有的线上数据复制多倍,并替换掉其中的敏感数据,例如用户标识(ID)等数据。Among them, copying may refer to: when the amount of online data parsed from the log is insufficient, the existing online data is copied multiple times, and the sensitive data in it is replaced, such as user identification (ID) and other data.
改写可以包括:对线上数据中的预定字段执行补全、修改及替换中的至少一项操作。具体地,当从日志中解析出的线上数据的覆盖场景不够全面时,将未覆盖的场景所对应的字段进行补全、修改或替换等操作,The rewriting may include: performing at least one operation of complementing, modifying, and replacing a predetermined field in the online data. Specifically, when the coverage scenarios of the online data parsed from the log are not comprehensive enough, the fields corresponding to the uncovered scenarios are completed, modified or replaced.
在一些情况下,不同种类的线上数据对应不同的场景,需要采用系统的不同处理逻辑来进行处理。相应地,如果需要测试被测系统的某个处理逻辑,则需要采用对应种类的压力测试数据来触发该处理逻辑。为了得到用于处理特定处理逻辑的足够数量的压力测试数据,本申请实施例至少可以采用以下三种方式:In some cases, different types of online data correspond to different scenarios and need to be processed by different processing logics of the system. Correspondingly, if a certain processing logic of the system under test needs to be tested, the corresponding type of stress test data needs to be used to trigger the processing logic. In order to obtain a sufficient amount of stress test data for processing specific processing logic, at least the following three methods may be adopted in this embodiment of the present application:
第一种,针对某个处理逻辑,解析足够数量的对应该处理逻辑的线上数据;将解析得到的线上数据进行敏感词替换,从而得到足够数量的压力测试数据。例如,对于处理逻辑A,如果需要100万条对应的压力测试数据,则解析100万条处理逻辑A所对应的线上数据;之后将解析得到的线上数据进行敏感词替换,得到100万条处理逻辑A所对应的压力测试数据。The first is to parse a sufficient amount of online data corresponding to the processing logic for a certain processing logic; replace the parsed online data with sensitive words to obtain a sufficient amount of stress test data. For example, for processing logic A, if 1 million pieces of corresponding stress test data are needed, parse 1 million pieces of online data corresponding to processing logic A; then replace the parsed online data with sensitive words to get 1 million pieces of data Process the stress test data corresponding to logic A.
第二种,针对某个处理逻辑,解析一定数量的对应该处理逻辑的线上数据;将解析得到的线上数据进行复制,并进行敏感词替换及字段改写,得到足够数量的压力测试数据。例如,对于处理逻辑A,如果需要100万条对应的压力测试数据,可以解析1万条处理逻辑A所对应的线上数据;之后将解析得到的线上数据复制100倍,并对一些必要的字段(如携带IP地址、用户名称等信息的字段)进行改写,得到100万条处理逻辑A对应的压力测试数据。字段改写可以避免因复制而导致的不同压力测试数据中字段冲突的情况。Second, for a certain processing logic, parse a certain amount of online data corresponding to the processing logic; copy the parsed online data, replace sensitive words and rewrite fields to obtain a sufficient amount of stress test data. For example, for processing logic A, if 1 million pieces of corresponding stress test data are required, 10,000 pieces of online data corresponding to processing logic A can be parsed. Fields (such as fields carrying IP addresses, user names, etc.) are rewritten to obtain 1 million pieces of stress test data corresponding to processing logic A. Field rewriting can avoid field conflicts in different stress test data caused by replication.
第三种,针对某个处理逻辑,解析足够数量的其他类型的线上数据;将解析得到的线上数据进行改写,生成足够数量的压力测试数据,该压力测试数据能够触发该处理逻辑。例如,假定在真实的线上环境下,X类线上数据的出现概率较小,Y类线上数据的出现概率较大,并且X类线上数据与Y类线上数据的差别不大、且有规律可循。为了测试X类线上数据所对应的处理逻辑,可以解析足够数量的Y类线上数据;对解析得到的Y类线上数据的特定字段进行改写,从而得到足够数量的X类压力测试数据。The third is to parse a sufficient amount of other types of online data for a certain processing logic; rewrite the online data obtained by the analysis to generate a sufficient amount of stress test data that can trigger the processing logic. For example, it is assumed that in a real online environment, the probability of occurrence of online data of type X is small, the probability of occurrence of online data of type Y is relatively large, and the difference between online data of type X and online data of type Y is not large, And there are rules to follow. In order to test the processing logic corresponding to the X-type online data, you can parse a sufficient amount of Y-type online data; rewrite the specific fields of the parsed Y-type online data to obtain a sufficient amount of X-type stress test data.
在上述三种方式中,后两种采用了改写操作,从而实现对线上数据进行改造,得到用于触发特定处理逻辑的压力测试数据。这两种方式对于某些出现概率较小的线上数据具有更佳的效果,因为无需从海量的线上数据中解析压力测试所需的全部数据,可以减轻获取及解析线上数据的过程造成的压力。Among the above three methods, the latter two use the rewrite operation, so as to realize the transformation of the online data, and obtain the stress test data for triggering the specific processing logic. These two methods have a better effect on some online data with a small probability of occurrence, because there is no need to parse all the data required for the stress test from the massive online data, which can reduce the process of acquiring and parsing the online data. pressure.
在进行改写时,线上数据中可供改写的字段包括:数据头(header)、数据体(body)、参数(parameters)、路径(path)等。例如,path字段具体为统一资源定位符(URL,Uniform Resource Locator);在进行改写时,可以将线上数据的URL按照预定的改写规则或映射关系,生成新的URL;将新的URL作为压力测试数据的path字段。其他字段可以采用与path字段相同或相同的改写方式,在此不再赘述。When rewriting is performed, the fields available for rewriting in the online data include: data header (header), data body (body), parameters (parameters), path (path) and the like. For example, the path field is specifically a Uniform Resource Locator (URL, Uniform Resource Locator); when rewriting, the URL of the online data can be generated according to a predetermined rewriting rule or mapping relationship to generate a new URL; the new URL can be used as pressure The path field of the test data. Other fields can be rewritten in the same or the same way as the path field, and will not be repeated here.
为了使被测系统能够区分出线上数据和压力测试数据,本申请实施例可以在上述步骤S13中,为发送至被测系统的压力测试数据添加标记。图3示意性地示出了根据本发明一实施方式的压力测试方法中,步骤S13的一种实现流程图,包括:In order to enable the system under test to distinguish the online data from the stress test data, in the above step S13, a mark may be added to the stress test data sent to the system under test in this embodiment of the present application. FIG. 3 schematically shows an implementation flow chart of step S13 in the stress testing method according to an embodiment of the present invention, including:
S131:将压力测试数据包含在请求中,并在请求中添加压力测试标记字段;S131: Include stress test data in the request, and add a stress test tag field to the request;
S132:将所述请求发送至被测系统的线上环境。S132: Send the request to the online environment of the system under test.
通过上述设置,被测系统在接收到请求后,根据请求中是否包含压力测试标记字段,就可以区分出哪些请求中包含真实的线上数据、哪些请求中包含用于压力测试的压力测试数据。对于压力测试数据,被测系统则将处理过程中产生的数据存入上述单独设置的存储模块。With the above settings, after receiving a request, the system under test can distinguish which requests contain real online data and which requests contain stress test data for stress testing according to whether the request contains the stress test tag field. For the stress test data, the system under test stores the data generated during the processing in the above-mentioned separately set storage module.
此外,在上述请求中,还可以配置并发数、压测持续时间等测试相关参数。配置的作用及原因至少包括以下内容:In addition, in the above request, you can also configure test-related parameters such as the number of concurrency and the duration of the stress test. The role and reason of configuration include at least the following:
第一,并发数可以模拟同时在线的用户数量;通过配置不同的并发数,能够实现不同强度的压力测试,例如模拟普通时段的压力测试、或者模拟高峰时段的压力测试。First, the number of concurrency can simulate the number of users online at the same time; by configuring different numbers of concurrency, stress tests of different intensities can be implemented, such as simulating stress tests during ordinary hours or simulating stress tests during peak hours.
第二,在有些情况下,由于被测系统在处理请求时的持续时间很短,而很短的处理时间不足以充分体现被测系统服务器的运行状况。这种情况下,可以设置循环处理该请求,并在请求中配置压测持续时间。被测系统在接收到请求时,在压测持续时间内循环处理该请求;当压测持续时间结束时,停止处理该请求。Second, in some cases, due to the short duration of the system under test processing the request, the short processing time is not enough to fully reflect the operating status of the system under test server. In this case, you can set up a loop to process the request, and configure the stress test duration in the request. When the system under test receives a request, it cyclically processes the request within the duration of the stress measurement; when the duration of the stress measurement expires, it stops processing the request.
测试过程中,可以采用上述监控模块实时监控被测系统各模块相关服务器的性能指标,具体性能指标包含但不限于:CPU使用率、内存使用率、硬盘输入/输出(IO,Input/Output)、网络IO、接口响应时间、接口错误率等。当出现超出预设条件的性能指标时,可以停止对被测系统进行压力测试,以保证不影响被测系统对正常流量的响应。前述预设条件可以设置为特定阈值,该特定阈值与针对被测系统的重要性、测试时段的重要性等因素相关。该特定阈值的具体数值可以根据压力测试时的实际情况进行调整。例如,针对一个被测系统,将M时段的CPU使用率阈值设置为80%,将N时段的CPU使用率阈值设置为90%;相对而言,M时段比N时段的重要性更高,因此M时段的CPU使用率阈值设置更为严格。在进行压力测试时,实时监控被测系统相关服务器的CPU使用率,如果CPU使用率大于80%,并且当前处于M时段,则停止进行压力测试。前述是以CPU使用率为例进行说明的,在实际监控时,可以同时监控多个性能指标,当一个或多个性能指标超过特定阈值时,停止压力测试。During the test, the above monitoring modules can be used to monitor the performance indicators of the servers related to each module of the system under test in real time. The specific performance indicators include but are not limited to: CPU usage, memory usage, hard disk input/output (IO, Input/Output), Network IO, interface response time, interface error rate, etc. When the performance index exceeds the preset condition, the pressure test of the system under test can be stopped to ensure that the response of the system under test to normal flow is not affected. The aforementioned preset condition may be set as a specific threshold, and the specific threshold is related to factors such as the importance to the system under test, the importance of the test period, and the like. The specific value of the specific threshold can be adjusted according to the actual situation during the stress test. For example, for a system under test, set the CPU usage threshold of the M period to 80%, and set the CPU usage threshold of the N period to 90%; relatively speaking, the M period is more important than the N period, so The CPU usage threshold setting for the M period is more stringent. During the stress test, monitor the CPU usage of the relevant servers of the system under test in real time. If the CPU usage is greater than 80% and it is currently in the M period, stop the stress test. The foregoing description is given by taking the CPU usage as an example. In actual monitoring, multiple performance indicators can be monitored at the same time, and when one or more performance indicators exceed a certain threshold, the stress test is stopped.
在一种可能的实施方式中,上述独立设置的存储模块可以包含数据库、缓存、队列、日志、文件等,对压力测试过程中产生的数据与真实线上服务过程中产生的数据进行隔离。上述存储模块所需的服务器资源可以临时申请,在压力测试结束后可以将该存储模块中的数据删除,并且退回该存储模块所占用的服务器资源。由于压力测试过程中产生的数据是单独存储的,对这些数据的清理逻辑也简单清晰。In a possible implementation manner, the above-mentioned independently set storage modules may include databases, caches, queues, logs, files, etc., to isolate the data generated during the stress test process from the data generated during the actual online service process. The server resources required by the above-mentioned storage module can be temporarily applied for, and after the stress test is completed, the data in the storage module can be deleted, and the server resources occupied by the storage module can be returned. Since the data generated during the stress test is stored separately, the cleaning logic for these data is also simple and clear.
本申请实施例在进行压力测试时,对压力测试数据的处理不影响统计、算法模型等其它服务模型的处理。When a stress test is performed in this embodiment of the present application, the processing of the stress test data does not affect the processing of other service models such as statistics and algorithm models.
综上可见,本申请实施例在线上环境直接进行压力测试,能够保证压测结果真实有效,并且无需额外搭建与线上环境一致的测试环境或高仿真环境,因此能够节约服务器资源。由于采用单独设置的存储模块对压力测试过程中产生的数据进行存储,避免了对线上服务产生影响,并且便于后续删除数据及释放服务器资源。From the above, it can be seen that the embodiment of the present application directly performs the stress test in the online environment, which can ensure that the stress test results are authentic and effective, and there is no need to build an additional test environment or high simulation environment consistent with the online environment, so server resources can be saved. Because a separately set storage module is used to store the data generated during the stress test, the impact on online services is avoided, and it is convenient for subsequent data deletion and server resource release.
示例性介质Exemplary Media
在介绍了本发明示例性实施方式的方法之后,接下来,参考图4对本发明示例性实施方式的介质进行说明。After introducing the method of the exemplary embodiment of the present invention, next, the medium of the exemplary embodiment of the present invention will be described with reference to FIG. 4 .
在一些可能的实施方式中,本发明的各个方面还可以实现为一种计算机可读介质,其上存储有程序,当所述程序被处理器执行时用于实现本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的压力测试方法中的步骤。In some possible implementations, various aspects of the present invention can also be implemented as a computer-readable medium having a program stored thereon, which, when executed by a processor, is used to implement the above-mentioned "exemplary method" of this specification The steps in the stress testing method according to various exemplary embodiments of the present invention are described in the section.
具体地,上述处理器执行上述程序时用于实现如下步骤:获取被测系统的线上数据;采用所述线上数据生成压力测试数据;将所述压力测试数据发送至被测系统的线上环境。Specifically, when the above-mentioned processor executes the above-mentioned program, it is used to realize the following steps: acquiring online data of the system under test; generating stress test data by using the online data; sending the stress test data to the online data of the system under test surroundings.
需要说明的是:上述的介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是但不限于:电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。It should be noted that: the above-mentioned medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
如图4所示,描述了根据本发明的实施方式的介质40,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序,并可以在设备上运行。然而,本发明不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。As shown in FIG. 4, a medium 40 according to an embodiment of the present invention is depicted, which may take the form of a portable compact disc read only memory (CD-ROM) and include a program, and which may be executed on a device. However, the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于:电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算设备。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programs Design Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN).
示例性装置Exemplary device
在介绍了本发明示例性实施方式的介质之后,接下来,参考图5对本发明示例性实施方式的装置进行说明。After introducing the medium of the exemplary embodiment of the present invention, next, the apparatus of the exemplary embodiment of the present invention will be described with reference to FIG. 5 .
图5示意性地示出了根据本发明一实施方式的压力测试装置结构示意图,包括:FIG. 5 schematically shows a schematic structural diagram of a stress testing device according to an embodiment of the present invention, including:
流量录制模块501,用于获取被测系统的线上数据;The
生成模块502,用于采用线上数据生成压力测试数据;a
压力测试引擎模块503,用于将压力测试数据发送至被测系统的线上环境。The stress
如图5所示,在一种可能的实施方式中,上述装置还包括:As shown in FIG. 5, in a possible implementation manner, the above-mentioned device further includes:
存储模块504,用于复制并保存被测系统在线上环境中的历史数据,还用于保存被测系统处理压力测试数据的过程中产生的数据。The
在一种可能的实施方式中,生成模块502,用于对线上数据执行复制及改写中的至少一项操作,得到压力测试数据;其中,改写包括:对线上数据中的预定字段执行补全、修改及替换中的至少一项操作。In a possible implementation manner, the
在一种可能的实施方式中,压力测试引擎模块503,用于将压力测试数据包含在请求中,并在请求中添加压力测试标记字段;将该请求发送至所述被测系统的线上环境。In a possible implementation, the stress
如图5所示,在一种可能的实施方式中,上述装置还包括:As shown in FIG. 5, in a possible implementation manner, the above-mentioned device further includes:
虚拟外部服务模块505,用于在被测系统处理压力测试数据时需要依赖外部服务的情况下,模拟外部服务的返回值,将返回值提供给被测系统的线上环境。The virtual
如图5所示,在一种可能的实施方式中,上述装置还包括:As shown in FIG. 5, in a possible implementation manner, the above-mentioned device further includes:
监控模块506,用于监控被测系统的至少一项性能指标,在性能指标超出预设条件的情况下,指示压力测试引擎模块停止向被测系统的线上环境发送压力测试数据。The
示例性计算设备Exemplary Computing Device
在介绍了本发明示例性实施方式的方法、介质和装置之后,接下来,参考图6对本发明示例性实施方式的计算设备进行说明。After introducing the method, medium and apparatus of the exemplary embodiment of the present invention, next, the computing device of the exemplary embodiment of the present invention will be described with reference to FIG. 6 .
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
在一些可能的实施方式中,根据本发明实施方式的计算设备可以至少包括至少一个处理单元以及至少一个存储单元。其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行本说明书上述“示例性方法”部分中描述的根据本发明的各种示例性实施方式的压力测试方法中的步骤。In some possible implementations, a computing device according to an implementation of the present invention may include at least one processing unit and at least one storage unit. Wherein, the storage unit stores program codes, which, when executed by the processing unit, cause the processing unit to execute various exemplary methods according to the present invention described in the above-mentioned “Exemplary Methods” section of this specification Steps in a stress testing method of an embodiment.
下面参照图6来描述根据本发明的这种实施方式的计算设备60。图6显示的计算设备60仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。A
如图6所示,计算设备60以通用计算设备的形式表现。计算设备60的组件可以包括但不限于:上述至少一个处理单元601、上述至少一个存储单元602,连接不同系统组件(包括处理单元601和存储单元602)的总线603。As shown in FIG. 6,
总线603包括数据总线、控制总线和地址总线。The
存储单元602可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)6021和/或高速缓存存储器6022,可以进一步包括非易失性存储器形式的可读介质,例如只读存储器(ROM)6023。
存储单元602还可以包括具有一组(至少一个)程序模块6024的程序/实用工具6025,这样的程序模块6024包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
计算设备60也可以与一个或多个外部设备604(例如键盘、指向设备等)通信。这种通信可以通过输入/输出(I/O)接口605进行。并且,计算设备60还可以通过网络适配器606与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器606通过总线603与计算设备60的其它模块通信。应当理解,尽管图中未示出,可以结合计算设备60使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
应当注意,尽管在上文详细描述中提及了压力测试装置的若干单元/模块或子单元/子模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多单元/模块的特征和功能可以在一个单元/模块中具体化。反之,上文描述的一个单元/模块的特征和功能可以进一步划分为由多个单元/模块来具体化。It should be noted that although several units/modules or sub-units/sub-modules of the stress testing apparatus are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units/modules described above may be embodied in one unit/module according to embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into multiple units/modules to be embodied.
此外,尽管在附图中以特定顺序描述了本发明方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。Furthermore, although the operations of the methods of the present invention are depicted in the figures in a particular order, this does not require or imply that the operations must be performed in the particular order, or that all illustrated operations must be performed to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined to be performed as one step, and/or one step may be decomposed into multiple steps to be performed.
虽然已经参考若干具体实施方式描述了本发明的精神和原理,但是应该理解,本发明并不限于所公开的具体实施方式,对各方面的划分也不意味着这些方面中的特征不能组合以进行受益,这种划分仅是为了表述的方便。本发明旨在涵盖所附权利要求的精神和范围内所包括的各种修改和等同布置。While the spirit and principles of the present invention have been described with reference to a number of specific embodiments, it should be understood that the invention is not limited to the specific embodiments disclosed, nor does the division of aspects imply that features of these aspects cannot be combined to perform Benefit, this division is only for convenience of presentation. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911137100.8A CN111309570A (en) | 2019-11-19 | 2019-11-19 | Pressure testing method, medium, device and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911137100.8A CN111309570A (en) | 2019-11-19 | 2019-11-19 | Pressure testing method, medium, device and computing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111309570A true CN111309570A (en) | 2020-06-19 |
Family
ID=71154776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911137100.8A Pending CN111309570A (en) | 2019-11-19 | 2019-11-19 | Pressure testing method, medium, device and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111309570A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486838A (en) * | 2020-12-14 | 2021-03-12 | 广州品唯软件有限公司 | Interface testing method and device, computer equipment and storage medium |
CN113448867A (en) * | 2021-07-16 | 2021-09-28 | 谢靖 | Software pressure testing method and device |
CN113672495A (en) * | 2021-07-06 | 2021-11-19 | 微梦创科网络科技(中国)有限公司 | System and method for implementing full link voltage measurement on production environment |
CN113760680A (en) * | 2021-02-25 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Method and device for testing system pressure performance |
CN113807909A (en) * | 2021-01-13 | 2021-12-17 | 北京沃东天骏信息技术有限公司 | An order pressure measurement method, device, electronic device and storage medium |
CN114185792A (en) * | 2021-12-13 | 2022-03-15 | 中国平安财产保险股份有限公司 | Data isolation method, device and equipment for pressure measurement scene and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304322A (en) * | 2018-01-12 | 2018-07-20 | 深圳壹账通智能科技有限公司 | A kind of method for testing pressure and terminal device |
CN108376112A (en) * | 2018-02-09 | 2018-08-07 | 腾讯科技(深圳)有限公司 | Method for testing pressure, device and readable medium |
CN109165168A (en) * | 2018-09-14 | 2019-01-08 | 杭州云创共享网络科技有限公司 | A kind of method for testing pressure, device, equipment and medium |
CN109684211A (en) * | 2018-12-18 | 2019-04-26 | 北京顺丰同城科技有限公司 | A kind of order dispatch system pressure test method and device based on shop dimension |
CN110134591A (en) * | 2019-04-19 | 2019-08-16 | 平安普惠企业管理有限公司 | A kind of software method for testing pressure and system, electronic equipment |
-
2019
- 2019-11-19 CN CN201911137100.8A patent/CN111309570A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304322A (en) * | 2018-01-12 | 2018-07-20 | 深圳壹账通智能科技有限公司 | A kind of method for testing pressure and terminal device |
CN108376112A (en) * | 2018-02-09 | 2018-08-07 | 腾讯科技(深圳)有限公司 | Method for testing pressure, device and readable medium |
CN109165168A (en) * | 2018-09-14 | 2019-01-08 | 杭州云创共享网络科技有限公司 | A kind of method for testing pressure, device, equipment and medium |
CN109684211A (en) * | 2018-12-18 | 2019-04-26 | 北京顺丰同城科技有限公司 | A kind of order dispatch system pressure test method and device based on shop dimension |
CN110134591A (en) * | 2019-04-19 | 2019-08-16 | 平安普惠企业管理有限公司 | A kind of software method for testing pressure and system, electronic equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486838A (en) * | 2020-12-14 | 2021-03-12 | 广州品唯软件有限公司 | Interface testing method and device, computer equipment and storage medium |
CN113807909A (en) * | 2021-01-13 | 2021-12-17 | 北京沃东天骏信息技术有限公司 | An order pressure measurement method, device, electronic device and storage medium |
CN113760680A (en) * | 2021-02-25 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Method and device for testing system pressure performance |
CN113672495A (en) * | 2021-07-06 | 2021-11-19 | 微梦创科网络科技(中国)有限公司 | System and method for implementing full link voltage measurement on production environment |
CN113448867A (en) * | 2021-07-16 | 2021-09-28 | 谢靖 | Software pressure testing method and device |
CN114185792A (en) * | 2021-12-13 | 2022-03-15 | 中国平安财产保险股份有限公司 | Data isolation method, device and equipment for pressure measurement scene and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111309570A (en) | Pressure testing method, medium, device and computing equipment | |
CN109271325B (en) | Application testing method, system, electronic device and storage medium | |
US10958548B2 (en) | Generating production server load activity for a test server | |
US7664986B2 (en) | System and method for determining fault isolation in an enterprise computing system | |
US8473919B2 (en) | System and method for repeating program flow for debugging and testing | |
CN108763076A (en) | A kind of Software Automatic Testing Method, device, equipment and medium | |
US20140282400A1 (en) | Systems and methods for managing software development environments | |
US10339039B2 (en) | Virtual service interface | |
CN111522703A (en) | Method, apparatus and computer program product for monitoring access requests | |
CN113127356A (en) | Pressure measurement method and device, electronic equipment and storage medium | |
US10657023B1 (en) | Techniques for collecting and reporting build metrics using a shared build mechanism | |
CN112363938A (en) | Data processing method and device, electronic equipment and storage medium | |
WO2016178661A1 (en) | Determining idle testing periods | |
CN113127358B (en) | A testing method, device, electronic equipment and medium | |
US9354962B1 (en) | Memory dump file collection and analysis using analysis server and cloud knowledge base | |
CN114625645A (en) | Service testing method and device, electronic equipment and readable storage medium | |
CN112069202B (en) | SQL performance analysis method, system, equipment and medium based on tracking technology | |
CN117493179A (en) | Flow recording and playback method and device, storage medium and electronic equipment | |
CN115145831B (en) | Non-invasive test data recovery method and system | |
US11288175B1 (en) | Software production load and software test load synchronization feedback system | |
CN113760696B (en) | A program problem locating method, device, electronic device and storage medium | |
CN110287039A (en) | Analog interface configuration method, medium, device and calculating equipment | |
US11611500B2 (en) | Automated network analysis using a sensor | |
US20240419565A1 (en) | Method and system for generating activity report of testbench components in a test environment | |
US8898636B1 (en) | Method and apparatus for testing an application running in a virtual machine |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200619 |
|
RJ01 | Rejection of invention patent application after publication |