CN108959047B - Pressure testing method and device based on service scene - Google Patents
Pressure testing method and device based on service scene Download PDFInfo
- Publication number
- CN108959047B CN108959047B CN201810593758.9A CN201810593758A CN108959047B CN 108959047 B CN108959047 B CN 108959047B CN 201810593758 A CN201810593758 A CN 201810593758A CN 108959047 B CN108959047 B CN 108959047B
- Authority
- CN
- China
- Prior art keywords
- tps
- peak value
- message
- target element
- expected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F11/3433—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 for load management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本发明实施例提供一种基于业务场景的压力测试方法及装置,所述方法包括:确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;根据所述目标元素,确定与所述目标元素相关的负载因子;根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。所述装置执行上述方法。本发明实施例提供的基于业务场景的压力测试方法及装置,能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。
Embodiments of the present invention provide a method and device for stress testing based on business scenarios. The method includes: determining a business scenario; the business scenario includes triggering actions performed by a user on a target element in the process of using a computer application; The target element is determined, and the load factor related to the target element is determined; according to the load factor, the number of distributed servers used in the current environment, and the number of tests of the distributed servers used in the stress test environment, calculate the stress test and perform stress testing according to the indicator parameters. The apparatus performs the method described above. The business scenario-based stress testing method and device provided by the embodiments of the present invention can truly and effectively perform stress testing on the load borne by the distributed server, providing a strong guarantee for subsequent service level improvement and business increase.
Description
技术领域technical field
本发明实施例涉及压力测试技术领域,具体涉及一种基于业务场景的压力测试方法及装置。Embodiments of the present invention relate to the technical field of stress testing, and in particular, to a stress testing method and device based on business scenarios.
背景技术Background technique
在大数据技术日益发展的今天,给分布式服务器的数据处理能力提出了更高的要求。在这样的技术背景下,如何合理地进行对分布式服务器所承载的负载进行压力测试显得尤为重要。Today, with the increasing development of big data technology, higher requirements are put forward for the data processing capability of distributed servers. Under such a technical background, it is particularly important to reasonably carry out the stress test on the load carried by the distributed server.
现有技术所采用的压力测试方法通常是基于硬件参数指标进行的,例如I/O、CPU和内存等;还有是基于产品的性能指标参数进行的,这些现有技术对于产生海量数据的业务场景的适用性不强,存在响应滞后、且不能真实、有效地反映出数据调用接口的真实压力状况等一系列问题。The stress testing methods used in the prior art are usually based on hardware parameter indicators, such as I/O, CPU, and memory, etc.; and also based on product performance index parameters. The applicability of the scenario is not strong, and there are a series of problems such as lag in response and inability to truly and effectively reflect the real pressure status of the data calling interface.
因此,如何避免上述缺陷,能够真实、有效地对分布式服务器所承载的负载进行压力测试,有力保障后续对用户的服务水平,成为亟须解决的问题。Therefore, how to avoid the above-mentioned defects, to be able to truly and effectively perform stress testing on the load carried by the distributed server, and to effectively guarantee the subsequent service level to users, has become an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
针对现有技术存在的问题,本发明实施例提供一种基于业务场景的压力测试方法及装置。Aiming at the problems existing in the prior art, the embodiments of the present invention provide a stress testing method and apparatus based on a business scenario.
第一方面,本发明实施例提供一种基于业务场景的压力测试方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a stress testing method based on a business scenario, the method comprising:
确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;determining a business scenario; the business scenario includes triggering actions made by the user on the target element in the process of using the computer application;
根据所述目标元素,确定与所述目标元素相关的负载因子;According to the target element, determining a load factor related to the target element;
根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。According to the load factor, the number of distributed servers used in the current environment, and the test number of distributed servers used in the stress test environment, the index parameters of the stress test are calculated, and the stress test is performed according to the index parameters.
第二方面,本发明实施例提供一种基于业务场景的压力测试装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a stress testing device based on a business scenario, the device comprising:
第一确定单元,用于确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;a first determining unit, configured to determine a business scenario; the business scenario includes a trigger action performed by a user on a target element in the process of using the computer application;
第二确定单元,用于根据所述目标元素,确定与所述目标元素相关的负载因子;a second determining unit, configured to determine, according to the target element, a load factor related to the target element;
计算单元,用于根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。A computing unit, configured to calculate the index parameters of the stress test according to the load factor, the number of distributed servers used in the current environment, and the number of tests of the distributed servers used in the stress test environment, and according to the index parameters Do a stress test.
第三方面,本发明实施例提供一种电子设备,包括:处理器、存储器和总线,其中,In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein,
所述处理器和所述存储器通过所述总线完成相互间的通信;The processor and the memory communicate with each other through the bus;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如下方法:The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the following methods:
确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;determining a business scenario; the business scenario includes triggering actions made by the user on the target element in the process of using the computer application;
根据所述目标元素,确定与所述目标元素相关的负载因子;According to the target element, determining a load factor related to the target element;
根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。According to the load factor, the number of distributed servers used in the current environment, and the test number of distributed servers used in the stress test environment, the index parameters of the stress test are calculated, and the stress test is performed according to the index parameters.
第四方面,本发明实施例提供一种非暂态计算机可读存储介质,包括:In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如下方法:The non-transitory computer-readable storage medium stores computer instructions that cause the computer to perform the following methods:
确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;determining a business scenario; the business scenario includes triggering actions made by the user on the target element in the process of using the computer application;
根据所述目标元素,确定与所述目标元素相关的负载因子;According to the target element, determining a load factor related to the target element;
根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。According to the load factor, the number of distributed servers used in the current environment, and the test number of distributed servers used in the stress test environment, the index parameters of the stress test are calculated, and the stress test is performed according to the index parameters.
本发明实施例提供的基于业务场景的压力测试方法及装置,通过确定业务场景中的与目标元素相关的负载因子,并分别根据当前环境和压力测试环境下分布式服务器的数量和该负载因子计算压力测试的指标参数、以进行压力测试,能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business scenario-based stress testing method and device provided by the embodiments of the present invention determine the load factor related to the target element in the business scenario, and calculate the load factor according to the number of distributed servers in the current environment and the stress testing environment and the load factor respectively. The index parameters of the stress test are used for stress testing, which can truly and effectively carry out stress testing on the load carried by the distributed server, which provides a strong guarantee for the subsequent improvement of service levels and business growth.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例基于业务场景的压力测试方法流程示意图;FIG. 1 is a schematic flowchart of a stress testing method based on a business scenario according to an embodiment of the present invention;
图2为本发明实施例基于业务场景的压力测试装置结构示意图;FIG. 2 is a schematic structural diagram of a stress testing device based on a business scenario according to an embodiment of the present invention;
图3为本发明实施例提供的电子设备实体结构示意图。FIG. 3 is a schematic diagram of a physical structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明实施例基于业务场景的压力测试方法流程示意图,如图1所示,本发明实施例提供的一种基于业务场景的压力测试方法,包括以下步骤:FIG. 1 is a schematic flowchart of a business scenario-based stress testing method according to an embodiment of the present invention. As shown in FIG. 1 , a business scenario-based stress testing method provided by an embodiment of the present invention includes the following steps:
S101:确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作。S101: Determine a business scenario; the business scenario includes a trigger action performed by a user on a target element in the process of using a computer application.
具体的,装置确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作。装置可以是管理各分布式服务器的中央服务器,但不作具体限定。可以采用如下方式确定业务场景:接收用户终端发送的用户在使用计算机应用程序的过程中对目标元素所作的触发动作。用户终端可以是手机、平面电脑等。目标元素可以理解为用户在使用该计算机应用程序过程中在该计算机应用程序中的众多元素中,触发操作动作的元素。元素可以是登陆界面、消息发送界面等在该计算机应用程序中可供用户操作的内容。目标元素包括可以包括所述计算机应用程序的登陆界面和/或消息发送界面,对目标元素所作的触发动作,可以是用户在登陆界面上输入用户名和密码后,点击“登陆”按钮的动作;可以是用户在消息发送界面上点击“发送”按钮的动作,但对触发动作的具体方式不作具体限定。可以对业务场景举例如下:Specifically, the apparatus determines a business scenario; the business scenario includes a triggering action performed by a user on a target element in the process of using the computer application program. The device may be a central server that manages each distributed server, but it is not specifically limited. The service scenario may be determined in the following manner: receiving the trigger action sent by the user terminal to the target element in the process of using the computer application program by the user. The user terminal may be a mobile phone, a flat computer, or the like. The target element can be understood as an element that triggers an operation action among many elements in the computer application program when the user uses the computer application program. Elements may be login interfaces, message sending interfaces, etc., which are available to the user for manipulation in the computer application. The target element includes a login interface and/or a message sending interface that can include the computer application, and the trigger action to the target element can be the action of the user clicking the "login" button after entering the user name and password on the login interface; It is the action of the user clicking the "Send" button on the message sending interface, but the specific manner of triggering the action is not specifically limited. Examples of business scenarios are as follows:
在一个500人的群里面,有较多的人,例如50人同时在刷屏发表情消息,同时伴随着有少数人发红包。In a group of 500 people, there are many people, for example, 50 people are swiping the screen to send emoji messages at the same time, and at the same time, a few people send red envelopes.
分布式服务器异常情况可以为:分布式服务器处理不过来大量用户同时刷消息,原因可以是网络接入层压力过大,有大量的推送消息的请求,占用了分布式服务器较多资源(包括网络资源、硬件资源等),导致后面的请求无法进入,进而影响了其他业务请求。The abnormal situation of the distributed server can be: the distributed server cannot handle a large number of users to refresh messages at the same time. The reason may be that the pressure on the network access layer is too high, and there are a large number of requests to push messages, which occupies a lot of resources of the distributed server (including network resources, hardware resources, etc.), resulting in inaccessibility of subsequent requests, which in turn affects other business requests.
S102:根据所述目标元素,确定与所述目标元素相关的负载因子。S102: Determine a load factor related to the target element according to the target element.
具体的,装置根据所述目标元素,确定与所述目标元素相关的负载因子。具体方式可以如下:确定与所述登陆界面相关的负载因子为登陆每秒事务处理量tps(TransactionPer Second)峰值(即登陆tps峰值);所述登陆tps峰值是当前时刻之前的预设时段内登陆tps的最大值;可以通过分析历史日志数据的方式确定登陆tps峰值;预设时段可以根据实际情况自主设置,例如选择当前时刻之前的三个月内。Specifically, the apparatus determines the load factor related to the target element according to the target element. The specific method may be as follows: determine that the load factor related to the login interface is the peak value of tps (TransactionPer Second) of the transaction per second (that is, the peak value of the login tps); the peak value of the login tps is the login in the preset time period before the current moment The maximum value of tps; the peak login tps can be determined by analyzing historical log data; the preset time period can be set independently according to the actual situation, for example, within three months before the current moment.
和/或,and / or,
确定与所述消息发送界面相关的负载因子为消息发送每秒事务处理量tps峰值(即消息发送tps峰值)和消息推送过程中所消耗的消息推送tps峰值(即消息推送tps峰值);所述消息发送tps峰值是当前时刻之前的预设时段内消息发送tps的最大值、所述消息推送tps峰值是当前时刻之前的预设时段内消息推送tps的最大值,具体说明可以参照上述登陆tps峰值的情况,不再赘述。Determine that the load factor related to the message sending interface is the peak tps transaction volume per second of message sending (that is, the peak message sending tps) and the peak message pushing tps consumed during the message pushing process (that is, the peak message pushing tps); the The peak message sending tps is the maximum value of the message sending tps in the preset time period before the current time, and the message pushing tps peak value is the maximum value of the message pushing tps in the preset time period before the current time. For details, please refer to the above login tps peak value situation, will not be repeated.
S103:根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。S103: Calculate the index parameters of the stress test according to the load factor, the number of distributed servers used in the current environment, and the number of tests of the distributed servers used in the stress test environment, and perform the stress test according to the index parameters .
具体的,装置根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。根据所述指标参数进行压力测试为本领域成熟技术,不再赘述。当前环境可以理解为分布式服务器在正常负荷条件下(例如单日用户数量在平均单日用户数量左右);压力测试环境可以理解为分布式服务器在异常负荷条件下(例如火车购票软件在春运期间的用户数量要超出正常时期数量的很多倍、购物网站在双十一活动期间的支付订单要超出正常时期订单的很多倍)参照上述举例,可以根据如下公式计算所述登陆tps峰值对应的指标参数为预期登陆tps:Specifically, the device calculates the index parameters of the stress test according to the load factor, the number of distributed servers used in the current environment, and the number of tests of the distributed servers used in the stress test environment, and performs the stress test according to the index parameters. pressure test. Stress testing according to the index parameters is a mature technology in the art, and details are not repeated here. The current environment can be understood as the distributed server under normal load conditions (for example, the number of users in a single day is about the average number of users per day); the stress test environment can be understood as the distributed server under abnormal load conditions (for example, the train ticket software is in the Spring Festival travel period. The number of users during the period will exceed the number of normal periods by many times, and the payment orders of shopping websites during the Double Eleven event will be many times greater than those in normal periods.) Referring to the above example, the indicator corresponding to the peak login tps can be calculated according to the following formula The parameter is the expected login tps:
所述预期登陆tps=(所述登陆tps峰值/所述数量)×所述测试数量×预设放大倍数。预设放大倍数可以根据实际情况自主设置,可选为3~5倍。例如:所述登陆tps峰值可选为120、所述数量可选为6个、所述测试数量可选为3个、预设放大倍数可选为3倍,则所述预期登陆tps=(120/6)×3×3=180。The expected landing tps=(the landing tps peak value/the quantity)×the test quantity×preset magnification. The preset magnification can be set independently according to the actual situation, and can be selected from 3 to 5 times. For example: the peak value of the landing tps can be selected as 120, the number can be selected as 6, the test number can be selected as 3, and the preset magnification can be selected as 3 times, then the expected landing tps=(120 /6)×3×3=180.
可以根据如下公式计算所述消息发送tps峰值对应的指标参数为预期消息发送tps:The indicator parameter corresponding to the peak message sending tps can be calculated according to the following formula as the expected message sending tps:
所述预期消息发送tps=(所述消息发送tps峰值/所述数量)×所述测试数量×预设放大倍数。例如:所述消息发送tps峰值可选为360、所述数量可选为6个、所述测试数量可选为3个、预设放大倍数可选为5倍,则所述预期消息发送tps=(360/6)×3×5=900。The expected message sending tps=(the message sending tps peak value/the quantity)×the test quantity×preset magnification. For example: the peak value of the message sending tps can be 360, the number can be 6, the test number can be 3, and the preset magnification can be 5 times, then the expected message sending tps= (360/6)×3×5=900.
可以根据如下公式计算所述消息推送tps峰值对应的指标参数为预期消息推送tps:The indicator parameter corresponding to the message push tps peak value can be calculated according to the following formula to be the expected message push tps:
所述预期消息推送tps=(所述消息推送tps峰值/所述数量)×所述测试数量×预设放大倍数。例如:所述消息推送tps峰值可选为3000、所述数量可选为6个、所述测试数量可选为3个、预设放大倍数可选为5倍,则所述预期消息推送tps=(3000/6)×3×5=7500。The expected message push tps=(the message push tps peak value/the quantity)×the test quantity×preset magnification. For example: the peak value of the message push tps can be selected as 3000, the number can be selected as 6, the test number can be selected as 3, and the preset magnification can be selected as 5 times, then the expected message push tps= (3000/6)×3×5=7500.
需要说明的是:负载因子还可以包括预期单日在线用户数;相应的,所述方法还包括:It should be noted that the load factor may also include the expected number of online users in a single day; correspondingly, the method further includes:
获取当前时刻之前的预设天数内的单日最大在线用户数;预设天数可以根据实际情况自主设置。单日最大在线用户数可以通过分析历史日志数据的方式获取。可以根据如下公式计算所述预期单日在线用户数:Get the maximum number of online users in a single day within the preset number of days before the current moment; the preset number of days can be set independently according to the actual situation. The maximum number of online users in a single day can be obtained by analyzing historical log data. The expected number of online users per day can be calculated according to the following formula:
所述预期单日在线用户数=所述单日最大在线用户数×预设放大倍数,预设放大倍数可以根据实际情况自主设置,可选为3~5倍。例如:所述单日最大在线用户数可选为5000、预设放大倍数可选为5倍,则所述预期单日在线用户数=5000×5=25000。The expected number of online users in a single day = the maximum number of online users in a single day × the preset magnification, and the preset magnification can be set independently according to the actual situation, and can be selected as 3 to 5 times. For example, the maximum number of online users in a single day can be selected as 5000, and the preset magnification can be selected as 5 times, then the expected number of online users in a single day=5000×5=25000.
本发明实施例提供的基于业务场景的压力测试方法,通过确定业务场景中的与目标元素相关的负载因子,并分别根据当前环境和压力测试环境下分布式服务器的数量和该负载因子计算压力测试的指标参数、以进行压力测试,能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The stress testing method based on the business scenario provided by the embodiment of the present invention determines the load factor related to the target element in the business scenario, and calculates the stress test according to the number of distributed servers and the load factor in the current environment and the stress testing environment respectively. In order to carry out stress test, it can truly and effectively carry out stress test on the load carried by distributed servers, which provides a strong guarantee for the subsequent improvement of service level and business increase.
在上述实施例的基础上,所述目标元素包括所述计算机应用程序的登陆界面和/或消息发送界面;相应的,所述根据所述目标元素,确定与所述目标元素相关的负载因子,包括:On the basis of the above embodiment, the target element includes a login interface and/or a message sending interface of the computer application; correspondingly, the load factor related to the target element is determined according to the target element, include:
确定与所述登陆界面相关的负载因子为登陆每秒事务处理量tps峰值;所述登陆tps峰值是当前时刻之前的预设时段内登陆tps的最大值。It is determined that the load factor related to the login interface is the peak value of the transaction processing volume per second of the login tps; the peak value of the login tps is the maximum value of the login tps in the preset time period before the current moment.
具体的,装置确定与所述登陆界面相关的负载因子为登陆每秒事务处理量tps峰值;所述登陆tps峰值是当前时刻之前的预设时段内登陆tps的最大值。可参照上述实施例,不再赘述。Specifically, the device determines that the load factor related to the login interface is the peak value tps of the transaction processing volume per second of the login; the peak value of the login tps is the maximum value of the login tps in the preset period before the current moment. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
和/或,and / or,
确定与所述消息发送界面相关的负载因子为消息发送每秒事务处理量tps峰值和消息推送过程中所消耗的消息推送tps峰值;所述消息发送tps峰值是当前时刻之前的预设时段内消息发送tps的最大值、所述消息推送tps峰值是当前时刻之前的预设时段内消息推送tps的最大值。Determine that the load factor related to the message sending interface is the tps peak value of transaction processing volume per second for message sending and the message push tps peak value consumed in the message pushing process; the message sending tps peak value is the message in the preset time period before the current moment. The maximum value of the sending tps, and the peak value of the message pushing tps is the maximum value of the message pushing tps in the preset time period before the current moment.
具体的,装置确定与所述消息发送界面相关的负载因子为消息发送每秒事务处理量tps峰值和消息推送过程中所消耗的消息推送tps峰值;所述消息发送tps峰值是当前时刻之前的预设时段内消息发送tps的最大值、所述消息推送tps峰值是当前时刻之前的预设时段内消息推送tps的最大值。可参照上述实施例,不再赘述。Specifically, the device determines that the load factor related to the message sending interface is the tps peak value of transaction processing volume per second for message sending and the peak tps value of message push consumed during the message pushing process; the tps peak value of message sending is the predicted value before the current moment. It is assumed that the maximum value of the message sending tps in the time period, the peak value of the message pushing tps is the maximum value of the message pushing tps in the preset time period before the current time. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
本发明实施例提供的基于业务场景的压力测试方法,通过合理确定与目标元素相关的负载因子,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business-scenario-based stress testing method provided by the embodiment of the present invention can further truly and effectively perform stress testing on the load borne by the distributed server by reasonably determining the load factor related to the target element, so as to improve the subsequent service level and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,包括:On the basis of the above embodiment, the index parameters of the stress test are calculated according to the load factor, the number of distributed servers used in the current environment, and the number of tests of distributed servers used in the stress test environment, including: :
根据如下公式计算所述登陆tps峰值对应的指标参数为预期登陆tps:The index parameter corresponding to the peak landing tps is calculated according to the following formula to be the expected landing tps:
所述预期登陆tps=(所述登陆tps峰值/所述数量)×所述测试数量×预设放大倍数。The expected landing tps=(the landing tps peak value/the quantity)×the test quantity×preset magnification.
具体的,装置根据如下公式计算所述登陆tps峰值对应的指标参数为预期登陆tps:Specifically, the device calculates the index parameter corresponding to the peak landing tps as the expected landing tps according to the following formula:
所述预期登陆tps=(所述登陆tps峰值/所述数量)×所述测试数量×预设放大倍数。可参照上述实施例,不再赘述。The expected landing tps=(the landing tps peak value/the quantity)×the test quantity×preset magnification. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
和/或,and / or,
根据如下公式计算所述消息发送tps峰值对应的指标参数为预期消息发送tps:The indicator parameter corresponding to the peak message sending tps calculated according to the following formula is the expected message sending tps:
所述预期消息发送tps=(所述消息发送tps峰值/所述数量)×所述测试数量×预设放大倍数。The expected message sending tps=(the message sending tps peak value/the quantity)×the test quantity×preset magnification.
具体的,装置根据如下公式计算所述消息发送tps峰值对应的指标参数为预期消息发送tps:Specifically, the device calculates the indicator parameter corresponding to the message sending tps peak value according to the following formula to be the expected message sending tps:
所述预期消息发送tps=(所述消息发送tps峰值/所述数量)×所述测试数量×预设放大倍数。可参照上述实施例,不再赘述。The expected message sending tps=(the message sending tps peak value/the quantity)×the test quantity×preset magnification. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
根据如下公式计算所述消息推送tps峰值对应的指标参数为预期消息推送tps:The indicator parameter corresponding to the peak value of the message push tps calculated according to the following formula is the expected message push tps:
所述预期消息推送tps=(所述消息推送tps峰值/所述数量)×所述测试数量×预设放大倍数。The expected message push tps=(the message push tps peak value/the quantity)×the test quantity×preset magnification.
具体的,装置根据如下公式计算所述消息推送tps峰值对应的指标参数为预期消息推送tps:Specifically, the device calculates the indicator parameter corresponding to the message push tps peak value according to the following formula to be the expected message push tps:
所述预期消息推送tps=(所述消息推送tps峰值/所述数量)×所述测试数量×预设放大倍数。可参照上述实施例,不再赘述。The expected message push tps=(the message push tps peak value/the quantity)×the test quantity×preset magnification. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
本发明实施例提供的基于业务场景的压力测试方法,通过具体计算出的压力测试的指标参数,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The stress testing method based on the business scenario provided by the embodiment of the present invention can further truly and effectively perform stress testing on the load borne by the distributed server through the specifically calculated index parameters of the stress testing, which is for the improvement of subsequent service levels and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述负载因子还包括预期单日在线用户数;相应的,所述方法还包括:On the basis of the above embodiment, the load factor further includes the expected number of online users in a single day; correspondingly, the method further includes:
获取当前时刻之前的预设天数内的单日最大在线用户数。Get the maximum number of online users in a single day within the preset number of days before the current moment.
具体的,装置获取当前时刻之前的预设天数内的单日最大在线用户数。可参照上述实施例,不再赘述。Specifically, the device acquires the maximum number of online users in a single day within a preset number of days before the current moment. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
根据如下公式计算所述预期单日在线用户数:Calculate the expected number of online users per day according to the following formula:
所述预期单日在线用户数=所述单日最大在线用户数×预设放大倍数。The expected number of online users in a single day=the maximum number of online users in the single day×preset magnification.
具体的,装置根据如下公式计算所述预期单日在线用户数:Specifically, the device calculates the expected number of online users per day according to the following formula:
所述预期单日在线用户数=所述单日最大在线用户数×预设放大倍数。可参照上述实施例,不再赘述。The expected number of online users in a single day=the maximum number of online users in the single day×preset magnification. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
本发明实施例提供的基于业务场景的压力测试方法,通过计算出的预期单日在线用户数,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business scenario-based stress testing method provided by the embodiment of the present invention can further truly and effectively perform stress testing on the load borne by the distributed server by calculating the expected number of online users in a single day, so as to improve the subsequent service level and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述确定业务场景,包括:On the basis of the foregoing embodiment, the determining of the service scenario includes:
接收用户终端发送的用户在使用计算机应用程序的过程中对目标元素所作的触发动作。The triggering action performed by the user on the target element in the process of using the computer application program sent by the user terminal is received.
具体的,装置接收用户终端发送的用户在使用计算机应用程序的过程中对目标元素所作的触发动作。可参照上述实施例,不再赘述。Specifically, the device receives the trigger action performed by the user on the target element in the process of using the computer application, which is sent by the user terminal. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
将所述对目标元素所作的触发动作作为所述业务场景。The trigger action on the target element is used as the business scenario.
具体的,装置将所述对目标元素所作的触发动作作为所述业务场景。可参照上述实施例,不再赘述。Specifically, the device takes the trigger action on the target element as the service scenario. Reference may be made to the above-mentioned embodiments, and details are not repeated here.
本发明实施例提供的基于业务场景的压力测试方法,能够合理确定业务场景,使得本发明的技术方案能够基于业务场景执行,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business scenario-based stress testing method provided by the embodiment of the present invention can reasonably determine the business scenario, so that the technical solution of the present invention can be executed based on the business scenario, and further can truly and effectively perform stress testing on the load borne by the distributed server, It provides a strong guarantee for the improvement of the follow-up service level and the increase of business.
图2为本发明实施例基于业务场景的压力测试装置结构示意图,如图2所示,本发明实施例提供了一种基于业务场景的压力测试装置,包括第一确定单元201、第二确定单元202和计算单元203,其中:FIG. 2 is a schematic structural diagram of a business scenario-based stress testing device according to an embodiment of the present invention. As shown in FIG. 2 , an embodiment of the present invention provides a business scenario-based stress testing device, including a first determining
第一确定单元201用于确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;第二确定单元202用于根据所述目标元素,确定与所述目标元素相关的负载因子;计算单元203用于根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。The first determining
本发明实施例提供的基于业务场景的压力测试装置,通过确定业务场景中的与目标元素相关的负载因子,并分别根据当前环境和压力测试环境下分布式服务器的数量和该负载因子计算压力测试的指标参数、以进行压力测试,能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The stress testing device based on the business scenario provided by the embodiment of the present invention determines the load factor related to the target element in the business scenario, and calculates the stress test according to the number of distributed servers and the load factor in the current environment and the stress testing environment respectively. In order to carry out stress test, it can truly and effectively carry out stress test on the load carried by distributed servers, which provides a strong guarantee for the subsequent improvement of service level and business increase.
在上述实施例的基础上,所述目标元素包括所述计算机应用程序的登陆界面和/或消息发送界面;相应的,第二确定单元202具体用于:On the basis of the above embodiment, the target element includes the login interface and/or the message sending interface of the computer application; correspondingly, the second determining unit 202 is specifically configured to:
确定与所述登陆界面相关的负载因子为登陆每秒事务处理量tps峰值;所述登陆tps峰值是当前时刻之前的预设时段内登陆tps的最大值;和/或,确定与所述消息发送界面相关的负载因子为消息发送每秒事务处理量tps峰值和消息推送过程中所消耗的消息推送tps峰值;所述消息发送tps峰值是当前时刻之前的预设时段内消息发送tps的最大值、所述消息推送tps峰值是当前时刻之前的预设时段内消息推送tps的最大值。Determine that the load factor related to the login interface is the peak value tps of the transaction volume per second of the login; the peak value of the login tps is the maximum value of the login tps in the preset time period before the current moment; and/or, determine that the message is sent with the message The load factor related to the interface is the tps peak value of transaction processing volume per second for message sending and the peak value of message push tps consumed in the message push process; the message sending tps peak value is the maximum value of message sending tps in the preset time period before the current moment, The message push tps peak value is the maximum value of the message push tps in a preset time period before the current moment.
本发明实施例提供的基于业务场景的压力测试装置,通过合理确定与目标元素相关的负载因子,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The stress testing device based on the business scenario provided by the embodiment of the present invention can further perform stress testing on the load borne by the distributed server truly and effectively by reasonably determining the load factor related to the target element, thereby improving the subsequent service level and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述计算单元203具体用于:On the basis of the above embodiment, the
根据如下公式计算所述登陆tps峰值对应的指标参数为预期登陆tps:所述预期登陆tps=(所述登陆tps峰值/所述数量)×所述测试数量×预设放大倍数;The index parameter corresponding to the peak landing tps is calculated according to the following formula as the expected landing tps: the expected landing tps=(the peak landing tps/the quantity) × the number of tests × the preset magnification;
和/或,and / or,
根据如下公式计算所述消息发送tps峰值对应的指标参数为预期消息发送tps:所述预期消息发送tps=(所述消息发送tps峰值/所述数量)×所述测试数量×预设放大倍数;The indicator parameter corresponding to the peak message sending tps calculated according to the following formula is the expected message sending tps: the expected message sending tps=(the peak value of the message sending tps/the quantity)×the test quantity×preset magnification;
根据如下公式计算所述消息推送tps峰值对应的指标参数为预期消息推送tps:所述预期消息推送tps=(所述消息推送tps峰值/所述数量)×所述测试数量×预设放大倍数。The indicator parameter corresponding to the peak message push tps is calculated according to the following formula as the expected message push tps: the expected message push tps=(the peak message push tps/the quantity)×the test quantity×preset magnification.
本发明实施例提供的基于业务场景的压力测试装置,通过具体计算出的压力测试的指标参数,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The stress testing device based on the business scenario provided by the embodiment of the present invention can further truly and effectively perform stress testing on the load borne by the distributed server through the specific calculation of the index parameters of the stress testing, so as to improve the subsequent service level and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述负载因子还包括预期单日在线用户数;相应的,所述装置还用于:On the basis of the above embodiment, the load factor further includes the expected number of online users in a single day; correspondingly, the device is further used for:
获取当前时刻之前的预设天数内的单日最大在线用户数;根据如下公式计算所述预期单日在线用户数:所述预期单日在线用户数=所述单日最大在线用户数×预设放大倍数。Obtain the maximum number of online users in a single day within the preset number of days before the current moment; calculate the expected number of online users in a single day according to the following formula: the expected number of online users in a single day = the maximum number of online users in the single day × preset gain.
本发明实施例提供的基于业务场景的压力测试装置,通过计算出的预期单日在线用户数,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business scenario-based stress testing device provided by the embodiment of the present invention can further truly and effectively perform stress testing on the load borne by the distributed server by calculating the expected number of online users in a single day, thereby improving the subsequent service level and The increase in business provides a strong guarantee.
在上述实施例的基础上,所述第一确定单元201具体用于:On the basis of the foregoing embodiment, the first determining
接收用户终端发送的用户在使用计算机应用程序的过程中对目标元素所作的触发动作;将所述对目标元素所作的触发动作作为所述业务场景。Receive the trigger action performed by the user on the target element in the process of using the computer application sent by the user terminal; and use the trigger action performed on the target element as the business scenario.
本发明实施例提供的基于业务场景的压力测试装置,能够合理确定业务场景,使得本发明的技术方案能够基于业务场景执行,进一步能够真实、有效地对分布式服务器所承载的负载进行压力测试,为后续服务水平的提高以及业务增加提供了强有力的保障。The business scenario-based stress testing device provided by the embodiment of the present invention can reasonably determine the business scenario, so that the technical solution of the present invention can be executed based on the business scenario, and further can truly and effectively perform stress testing on the load borne by the distributed server, It provides a strong guarantee for the improvement of the follow-up service level and the increase of business.
本发明实施例提供的基于业务场景的压力测试装置具体可以用于执行上述各方法实施例的处理流程,其功能在此不再赘述,可以参照上述方法实施例的详细描述。The business scenario-based stress testing apparatus provided by the embodiment of the present invention can be specifically used to execute the processing flow of the above method embodiments, and its functions are not repeated here, and reference may be made to the detailed description of the above method embodiments.
图3为本发明实施例提供的电子设备实体结构示意图,如图3所示,所述电子设备包括:处理器(processor)301、存储器(memory)302和总线303;FIG. 3 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. As shown in FIG. 3 , the electronic device includes: a processor (processor) 301, a memory (memory) 302, and a
其中,所述处理器301、存储器302通过总线303完成相互间的通信;The
所述处理器301用于调用所述存储器302中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;根据所述目标元素,确定与所述目标元素相关的负载因子;根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。The
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;根据所述目标元素,确定与所述目标元素相关的负载因子;根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。This embodiment discloses a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer program The methods provided by the above method embodiments can be executed, for example, including: determining a business scenario; the business scenario includes triggering actions performed by a user on a target element in the process of using a computer application; The load factor related to the target element; according to the load factor, the number of distributed servers used in the current environment, and the number of distributed servers used in the stress test environment, calculate the index parameters of the stress test, and according to the Stress test with the above index parameters.
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:确定业务场景;所述业务场景包括用户在使用计算机应用程序的过程中对目标元素所作的触发动作;根据所述目标元素,确定与所述目标元素相关的负载因子;根据所述负载因子、当前环境下所使用的分布式服务器的数量和压力测试环境下所使用的分布式服务器的测试数量,计算压力测试的指标参数,并根据所述指标参数进行压力测试。This embodiment provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the methods provided by the foregoing method embodiments, for example, including : determine a business scenario; the business scenario includes the triggering action performed by the user on the target element in the process of using the computer application; according to the target element, determine the load factor related to the target element; according to the load factor, The number of distributed servers used in the current environment and the number of tests of distributed servers used in the stress test environment are calculated, and the index parameters of the stress test are calculated, and the stress test is performed according to the index parameters.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
以上所描述的电子设备等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The above-described electronic equipment and other embodiments are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上各实施例仅用以说明本发明的实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明的各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, but not to limit them; although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, ordinary The skilled person should understand that it is still possible to modify the technical solutions described in the foregoing embodiments, or to perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the present invention. The scope of the technical solutions of each embodiment.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810593758.9A CN108959047B (en) | 2018-06-11 | 2018-06-11 | Pressure testing method and device based on service scene |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810593758.9A CN108959047B (en) | 2018-06-11 | 2018-06-11 | Pressure testing method and device based on service scene |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108959047A CN108959047A (en) | 2018-12-07 |
| CN108959047B true CN108959047B (en) | 2022-05-03 |
Family
ID=64488303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810593758.9A Active CN108959047B (en) | 2018-06-11 | 2018-06-11 | Pressure testing method and device based on service scene |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108959047B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110764983A (en) * | 2019-09-25 | 2020-02-07 | 北京字节跳动网络技术有限公司 | Test method, device, medium and electronic equipment |
| CN111666194B (en) * | 2020-05-21 | 2022-02-08 | 平安科技(深圳)有限公司 | Pressurization parameter self-adaptive adjusting method and device, computer equipment and storage medium |
| CN111741294A (en) * | 2020-07-13 | 2020-10-02 | 四川虹魔方网络科技有限公司 | Performance test method based on smart television cloud platform |
| CN114138656A (en) * | 2021-12-06 | 2022-03-04 | 上海中通吉网络技术有限公司 | Performance Benchmarking Methods |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101430660A (en) * | 2008-11-18 | 2009-05-13 | 山东浪潮齐鲁软件产业股份有限公司 | Pressure model analysis method based on TPS in software performance test |
| CN106470133A (en) * | 2015-08-20 | 2017-03-01 | 阿里巴巴集团控股有限公司 | System pressure method of testing and device |
| CN107704396A (en) * | 2017-10-20 | 2018-02-16 | 平安科技(深圳)有限公司 | The method of testing and device of application program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9928153B2 (en) * | 2015-11-10 | 2018-03-27 | International Business Machines Corporation | Determining where bottlenecks occur in multi-threaded multi-path computing systems |
-
2018
- 2018-06-11 CN CN201810593758.9A patent/CN108959047B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101430660A (en) * | 2008-11-18 | 2009-05-13 | 山东浪潮齐鲁软件产业股份有限公司 | Pressure model analysis method based on TPS in software performance test |
| CN106470133A (en) * | 2015-08-20 | 2017-03-01 | 阿里巴巴集团控股有限公司 | System pressure method of testing and device |
| CN107704396A (en) * | 2017-10-20 | 2018-02-16 | 平安科技(深圳)有限公司 | The method of testing and device of application program |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108959047A (en) | 2018-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108959047B (en) | Pressure testing method and device based on service scene | |
| CN113157545A (en) | Method, device and equipment for processing service log and storage medium | |
| CN112506619B (en) | Job processing method, job processing device, electronic equipment and storage medium | |
| CN113779098B (en) | Data processing method, device, electronic device, and storage medium | |
| CN112948081A (en) | Method, device and equipment for processing task in delayed mode and storage medium | |
| CN110196769A (en) | A kind of information processing method, device, server and storage medium | |
| CN113609027A (en) | ARM cloud server testing method and device, electronic equipment and storage medium | |
| CN110097457B (en) | Information generation method, electronic device, and computer-readable medium | |
| CN115391827B (en) | Log information storage method, apparatus, device, computer readable medium and product | |
| CN109525466A (en) | Back end monitor method and device | |
| CN109639490B (en) | Downtime notification method and device | |
| CN114612212A (en) | Business processing method, device and system based on risk control | |
| CN105897498A (en) | Business monitoring method and device | |
| CN114401121A (en) | Application program login method and device, electronic equipment and readable storage medium | |
| CN118316898A (en) | Message transmission method and device | |
| CN118863054A (en) | Intelligent customer service question-answering method, device and computer equipment based on microservice architecture | |
| CN111291957B (en) | Method and device for generating customer service scheduling information, electronic equipment and storage medium | |
| CN114500448B (en) | Method, device and computer-readable medium for selecting target users | |
| CN109388546B (en) | Method, device and system for processing faults of application program | |
| CN113422734B (en) | Resource distribution method, device, electronic equipment and storage medium | |
| US20150127751A1 (en) | Sending an out-of-facility notification based on aggregated content frm a task management system | |
| CN114925406A (en) | Data verification method, device and computer program product | |
| CN113890906A (en) | Call forwarding method and apparatus, electronic device, and computer-readable storage medium | |
| CN115080205B (en) | Task execution method, device, electronic device and readable storage medium | |
| CN114579448A (en) | A method, device, storage medium and device for simulating transactions |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088 Applicant after: QAX Technology Group Inc. Address before: 100015 15, 17 floor 1701-26, 3 building, 10 Jiuxianqiao Road, Chaoyang District, Beijing. Applicant before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |