[go: up one dir, main page]

CN108038013A - Distributed performance test method and device and computer-readable recording medium - Google Patents

Distributed performance test method and device and computer-readable recording medium Download PDF

Info

Publication number
CN108038013A
CN108038013A CN201711236780.XA CN201711236780A CN108038013A CN 108038013 A CN108038013 A CN 108038013A CN 201711236780 A CN201711236780 A CN 201711236780A CN 108038013 A CN108038013 A CN 108038013A
Authority
CN
China
Prior art keywords
test
node
test data
sub
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711236780.XA
Other languages
Chinese (zh)
Other versions
CN108038013B (en
Inventor
王福山
徐静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201711236780.XA priority Critical patent/CN108038013B/en
Publication of CN108038013A publication Critical patent/CN108038013A/en
Application granted granted Critical
Publication of CN108038013B publication Critical patent/CN108038013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0709Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems

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)
  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种分布式性能测试方法及装置与计算机可读存储介质,该分布式性能测试方法包括:根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。实施本发明能将一个测试任务自动拆分在多个节点同步进行,满足大并发量的测试场景需求。

The invention discloses a distributed performance testing method and device and a computer-readable storage medium. The distributed performance testing method includes: analyzing and obtaining configuration information of each slave server according to prestored node allocation information, and the configuration information includes network address and the number of nodes allocated by each slave server; according to the configuration information of each slave server, split the total test data to obtain the sub-test data corresponding to each node, and replace the data reference in the test script with the corresponding sub-test data of each node, set up the test script corresponding to each node; push the test program, sub-test data and test script corresponding to each node to the nodes of each slave server; according to the test task, send corresponding commands to the nodes of each slave server , each node executes the task and feeds back the execution result. By implementing the present invention, a test task can be automatically divided and carried out synchronously on multiple nodes, so as to meet the requirements of large concurrent test scenarios.

Description

分布式性能测试方法及装置与计算机可读存储介质Distributed performance testing method and device, and computer-readable storage medium

技术领域technical field

本发明涉及测试领域,特别涉及一种分布式性能测试方法及装置与计算机可读存储介质。The invention relates to the testing field, in particular to a distributed performance testing method and device and a computer-readable storage medium.

背景技术Background technique

性能测试中经常会遇到大并发的测试任务(虚拟用户超过6万),单个压力源节点难以支撑这么高的测试场景;商业性能测试工具价格比较昂贵,而开源的测试工具在实现复杂的业务场景时存在一定的不足,需要手动修改测试数据、测试脚本等,费事费力且容易出错。Large concurrent test tasks (over 60,000 virtual users) are often encountered in performance testing, and a single stress source node cannot support such a high test scenario; commercial performance testing tools are relatively expensive, and open source testing tools are used to implement complex business There are certain deficiencies in the scenario, which requires manual modification of test data, test scripts, etc., which is laborious and error-prone.

测试工具Jmeter有一个远程运行的功能,通过这个模块可以从单个Jmeter客户端控制多个远程引擎,从而实现模拟服务器上的较大负载。理论上Jmeter客户端的一个实例可以控制任意数量的远程Jmeter实例,并从中收集所有的数据。远程运行功能通过以下手段实现:The test tool Jmeter has a remote running function. Through this module, multiple remote engines can be controlled from a single Jmeter client to simulate a large load on the server. In theory one instance of Jmeter client can control any number of remote Jmeter instances and collect all data from them. The remote operation function is realized by the following means:

将测试脚本保存在本地机器;Save the test script on the local machine;

从单个机器管理多个Jmeter引擎;Manage multiple Jmeter engines from a single machine;

客户端负责将脚本的内容(请求)发送到所有的服务器;The client is responsible for sending the content (request) of the script to all servers;

所有的节点都运行相同的测试计划,每个节点都运行完整的测试计划;而且,远程运行模式会占用更多的资源,不是独立运行相同数量的非GUI测试,如果使用的节点实例过多,会造成Jmeter客户端资源过载。另外,对于参数化的测试场景,由于每个节点运行的是相同的测试计划,就必须在各个服务器上相同的路径下准备测试数据文件。这种条件限制下,一台服务器就只能运行一个远程实例,大大升高了测试环境的需求。All nodes run the same test plan, and each node runs a complete test plan; moreover, the remote running mode will take up more resources, instead of running the same number of non-GUI tests independently, if too many node instances are used, It will cause Jmeter client resource overload. In addition, for parameterized test scenarios, since each node runs the same test plan, it is necessary to prepare test data files under the same path on each server. Under this limitation, a server can only run one remote instance, which greatly increases the requirements of the test environment.

Jmeter的远程运行模式中,执行测试前,需要先将各个节点的Jmeter实例以Jmeter server模式启动(手动执行);对于引用测试数据的测试计划,需要手工将数据文件拆分,然后放置在各个远程服务器的相同的路径下,并且在这种场景下,每个服务器上只能运行一个远程实例;如果节点过多,会大大增加Jmeter客户端的资源开销以及网络开销,测试结果有可能因此受到某种程度的污染。In the remote operation mode of Jmeter, before executing the test, you need to start the Jmeter instance of each node in Jmeter server mode (manual execution); for the test plan that references the test data, you need to manually split the data file, and then place it in each remote Under the same path of the server, and in this scenario, only one remote instance can run on each server; if there are too many nodes, the resource overhead and network overhead of the Jmeter client will be greatly increased, and the test results may be affected by certain degree of pollution.

