[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110688305B - Test environment synchronization method, device, medium and electronic equipment - Google Patents

Test environment synchronization method, device, medium and electronic equipment Download PDF

Info

Publication number
CN110688305B
CN110688305B CN201910817291.6A CN201910817291A CN110688305B CN 110688305 B CN110688305 B CN 110688305B CN 201910817291 A CN201910817291 A CN 201910817291A CN 110688305 B CN110688305 B CN 110688305B
Authority
CN
China
Prior art keywords
subsystem
test environment
subsystems
configuration item
identifications
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
Application number
CN201910817291.6A
Other languages
Chinese (zh)
Other versions
CN110688305A (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910817291.6A priority Critical patent/CN110688305B/en
Publication of CN110688305A publication Critical patent/CN110688305A/en
Application granted granted Critical
Publication of CN110688305B publication Critical patent/CN110688305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3698Environments for analysis, debugging or testing of software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to the technical field of system integration testing, and discloses a testing environment synchronization method, a testing environment synchronization device, a testing environment synchronization medium and electronic equipment. The method comprises the following steps: acquiring configuration item parameter values of subsystems in a first test environment, wherein the first test environment comprises at least one subsystem, and each subsystem in the subsystems has at least one configuration item parameter value; acquiring subsystem identifications of subsystems in a second test environment to be established; and synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifications of the subsystems. Under the condition that the corresponding test environment is established, if the test environment is to be newly added, the corresponding configuration item parameter values in the original test environment are directly synchronized to the test environment to be newly added, so that the configuration item setting efficiency and accuracy can be improved, and the test efficiency can be improved.

Description

测试环境同步方法、装置、介质、电子设备Test environment synchronization method, device, medium, electronic equipment

技术领域technical field

本公开涉及系统集成测试技术领域,特别涉及一种测试环境同步方法、装置、介质及电子设备。The present disclosure relates to the technical field of system integration testing, and in particular, to a test environment synchronization method, device, medium and electronic device.

背景技术Background technique

随着软件工程的发展,大型化、集成化以及系统化已经成为当前软件开发的一个趋势。为了提高软件系统的在正式推出时的质量,最大可能地减少软件的漏洞,常常需要对软件系统进行测试,包括功能测试、性能测试等。With the development of software engineering, large-scale, integrated and systematic has become a trend of current software development. In order to improve the quality of the software system when it is officially launched, and minimize the software loopholes, it is often necessary to test the software system, including functional testing and performance testing.

在现有技术的实现中,为了对软件进行测试通常要搭建测试环境,测试环境中会有多个子系统进行联立测试;为了保证软件的普遍适用性和可靠性,针对同一软件,常常需要搭建不同的测试环境,当创建的一个测试环境具有多个与之前搭建的测试环境中的服务器具有相同的资源的服务器时,就认为创建了一个新的测试环境。In the implementation of the prior art, in order to test the software, it is usually necessary to build a test environment, in which there will be multiple subsystems for simultaneous testing; in order to ensure the universal applicability and reliability of the software, for the same software, it is often necessary to build Different test environments, when a created test environment has multiple servers with the same resources as the servers in the previously built test environment, it is considered that a new test environment is created.

现有技术的缺陷在于,由于新的测试环境中各子系统之间的调用关系与原有的测试环境中各子系统之间的调用关系需要实现部分或者全部的一致,而新的测试环境中子系统的数目较多,导致了要为新的测试环境设置大量配置项,配置项的设置效率低下,还可能会导致配置项设置准确率较低。The defect of the prior art is that since the calling relationship between the subsystems in the new test environment and the calling relationship between the subsystems in the original test environment need to be partially or completely consistent, and the new test environment The large number of subsystems leads to a large number of configuration items to be set for the new test environment, the setting efficiency of the configuration items is low, and the setting accuracy of the configuration items may also be low.

发明内容SUMMARY OF THE INVENTION

在系统集成测试技术领域,为了解决相关技术中存在的新增测试环境时设置配置项的效率和准确率较低的技术问题,本发明提供了一种测试环境同步方法、装置、介质及电子设备。In the technical field of system integration testing, in order to solve the technical problem of low efficiency and accuracy in setting configuration items when adding a new testing environment, the present invention provides a testing environment synchronization method, device, medium and electronic equipment .

根据本申请的一方面,提供了一种测试环境同步方法,其特征在于,所述方法包括:According to an aspect of the present application, a test environment synchronization method is provided, wherein the method includes:

获取第一测试环境中各子系统的配置项参数值,其中,所述第一测试环境包括至少一个子系统,各子系统中每一所述子系统具有至少一个配置项参数值;obtaining configuration item parameter values of each subsystem in a first test environment, wherein the first test environment includes at least one subsystem, and each of the subsystems in each subsystem has at least one configuration item parameter value;

获取待建立的第二测试环境中的各子系统的子系统标识;obtaining the subsystem identifiers of the subsystems in the second test environment to be established;

基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。Based on the configuration item parameter values of the subsystems and the subsystem identifiers of the subsystems, the configuration item parameter values of the subsystems in the first test environment are synchronized to the second test environment.

根据本申请的另一方面,提供了一种测试环境同步装置,其特征在于,所述装置包括:According to another aspect of the present application, a test environment synchronization device is provided, wherein the device includes:

第一获取模块,被配置为获取第一测试环境中各子系统的配置项参数值,其中,所述第一测试环境包括至少一个子系统,各子系统中每一所述子系统具有至少一个配置项参数值;A first acquisition module configured to acquire configuration item parameter values of each subsystem in a first test environment, wherein the first test environment includes at least one subsystem, and each of the subsystems has at least one Configuration item parameter value;

第二获取模块,被配置为获取待建立的第二测试环境中的各子系统的子系统标识;a second obtaining module, configured to obtain the subsystem identifiers of the subsystems in the second test environment to be established;

同步模块,被配置为基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。A synchronization module configured to synchronize the configuration item parameter values of each subsystem in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifiers of the subsystems .

根据本申请的另一方面,提供了一种计算机可读程序介质,其存储有计算机程序指令,当所述计算机程序指令被计算机执行时,使计算机执行如前所述的方法。According to another aspect of the present application, there is provided a computer-readable program medium storing computer program instructions which, when executed by a computer, cause the computer to perform the aforementioned method.

根据本申请的另一方面,提供了一种电子设备,所述电子设备包括:According to another aspect of the present application, an electronic device is provided, the electronic device comprising:

处理器;processor;

存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如前所述的方法。A memory, where computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by the processor, implement the aforementioned method.

本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

本发明所提供的测试环境同步方法包括如下步骤,获取第一测试环境中各子系统的配置项参数值,其中,所述第一测试环境包括至少一个子系统,各子系统中每一所述子系统具有至少一个配置项参数值;获取待建立的第二测试环境中的各子系统的子系统标识;基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。The test environment synchronization method provided by the present invention includes the following steps: acquiring configuration item parameter values of each subsystem in a first test environment, wherein the first test environment includes at least one subsystem, and each of the subsystems The subsystem has at least one configuration item parameter value; obtains the subsystem identifier of each subsystem in the second test environment to be established; based on the configuration item parameter value of each subsystem and the subsystem identifier of each subsystem, all The configuration item parameter values of each subsystem in the first test environment are synchronized to the second test environment.

此方法下,在已经建立相应测试环境的情况下,当要新增测试环境时,直接将原测试环境中子系统的配置项参数值同步至要新增的测试环境,使得原本在新增测试环境时繁复而枯燥的用手工方式添加配置项的工作中的部分或全部可以自动完成,提高了配置项设置效率,同时可以提高设置配置项的准确性。In this method, when the corresponding test environment has been established, when a new test environment is to be added, the parameter values of the configuration items of the subsystems in the original test environment are directly synchronized to the test environment to be added, so that the original test environment is added in the new test environment. Part or all of the complicated and boring work of manually adding configuration items in the environment can be completed automatically, which improves the efficiency of setting configuration items and improves the accuracy of setting configuration items.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的测试环境同步方法的应用场景示意图;1 is a schematic diagram of an application scenario of a test environment synchronization method according to an exemplary embodiment;

图2是根据一示例性实施例示出的一种测试环境同步方法的流程图;2 is a flowchart of a method for synchronizing a test environment according to an exemplary embodiment;

图3是根据图2对应实施例示出的一实施例的在步骤240之前的步骤的流程图;FIG. 3 is a flowchart of steps before step 240 according to an embodiment shown in the corresponding embodiment of FIG. 2;

图4是根据图3对应实施例示出的一实施例的步骤230的细节流程图;FIG. 4 is a detailed flow chart of step 230 of an embodiment shown according to the corresponding embodiment of FIG. 3;

图5是根据图4对应实施例示出的一实施例的步骤231的细节流程图;FIG. 5 is a detailed flowchart of step 231 according to an embodiment shown in the corresponding embodiment of FIG. 4;

图6是根据图2对应实施例示出的一实施例的在步骤240之前的步骤以及步骤240的细节的流程图;FIG. 6 is a flowchart of steps before step 240 and details of step 240 according to an embodiment shown in the corresponding embodiment of FIG. 2;

图7是根据一示例性实施例示出的一种测试环境同步装置的框图;7 is a block diagram of a test environment synchronization apparatus according to an exemplary embodiment;

图8是根据一示例性实施例示出的一种实现上述方法的电子设备示例框图;FIG. 8 is an exemplary block diagram of an electronic device that implements the above method according to an exemplary embodiment;

图9是根据一示例性实施例示出的一种实现上述方法的计算机可读存储介质。FIG. 9 is a computer-readable storage medium for implementing the above method according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.

此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities.

本公开首先提供了一种测试环境同步方法。测试环境是指进行软件测试时所涵盖的软件环境、硬件环境以及数据和网络等实体的集合。其中,被测试的软件可以是小型的软件,如APP(Application,应用程序)等,还可以集成的大型软件系统,比如数据库管理系统,财务管理系统等。为了简单描述起见,在本申请的一个或多个实施例中,本申请将从硬件以及软件系统的角度来阐述本申请的技术方案。测试环境可能包含一个或多个子系统,即需要对这些子系统进行联立测试,为这些子系统设置配置项是对这些子系统进行联立测试时不可或缺的环节,配置项是这些子系统联合运行的基础,记录了子系统关联运行所需的信息,比如两个子系统之间的系统接口调用关系等。对于本公开提供的一种测试环境同步方法,是指在要新增一个测试环境的情况下,假如现有的测试环境中已经配置好了相关的子系统,将为这些相关的子系统配置好的配置项直接同步至新增的测试环境,不用重复进行相关的子系统的手动配置,可以提高新增测试环境的配置效率,从而可以提高测试效率。The present disclosure first provides a test environment synchronization method. The test environment refers to the collection of software environment, hardware environment, and entities such as data and network covered by software testing. Among them, the software to be tested can be small software, such as APP (Application, application program), etc., and can also be integrated with large-scale software systems, such as a database management system, a financial management system, and the like. For the sake of simple description, in one or more embodiments of the present application, the present application will illustrate the technical solutions of the present application from the perspectives of hardware and software systems. The test environment may contain one or more subsystems, that is, these subsystems need to be tested simultaneously. Setting configuration items for these subsystems is an indispensable part of the simultaneous testing of these subsystems. The configuration items are these subsystems. The basis of joint operation records the information required for the associated operation of the subsystems, such as the system interface calling relationship between the two subsystems. For a test environment synchronization method provided by the present disclosure, it means that when a new test environment is to be added, if the relevant subsystems have been configured in the existing test environment, these relevant subsystems will be configured The configuration items of the new test environment are directly synchronized to the newly added test environment, and there is no need to repeat the manual configuration of the related subsystems, which can improve the configuration efficiency of the newly added test environment, thereby improving the test efficiency.

本公开的技术方案的实施终端可以是便携移动设备,例如智能手机、平板电脑、笔记本电脑等;也可以是各种固定式设备,例如,计算机设备、现场终端、台式电脑、服务器、工作站等;另外,还可以是服务器集群、云计算的物理基础设施等。The implementation terminal of the technical solution of the present disclosure can be a portable mobile device, such as a smart phone, a tablet computer, a notebook computer, etc.; it can also be a variety of fixed devices, such as a computer device, a field terminal, a desktop computer, a server, a workstation, etc.; In addition, it can also be a server cluster, a physical infrastructure of cloud computing, and the like.

图1是根据一示例性实施例示出的测试环境同步方法的应用场景示意图。如图1所示,包括第一测试环境110和第二测试环境130,其中,第一测试环境110包括四个第一服务器120,第二测试环境130包括四个第二服务器140。每一服务器可运行一个子系统,各子系统之间通过通信链路进行连接,互相连接的子系统之间具有相互依赖的关系,比如这些子系统彼此之间存在接口调用关系,这些依赖关系使得同一测试环境下的子系统可以共同协作完成一项或多项任务,而在其中,配置项是构建这些子系统之间的相互依赖关系的关键要素,即配置项决定了一个测试环境下两个子系统之间是如何关联的。假如第一测试环境110是现有的测试环境,为了对第一测试环境110下的子系统进行更为全面的测试,比如对这些子系统进行硬件环境更换后是否能够稳定运行进行测试、对子系统进行不同功能的测试等目的,可能会需要新增一个第二测试环境130。新增的第二测试环境130下的第二服务器140可能部分或者全部与第一测试环境110下的第一服务器110是不同的(图1仅示出了两个测试环境下全部服务器都不相同的情形)。在现有技术下,无论新增的测试环境中的子系统之间的依赖关系是否与之前已建立好的测试环境相同,都需要人手动来为新增的测试环境下的子系统进行所有配置项的设置,这种繁复的工作在测试环境的建立过程中往往会消耗大量时间,配置项的设置效率低下,从而会严重降低测试效率。本申请的发明人意识到,虽然两个测试环境下的服务器可能全都是不同的,两个测试环境下的服务器运行的子系统之间的依赖关系,即构建测试环境时需要为各子系统设置的配置项,可能部分甚至全部都是相同的,如果将这些相同部分的配置项从已建立好的第一测试环境110直接同步至要新增的第二测试环境130,就可以在一定程度上减少构建第二测试环境130时所需要手动配置的配置项的数量,从而可以提高配置项的设置效率。FIG. 1 is a schematic diagram of an application scenario of a test environment synchronization method according to an exemplary embodiment. As shown in FIG. 1 , a first test environment 110 and a second test environment 130 are included, wherein the first test environment 110 includes four first servers 120 , and the second test environment 130 includes four second servers 140 . Each server can run a subsystem, and the subsystems are connected through communication links. The interconnected subsystems have interdependent relationships. For example, these subsystems have an interface calling relationship with each other. These dependencies make Subsystems in the same test environment can work together to complete one or more tasks, and among them, the configuration item is the key element to build the interdependence between these subsystems, that is, the configuration item determines the two sub-systems in a test environment. how the systems are related. If the first test environment 110 is an existing test environment, in order to conduct a more comprehensive test on the subsystems under the first test environment 110, for example, test whether these subsystems can run stably after the hardware environment is replaced, and test the subsystems. For the purpose of testing different functions of the system, it may be necessary to add a second test environment 130 . The second server 140 under the newly added second test environment 130 may be partially or completely different from the first server 110 under the first test environment 110 (FIG. 1 only shows that all servers in the two test environments are different. situation). In the prior art, no matter whether the dependencies between the subsystems in the newly added test environment are the same as those of the previously established test environment, a person is required to manually configure all the subsystems in the newly added test environment This kind of complicated work often consumes a lot of time during the establishment of the test environment, and the setting efficiency of configuration items is low, which will seriously reduce the test efficiency. The inventor of the present application realizes that although the servers in the two test environments may all be different, the dependencies between the subsystems run by the servers in the two test environments, that is, when constructing the test environments, need to be set for each subsystem. Some or even all of the configuration items may be the same. If these same parts of the configuration items are directly synchronized from the established first test environment 110 to the second test environment 130 to be added, it will be possible to a certain extent. The number of configuration items that need to be manually configured when constructing the second test environment 130 is reduced, so that the setting efficiency of the configuration items can be improved.

图2是根据一示例性实施例示出的一种测试环境同步方法的流程图。如图2所示,包括以下步骤:Fig. 2 is a flow chart of a test environment synchronization method according to an exemplary embodiment. As shown in Figure 2, it includes the following steps:

步骤210,获取第一测试环境中各子系统的配置项参数值。Step 210: Obtain configuration item parameter values of each subsystem in the first test environment.

其中,所述第一测试环境包括至少一个子系统,各子系统中每一所述子系统具有至少一个配置项参数值。Wherein, the first test environment includes at least one subsystem, and each of the subsystems has at least one configuration item parameter value.

配置项是第一测试环境中各子系统运行时所需要进行配置的各种设置项,比如子系统调用或者依赖的接口等。配置项参数值是子系统运行时需要具体设置的内容,配置项与配置项参数值之间的关系类似于参数与参数值之间的关系,对于一个子系统的接口类型的配置项,则对应的配置项参数值可以表现为该子系统实际调用的接口,此时的配置项参数值决定了第一测试环境中各子系统之间的接口是什么以及接口是如何调用的。因此配置项参数值是第一测试环境下各子系统能够协调运行的基础,正是有了正确的配置项参数值,才可以对第一测试环境中的各子系统进行联合测试。The configuration items are various setting items that need to be configured when each subsystem in the first test environment is running, such as subsystem calls or dependent interfaces. The parameter value of the configuration item is the content that needs to be set specifically when the subsystem is running. The relationship between the configuration item and the parameter value of the configuration item is similar to the relationship between the parameter and the parameter value. For the configuration item of the interface type of a subsystem, the corresponding The parameter value of the configuration item can represent the interface actually called by the subsystem, and the parameter value of the configuration item at this time determines what the interface between the subsystems in the first test environment is and how the interface is called. Therefore, the parameter value of the configuration item is the basis for the coordinated operation of each subsystem in the first test environment, and it is only with the correct parameter value of the configuration item that the joint test of each subsystem in the first test environment can be performed.

在一个实施例中,配置项参数值是表示子系统之间调用关系的代码块。In one embodiment, a configuration item parameter value is a block of code that represents a calling relationship between subsystems.

在一个实施例中,第一测试环境中各子系统的配置项参数值是在第一测试环境建立后,存储在第一测试环境的终端上的,所述获取第一测试环境中各子系统的配置项参数值,包括:向第一测试环境的终端发送配置项参数值获取请求;接收所述第一测试环境的终端根据所述配置项参数值获取请求返回的配置项参数值。In one embodiment, the parameter values of the configuration items of each subsystem in the first test environment are stored on the terminal of the first test environment after the first test environment is established, and the obtaining of each subsystem in the first test environment The configuration item parameter value includes: sending a configuration item parameter value acquisition request to the terminal of the first test environment; receiving the configuration item parameter value returned by the terminal of the first test environment according to the configuration item parameter value acquisition request.

在一个实施例中,本公开的实施终端中内嵌有脚本,所述获取第一测试环境中各子系统的配置项参数值,包括:利用脚本爬取所述第一测试环境中的各子系统,得到所述第一测试环境中各子系统的配置项参数值。In one embodiment, a script is embedded in the implementation terminal of the present disclosure, and the acquiring parameter values of configuration items of each subsystem in the first test environment includes: using a script to crawl each sub-system in the first test environment system to obtain configuration item parameter values of each subsystem in the first test environment.

在一个实施例中,每一测试环境建立后,该测试环境下各子系统的配置项参数值会与该测试环境的名称对应存储在数据库中,所述获取第一测试环境中各子系统的配置项参数值,包括:利用所述第一测试环境的名称查询数据库,得到第一测试环境中各子系统的配置项参数值。In one embodiment, after each test environment is established, the parameter values of configuration items of each subsystem in the test environment will be stored in the database corresponding to the name of the test environment, and the acquisition of the parameters of each subsystem in the first test environment will be stored in a database. The parameter value of the configuration item includes: querying the database by using the name of the first test environment to obtain the parameter value of the configuration item of each subsystem in the first test environment.

步骤220,获取待建立的第二测试环境中的各子系统的子系统标识。Step 220: Obtain the subsystem identifiers of the subsystems in the second test environment to be established.

如前所述,测试环境是指进行软件测试时所涵盖的软件环境、硬件环境以及数据和网络等实体的集合。待建立的第二测试环境也可以包括一个或多个子系统,因此需要为第二测试环境下的各子系统设置配置项。As mentioned earlier, a test environment refers to a collection of software environment, hardware environment, and entities such as data and network that are covered by software testing. The second test environment to be established may also include one or more subsystems, so configuration items need to be set for each subsystem in the second test environment.

每一测试环境都需要用配置项来控制各子系统之间的接口调用关系。因此如果待建立的第二测试环境中有部分或者全部子系统之间的接口调用关系与第一测试环境中的一致,即对应的配置项一致,则可以通过将这部分一致的配置项同步至该待建立的第二测试环境即可完成该部分配置项的设置。Each test environment needs to use configuration items to control the interface calling relationship between subsystems. Therefore, if the interface calling relationship between some or all of the subsystems in the second test environment to be established is consistent with that in the first test environment, that is, the corresponding configuration items are consistent, the consistent configuration items can be synchronized to the The setting of this part of the configuration items can be completed in the second test environment to be established.

子系统标识是唯一标识一个测试环境中子系统身份的字符串。A subsystem ID is a string that uniquely identifies the subsystem within a test environment.

在一个实施例中,子系统标识包括子系统名称和子系统序号,其中子系统名称定义了子系统的身份,而子系统序号定义了同一子系统名称下,一个子系统所属的测试环境的建立顺序。In one embodiment, the subsystem identifier includes a subsystem name and a subsystem serial number, wherein the subsystem name defines the identity of the subsystem, and the subsystem serial number defines the creation sequence of the test environment to which a subsystem belongs under the same subsystem name .

比如针对同一子系统,子系统标识可以分别是A1,A2,A3等,其中,这三个子系统标识都包含了“A”这一字符,代表这三个子系统都为A系统,而子系统标识的字符“A”后还分别带有1,2,3等,分别代表该子系统A位于利用该子系统A所建立的第一、第二以及第三个环境。For example, for the same subsystem, the subsystem identifiers can be A1, A2, A3, etc., among which, the three subsystem identifiers all contain the character "A", which means that the three subsystems are all A system, and the subsystem identifier There are 1, 2, 3, etc. after the character "A" of , respectively, which represent that the subsystem A is located in the first, second and third environments established by using the subsystem A.

在一个实施例中,除了子系统名称和子系统序号之外,子系统标识还包括:子系统调用序号。比如,第二测试环境中的各子系统的子系统标识可以分别是A21,D22,B23,C24,其中每一子系统标识的第三个字符即为子系统调用序号,各子系统标识中的子系统调用序号决定了各子系统在第二测试环境中是如何调用的。比如,由于A21,D22,B23,C24这四个子系统标识中的子系统调用序号分别是1,2,3,4,则第二测试环境中子系统调用顺序为A21调用D22,D22调用B23,B23调用C24。In one embodiment, in addition to the subsystem name and the subsystem serial number, the subsystem identification further includes: the subsystem calling serial number. For example, the subsystem identifiers of each subsystem in the second test environment may be A21, D22, B23, C24, respectively, wherein the third character of each subsystem identifier is the subsystem call sequence number, and the The subsystem calling sequence number determines how each subsystem is called in the second test environment. For example, since the subsystem call sequence numbers in the four subsystem identifiers A21, D22, B23, and C24 are 1, 2, 3, and 4, respectively, the subsystem call sequence in the second test environment is that A21 calls D22, and D22 calls B23. B23 calls C24.

在一个实施例中,预设的测试环境名称与子系统标识对应关系表中存储有测试环境名称与子系统标识的对应关系,所述获取待建立的第二测试环境中的各子系统的子系统标识,包括:利用所述第二测试环境的名称查询所述预设的测试环境名称与子系统标识对应关系表得到第二测试环境中的各子系统的子系统标识。In one embodiment, a preset correspondence table between test environment names and subsystem identifiers stores the correspondence between test environment names and subsystem identifiers, and the acquiring the sub-systems of each subsystem in the second test environment to be established The system identification includes: using the name of the second test environment to query the preset correspondence table between the test environment name and the subsystem identification to obtain the subsystem identification of each subsystem in the second test environment.

在一个实施例中,本公开的实施终端中内嵌有脚本,所述获取待建立的第二测试环境中的各子系统的子系统标识,包括:利用所述脚本爬取所述待建立的第二测试环境中的各子系统的子系统标识。In one embodiment, a script is embedded in the implementation terminal of the present disclosure, and the acquiring the subsystem identifiers of each subsystem in the second test environment to be established includes: using the script to crawl the to-be-established test environment Subsystem identifiers of each subsystem in the second test environment.

步骤240,基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。Step 240, based on the configuration item parameter values of the subsystems and the subsystem identifiers of the subsystems, synchronize the configuration item parameter values of the subsystems in the first test environment to the second test environment.

在一个实施例中,获取的第一测试环境的各子系统的配置项参数值与配置项对应,预设的子系统标识与配置项对应关系表中对应存储有子系统标识与配置项的对应关系,所述基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境,包括:In one embodiment, the acquired parameter values of the configuration items of each subsystem of the first test environment correspond to the configuration items, and the preset correspondence table between the subsystem identifiers and the configuration items stores the correspondence between the subsystem identifiers and the configuration items. relationship, the configuration item parameter values of each subsystem in the first test environment are synchronized to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifiers of the subsystems, including :

通过查询预设的子系统标识与配置项对应关系表,获取与所述各子系统的子系统标识对应的配置项,作为第一配置项;Obtain a configuration item corresponding to the subsystem identifier of each subsystem by querying a preset correspondence table of subsystem identifiers and configuration items, as the first configuration item;

获取与所述各子系统的配置项参数值对应的配置项,作为第二配置项;Obtain the configuration item corresponding to the configuration item parameter value of each subsystem as the second configuration item;

在所述第二配置项中存在至少一个配置项与所述第一配置项相同的情况下,将与第一配置项相同的第二配置项对应的配置项参数值同步至所述第二测试环境。If there is at least one configuration item in the second configuration item that is the same as the first configuration item, synchronize the configuration item parameter value corresponding to the second configuration item that is the same as the first configuration item to the second test surroundings.

例如,子系统标识与配置项对应关系表可以如下表所示:For example, the correspondence table between subsystem identifiers and configuration items can be shown in the following table:

子系统标识Subsystem ID A1A1 B1B1 D1D1 C1C1 配置项configuration item XX1XX1 XX2XX2 XX3XX3 XX4XX4 子系统关联码Subsystem Association Code b1b1 d1d1 c1c1

从上表可以看出,除了子系统标识和配置项之外,该表还包含子系统关联码,子系统关联码定义了每一子系统调用的子系统。值得一提的是,为了使表中的每一项都是唯一的,与对应的子系统标识相比,子系统关联码中的字母部分设置为与子系统标识中的大写字母对应的小写字母,其中,配置项XX4没有与子系统关联码对应,则说明标识为C1的子系统没有调用子系统。As can be seen from the above table, in addition to subsystem identifiers and configuration items, the table also contains subsystem association codes, which define the subsystems called by each subsystem. It is worth mentioning that, in order to make each item in the table unique, compared with the corresponding subsystem identification, the letter part in the subsystem association code is set to the lowercase letter corresponding to the uppercase letter in the subsystem identification. , where the configuration item XX4 does not correspond to the subsystem association code, it means that the subsystem identified as C1 does not call the subsystem.

在一个实施例中,预先设有配置项参数值与配置项的对应关系表,所述获取与所述各子系统的配置项参数值对应的配置项,作为第二配置项,包括:In one embodiment, a correspondence table between parameter values of configuration items and configuration items is preset, and the acquiring configuration items corresponding to the parameter values of configuration items of each subsystem, as the second configuration item, includes:

通过查询预设的配置项参数值与配置项的对应关系表,获取与所述各子系统的配置项参数值对应的配置项,作为第二配置项。By querying the preset correspondence table between the parameter values of the configuration items and the configuration items, the configuration items corresponding to the parameter values of the configuration items of the subsystems are acquired as the second configuration items.

在一个实施例中,所述子系统标识包括子系统身份代码,预先建立有存储子系统身份代码与基准配置项参数值对应关系的数据库,所述基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境,包括:In one embodiment, the subsystem identifier includes a subsystem identity code, and a database storing the corresponding relationship between the subsystem identity code and the parameter value of the reference configuration item is pre-established, and the parameter value of the configuration item based on the configuration item parameter value of each subsystem and Subsystem identifiers of each subsystem, and synchronizing the configuration item parameter values of each subsystem in the first test environment to the second test environment, including:

通过查询数据库,确定与所述各子系统的子系统标识中的子系统身份代码对应的基准配置项参数值;By querying the database, determine the parameter value of the reference configuration item corresponding to the subsystem identity code in the subsystem identification of each subsystem;

在所述第一测试环境中各子系统的配置项参数值中确定出与所述基准配置项参数值匹配的配置项参数值;determining a configuration item parameter value matching the reference configuration item parameter value in the configuration item parameter values of each subsystem in the first test environment;

将确定出的所述配置项参数值同步至所述第二测试环境。Synchronizing the determined parameter value of the configuration item to the second test environment.

在一个实施例中,所述在所述第一测试环境中各子系统的配置项参数值中确定出与所述基准配置项参数值匹配的配置项参数值,包括:In one embodiment, determining a configuration item parameter value that matches the reference configuration item parameter value among the configuration item parameter values of each subsystem in the first test environment includes:

针对每一基准配置项参数值,在所述第一测试环境中各子系统的配置项参数值中针对每一配置项参数值获取该配置项参数值与所述基准配置项参数值相同的字符的数目;确定所述数目最大的配置项参数值;在所述数目最大的配置项参数值对应的所述数目大于预定字符数目阈值的情况下,将所述数目对应的配置项参数值作为与该基准配置项参数值匹配的配置项参数值。For each reference configuration item parameter value, obtain the same character as the reference configuration item parameter value for each configuration item parameter value in the configuration item parameter values of each subsystem in the first test environment. determine the parameter value of the configuration item with the largest number; in the case that the number corresponding to the parameter value of the configuration item with the largest number is greater than the predetermined number of characters threshold, the parameter value of the configuration item corresponding to the number is used as the This baseline configuration item parameter value matches the configuration item parameter value.

综上所述,根据图2实施例提供的一种测试环境同步方法,在已经建立相应测试环境的情况下,当要新增测试环境时,直接将原测试环境中子系统的配置项参数值同步至要新增的测试环境,可以提高配置项的设置效率以及准确率。To sum up, according to a test environment synchronization method provided by the embodiment of FIG. 2, when a corresponding test environment has been established, when a new test environment is to be added, the parameter values of the configuration items of the subsystems in the original test environment are directly changed. Synchronizing to the test environment to be added can improve the setting efficiency and accuracy of configuration items.

图3是根据图2对应实施例示出的一实施例的在步骤240之前的步骤的流程图。如图3所示,包括以下步骤:FIG. 3 is a flowchart of steps before step 240 according to an embodiment shown in the corresponding embodiment of FIG. 2 . As shown in Figure 3, it includes the following steps:

步骤230,根据所述子系统标识,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。Step 230: According to the subsystem identifier, it is determined that the configuration item parameter values of each subsystem in the first test environment can be synchronized to the second test environment.

在一个实施例中,获取的第一测试环境的各子系统的配置项参数值与配置项对应,预设的子系统标识与配置项对应关系表中对应存储有子系统标识与配置项的对应关系,所述根据所述子系统标识,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境,包括:In one embodiment, the acquired parameter values of the configuration items of each subsystem of the first test environment correspond to the configuration items, and the preset correspondence table between the subsystem identifiers and the configuration items stores the correspondence between the subsystem identifiers and the configuration items. According to the subsystem identifier, determining that the configuration item parameter values of each subsystem in the first test environment can be synchronized to the second test environment includes:

通过查询预设的子系统标识与配置项对应关系表,获取与所述各子系统的子系统标识对应的配置项,作为第一配置项;Obtain a configuration item corresponding to the subsystem identifier of each subsystem by querying a preset correspondence table of subsystem identifiers and configuration items, as the first configuration item;

获取与所述各子系统的配置项参数值对应的配置项,作为第二配置项;Obtain the configuration item corresponding to the configuration item parameter value of each subsystem as the second configuration item;

在所述第二配置项中存在至少一个配置项与所述第一配置项相同的情况下,确定能将在所述第一测试环境中各子系统的配置项参数值中与第一配置项相同的第二配置项对应的配置项参数值同步至所述第二测试环境。If there is at least one configuration item in the second configuration item that is the same as the first configuration item, it is determined that the parameter values of the configuration items of each subsystem in the first test environment can be compared with the first configuration item. Configuration item parameter values corresponding to the same second configuration item are synchronized to the second test environment.

在图3所示出的实施例中,通过在将配置项参数值同步至所述第二测试环境同步至第二测试环境之前,进行能进行此次同步的评估,降低了由于同步失败可能造成的配置项参数值数据出错的风险。In the embodiment shown in FIG. 3 , before synchronizing the parameter values of the configuration items to the second test environment and synchronizing to the second test environment, the evaluation that this synchronization can be performed is performed, which reduces the possibility of causing synchronization failure due to synchronization failure. The risk of incorrect configuration item parameter value data.

图4是根据图3对应实施例示出的一实施例的步骤230的细节流程图。在图所示出的实施例中,所述第一测试环境包括的各子系统中的每一子系统具有该子系统的子系统标识的配置项参数值,如图4所示,步骤230包括以下步骤:FIG. 4 is a detailed flowchart of step 230 according to an embodiment shown in the corresponding embodiment of FIG. 3 . In the embodiment shown in the figure, each of the subsystems included in the first test environment has a configuration item parameter value identified by the subsystem of the subsystem. As shown in FIG. 4 , step 230 includes: The following steps:

步骤231,在所述子系统标识中确定是否有与所述第一测试环境中各子系统的子系统标识对应的标识。Step 231: Determine whether there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment in the subsystem identifiers.

在一个实施例中,所述在所述子系统标识中确定是否有与所述第一测试环境中各子系统的子系统标识对应的标识,包括:In one embodiment, the determining whether there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment in the subsystem identifier includes:

针对第二测试环境中的每一子系统标识,判断在所述第一测试环境中的子系统标识是否与该子系统标识相对应;For each subsystem identifier in the second test environment, determine whether the subsystem identifier in the first test environment corresponds to the subsystem identifier;

如果是,确定所述子系统标识中有与所述第一测试环境中各子系统的子系统标识对应的标识;If yes, determine that there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment in the subsystem identifier;

如果否,确定所述子系统标识中没有与所述第一测试环境中各子系统的子系统标识对应的标识。If not, it is determined that there is no identifier corresponding to the subsystem identifiers of the subsystems in the first test environment in the subsystem identifiers.

在一个实施例中,第一测试环境中的子系统标识与第二测试环境中的子系统标识的对应关系是预先存储在子系统标识库中,通过检索该子系统标识库在所述子系统标识中确定是否有与所述第一测试环境中各子系统的子系统标识对应的标识。In one embodiment, the correspondence between the subsystem identifiers in the first test environment and the subsystem identifiers in the second test environment is pre-stored in a subsystem identifier library, and the subsystem identifiers are retrieved in the subsystem identifier library by retrieving the subsystem identifier library. Whether there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment is determined in the identifier.

在一个实施例中,第一测试环境中的子系统标识与第二测试环境中的子系统标识的对应关系是根据一定规则预先设置的。比如子系统标识由一个字母和一个数字组成,如果第一测试环境中的一个子系统标识与第二测试环境中另一子系统标识的字母部分相同,但数字部分不同,则认为这两个子系统是对应的。例如第一测试环境中的一个子系统标识为A1,第二测试环境中另一子系统标识为A2,则标识为A1和A2的两个子系统是相对应的。In one embodiment, the correspondence between the subsystem identifiers in the first test environment and the subsystem identifiers in the second test environment is preset according to a certain rule. For example, the subsystem identification consists of a letter and a number. If the identification of a subsystem in the first test environment is the same as the letter part of the identification of another subsystem in the second test environment, but the number part is different, the two subsystems are considered to be is corresponding. For example, one subsystem in the first test environment is identified as A1, and another subsystem in the second test environment is identified as A2, then the two subsystems identified as A1 and A2 are corresponding.

步骤232,根据确定结果,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。Step 232: According to the determination result, it is determined that the parameter values of the configuration items of each subsystem in the first test environment can be synchronized to the second test environment.

在一个实施例中,所述第二测试环境在设立之初,所述第二测试环境中各子系统之间是将要按照预定顺序调用的,所述根据确定结果,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境,包括:In one embodiment, at the beginning of the establishment of the second test environment, various subsystems in the second test environment will be called in a predetermined order, and according to the determination result, it is determined that the first test environment can The configuration item parameter values of each subsystem in the test environment are synchronized to the second test environment, including:

当所述子系统标识中有与所述第一测试环境中各子系统的子系统标识对应的标识时,获取在所述第一测试环境和所述第二测试环境中有对应关系的所有子系统标识;When the subsystem identifier includes an identifier corresponding to the subsystem identifier of each subsystem in the first test environment, acquire all sub-system identifiers that have a corresponding relationship in the first test environment and the second test environment system identification;

在获取的第一测试环境中的子系统标识中,确定有对应的子系统之间有调用关系的子系统标识,作为第一子系统标识;Among the acquired subsystem identifiers in the first test environment, determine that there is a subsystem identifier with a calling relationship between the corresponding subsystems, as the first subsystem identifier;

确定在获取的第二测试环境中的子系统标识中与确定出的第一子系统标识对应的子系统标识,作为第二子系统标识;determining the subsystem identifier corresponding to the determined first subsystem identifier in the acquired subsystem identifiers in the second test environment as the second subsystem identifier;

当在标识为第二子系统标识的子系统中存在至少两个子系统的调用顺序与和具有与所述至少两个子系统的第二子系统标识对应的第一子系统标识的第一测试环境中的子系统的调用顺序一致时,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。When there are at least two subsystems in the subsystem identified as the second subsystem identification in the first test environment with the first subsystem identification corresponding to the second subsystem identification of the at least two subsystems When the calling sequence of the subsystems is consistent, it is determined that the configuration item parameter values of each subsystem in the first test environment can be synchronized to the second test environment.

比如在第一测试环境下,基于第一子系统标识建立的第一子系统之间的调用关系为B1-A1-C1-D1,而获取的第二子系统标识分别为A2、C2和D2,假如第二子系统标识对应的子系统之间的调用关系为A2-C2-D2,由于该第二子系统标识对应的子系统之间的调用关系与第一子系统一致,且具有一致调用关系的子系统的数目为3,达到了至少两个子系统的标准,因此在这种情况下就确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。For example, in the first test environment, the calling relationship between the first subsystems established based on the first subsystem identifier is B1-A1-C1-D1, and the acquired second subsystem identifiers are A2, C2, and D2, respectively. If the calling relationship between the subsystems corresponding to the second subsystem identifier is A2-C2-D2, since the calling relationship between the subsystems corresponding to the second subsystem identifier is the same as the first subsystem, and has a consistent calling relationship The number of subsystems is 3, which meets the standard of at least two subsystems. Therefore, in this case, it is determined that the configuration item parameter values of each subsystem in the first test environment can be synchronized to the second test environment. .

综上所述,图4所示出的实施例的好处在于,由于子系统标识是可以直接用来确定两个子系统是否为同一子系统,即是否可以进行同步的条件,所以在第一测试环境下的子系统的配置项参数值包含子系统标识的情况下,利用子系统标识在第一测试环境和第二测试环境中的对应关系,确定能将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境,可以提高判断的准确率,从而可以提高配置项参数值的同步准确率。To sum up, the advantage of the embodiment shown in FIG. 4 is that since the subsystem identifier is a condition that can be directly used to determine whether two subsystems are the same subsystem, that is, whether synchronization can be performed, in the first test environment In the case where the parameter value of the configuration item of the sub-system under the sub-system includes the sub-system identifier, the corresponding relationship between the sub-system identifiers in the first test environment and the second test environment is used to determine that the values of the subsystems in the first test environment can be changed. The parameter values of the configuration items are synchronized to the second test environment, which can improve the accuracy of judgment, thereby improving the synchronization accuracy of the parameter values of the configuration items.

图5是根据图4对应实施例示出的一实施例的步骤231的细节流程图。在图5所示出的实施例中,所述第二测试环境在设立之初,所述第二测试环境中的各子系统之间是将要按照预定顺序调用的,所述第一测试环境包括的各子系统中的每一子系统还具有该子系统所调用的子系统的子系统标识的配置项参数值。如图5所示,步骤231包括以下步骤:FIG. 5 is a detailed flowchart of step 231 according to an embodiment shown in the corresponding embodiment of FIG. 4 . In the embodiment shown in FIG. 5 , at the beginning of the establishment of the second test environment, various subsystems in the second test environment will be called in a predetermined order, and the first test environment includes Each of the subsystems also has the configuration item parameter value of the subsystem identification of the subsystem invoked by the subsystem. As shown in Figure 5, step 231 includes the following steps:

步骤2311,根据第一测试环境的各子系统中每一子系统所调用的子系统的子系统标识,确定所述第一测试环境中各子系统的调用顺序。Step 2311: Determine the calling sequence of each subsystem in the first test environment according to the subsystem identifier of the subsystem called by each of the subsystems in the first test environment.

在一个实施例中,根据第一测试环境的各子系统中每一子系统所调用的子系统的子系统标识,确定所述第一测试环境中各子系统的调用顺序,包括:In one embodiment, the calling sequence of each subsystem in the first test environment is determined according to the subsystem identifier of the subsystem called by each of the subsystems in the first test environment, including:

针对第一测试环境中每一子系统的子系统标识,获取没有被子系统调用的子系统标识,作为第一子系统标识;For the subsystem identifier of each subsystem in the first test environment, obtain the subsystem identifier that is not called by the subsystem as the first subsystem identifier;

从所述第一子系统标识对应的子系统开始,获取该第一子系统标识对应的子系统调用的子系统标识并将获取的该子系统标识标记为第一子系统标识;Starting from the subsystem corresponding to the first subsystem identifier, acquiring the subsystem identifier called by the subsystem corresponding to the first subsystem identifier and marking the acquired subsystem identifier as the first subsystem identifier;

再次从所述第一子系统标识对应的子系统开始,获取该第一子系统标识对应的子系统调用的子系统标识直至第一测试环境中所有子系统的子系统标识都被标记为第一子系统标识;Starting from the subsystem corresponding to the first subsystem identifier again, the subsystem identifiers called by the subsystems corresponding to the first subsystem identifier are obtained until the subsystem identifiers of all subsystems in the first test environment are marked as the first subsystem identifier. Subsystem identification;

将获取的所有第一子系统标识的获取顺序作为所述第一测试环境中各子系统的调用顺序。The acquisition sequence of all acquired first subsystem identifiers is taken as the calling sequence of each subsystem in the first test environment.

步骤2312,基于所述预定顺序和所述调用顺序,确定所述子系统标识中是否有与所述第一测试环境中各子系统的子系统标识对应的标识。Step 2312: Based on the predetermined sequence and the calling sequence, determine whether there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment in the subsystem identifiers.

在一个实施例中,所述基于所述预定顺序和所述调用顺序,确定所述子系统标识中是否有与所述第一测试环境中各子系统的子系统标识对应的标识,包括:In one embodiment, the determining, based on the predetermined sequence and the calling sequence, whether there is an identifier corresponding to the subsystem identifier of each subsystem in the first test environment in the subsystem identifiers includes:

对比按照所述预定顺序排序的第二测试环境中的各子系统的序列以及按照所述调用顺序排序的第一测试环境中的各子系统的序列,以确定两个序列中是否存在相同且长度大于预定阈值的子系统的子序列;如果是,确定所述子系统标识中有与所述第一测试环境中各子系统的子系统标识对应的标识;如果否,确定所述子系统标识中没有与所述第一测试环境中各子系统的子系统标识对应的标识。Comparing the sequence of each subsystem in the second test environment sorted according to the predetermined order and the sequence of each subsystem in the first test environment sorted according to the calling sequence to determine whether the two sequences have the same length and the same length Subsequences of subsystems greater than a predetermined threshold; if yes, determine that there are identifiers corresponding to the subsystem identifiers of each subsystem in the first test environment in the subsystem identifiers; if not, determine that the subsystem identifiers There is no identifier corresponding to the subsystem identifier of each subsystem in the first test environment.

综上所述,图5所示出的实施例的好处在于,通过根据第一测试环境中各子系统的调用顺序以及第二测试环境各子系统对应的预定顺序来确定两个子系统中是否有对应的子系统标识,在一定程度上提高了此确定步骤的判断标准,可以提高判断的准确率,从而能够提升同步配置项参数值的准确率。To sum up, the advantage of the embodiment shown in FIG. 5 is that whether there is a The corresponding subsystem identification improves the judgment standard of this determination step to a certain extent, which can improve the accuracy of the judgment, thereby improving the accuracy of the parameter value of the synchronization configuration item.

图6是根据图2对应实施例示出的一实施例的在步骤240之前的步骤以及步骤240的细节的流程图。如图6所示,包括以下步骤:FIG. 6 is a flowchart of steps before step 240 and details of step 240 according to an embodiment shown in the corresponding embodiment of FIG. 2 . As shown in Figure 6, it includes the following steps:

步骤230',确定获取的第二测试环境中的子系统标识的数目。Step 230', determining the number of the acquired subsystem identifiers in the second test environment.

在一个实施例中,本公开的实施终端中内嵌有计数器,通过该计数器可以计算出获取的第二测试环境中的子系统标识的数目。In one embodiment, a counter is embedded in the implementation terminal of the present disclosure, and the number of acquired subsystem identifiers in the second test environment can be calculated through the counter.

步骤241,判断所述数目是否大于1。Step 241, judging whether the number is greater than 1.

步骤242,当所述数目大于1时,基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。Step 242, when the number is greater than 1, based on the configuration item parameter values of the subsystems and the subsystem identifiers of the subsystems, synchronize the configuration item parameter values of the subsystems in the first test environment to all the subsystems. The second test environment is described.

由于1是比较小的判断基准,而通过将所述数目与该判断基准进行比较,使得在所述数目不大于1,即在新建的第二测试环境中只有一个子系统时,不执行将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境的步骤,提高了第二测试环境的创建的效率,节约了计算的资源。Since 1 is a relatively small judgment criterion, by comparing the number with the judgment criterion, when the number is not greater than 1, that is, when there is only one subsystem in the newly created second test environment, all tests will not be executed. The step of synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment improves the efficiency of creating the second test environment and saves computing resources.

以下是本发明的装置实施例。The following are apparatus embodiments of the present invention.

本公开还提供了一种测试环境同步装置。图7是根据一示例性实施例示出的一种测试环境同步装置的框图。如图7所示,装置700包括:The present disclosure also provides a test environment synchronization device. Fig. 7 is a block diagram of a test environment synchronization apparatus according to an exemplary embodiment. As shown in FIG. 7, apparatus 700 includes:

第一获取模块710,被配置为获取第一测试环境中各子系统的配置项参数值,其中,所述第一测试环境包括至少一个子系统,各子系统中每一所述子系统具有至少一个配置项参数值;The first obtaining module 710 is configured to obtain configuration item parameter values of each subsystem in the first test environment, wherein the first test environment includes at least one subsystem, and each of the subsystems has at least one subsystem. A configuration item parameter value;

第二获取模块720,被配置为获取待建立的第二测试环境中的各子系统的子系统标识;The second obtaining module 720 is configured to obtain the subsystem identifiers of the subsystems in the second test environment to be established;

同步模块730,被配置为基于所述各子系统的配置项参数值和各子系统的子系统标识,将所述第一测试环境中各子系统的配置项参数值同步至所述第二测试环境。The synchronization module 730 is configured to synchronize the configuration item parameter value of each subsystem in the first test environment to the second test based on the configuration item parameter value of each subsystem and the subsystem identifier of each subsystem surroundings.

据本公开的第三方面,还提供了一种能够实现上述方法的电子设备。According to a third aspect of the present disclosure, an electronic device capable of implementing the above method is also provided.

所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".

下面参照图8来描述根据本发明的这种实施方式的电子设备800。图8显示的电子设备800仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。An electronic device 800 according to this embodiment of the present invention is described below with reference to FIG. 8 . The electronic device 800 shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.

如图8所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830。As shown in FIG. 8, electronic device 800 takes the form of a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to, the above-mentioned at least one processing unit 810 , the above-mentioned at least one storage unit 820 , and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810 ).

其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“实施例方法”部分中描述的根据本发明各种示例性实施方式的步骤。Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes various exemplary embodiments according to the present invention described in the above-mentioned “Methods of Embodiments” of this specification Implementation steps.

存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)821和/或高速缓存存储单元822,还可以进一步包括只读存储单元(ROM)823。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822 , and may further include a read only storage unit (ROM) 823 .