在春节抢红包性能测试任务时,由于要模拟高并发(超过5万)的场景,单个节点无法满足测试需求,并且业务要求每个账号只能调用一次,无法重复使用。当时采取的手段是将测试数据手工拆分成多个,放置在不同服务器的不同路径下,再将Jmeter拷贝多份,并分别重命名放置在相应路径下。最后再手动修改测试脚本,做成多个相似的副本(测试数据的引用内容不同),然后手动切换到不同的服务器,各自启动Jmeter程序,独立运行各自的测试脚本。整个过程手动均手动参与,如果测试场景改动,就需要改动多个测试脚本,并且测试数据如果发生变化,也要手动重新拆分,拷贝到不同的服务器的不同节点下。一个持续20分钟的测试场景,往往要做半个小时左右的准备工作,时间成本非常高,并且每个脚本都要靠手动完成,特别容易出错,六七个节点,万一其中一个出错,测试任务就要失败,需要从头开始,对人工编辑的准确性要求非常高。During the performance test task of grabbing red envelopes during the Spring Festival, due to the simulation of high concurrency (more than 50,000) scenarios, a single node cannot meet the test requirements, and the business requires that each account can only be called once and cannot be reused. The method adopted at that time was to manually split the test data into multiple parts, place them in different paths of different servers, then copy multiple copies of Jmeter, and rename them respectively and place them in the corresponding paths. Finally, manually modify the test script to make multiple similar copies (the reference content of the test data is different), and then manually switch to different servers, start the Jmeter program separately, and run their respective test scripts independently. The whole process is manually involved. If the test scenario changes, multiple test scripts need to be changed, and if the test data changes, it must be manually re-split and copied to different nodes of different servers. A test scenario that lasts 20 minutes often requires about half an hour of preparation work. The time cost is very high, and each script must be completed manually, which is particularly error-prone. There are six or seven nodes. In case one of them makes an error, the test The task is about to fail and needs to be started from scratch, requiring very high accuracy of human editing.

发明内容Contents of the invention

有鉴于此,本发明旨在提供一种分布式性能测试方法、装置与计算机可读存储介质,避免了测试程序客户端在多个远程节点场景下,系统开销过载的问题,减少测试结果被污染的风险。In view of this, the present invention aims to provide a distributed performance testing method, device and computer-readable storage medium, which avoids the problem of overloading the system overhead of the test program client in the scenario of multiple remote nodes, and reduces the contamination of test results risks of.

具体而言,本发明一种分布式性能测试方法,包括:根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。Specifically, a distributed performance testing method of the present invention includes: analyzing and obtaining configuration information of each slave server according to pre-stored node allocation information, the configuration information including the network address and the number of nodes allocated by each slave server; Describe the configuration information of each slave server, split the total test data, obtain the sub-test data corresponding to each node, replace the data reference in the test script with the sub-test data corresponding to each node, and establish the test script corresponding to each node Push the test program, sub-test data and test scripts corresponding to each node to the nodes of each slave server; according to the test task, send corresponding commands to the nodes of each slave server, and each node executes the task and feeds back the execution result.

进一步地,所述对总测试数据进行拆分,得到各节点对应的子测试数据的步骤还包括:对各子测试数据配置对应的节点标识;或者/并且,所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤还包括:对各节点对应的测试脚本配置所述对应的节点标识。Further, the step of splitting the total test data to obtain the sub-test data corresponding to each node also includes: configuring the corresponding node identifier for each sub-test data; or/and, referring to the data in the test script The step of replacing with the sub-test data corresponding to each node further includes: configuring the corresponding node identifier for the test script corresponding to each node.

进一步地,所述将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点的步骤包括:所述将测试程序拷贝到各个从服务器的节点;对各节点的测试程序配置所述对应的节点标识的文件夹;将各节点对应的子测试数据与测试脚本推送对应的节点。Further, the step of pushing the test program, sub-test data and test scripts corresponding to each node to the nodes of each slave server includes: copying the test program to each node of the slave server; configuring the test program of each node The folder identified by the corresponding node; pushing the sub-test data and test script corresponding to each node to the corresponding node.

进一步地,所述节点为测试脚本采用XML格式的XML节点,所述分布式性能测试方法还包括:采用xmlstarlet搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中,得到文件数组;遍历文件数组,并执行所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤。Further, the node is an XML node in XML format for the test script, and the distributed performance testing method further includes: using xmlstarlet to search for all XML nodes that reference test data files, and storing the referenced test data file names in an array , to obtain the file array; traverse the file array, and execute the step of replacing the data reference in the test script with the sub-test data corresponding to each node.

进一步地,各从服务器的配置信息存储在一个全局数组中,数组的每个值表示一个从服务器的配置信息。Further, the configuration information of each slave server is stored in a global array, and each value of the array represents the configuration information of a slave server.

进一步地,所述测试程序为Jmeter,所述分布式性能测试方法在各节点执行任务并反馈执行结果之后还包括:利用shell脚本将反馈结果合并,调用Jmeter的插件对反馈结果进行分析统计,并绘图。Further, the test program is Jmeter, and the distributed performance testing method also includes after each node executes the task and feeds back the execution results: utilize shell script to merge the feedback results, call the plug-in of Jmeter to analyze and count the feedback results, and drawing.

进一步地,所述分布式性能测试方法在各节点执行任务并反馈执行结果之后还包括:测试结果的概要数据保存在一个CSV文件中,编写java script脚本,将绘制的图表与统计后的CSV文件解析后加载到HTML模板中展示。Further, the distributed performance testing method also includes after each node executes the task and feeds back the execution result: the summary data of the test result is stored in a CSV file, and java script script is written, and the chart and the statistical CSV file are combined After parsing, load it into an HTML template for display.

本发明一种分布式性能测试装置,包括:解析单元,用于根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;配置单元,用于根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;测试控制单元,根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。A distributed performance testing device of the present invention, comprising: an analysis unit, configured to analyze and obtain configuration information of each slave server according to pre-stored node allocation information, the configuration information includes a network address and the number of nodes allocated by each slave server; configuration The unit is used to split the total test data according to the configuration information of each slave server, obtain the sub-test data corresponding to each node, and replace the data reference in the test script with the sub-test data corresponding to each node, and establish The test script corresponding to each node; the test program, the sub-test data corresponding to each node and the test script are pushed to the nodes of each slave server; the test control unit, according to the test task, sends corresponding commands to the nodes of each slave server, by Each node executes the task and feeds back the execution result.

进一步地,所述节点为测试脚本采用XML格式的XML节点;所述配置单元,包括xmlstarlet工具,用于搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中,得到文件数组;遍历文件数组,并执行所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤。Further, the node is an XML node in XML format used by the test script; the configuration unit includes the xmlstarlet tool, which is used to search for all XML nodes that quote the test data file, and saves the referenced test data file name in an array, The file array is obtained; the file array is traversed, and the step of replacing the data reference in the test script with the sub-test data corresponding to each node is executed.

进一步地,分布式性能测试装置还包括:数据处理单元,用于利用shell脚本将反馈结果合并,调用Jmeter的插件对反馈结果进行分析统计,并绘图。Further, the distributed performance testing device also includes: a data processing unit, which is used to merge the feedback results by using the shell script, call the plug-in of Jmeter to analyze and count the feedback results, and draw a graph.

进一步地,所述的分布式性能测试装置还包括:展示单元,用于测试结果的概要数据保存在一个CSV文件中,编写java script脚本,将绘制的图表与统计后的CSV文件解析后加载到HTML模板中展示。Further, the described distributed performance testing device also includes: a display unit, the summary data used for the test results is stored in a CSV file, and java script scripts are written, and the charts drawn and the statistical CSV files are parsed and then loaded into the displayed in the HTML template.

本发明一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的分布式性能测试方法。The present invention is a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned distributed performance testing method is realized.

本发明各实施例将一个测试任务自动拆分在多个节点同步进行,满足大并发量的测试场景需求;降低人工成本,减少工作时间地点等条件限制;减少数据裁剪/脚本编辑中的人工错误,降低风险。Each embodiment of the present invention automatically splits a test task into multiple nodes and performs synchronously to meet the requirements of a large amount of concurrent test scenarios; reduce labor costs, reduce working time and location and other conditions; reduce manual errors in data clipping/script editing ,reduce risk.

附图说明Description of drawings

并入到说明书中并且构成说明书的一部分的附图示出了本发明的实施例,并且与描述一起用于解释本发明的原理。在这些附图中,类似的附图标记用于表示类似的要素。下面描述中的附图是本发明的一些实施例,而不是全部实施例。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate the embodiments of the invention and together with the description serve to explain the principles of the invention. In the drawings, like reference numerals are used to denote like elements. The drawings in the following description are some, but not all, embodiments of the present invention. Those skilled in the art can obtain other drawings based on these drawings without creative efforts.

图1为本发明实施例提供的一种分布式性能测试方法的流程图;Fig. 1 is a flow chart of a distributed performance testing method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种分布式性能测试方法的流程图;Fig. 2 is the flow chart of another kind of distributed performance testing method provided by the embodiment of the present invention;

图3为本发明实施例提供的一种分布式性能测试装置的结构框图。Fig. 3 is a structural block diagram of a distributed performance testing device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, 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 in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

下面结合附图详细说明本发明实施涉及的分布式性能测试方法、装置以及计算机可读存储介质。The distributed performance testing method, device and computer-readable storage medium involved in the implementation of the present invention will be described in detail below in conjunction with the accompanying drawings.

实施例一:Embodiment one:

参见图1所示,一种分布式性能测试方法,包括:Referring to Fig. 1, a distributed performance testing method includes:

首先,根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;First, according to the pre-stored node allocation information, the configuration information of each slave server is obtained by parsing, and the configuration information includes the network address and the number of nodes allocated by each slave server;

其次,根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;Secondly, according to the configuration information of each slave server, the total test data is split to obtain the sub-test data corresponding to each node, and the data reference in the test script is replaced with the sub-test data corresponding to each node, and each node is established. Corresponding test scripts; push the test program, sub-test data and test scripts corresponding to each node to each node of the slave server;

其中,所述将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点的步骤具体可以包括:Wherein, the step of pushing the test program, the sub-test data corresponding to each node and the test script to the nodes of each slave server may specifically include:

所述将测试程序拷贝到各个从服务器的节点;The test program is copied to each node from the server;

对各节点的测试程序配置所述对应的节点标识的文件夹;The test program of each node is configured with the folder corresponding to the node identification;

将各节点对应的子测试数据与测试脚本推送对应的节点。Push the sub-test data and test script corresponding to each node to the corresponding node.

再次,根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。Again, according to the test task, corresponding commands are sent to the nodes of the slave servers, and each node executes the task and feeds back the execution result.

具体地,所述对总测试数据进行拆分,得到各节点对应的子测试数据的步骤还可以包括:对各子测试数据配置对应的节点标识。所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤还可以包括:对各节点对应的测试脚本配置所述对应的节点标识。Specifically, the step of splitting the total test data to obtain sub-test data corresponding to each node may further include: configuring a corresponding node identifier for each sub-test data. The step of replacing the data reference in the test script with sub-test data corresponding to each node may further include: configuring the corresponding node identifier for the test script corresponding to each node.

此外,各从服务器的配置信息可以存储在一个全局数组中,数组的每个值表示一个从服务器的配置信息。In addition, the configuration information of each slave server can be stored in a global array, and each value of the array represents the configuration information of a slave server.