存储单元820还可以包括具有一组(至少一个)程序模块825的程序/实用工具824,这样的程序模块825包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 820 may also include a program/utility 824 having a set (at least one) of program modules 825 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, An implementation of a network environment may be included in each or some combination of these examples.

总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 830 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.

电子设备800也可以与一个或多个外部设备1000(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备800交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 800 may also communicate with one or more external devices 1000 (eg, keyboards, pointing devices, Bluetooth devices, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 850 . Also, the electronic device 800 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 860 . As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.

通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to an embodiment of the present disclosure.

根据本公开的第四方面,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。According to a fourth aspect of the present disclosure, there is also provided a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored. In some possible implementations, aspects of the present invention can also be implemented in the form of a program product comprising program code for enabling the program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Example Method" section above in this specification.

参考图9所示,描述了根据本发明的实施方式的用于实现上述方法的程序产品900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Referring to FIG. 9, a program product 900 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read only memory (CD-ROM) and include program codes, and can be used in a terminal device, For example running on a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.

可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).

此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Furthermore, the above-mentioned figures are merely schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously in multiple modules, for example.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.

Claims (5)

1. A test environment synchronization method, the method comprising:
acquiring configuration item parameter values of subsystems in a first test environment, wherein the first test environment comprises at least one subsystem, each subsystem in the subsystems has at least one configuration item parameter value, and each subsystem in the subsystems in the first test environment has a configuration item parameter value of a subsystem identifier of the subsystem;
acquiring subsystem identifications of subsystems in a second test environment to be established, wherein the subsystems in the second test environment are to be called according to a preset sequence at the beginning of the establishment of the second test environment;
for each subsystem identification in a second test environment, judging whether the subsystem identification in the first test environment corresponds to the subsystem identification;
if yes, determining that the subsystem identifications have identifications corresponding to the subsystem identifications of the subsystems in the first test environment;
if not, determining that no identifier corresponding to the subsystem identifier of each subsystem in the first test environment exists in the subsystem identifiers;
when the subsystem identifications have identifications corresponding to the subsystem identifications of the subsystems in the first test environment, acquiring all subsystem identifications having a corresponding relationship in the first test environment and the second test environment;
determining a subsystem identifier with a calling relationship between corresponding subsystems in the acquired subsystem identifiers in the first test environment as a first subsystem identifier;
determining a subsystem identifier corresponding to the determined first subsystem identifier in the acquired subsystem identifiers in the second test environment as a second subsystem identifier;
when the calling sequence of at least two subsystems in the subsystems identified as the second subsystem identifications is consistent with the calling sequence of the subsystems in the first test environment with the first subsystem identifications corresponding to the second subsystem identifications of the at least two subsystems, determining that the parameter values of the configuration items of the subsystems in the first test environment can be synchronized to the second test environment;
and synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifications of the subsystems.
2. The method of claim 1, wherein prior to synchronizing the configuration item parameter values for the subsystems in the first test environment to the second test environment based on the configuration item parameter values for the subsystems and the subsystem identifications for the subsystems, the method comprises:
determining the number of the obtained subsystem identifications in the second test environment;
the synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifications of the subsystems comprises:
judging whether the number is more than 1;
and when the number is larger than 1, synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifications of the subsystems.
3. A test environment synchronization apparatus, the apparatus comprising:
a first obtaining module configured to obtain configuration item parameter values of subsystems in a first test environment, wherein the first test environment includes at least one subsystem, each of the subsystems has at least one configuration item parameter value, and each of the subsystems included in the first test environment has a configuration item parameter value of a subsystem identifier of the subsystem;
the second acquisition module is configured to acquire subsystem identifications of subsystems in a second test environment to be established, wherein the subsystems in the second test environment are to be called according to a preset sequence at the beginning of the establishment of the second test environment;
a synchronization module configured to determine, for each subsystem identity in a second test environment, whether a subsystem identity in the first test environment corresponds to the subsystem identity; if yes, determining that the subsystem identifications have identifications corresponding to the subsystem identifications of the subsystems in the first test environment; if not, determining that no identifier corresponding to the subsystem identifier of each subsystem in the first test environment exists in the subsystem identifiers; when the subsystem identifications have identifications corresponding to the subsystem identifications of the subsystems in the first test environment, acquiring all subsystem identifications having a corresponding relationship in the first test environment and the second test environment; determining a subsystem identifier with a calling relationship between corresponding subsystems in the acquired subsystem identifiers in the first test environment as a first subsystem identifier; determining a subsystem identifier corresponding to the determined first subsystem identifier in the acquired subsystem identifiers in the second test environment as a second subsystem identifier; when the calling sequence of at least two subsystems in the subsystems identified as the second subsystem identifications is consistent with the calling sequence of the subsystems in the first test environment with the first subsystem identifications corresponding to the second subsystem identifications of the at least two subsystems, determining that the parameter values of the configuration items of the subsystems in the first test environment can be synchronized to the second test environment; and synchronizing the configuration item parameter values of the subsystems in the first test environment to the second test environment based on the configuration item parameter values of the subsystems and the subsystem identifications of the subsystems.
4. A computer-readable program medium, characterized in that it stores computer program instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 2.
5. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the method of any of claims 1 to 2.
CN201910817291.6A 2019-08-30 2019-08-30 Test environment synchronization method, device, medium and electronic equipment Active CN110688305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910817291.6A CN110688305B (en) 2019-08-30 2019-08-30 Test environment synchronization method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910817291.6A CN110688305B (en) 2019-08-30 2019-08-30 Test environment synchronization method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110688305A CN110688305A (en) 2020-01-14
CN110688305B true CN110688305B (en) 2022-04-29

Family

ID=69107662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910817291.6A Active CN110688305B (en) 2019-08-30 2019-08-30 Test environment synchronization method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110688305B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694750B (en) * 2020-06-29 2024-10-15 深圳前海微众银行股份有限公司 A method and device for constructing a software testing environment
CN112422648B (en) * 2020-11-05 2023-02-24 北京字节跳动网络技术有限公司 Data synchronization method and system
CN112817652B (en) * 2021-01-22 2024-05-24 北京神州数码云科信息技术有限公司 Computer environment configuration method, device, computer equipment and storage medium
CN113064673A (en) * 2021-05-07 2021-07-02 数字广东网络建设有限公司 Configuration method, device, equipment and medium for multi-application environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200944A (en) * 2011-06-16 2011-09-28 中国联合网络通信集团有限公司 Test environment cloning method and system for enterprise resource planning (ERP) system
CN107959579A (en) * 2016-10-14 2018-04-24 北京京东尚科信息技术有限公司 The dispositions method and deployment system of multisystem
CN109614339A (en) * 2018-12-27 2019-04-12 四川新网银行股份有限公司 An Automatic Expansion Method Based on Multiple Test Environments

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7093249B2 (en) * 2001-03-02 2006-08-15 National Instruments Corporation System and method for synchronizing execution of a test sequence
US20060036907A1 (en) * 2004-08-11 2006-02-16 Emc Corporation Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200944A (en) * 2011-06-16 2011-09-28 中国联合网络通信集团有限公司 Test environment cloning method and system for enterprise resource planning (ERP) system
CN107959579A (en) * 2016-10-14 2018-04-24 北京京东尚科信息技术有限公司 The dispositions method and deployment system of multisystem
CN109614339A (en) * 2018-12-27 2019-04-12 四川新网银行股份有限公司 An Automatic Expansion Method Based on Multiple Test Environments

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
软件测试风险的分析与对策;王红峰;《中国金融电脑》;20090228(第02期);72-75 *

Also Published As

Publication number Publication date
CN110688305A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
US11561972B2 (en) Query conversion for querying disparate data sources
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN110737891B (en) Host intrusion detection method and device
CN111737227B (en) Data modification method and system
CN114389969B (en) Method and device for testing client, electronic equipment and storage medium
WO2020015116A1 (en) Database monitoring method and terminal device
WO2019223136A1 (en) Data acquisition method and apparatus, and computer device and storage medium
WO2019153555A1 (en) Method and device for generating er relationships, computer device, and storage medium
CN108667660B (en) Method and device for routing management and service routing, and routing system
CN113792008A (en) Method and device for acquiring network topology structure, electronic equipment and storage medium
CN111538651B (en) Interface testing method, device, server and storage medium
WO2023151397A1 (en) Application program deployment method and apparatus, device, and medium
CN117520195A (en) Method, apparatus, device, storage medium and program product for testing interface
CN110046161A (en) Method for writing data and device, storage medium, electronic equipment
CN112559233B (en) Method, device, equipment and computer readable medium for identifying fault type
CN114741260A (en) Interface compatibility detection method, device, electronic device and storage medium
CN114185804A (en) Interface testing method and device and terminal equipment
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN114153438A (en) API automatic generation system
CN113110846A (en) Method and device for acquiring environment variable
CN112417012A (en) Data processing method and system
CN113626409B (en) Test data processing method, device, equipment and storage medium
CN111159010A (en) Defect collecting method, defect reporting method and related device
CN113076273B (en) Component access method, device, electronic equipment, storage medium and program product

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
GR01 Patent grant
GR01 Patent grant