通过本实施例,可以将一个测试任务自动拆分在多个节点同步进行,满足大并发量的测试场景需求;降低人工成本,减少工作时间地点等条件限制;减少数据裁剪/脚本编辑中的人工错误,降低风险。Through this embodiment, a test task can be automatically split and performed synchronously on multiple nodes to meet the requirements of large-scale concurrent test scenarios; reduce labor costs, reduce working time and location and other conditions; reduce labor in data clipping/script editing Mistakes, reduce risk.

实施例二:Embodiment two:

参见图2所示,一种分布式性能测试方法,包括:Referring to Fig. 2, a distributed performance testing method includes:

步骤201:拆分测试数据文件;Step 201: Split test data files;

具体地:节点分配信息保存在在一个文件中,shell脚本读取这个文件,解析后保存在一个全局数组中。数组的每个值代表了一个服务器的配置信息,包含IP和分配的节点数,同时计算总共多少个节点。然后我们把测试数据平均拆分成多份,并分别在后面追加一个标记,这个标记表示给哪个节点使用。Specifically: the node allocation information is stored in a file, the shell script reads this file, and saves it in a global array after parsing. Each value of the array represents the configuration information of a server, including IP and the number of allocated nodes, and calculates the total number of nodes. Then we split the test data into multiple parts on average, and append a mark after each, indicating which node to use.

步骤203:替换测试脚本;Step 203: replace the test script;

具体地:采用xmlstarlet搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中。遍历文件数组,在Jmeter测试脚本中替换相应的数据引用,将其替换成上个步骤中拆分后的测试数据文件,分别保存为多个测试脚本副本,并分别在后追加一个标记(标记与上个步骤中的测试数据文件一一对应),这个标记表示给哪个节点使用。Specifically: use xmlstarlet to search for all XML nodes that reference test data files, and save the referenced test data file names in an array. Traverse the file array, replace the corresponding data reference in the Jmeter test script, replace it with the test data file split in the previous step, save it as multiple copies of the test script, and append a mark (mark and One-to-one correspondence with the test data files in the previous step), this mark indicates which node to use.

步骤205:部署压力节点;Step 205: Deploy pressure nodes;

具体地:遍历节点分配信息的全局数组,使用scp命令分别将本地的Jmeter程序拷贝到各个服务器的节点下,并对文件夹名称追加一个标记,此标记与前面测试数据文件拆分、测试脚本替换中的标记一一对应。Specifically: traverse the global array of node allocation information, use the scp command to copy the local Jmeter program to the nodes of each server, and add a tag to the folder name, which is split from the previous test data file and replaced by the test script The marks in are in one-to-one correspondence.

步骤207:推送测试脚本;Step 207: push the test script;

具体地:遍历节点分配信息的全局数组,使用scp命令分别将编辑后的测试脚本副本、拆分后的测试数据文件分发到各节点下面Specifically: Traverse the global array of node allocation information, use the scp command to distribute the edited test script copy and the split test data file to each node

步骤209:管理控制节点;Step 209: manage the control node;

具体地:执行测试任务时,脚本遍历全部节点数组,通过ssh命令发送相应的命令,分别对各个节点进行控制(启动/停止);程序启动成功后,各服务器线程中会出现相应的Jmeter节点的信息,我们可以通过ps、grep等命令查询并过滤来判定启动是否成功。同时通过Jmeter线程中特有信息,来监听程序运行的状态。这些都可以在主控服务器上通过shell脚本实现。Specifically: when executing the test task, the script traverses all node arrays, sends corresponding commands through the ssh command, and controls (start/stop) each node respectively; after the program starts successfully, the corresponding Jmeter node will appear in each server thread Information, we can use ps, grep and other commands to query and filter to determine whether the startup is successful. At the same time, it monitors the running status of the program through the unique information in the Jmeter thread. These can all be achieved through shell scripts on the master server.

步骤211:收集结果、统计绘图;Step 211: collecting results, statistical drawing;

具体地:每个节点执行测试时,分别将测试结果的原始数据保存在一个指定的目录下。全部节点测试完成后,从主控服务器将这些结果召回。然后利用shell脚本将这些数据合并,调用Jmeter的插件对这些数据进行分析统计,并绘图。测试的概要数据保存在一个CSV文件中,文件和图表均保存在一个特有的目录下。Specifically: when each node executes the test, it saves the original data of the test result in a designated directory. After all nodes are tested, these results are recalled from the master server. Then use the shell script to merge these data, call the plug-in of Jmeter to analyze and count the data, and draw the graph. The summary data of the test is saved in a CSV file, and the files and graphs are saved in a unique directory.

步骤213:编写测试报告;Step 213: writing a test report;

具体地:编写java script脚本,将统计后的CSV文件解析后加载到HTML模板中展示,同时将绘制的图表也加载在模板中展现给测试人员查看。Specifically: write a javascript script, parse the statistical CSV file and load it into an HTML template for display, and at the same time load the drawn chart into the template for testers to view.

本实施例通过自定义设置测试环境,通过脚本自动识别测试环境的需求,将Jmeter程序分发到指定的服务器;测试数据脚本自动拆分,测试脚本自动搜索关键字,并替换数据文件的引用;测试任务执行过程中,实时可控,随时汇报运行状态;测试结果自动回收合并,然后统计出测试结果,并输出直观可读的测试报告。This embodiment sets the test environment by self-definition, automatically recognizes the needs of the test environment by the script, and distributes the Jmeter program to the specified server; the test data script is automatically split, the test script automatically searches for keywords, and replaces the reference of the data file; During task execution, it is controllable in real time, and the running status is reported at any time; the test results are automatically collected and merged, and then the test results are counted, and an intuitive and readable test report is output.

实施例三:Embodiment three:

参见图3所示,一种分布式性能测试装置,包括:Referring to shown in Figure 3, a distributed performance testing device, comprising:

解析单元,用于根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;The parsing unit is used to parse and obtain the configuration information of each slave server according to the pre-stored node allocation information, and the configuration information includes the network address and the number of nodes allocated by each slave server;

配置单元,用于根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;The configuration unit is used to split the total test data according to the configuration information of each slave server, obtain the sub-test data corresponding to each node, and replace the data reference in the test script with the sub-test data corresponding to each node, Establish test scripts corresponding to each node; push the test program, sub-test data and test scripts corresponding to each node to each node of the slave server;

测试控制单元,根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。The test control unit sends corresponding commands to the nodes of the slave servers according to the test tasks, and each node executes the tasks and feeds back the execution results.

具体操作时,所述节点为测试脚本采用XML格式的XML节点;During specific operations, the node is an XML node in XML format for the test script;

所述配置单元,包括xmlstarlet工具,用于搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中,得到文件数组;遍历文件数组,并执行所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤。Described configuration unit comprises xmlstarlet tool, is used for searching the XML node of all referenced test data files, saves the referenced test data file name in an array, obtains file array; Traverses file array, and executes described will test script The data reference of is replaced by the sub-test data corresponding to each node.

优选地,所述的分布式性能测试装置还包括:数据处理单元,用于利用shell脚本将反馈结果合并,调用Jmeter的插件对反馈结果进行分析统计,并绘图。Preferably, the distributed performance testing device further includes: a data processing unit, which is used to merge the feedback results by using shell scripts, call Jmeter plug-ins to analyze and make statistics on the feedback results, and draw graphs.

优选地,所述的分布式性能测试装置还包括:展示单元,用于测试结果的概要数据保存在一个CSV文件中,编写java script脚本,将绘制的图表与统计后的CSV文件解析后加载到HTML模板中展示。Preferably, the distributed performance testing device also includes: a display unit, the summary data used for test results is stored in a CSV file, and a java script script is written to parse the drawn chart and the statistical CSV file and load it into displayed in the HTML template.

上述分布式性能测试装置的原理及工作过程简述如下:其采用Linux平台的shell脚本实现。Shell脚本简单易用,适合处理文件和目录之类的对象,可以用简单的方式快速处理某些很复杂的事情。我们利用shell的灵活性,结合Linux平台下的小工具来实现方案意图。The principle and working process of the above-mentioned distributed performance testing device are briefly described as follows: it is realized by shell script on the Linux platform. Shell scripts are simple and easy to use, suitable for processing objects such as files and directories, and can quickly process some very complicated things in a simple way. We take advantage of the flexibility of the shell and combine the small tools under the Linux platform to realize the intention of the scheme.

首先,鉴于Jmeter的测试脚本是XML格式的文件,我们采用xmlstarlet工具实现脚本的编辑。而数据文件的拆分,Linux平台自带的wc、head、tail等工具可以灵活的组合,完成工作任务。First of all, in view of the fact that Jmeter's test script is a file in XML format, we use the xmlstarlet tool to edit the script. As for the splitting of data files, tools such as wc, head, and tail that come with the Linux platform can be flexibly combined to complete work tasks.

其次,对于文件的拷贝/分发等任务,Linux平台均开通了SSH服务,我们可以采用scp实现测试环境的部署,以及测试计划脚本和测试数据文件的分发。客户端对各节点的控制(启动/停止/监听),我们仍然借助SSH服务,把相关命令发送到各节点,实现对Jmeter节点的管理。Secondly, for tasks such as copying/distributing files, the Linux platform has opened the SSH service, and we can use scp to implement the deployment of the test environment, as well as the distribution of test plan scripts and test data files. For the client's control of each node (start/stop/monitor), we still use the SSH service to send relevant commands to each node to realize the management of Jmeter nodes.

最后,我们借助Jmeter的插件来完成结果的收集和测试报告的编写。这是一套独立于Apache Jmeter,提供自定义化的一套插件。它具有出色的绘图,加载方式,还提供了更丰富的函数库。我们结合shell脚本,引用插件的jar包,对收集到的结果数据进行整合,统计并绘图,最后再将统计后的文件在一个模板化的HTML文件里面呈现。Finally, we use Jmeter plug-ins to complete the collection of results and the writing of test reports. This is a set of plugins that are independent of Apache Jmeter and provide customization. It has excellent drawing, loading methods, and also provides a richer function library. We combine the shell script, quote the jar package of the plug-in, integrate the collected result data, count and draw, and finally present the statistical file in a templated HTML file.

本实施例全程无人工干预,可以降低劳动强度,节省人工和时间成本,同时避免了手动编辑引入的工作事故;在一个服务器上可以运行多个Jmeter实例,大大降低测试环境的需求;各个Jmeter实例独立运行,测试运行过程中无数据同步,各节点扁平化,避免了Jmeter客户端在多个远程节点场景下,系统开销过载的问题,减少了测试结果被污染的风险。There is no manual intervention in the whole process of this embodiment, which can reduce labor intensity, save labor and time costs, and avoid work accidents introduced by manual editing; multiple Jmeter instances can be run on one server, greatly reducing the requirements of the test environment; each Jmeter instance Running independently, there is no data synchronization during the test run, and each node is flat, which avoids the problem of overloading the system overhead of the Jmeter client in the scenario of multiple remote nodes, and reduces the risk of contamination of test results.

本发明还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时上述的分布式性能测试方法。其具有该测试方法相应的技术效果,在此不再赘述。The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned distributed performance testing method is provided. It has the corresponding technical effect of the test method, which will not be repeated here.

本领域普通技术人员可以理解,实现上述实施例的全部或者部分步骤/单元/模块可以通过程序指令相关的硬件来完成,前述程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述实施例各单元中对应的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光碟等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps/units/modules of the above embodiments can be implemented by hardware related to program instructions, and the aforementioned programs can be stored in a computer-readable storage medium. When the program is executed, Execution includes the corresponding steps in the units of the above-mentioned embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (12)

1.一种分布式性能测试方法,其特征在于,包括:1. A distributed performance testing method, characterized in that, comprising: 根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;According to the pre-stored node allocation information, the configuration information of each slave server is obtained by parsing, and the configuration information includes the network address and the number of nodes allocated by each slave server; 根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;According to the configuration information of each slave server, the total test data is split to obtain the sub-test data corresponding to each node, and the data reference in the test script is replaced with the sub-test data corresponding to each node, and the corresponding sub-test data of each node is established. Test script; push the test program, sub-test data and test script corresponding to each node to each node of the slave server; 根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。According to the test task, corresponding commands are sent to the nodes of the slave servers, and each node executes the task and feeds back the execution result. 2.如权利要求1所述的分布式性能测试方法,其特征在于,2. the distributed performance testing method as claimed in claim 1, is characterized in that, 所述对总测试数据进行拆分,得到各节点对应的子测试数据的步骤还包括:The step of splitting the total test data to obtain the sub-test data corresponding to each node also includes: 对各子测试数据配置对应的节点标识;Configure the corresponding node identifier for each sub-test data; 或者/并且,or/and, 所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤还包括:The step of replacing the data reference in the test script with the sub-test data corresponding to each node also includes: 对各节点对应的测试脚本配置所述对应的节点标识。The corresponding node identifier is configured for the test script corresponding to each node. 3.如权利要求1所述的分布式性能测试方法,其特征在于,3. the distributed performance testing method as claimed in claim 1, is characterized in that, 所述将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点的步骤包括:The step of pushing the test program, the sub-test data corresponding to each node and the test script to the nodes of each slave server includes: 所述将测试程序拷贝到各个从服务器的节点;The test program is copied to each node from the server; 对各节点的测试程序配置所述对应的节点标识的文件夹;The test program of each node is configured with the folder corresponding to the node identification; 将各节点对应的子测试数据与测试脚本推送对应的节点。Push the sub-test data and test script corresponding to each node to the corresponding node. 4.如权利要求1所述的分布式性能测试方法,其特征在于,所述节点为测试脚本采用XML格式的XML节点,所述分布式性能测试方法还包括:4. the distributed performance testing method as claimed in claim 1, is characterized in that, described node adopts the XML node of XML format for test script, and described distributed performance testing method also comprises: 采用xmlstarlet搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中,得到文件数组;Use xmlstarlet to search for all XML nodes that reference test data files, save the referenced test data file names in an array, and obtain a file array; 遍历文件数组,并执行所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤。Traverse the file array, and execute the step of replacing the data reference in the test script with the sub-test data corresponding to each node. 5.如权利要求1所述的分布式性能测试方法,其特征在于,各从服务器的配置信息存储在一个全局数组中,数组的每个值表示一个从服务器的配置信息。5. The distributed performance testing method according to claim 1, wherein the configuration information of each slave server is stored in a global array, and each value of the array represents a slave server configuration information. 6.如权利要求1-5中任一项所述的分布式性能测试方法,其特征在于,所述测试程序为Jmeter,所述分布式性能测试方法在各节点执行任务并反馈执行结果之后还包括:6. the distributed performance testing method as described in any one in claim 1-5, it is characterized in that, described test program is Jmeter, and described distributed performance testing method also returns after each node performs task and feedback execution result include: 利用shell脚本将反馈结果合并,调用Jmeter的插件对反馈结果进行分析统计,并绘图。Use the shell script to combine the feedback results, call the Jmeter plug-in to analyze the feedback results, and draw the graph. 7.如权利要求6所述的分布式性能测试方法,其特征在于,所述分布式性能测试方法在各节点执行任务并反馈执行结果之后还包括:7. the distributed performance testing method as claimed in claim 6, is characterized in that, described distributed performance testing method also comprises after each node performs task and feedback execution result: 测试结果的概要数据保存在一个CSV文件中,编写java script脚本,将绘制的图表与统计后的CSV文件解析后加载到HTML模板中展示。The summary data of the test results is saved in a CSV file, and a java script script is written to parse the drawn chart and statistical CSV file and load it into an HTML template for display. 8.一种分布式性能测试装置,其特征在于,包括:8. A distributed performance testing device, characterized in that, comprising: 解析单元,用于根据预存的节点分配信息,解析得到各从服务器的配置信息,所述配置信息包括网络地址以及各从服务器分配的节点数;The parsing unit is configured to parse and obtain the configuration information of each slave server according to the pre-stored node allocation information, the configuration information including the network address and the number of nodes allocated by each slave server; 配置单元,用于根据所述各从服务器的配置信息,对总测试数据进行拆分,得到各节点对应的子测试数据,并将测试脚本中的数据引用替换为各节点对应的子测试数据,建立各节点对应的测试脚本;将测试程序、各节点对应的子测试数据与测试脚本推送到各个从服务器的节点;The configuration unit is used to split the total test data according to the configuration information of each slave server, obtain the sub-test data corresponding to each node, and replace the data reference in the test script with the sub-test data corresponding to each node, Establish test scripts corresponding to each node; push the test program, sub-test data and test scripts corresponding to each node to each node of the slave server; 测试控制单元,根据测试任务,向所述各从服务器的节点发送相应命令,由各节点执行任务并反馈执行结果。The test control unit sends corresponding commands to the nodes of the slave servers according to the test tasks, and each node executes the tasks and feeds back the execution results. 9.如权利要求8中所述的分布式性能测试装置,其特征在于,所述节点为测试脚本采用XML格式的XML节点;9. the distributed performance testing device as claimed in claim 8, is characterized in that, described node adopts the XML node of XML format for test script; 所述配置单元,包括xmlstarlet工具,用于搜索全部引用测试数据文件的XML节点,将引用的测试数据文件名保存在一个数组中,得到文件数组;遍历文件数组,并执行所述将测试脚本中的数据引用替换为各节点对应的子测试数据的步骤。Described configuration unit comprises xmlstarlet tool, is used for searching the XML node of all referenced test data files, saves the referenced test data file name in an array, obtains file array; Traverses file array, and executes described will test script The data reference of is replaced by the sub-test data corresponding to each node. 10.如权利要求8或9所述的分布式性能测试装置,其特征在于,还包括:10. The distributed performance testing device according to claim 8 or 9, further comprising: 数据处理单元,用于利用shell脚本将反馈结果合并,调用Jmeter的插件对反馈结果进行分析统计,并绘图。The data processing unit is used for merging the feedback results by using the shell script, calling the plug-in of Jmeter to analyze and count the feedback results, and drawing. 11.如权利要求10所述的分布式性能测试装置,其特征在于,还包括:11. The distributed performance testing device according to claim 10, further comprising: 展示单元,用于测试结果的概要数据保存在一个CSV文件中,编写javascript脚本,将绘制的图表与统计后的CSV文件解析后加载到HTML模板中展示。The display unit is used to save the summary data of the test results in a CSV file, write javascript scripts, parse the drawn charts and statistical CSV files, and load them into the HTML template for display. 12.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-7中任一项所述的分布式性能测试方法。12. A computer-readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the distributed performance testing method according to any one of claims 1-7 is implemented.
CN201711236780.XA 2017-11-30 2017-11-30 Distributed performance testing method and device and computer readable storage medium Active CN108038013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236780.XA CN108038013B (en) 2017-11-30 2017-11-30 Distributed performance testing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236780.XA CN108038013B (en) 2017-11-30 2017-11-30 Distributed performance testing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108038013A true CN108038013A (en) 2018-05-15
CN108038013B CN108038013B (en) 2021-07-16

Family

ID=62094702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236780.XA Active CN108038013B (en) 2017-11-30 2017-11-30 Distributed performance testing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108038013B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN109359033A (en) * 2018-09-05 2019-02-19 广州神马移动信息科技有限公司 Stress test method, test server, management server and system
CN109656791A (en) * 2018-11-01 2019-04-19 北京奇安信科技有限公司 A kind of gRPC performance test methods and device based on Jmeter
CN109753433A (en) * 2018-12-26 2019-05-14 中链科技有限公司 Automated testing method, device and electronic equipment based on block chain
CN110417613A (en) * 2019-06-17 2019-11-05 平安科技(深圳)有限公司 Distributed performance test method, device, equipment and storage medium based on Jmeter
CN110704326A (en) * 2019-10-10 2020-01-17 浙江中控技术股份有限公司 A kind of test analysis method and device
CN110727570A (en) * 2019-10-11 2020-01-24 重庆紫光华山智安科技有限公司 Concurrent pressure measurement method and related device
CN111294250A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Stress testing method, apparatus and system
CN111782524A (en) * 2020-06-29 2020-10-16 京东数字科技控股有限公司 Application testing method and device, storage medium and electronic device
CN111934953A (en) * 2020-08-07 2020-11-13 北京计算机技术及应用研究所 Batch testing method based on domestic processor computer platform
CN113055408A (en) * 2021-05-27 2021-06-29 航天中认软件测评科技(北京)有限责任公司 Network security test integrated device
CN113821386A (en) * 2020-06-19 2021-12-21 顺丰科技有限公司 Performance testing method, apparatus, network device, and computer-readable storage medium
CN114489995A (en) * 2022-02-15 2022-05-13 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN114564402A (en) * 2022-03-03 2022-05-31 北京字跳网络技术有限公司 Task flow testing method and device, readable medium and electronic equipment
CN115454865A (en) * 2022-09-21 2022-12-09 中国平安人寿保险股份有限公司 Software test data design method, device, electronic equipment and storage medium
CN115454865B (en) * 2022-09-21 2026-02-06 中国平安人寿保险股份有限公司 Software test data design method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN103793318A (en) * 2012-10-29 2014-05-14 百度在线网络技术(北京)有限公司 Method and device for distributed testing of module stability
CN104978269A (en) * 2015-06-30 2015-10-14 四川九洲电器集团有限责任公司 Automatic testing method
CN105281978A (en) * 2015-10-23 2016-01-27 小米科技有限责任公司 Performance test method, device and system
US20160148130A1 (en) * 2014-11-26 2016-05-26 Wipro Limited Method and system for automatically generating a test artifact
CN106776309A (en) * 2016-12-06 2017-05-31 郑州云海信息技术有限公司 A kind of testing time optimization method and system
CN106815142A (en) * 2015-12-02 2017-06-09 北京奇虎科技有限公司 A kind of method for testing software and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN103793318A (en) * 2012-10-29 2014-05-14 百度在线网络技术(北京)有限公司 Method and device for distributed testing of module stability
US20160148130A1 (en) * 2014-11-26 2016-05-26 Wipro Limited Method and system for automatically generating a test artifact
CN104978269A (en) * 2015-06-30 2015-10-14 四川九洲电器集团有限责任公司 Automatic testing method
CN105281978A (en) * 2015-10-23 2016-01-27 小米科技有限责任公司 Performance test method, device and system
CN106815142A (en) * 2015-12-02 2017-06-09 北京奇虎科技有限公司 A kind of method for testing software and system
CN106776309A (en) * 2016-12-06 2017-05-31 郑州云海信息技术有限公司 A kind of testing time optimization method and system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN108984417B (en) * 2018-08-15 2022-06-03 北京达佳互联信息技术有限公司 Software testing method, device, terminal and storage medium
CN109359033A (en) * 2018-09-05 2019-02-19 广州神马移动信息科技有限公司 Stress test method, test server, management server and system
CN109656791A (en) * 2018-11-01 2019-04-19 北京奇安信科技有限公司 A kind of gRPC performance test methods and device based on Jmeter
CN111294250B (en) * 2018-12-07 2023-05-26 三六零科技集团有限公司 Pressure testing method, device and system
CN111294250A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Stress testing method, apparatus and system
CN109753433A (en) * 2018-12-26 2019-05-14 中链科技有限公司 Automated testing method, device and electronic equipment based on block chain
WO2020253079A1 (en) * 2019-06-17 2020-12-24 平安科技(深圳)有限公司 Jmeter-based distributed performance test method and apparatus, device, and storage medium
CN110417613A (en) * 2019-06-17 2019-11-05 平安科技(深圳)有限公司 Distributed performance test method, device, equipment and storage medium based on Jmeter
CN110417613B (en) * 2019-06-17 2022-11-29 平安科技(深圳)有限公司 Distributed performance testing method, device, equipment and storage medium based on Jmeter
CN110704326A (en) * 2019-10-10 2020-01-17 浙江中控技术股份有限公司 A kind of test analysis method and device
CN110727570A (en) * 2019-10-11 2020-01-24 重庆紫光华山智安科技有限公司 Concurrent pressure measurement method and related device
CN113821386A (en) * 2020-06-19 2021-12-21 顺丰科技有限公司 Performance testing method, apparatus, network device, and computer-readable storage medium
CN111782524A (en) * 2020-06-29 2020-10-16 京东数字科技控股有限公司 Application testing method and device, storage medium and electronic device
CN111934953A (en) * 2020-08-07 2020-11-13 北京计算机技术及应用研究所 Batch testing method based on domestic processor computer platform
CN111934953B (en) * 2020-08-07 2024-02-02 北京计算机技术及应用研究所 Batch test method based on domestic processor computer platform
CN113055408A (en) * 2021-05-27 2021-06-29 航天中认软件测评科技(北京)有限责任公司 Network security test integrated device
CN113055408B (en) * 2021-05-27 2021-08-06 航天中认软件测评科技(北京)有限责任公司 Network security test integrated device
CN114489995A (en) * 2022-02-15 2022-05-13 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN114489995B (en) * 2022-02-15 2022-09-30 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN114564402A (en) * 2022-03-03 2022-05-31 北京字跳网络技术有限公司 Task flow testing method and device, readable medium and electronic equipment
CN115454865A (en) * 2022-09-21 2022-12-09 中国平安人寿保险股份有限公司 Software test data design method, device, electronic equipment and storage medium
CN115454865B (en) * 2022-09-21 2026-02-06 中国平安人寿保险股份有限公司 Software test data design method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108038013B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN108038013A (en) Distributed performance test method and device and computer-readable recording medium
CN109460349B (en) Test case generation method and device based on log
US10135749B2 (en) Mainframe migration tools
CN107203617B (en) The online migratory system of mysql and method based on MHA
CN102075381A (en) Automatic test platform server and system applied to cloud storage
KR20180017198A (en) METHOD, APPARATUS, SYSTEM, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM
CN106970880A (en) A kind of distributed automatization method for testing software and system
CN107783816A (en) The method and device that creation method and device, the big data cluster of virtual machine create
EP4400974A1 (en) Centralized configuration and change tracking for a computing platform
CN115658966B (en) Generalized intelligent driving scene generation method and device
CN111309297B (en) Script development system and method
CN111104304A (en) Multi-task scene performance testing method, storage medium, electronic device and system
US11567957B2 (en) Incremental addition of data to partitions in database tables
CN110177144B (en) Method for copying application environment by one key based on private cloud
CN117216154A (en) Heterogeneous database data replication system, method and storage medium
US20090100082A1 (en) Replication and mapping mechanism for recreating memory durations
CN117370128A (en) A cloud monitoring and analysis method and system
CN110750582A (en) Data processing method, device and system
CN105630898A (en) A Method Applicable to Application Database Table Data Version Switching
CN111125149B (en) Hive-based data acquisition method, device and storage medium
CN114912255B (en) Online simulation experiment system and method
CN113438126B (en) A distributed online testing system applied to blockchain domain name system
CN115019595A (en) Implementation method and system of training simulator based on avionics simulation I/O management
CN114579142A (en) Dual-mode big data version deployment method, device and equipment supporting steady state and sensitive state
CN119396666A (en) A database driven document content stress testing and monitoring system and method

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
TA01 Transfer of patent application right

Effective date of registration: 20191212

Address after: 100080 Beijing, Haidian District, Haidian District, Zhichun Road, No. 106, Pacific International Building, room 6, room 601-606

Applicant after: Haier Youjia Intelligent Technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Science and Technology Co., Ltd.

Address before: 100080 Beijing, Haidian District, Haidian District, Zhichun Road, No. 106, Pacific International Building, room 6, room 601-606

Applicant before: Haier Youjia Intelligent Technology (Beijing) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant