[go: up one dir, main page]

CN112035344A - Multi-scenario test method, device, equipment and computer readable storage medium - Google Patents

Multi-scenario test method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112035344A
CN112035344A CN202010813826.5A CN202010813826A CN112035344A CN 112035344 A CN112035344 A CN 112035344A CN 202010813826 A CN202010813826 A CN 202010813826A CN 112035344 A CN112035344 A CN 112035344A
Authority
CN
China
Prior art keywords
platform
mock
test request
network test
response data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010813826.5A
Other languages
Chinese (zh)
Inventor
吕新峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Zhirong Innovation Technology Development Co ltd
Original Assignee
Tianjin Zhirong Innovation Technology Development 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 Tianjin Zhirong Innovation Technology Development Co ltd filed Critical Tianjin Zhirong Innovation Technology Development Co ltd
Priority to CN202010813826.5A priority Critical patent/CN112035344A/en
Publication of CN112035344A publication Critical patent/CN112035344A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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

本公开的实施例提供了多场景测试方法、装置、设备和计算机可读存储介质。所述方法包括接收接口服务器转发的网络测试请求;其中,所述网络请求是由客户端发送给所述接口服务器的;按照预设规则,将匹配于第三方业务平台的网络测试请求转发至第三方业务平台和/或将匹配于mock平台的测试请求转发至mock平台;接收第三方业务平台和/或mock平台发送的响应数据,并转发给接口服务器,以便所述接口服务器将所述响应数据转发给所述客户端。以此方式,可同时实现模拟数据与真实数据一起测试,使测试结果更完备;可以配置不同的响应,验证不同的业务场景。

Figure 202010813826

Embodiments of the present disclosure provide a multi-scenario testing method, apparatus, device, and computer-readable storage medium. The method includes receiving a network test request forwarded by an interface server; wherein, the network request is sent by a client to the interface server; according to preset rules, forwarding the network test request matching the third-party service platform to the third-party service platform. The third-party business platform and/or forward the test request matching the mock platform to the mock platform; receive the response data sent by the third-party business platform and/or the mock platform, and forward it to the interface server, so that the interface server can send the response data forwarded to the client. In this way, simulated data and real data can be tested at the same time, so that the test results are more complete; different responses can be configured to verify different business scenarios.

Figure 202010813826

Description

多场景测试方法、装置、设备和计算机可读存储介质Multi-scenario testing method, apparatus, device, and computer-readable storage medium

技术领域technical field

本公开的实施例一般涉及软件测试领域,并且更具体地,涉及多场景测试方法、装置、设备和计算机可读存储介质。Embodiments of the present disclosure generally relate to the field of software testing, and more particularly, to a multi-scenario testing method, apparatus, device, and computer-readable storage medium.

背景技术Background technique

目前,业务系统在进行开发过程中,需要进行业务功能测试。在业务功能测试过程中,需要调用mock平台;而业务功能测试完成后,在某些业务场景下,又需要调用第三方业务平台,根据第三方业务平台的返回决定最终返回到客户端的信息。业务系统就是在这样的过程中,反复进行测试和业务处理。对于单个业务系统来说,这样的过程还不是非常复杂,但随着业务系统的增加,各个业务系统又要与不同的外部系统接口连接,同时又要进行不同场景的测试,所以整个开发、测试、联调等时间耗费非常大,效率非常低,不易管理和维护。At present, the business system needs to be tested for business functions during the development process. During the business function test, the mock platform needs to be called; after the business function test is completed, in some business scenarios, the third-party business platform needs to be called, and the information finally returned to the client is determined according to the return of the third-party business platform. It is in this process that the business system is repeatedly tested and processed. For a single business system, such a process is not very complicated, but with the increase of business systems, each business system has to interface with different external systems, and at the same time, test different scenarios, so the whole development, testing , joint debugging and other time-consuming, very low efficiency, difficult to manage and maintain.

现有技术存在如下问题:The prior art has the following problems:

1.第三方接口环境不稳定,导致调用第三方接口无法正常返回数据;1. The environment of the third-party interface is unstable, so that the data cannot be returned normally when the third-party interface is called;

2.第三方接口研发进度晚于所测试接口,影响所测试接口的测试进度;2. The development progress of the third-party interface is later than that of the tested interface, which affects the testing progress of the tested interface;

3.测试过程中需验证不同的业务场景,正常的或者不同的错误;比如影片审核成功或者不成功,需要返回不同的响应;3. Different business scenarios need to be verified during the test, normal or different errors; for example, if the movie review is successful or unsuccessful, different responses need to be returned;

4.第三方接口因非同团队或者同公司,各方面协调存在人员、时间成本。4. Because the third-party interface is not the same team or company, there are personnel and time costs for coordination in all aspects.

发明内容SUMMARY OF THE INVENTION

根据本公开的实施例,提供了一种多场景测试方案,用于解决现有技术中需要反复地分别针对mock平台和第三方业务系统进行测试的技术问题。According to the embodiments of the present disclosure, a multi-scenario testing solution is provided, which is used to solve the technical problem in the prior art that the mock platform and the third-party business system need to be repeatedly tested respectively.

在本公开的第一方面,提供了一种多场景测试方法。该方法包括:接收接口服务器转发的网络测试请求;其中,所述网络请求是由客户端发送给所述接口服务器的;按照预设规则,将匹配于第三方业务平台的网络测试请求转发至第三方业务平台和/或将匹配于mock平台的测试请求转发至mock平台;接收第三方业务平台和/或mock平台发送的响应数据,并转发给接口服务器,以便所述接口服务器将所述响应数据转发给所述客户端。In a first aspect of the present disclosure, a multi-scenario testing method is provided. The method includes: receiving a network test request forwarded by an interface server; wherein, the network request is sent by a client to the interface server; according to preset rules, forwarding the network test request matching the third-party service platform to the first The third-party business platform and/or forward the test request matching the mock platform to the mock platform; receive the response data sent by the third-party business platform and/or the mock platform, and forward it to the interface server, so that the interface server can send the response data forwarded to the client.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述预设规则包括:确定接收到的第一网络测试请求的域名和路径与需要发送至mock平台的第二网络测试请求的域名和路径是否匹配,若匹配,则调用mock平台,若不匹配,则调用第三方业务平台。The above aspects and any possible implementation manners further provide an implementation manner, wherein the preset rules include: determining the domain name and path of the received first network test request and the second network that needs to be sent to the mock platform Test whether the requested domain name and path match, if so, call the mock platform, if not, call the third-party business platform.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述预设规则包括:调用mock平台的次数、频率、时间占比设置。According to the above aspect and any possible implementation manner, an implementation manner is further provided, wherein the preset rule includes: setting the number of times, frequency, and time ratio of calling the mock platform.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第二网络测试请求为将所述第一网络测试请求的域名和路径替换为mock平台的域名和路径生成的。The above aspect and any possible implementation manner further provide an implementation manner, wherein the second network test request is generated by replacing the domain name and path of the first network test request with the domain name and path of the mock platform. .

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述mock平台的数据库中设置有多场景模拟响应方式;所述mock平台对所述第二测试请求进行解析,根据所述第二网络测试请求中携带的业务系统的关键字段以及场景的关键字段,确定对业务场景的模拟响应方式。The above aspects and any possible implementations further provide an implementation, wherein a multi-scene simulation response mode is set in the database of the mock platform; the mock platform parses the second test request, according to The key fields of the business system and the key fields of the scenario carried in the second network test request determine the simulated response mode to the business scenario.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述多场景响应方式包括不同业务系统、不同业务场景的模拟响应方式。The above aspects and any possible implementation manners further provide an implementation manner, wherein the multi-scenario response manner includes simulated response manners of different business systems and different business scenarios.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,接收第三方业务平台和/或mock平台发送的响应数据还包括:为所述响应数据添加标识,以标识其来源是第三方业务平台或mock平台。In the above aspect and any possible implementation, an implementation is further provided. Receiving the response data sent by the third-party business platform and/or the mock platform further includes: adding an identifier to the response data to identify that its source is Third-party business platforms or mock platforms.

在本公开的第二方面,提供了一种多场景测试装置。该装置包括:网络测试请求接收模块,用于接收接口服务器转发的网络测试请求;其中,所述网络请求是由客户端发送给所述接口服务器的;网络测试请求转发模块,用于按照预设规则,将匹配于第三方业务平台的网络测试请求转发至第三方业务平台,将匹配于mock平台的测试请求转发至mock平台;响应数据转发模块,用于接收第三方业务平台和/或mock平台发送的响应数据,并转发给接口服务器,以便所述接口服务器将所述响应数据转发给所述客户端。。In a second aspect of the present disclosure, a multi-scene testing apparatus is provided. The device includes: a network test request receiving module for receiving a network test request forwarded by an interface server; wherein, the network request is sent by a client to the interface server; a network test request forwarding module, used for preset Rules, forward the network test request matching the third-party business platform to the third-party business platform, and forward the test request matching the mock platform to the mock platform; the response data forwarding module is used to receive the third-party business platform and/or the mock platform The sent response data is forwarded to the interface server, so that the interface server forwards the response data to the client. .

在本公开的第三方面,提供了一种电子设备。该电子设备包括:存储器和处理器,所述存储器上存储有计算机程序,所述处理器执行所述程序时实现如以上所述的方法。In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a memory and a processor, where a computer program is stored on the memory, and the processor implements the above-mentioned method when the processor executes the program.

在本公开的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如根据本公开的第一方面的方法。In a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method according to the first aspect of the present disclosure.

通过本公开上述方面,可同时实现模拟数据与真实数据一起测试,使测试结果更完备;可以配置不同的响应,验证不同的业务场景。Through the above aspects of the present disclosure, simultaneous testing of simulated data and real data can be realized, so that the test results are more complete; different responses can be configured to verify different business scenarios.

应当理解,发明内容部分中所描述的内容并非旨在限定本公开的实施例的关键或重要特征,亦非用于限制本公开的范围。本公开的其它特征将通过以下的描述变得容易理解。It should be understood that the matters described in this Summary are not intended to limit key or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.

附图说明Description of drawings

结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent when taken in conjunction with the accompanying drawings and with reference to the following detailed description. In the drawings, the same or similar reference numbers refer to the same or similar elements, wherein:

图1示出了能够在其中实现本公开的实施例的示例性运行环境的示意图;1 shows a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented;

图2示出了图1中所示的客户端、接口服务器、接口配置平台、第三方业务平台和mock平台之间的多场景测试方法的示意图;Fig. 2 shows the schematic diagram of the multi-scenario testing method between the client, the interface server, the interface configuration platform, the third-party business platform and the mock platform shown in Fig. 1;

图3示出了根据本公开的实施例的多场景测试装置的方框图;3 shows a block diagram of a multi-scenario testing apparatus according to an embodiment of the present disclosure;

图4示出了能够实施本公开的实施例的示例性电子设备的方框图。4 shows a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.

具体实施方式Detailed ways

为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments These are some, but not all, embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

本公开中,通过接口配置平台同时实现了对mock平台的模拟数据测试与对第三方业务平台的真实数据测试。In the present disclosure, the simulated data test of the mock platform and the real data test of the third-party business platform are simultaneously realized through the interface configuration platform.

图1示出了能够在其中实现本公开的实施例的示例性运行环境100的示意图。在运行环境100中包括客户端102、接口服务器104、接口配置平台106、第三方业务平台108和mock平台110。在一些实施例中,第三方业务平台108可以为一个或多个,例如不同业务的第三方业务平台108。FIG. 1 shows a schematic diagram of an exemplary operating environment 100 in which embodiments of the present disclosure can be implemented. The operating environment 100 includes a client 102 , an interface server 104 , an interface configuration platform 106 , a third-party business platform 108 and a mock platform 110 . In some embodiments, the third-party service platform 108 may be one or more, for example, third-party service platforms 108 of different services.

客户端102可以为测试人员所使用的终端设备,如智能电视、手机、平板电脑等,测试人员可以通过客户端102上操作发送需要进行测试的网络请求;接口服务器104用于接收客户端102发送的所述网络请求,将所述网络请求转发给接口配置平台106;接口配置平台106根据预设配置,将所述网络请求转发给第三方业务平台108或mock平台110;mock平台110用于向客户端102提供所述网络请求对应的响应数据,该响应数据为模拟数据;第三方业务平台108用于向客户端102提供所述网络请求对应的响应数据,该响应数据为真实数据。The client 102 can be a terminal device used by the tester, such as a smart TV, a mobile phone, a tablet computer, etc., and the tester can send the network request that needs to be tested through the operation on the client 102; the interface server 104 is used to receive the transmission from the client 102. and forward the network request to the interface configuration platform 106; the interface configuration platform 106 forwards the network request to the third-party business platform 108 or the mock platform 110 according to the preset configuration; the mock platform 110 is used to send the The client 102 provides response data corresponding to the network request, and the response data is simulated data; the third-party service platform 108 is configured to provide the client 102 with response data corresponding to the network request, and the response data is real data.

在一些实施例中,mock平台110,是一个单独的系统,可配置mock接口、存储mock数据、并将配置的mock信息返回;还可以用于配置mock接口;其中,所述配置mock接口可以配置接口方法,支持http、WCF、WebService等常见协议;支持设定特定格式内容,例如日期、Token;还可以配置不同的mock信息返回;如果网络请求经过mock平台110的匹配后,没有匹配上任何符合的结果,可以设置转发配置,将请求转发到第三方业务平台上。In some embodiments, the mock platform 110 is a separate system that can configure a mock interface, store mock data, and return the configured mock information; it can also be used to configure a mock interface; wherein, the configuration mock interface can be configured Interface method, supports common protocols such as http, WCF, WebService; supports setting specific format content, such as date, Token; can also configure different mock information to return; if the network request is matched by the mock platform 110, there is no match As a result, the forwarding configuration can be set to forward the request to the third-party business platform.

图2示出了图1中所示的客户端102、接口服务器104、接口配置平台106、第三方业务平台108和mock平台110之间的多场景测试方法200的示意图。FIG. 2 shows a schematic diagram of a multi-scenario testing method 200 among the client 102, the interface server 104, the interface configuration platform 106, the third-party business platform 108, and the mock platform 110 shown in FIG. 1. FIG.

在框202,客户端102发送第一网络测试请求。At block 202, the client 102 sends a first network test request.

在一些实施例中,第一网络测试请求为测试人员进行测试的过程中通过客户端102发送的任意请求。In some embodiments, the first network test request is any request sent by the client 102 during the testing process by the tester.

在框204,接口服务器104获取所述第一网络测试请求并将所述第一网络请求转发给接口配置平台106;At block 204, the interface server 104 obtains the first network test request and forwards the first network request to the interface configuration platform 106;

接口服务器104获取所述第一网络测试请求的方式可以有多种,例如开启网络监听,并拦截所监听到的第一网络测试请求。The interface server 104 may acquire the first network test request in various manners, such as enabling network monitoring and intercepting the monitored first network test request.

在框206,接口配置平台106接收所述第一网络请求,并确定所述第一网络请求对应的调用对象;At block 206, the interface configuration platform 106 receives the first network request and determines a call object corresponding to the first network request;

在一些实施例中,接口配置平台106中预设有调用配置信息,所述调用配置信息包括第三方业务平台108对应的网络测试请求的域名和路径;mock平台110对应的网络测试请求的域名和路径;在一些实施例中,所述调用配置信息仅包括mock平台110对应的网络测试请求的域名和路径,即,只确定所述第一网络测试请求的域名和路径与需要发送至mock平台110的第二网络测试请求的域名和路径是否匹配,若匹配,则调用mock平台110,若不匹配,则调用第三方业务平台108,降低了所述调用配置信息的复杂度。In some embodiments, the interface configuration platform 106 is preset with call configuration information, and the call configuration information includes the domain name and path of the network test request corresponding to the third-party service platform 108 ; the domain name and path of the network test request corresponding to the mock platform 110 . path; in some embodiments, the invocation configuration information only includes the domain name and path of the network test request corresponding to the mock platform 110 , that is, only the domain name and path of the first network test request and needs to be sent to the mock platform 110 are determined. The second network tests whether the domain name and path of the request match. If they match, the mock platform 110 is called. If they do not match, the third-party service platform 108 is called, which reduces the complexity of calling configuration information.

在一些实施例中,接口配置平台106将所述第一网络测试请求的域名和路径与预设调用配置信息进行匹配,以确定对应的调用对象是第三方业务平台108还是mock平台110。In some embodiments, the interface configuration platform 106 matches the domain name and path of the first network test request with preset invocation configuration information to determine whether the corresponding invocation object is the third-party service platform 108 or the mock platform 110 .

在一些实施例中,确定所述第一网络测试请求的域名和路径与需要发送至mock平台110的第二网络测试请求的域名和路径是否匹配;该第一网络测试请求为预存的需要发送至mock平台110的网络测试请求中的任一个;若匹配,确定对应的调用对象是mock平台110;则将该第一网络测试请求的域名和路径替换为该mock平台110的域名和路径,生成第二网络测试请求;将所述第二网络测试请求发送至该mock平台110。通过上述步骤,实现了对于不同域名和路径的网络测试请求可以实现单独的mock服务控制。另外,若对应的调用对象是第三方业务平台108,则不对所述第一网络测试请求进行处理,将所述第一网络请求发送至第三方业务平台108。In some embodiments, it is determined whether the domain name and path of the first network test request match the domain name and path of the second network test request that needs to be sent to the mock platform 110; the first network test request is a pre-stored request that needs to be sent to Any one of the network test requests of the mock platform 110; if it matches, determine that the corresponding calling object is the mock platform 110; then replace the domain name and path of the first network test request with the domain name and path of the mock platform 110, and generate the first Two network test requests; sending the second network test request to the mock platform 110 . Through the above steps, separate mock service control can be implemented for network test requests of different domain names and paths. In addition, if the corresponding calling object is the third-party service platform 108 , the first network test request is not processed, and the first network request is sent to the third-party service platform 108 .

在一些实施例中,测试人员可以通过所述请求携带的任务标识确定提前确定哪些请求需要发送至mock服务器以获得模拟数据,而哪些请求需要发送至真实的目标服务器以获得真实数据,并提前进行设置。测试人员可以根据实际需要设置多个需要发送至mock服务器的网络测试请求。In some embodiments, the tester can determine in advance which requests need to be sent to the mock server to obtain simulated data, and which requests need to be sent to the real target server to obtain real data by using the task identifier carried in the request, and perform this in advance. set up. Testers can set up multiple network test requests to be sent to the mock server according to actual needs.

在一些实施例中,需要发送至mock平台110的网络测试请求可以是预先设置和存储在数据库中的数据,接口配置平台106可从数据库中获取这些预存的需要发送至mock平台110的网络测试请求的数据,这些预存的数据包括发送至mock平台110的网络测试请求的域名和路径;将所述网络测试请求的域名和路径替换为该mock平台110的域名和路径。In some embodiments, the network test requests that need to be sent to the mock platform 110 may be data pre-set and stored in a database, and the interface configuration platform 106 may obtain these pre-stored network test requests that need to be sent to the mock platform 110 from the database. The pre-stored data includes the domain name and path of the network test request sent to the mock platform 110 ; replace the domain name and path of the network test request with the domain name and path of the mock platform 110 .

在一些实施例中,所述调用配置信息包括:In some embodiments, the invocation configuration information includes:

设置调用mock平台110的次数、频率、时间占比等,将所述第一网络请求按照所述设置分别发送至第三方业务平台108和/或mock平台110。Set the number of times, frequency, and time ratio of calling the mock platform 110, and send the first network request to the third-party service platform 108 and/or the mock platform 110 according to the settings.

例如,当接口配置平台106接收到所述第一网络测试请求,可以根据已调用mock平台110的次数确定是否调用mock平台110,例如,调用100次后,结束调用;或者,按照预设的频率或次数占比确定是否调用mock平台110,例如,将所述第一网络测试请求均匀的发送给第三方业务平台108和mock平台110;或者,按照预设的时间确定是否调用mock平台110,例如,只有在夜间测试时调用mock平台110,而白天正常调用第三方业务平台108。For example, when the interface configuration platform 106 receives the first network test request, it can determine whether to call the mock platform 110 according to the number of times the mock platform 110 has been called. For example, after calling 100 times, the call ends; or, according to a preset frequency or the proportion of times to determine whether to call the mock platform 110, for example, send the first network test request to the third-party business platform 108 and the mock platform 110 evenly; or, determine whether to call the mock platform 110 according to a preset time, for example , the mock platform 110 is called only during the night test, and the third-party business platform 108 is called normally during the day.

在框208,接口配置平台106将匹配于第三方业务平台108对应的网络测试请求的域名和路径的第一网络测试请求转发至第三方业务平台108;At block 208, the interface configuration platform 106 forwards the first network test request matching the domain name and path of the network test request corresponding to the third-party service platform 108 to the third-party service platform 108;

在框210,第三方业务平台108接收所述第一网络请求,执行所述第一网络请求;At block 210, the third-party service platform 108 receives the first network request and executes the first network request;

在框212,第三方业务平台108向接口配置平台106提供所述第一网络请求对应的响应数据,该响应数据为真实数据。At block 212, the third-party service platform 108 provides the interface configuration platform 106 with response data corresponding to the first network request, the response data being real data.

在框214,接口配置平台106将匹配于mock平台110对应的网络测试请求的域名和路径的第二网络测试请求转发至mock平台110;At block 214, the interface configuration platform 106 forwards to the mock platform 110 a second network test request that matches the domain name and path of the network test request corresponding to the mock platform 110;

在框216,mock平台110接收所述第二网络请求,执行所述第二网络请求;At block 216, the mock platform 110 receives the second network request and executes the second network request;

在一些实施例中,进一步,多场景模拟响应的方法还包括:In some embodiments, further, the method for simulating responses in multiple scenarios further includes:

当需要对测试不同业务场景的正反用例时,在所述mock平台110的数据库中设置相应的多场景模拟响应方式。When it is necessary to test positive and negative use cases of different business scenarios, a corresponding multi-scenario simulation response mode is set in the database of the mock platform 110 .

在一些实施例中,测试的正反用例可能随着业务场景的不同而不同,所以需要设置不同的多场景模拟响应方式,以便对相应的业务场景进行测试。由于mock平台110需要对不同的业务系统进行多场景模拟响应,所以,需要对不同的业务系统的多场景模拟响应方式进行配置,故需要每一业务系统的多场景模拟响应方式进行分类配置和分类存储,即将每一业务系统的多场景模拟响应方式存储于对应的存储节点上。例如对于业务系统A,其对应的多场景模拟响应方式存储于数据库的节点1(存储节点)中;对于业务系统B,其对应的多场景模拟响应方式存储于数据库的节点2中;对于业务系统C,其对应的多场景模拟响应方式存储于数据库的节点3中。In some embodiments, the positive and negative use cases of the test may be different according to different business scenarios, so it is necessary to set different multi-scenario simulation response modes in order to test the corresponding business scenarios. Since the mock platform 110 needs to perform multi-scenario simulation responses to different business systems, it is necessary to configure the multi-scenario simulation response modes of different business systems, so the multi-scenario simulation response modes of each business system need to be classified, configured and classified. Storage, that is, storing the multi-scenario simulation response mode of each business system on the corresponding storage node. For example, for business system A, its corresponding multi-scenario simulation response method is stored in node 1 (storage node) of the database; for business system B, its corresponding multi-scenario simulation response method is stored in node 2 of the database; for business system C, the corresponding multi-scene simulation response mode is stored in node 3 of the database.

同时,每个业务系统来说,由于具有模拟响应方式是在多场景下实现的,所以即使对于每个业务系统,其存储节点仍会分为多个存储子节点,每一存储子节点对应于一个场景,即存储子节点是存储单一场景的模拟响应方式。At the same time, for each business system, since the simulation response method is implemented in multiple scenarios, even for each business system, its storage node will still be divided into multiple storage sub-nodes, and each storage sub-node corresponds to A scene, i.e. storing child nodes, is a way of storing simulated responses for a single scene.

进一步,在所述存储节点上设置有业务系统的关键字段,以便对该业务系统进行标识,在所述存储子节点上设置有场景的关键字段,以便对该业务系统的场景进行标识。这样,当接收到接口配置平台106转发的第二测试请求后,所述mock平台110将会对所述第二测试请求进行解析,确认所述第二测试请求的来源,即获取所述第二测试请求中携带的业务系统的关键字段以及场景的关键字段,并根据所述业务系统的关键字段查找对应的存储节点,查找到存储节点后,根据所述场景的关键字段查找对应的存储子节点,进而根据所述存储子节点的内容进行模拟响应。Further, a key field of the business system is set on the storage node to identify the business system, and a key field of a scene is set on the storage sub-node to identify the scene of the business system. In this way, after receiving the second test request forwarded by the interface configuration platform 106, the mock platform 110 will parse the second test request, confirm the source of the second test request, that is, obtain the second test request. Test the key fields of the business system and the key fields of the scene carried in the request, and search for the corresponding storage node according to the key fields of the business system, and after finding the storage node, search for the corresponding storage node according to the key fields of the scene storage sub-node, and then simulate the response according to the content of the storage sub-node.

在框218,mock平台110向接口配置平台106提供所述第二网络请求对应的响应数据,该响应数据为模拟数据。At block 218, the mock platform 110 provides the interface configuration platform 106 with response data corresponding to the second network request, the response data being mock data.

在一些实施例中,所述模拟数据中包括mock标识,以标识其来源。In some embodiments, mock identifiers are included in the mock data to identify its source.

在框220,接口配置平台106接收第三方业务平台108和/或mock平台110发送的所述响应数据,并转发给接口服务器104。At block 220 , the interface configuration platform 106 receives the response data sent by the third party business platform 108 and/or the mock platform 110 and forwards it to the interface server 104 .

在一些实施例中,接口配置平台106接收第三方业务平台108和/或mock平台110发送的所述响应数据,并为其添加标识,以标识其来源是第三方业务平台108或mock平台110。In some embodiments, the interface configuration platform 106 receives the response data sent by the third-party business platform 108 and/or the mock platform 110 , and adds an identification to it to identify that the source is the third-party business platform 108 or the mock platform 110 .

在框222,接口服务器104将接口配置平台106转发的所述响应数据转发给客户端102。At block 222 , the interface server 104 forwards the response data forwarded by the interface configuration platform 106 to the client 102 .

在框224,客户端102将所述响应数据进行展示。At block 224, the client 102 presents the response data.

根据本公开的实施例,实现了以下技术效果:According to the embodiments of the present disclosure, the following technical effects are achieved:

当所依赖第三方接口环境不稳定或者进度晚,依然可以调用mock平台完成测试,节约各方面协调的人员和时间成本;When the dependent third-party interface environment is unstable or the progress is late, the mock platform can still be called to complete the test, saving the cost of personnel and time for coordination in all aspects;

可同时实现模拟数据与真实数据一起测试,使测试结果更完备;Simultaneous testing of simulated data and real data can be achieved to make the test results more complete;

可以配置不同的响应,验证不同的业务场景。Different responses can be configured to verify different business scenarios.

实现了在接口配置平台对第一网络测试请求进行mock的控制,对于不同域名和路径的第一网络测试请求可以实现单独的mock服务控制。使得测试人员可以在便捷和直观的选择需要mock的请求,并且更直观的查看请求结果来自与哪个服务,不影响对测试结果的判断。The mock control of the first network test request on the interface configuration platform is realized, and the independent mock service control can be realized for the first network test requests of different domain names and paths. This enables testers to conveniently and intuitively select requests that require mocking, and to more intuitively view which service the request results come from, without affecting the judgment of test results.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本公开所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described action sequences. Because certain steps may be performed in other orders or concurrently in accordance with the present disclosure. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

以上是关于方法实施例的介绍,以下通过装置实施例,对本公开所述方案进行进一步说明。The above is an introduction to the method embodiments, and the solutions described in the present disclosure will be further described below through the device embodiments.

图3示出了根据本公开的实施例的多场景测试装置300的方框图。装置300可以被包括在图1的接口配置平台106中或者被实现为接口配置平台106。如图3所示,装置300包括:FIG. 3 shows a block diagram of a multi-scenario testing apparatus 300 according to an embodiment of the present disclosure. The apparatus 300 may be included in the interface configuration platform 106 of FIG. 1 or implemented as the interface configuration platform 106 . As shown in FIG. 3, the apparatus 300 includes:

网络测试请求接收模块310,用于接收接口服务器转发的网络测试请求;其中,所述网络请求是由客户端发送给所述接口服务器的;The network test request receiving module 310 is configured to receive the network test request forwarded by the interface server; wherein, the network request is sent by the client to the interface server;

网络测试请求转发模块320,用于按照预设规则,将匹配于第三方业务平台的网络测试请求转发至第三方业务平台,将匹配于mock平台的测试请求转发至mock平台;The network test request forwarding module 320 is used for forwarding the network test request matching the third-party service platform to the third-party service platform according to the preset rule, and forwarding the test request matching the mock platform to the mock platform;

响应数据转发模块330,用于接收第三方业务平台和/或mock平台发送的响应数据,并转发给接口服务器,以便所述接口服务器将所述响应数据转发给所述客户端。The response data forwarding module 330 is configured to receive the response data sent by the third-party service platform and/or the mock platform, and forward it to the interface server, so that the interface server forwards the response data to the client.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,所述描述的模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the described modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

图4示出了可以用来实施本公开的实施例的电子设备400的示意性框图。设备400可以用于实现图1的消息系统104和消息到达率确定系统106中的至少一个。如图所示,设备400包括中央处理单元(CPU)401,其可以根据存储在只读存储器(ROM)402中的计算机程序指令或者从存储单元408加载到随机访问存储器(RAM)403中的计算机程序指令,来执行各种适当的动作和处理。在RAM 403中,还可以存储设备400操作所需的各种程序和数据。CPU401、ROM 402以及RAM 403通过总线404彼此相连。输入/输出(I/O)接口405也连接至总线404。FIG. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure. Device 400 may be used to implement at least one of message system 104 and message arrival rate determination system 106 of FIG. 1 . As shown, device 400 includes a central processing unit (CPU) 401 that may be loaded into a computer in random access memory (RAM) 403 according to computer program instructions stored in read only memory (ROM) 402 or from storage unit 408 Program instructions to perform various appropriate actions and processes. In the RAM 403, various programs and data necessary for the operation of the device 400 can also be stored. The CPU 401 , the ROM 402 , and the RAM 403 are connected to each other through a bus 404 . An input/output (I/O) interface 405 is also connected to bus 404 .

设备400中的多个部件连接至I/O接口405,包括:输入单元406,例如键盘、鼠标等;输出单元407,例如各种类型的显示器、扬声器等;存储单元408,例如磁盘、光盘等;以及通信单元409,例如网卡、调制解调器、无线通信收发机等。通信单元409允许设备400通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the device 400 are connected to the I/O interface 405, including: an input unit 406, such as a keyboard, mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc. ; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 409 allows the device 400 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

处理单元401执行上文所描述的各个方法和处理,例如方法200。例如,在一些实施例中,方法200可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元408。在一些实施例中,计算机程序的部分或者全部可以经由ROM 402和/或通信单元409而被载入和/或安装到设备400上。当计算机程序加载到RAM 403并由CPU 401执行时,可以执行上文描述的方法200的一个或多个步骤。备选地,在其他实施例中,CPU 401可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行方法200。Processing unit 401 performs the various methods and processes described above, eg, method 200 . For example, in some embodiments, method 200 may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 408 . In some embodiments, part or all of the computer program may be loaded and/or installed on device 400 via ROM 402 and/or communication unit 409 . When a computer program is loaded into RAM 403 and executed by CPU 401, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, CPU 401 may be configured to perform method 200 by any other suitable means (eg, by means of firmware).

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Load Programmable Logic Device (CPLD) and so on.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

此外,虽然采用特定次序描绘了各操作,但是这应当理解为要求这样操作以所示出的特定次序或以顺序次序执行,或者要求所有图示的操作应被执行以取得期望的结果。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实现中。相反地,在单个实现的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实现中。Additionally, although operations are depicted in a particular order, this should be understood to require that such operations be performed in the particular order shown or in a sequential order, or that all illustrated operations should be performed to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical acts of method, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (10)

1. A multi-scenario testing method is characterized by comprising the following steps:
receiving a network test request forwarded by an interface server; wherein the network request is sent by a client to the interface server;
according to a preset rule, forwarding the network test request matched with the third-party service platform to the third-party service platform and/or forwarding the test request matched with the mock platform to the mock platform;
and receiving response data sent by the third-party service platform and/or the mock platform, and forwarding the response data to the interface server so that the interface server can forward the response data to the client.
2. The method of claim 1, wherein the preset rules comprise:
and determining whether the domain name and the path of the received first network test request are matched with the domain name and the path of a second network test request which needs to be sent to the mock platform, if so, calling the mock platform, and if not, calling a third-party service platform.
3. The method of claim 1, wherein the preset rules comprise:
and (5) calling the times, frequency and time ratio of the mock platform.
4. The method of claim 2, wherein the second network test request is generated by replacing the domain name and path of the first network test request with the domain name and path of a mock platform.
5. The method of claim 1,
a multi-scene simulation response mode is set in a database of the mock platform;
and the mock platform analyzes the second test request, and determines a simulation response mode to a service scene according to a key field of the service system and a key field of the scene carried in the second network test request.
6. The method of claim 1,
the multi-scene response mode comprises simulation response modes of different service systems and different service scenes.
7. The method of claim 1, wherein receiving response data sent by the third party service platform and/or mock platform further comprises:
and adding an identifier for the response data to identify that the source of the response data is a third-party service platform or a mock platform.
8. A multi-scenario testing device, comprising:
the network test request receiving module is used for receiving the network test request forwarded by the interface server; wherein the network request is sent by a client to the interface server;
the network test request forwarding module is used for forwarding the network test request matched with the third-party service platform to the third-party service platform according to a preset rule and forwarding the test request matched with the mock platform to the mock platform;
and the response data forwarding module is used for receiving response data sent by the third-party service platform and/or the mock platform and forwarding the response data to the interface server so that the interface server can forward the response data to the client.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202010813826.5A 2020-08-13 2020-08-13 Multi-scenario test method, device, equipment and computer readable storage medium Pending CN112035344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010813826.5A CN112035344A (en) 2020-08-13 2020-08-13 Multi-scenario test method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010813826.5A CN112035344A (en) 2020-08-13 2020-08-13 Multi-scenario test method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112035344A true CN112035344A (en) 2020-12-04

Family

ID=73577235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010813826.5A Pending CN112035344A (en) 2020-08-13 2020-08-13 Multi-scenario test method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112035344A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579473A (en) * 2020-12-30 2021-03-30 北京百家科技集团有限公司 A test system, method, computer equipment and storage medium
CN113381911A (en) * 2021-06-09 2021-09-10 上海臣星软件技术有限公司 Test method, device, equipment and storage medium
CN113452575A (en) * 2021-06-24 2021-09-28 河北幸福消费金融股份有限公司 Service test method, system, device and storage medium
CN113688040A (en) * 2021-08-20 2021-11-23 北京京东拓先科技有限公司 System testing method, apparatus, storage medium and computer program product
CN114064455A (en) * 2021-10-15 2022-02-18 北京房江湖科技有限公司 Method and device for providing mock service and electronic equipment
CN114676030A (en) * 2020-12-24 2022-06-28 网联清算有限公司 A system testing method, apparatus, proxy server device and storage medium
CN115114161A (en) * 2022-06-30 2022-09-27 北京城市网邻信息技术有限公司 Online testing method and device, electronic equipment and storage medium
CN116303062A (en) * 2023-03-27 2023-06-23 广州钛动科技股份有限公司 Service interface testing method and device, terminal equipment and readable storage medium
CN117251385A (en) * 2023-11-20 2023-12-19 深圳大道云科技有限公司 method and device for acquiring mock data, terminal equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395420A (en) * 2017-07-26 2017-11-24 携程计算机技术(上海)有限公司 Server performance testing method, system, electronic device and storage medium
CN109743222A (en) * 2018-12-25 2019-05-10 瑞庭网络技术(上海)有限公司 A kind of data test method and relevant device
CN110532184A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 Method, apparatus, computer equipment and the storage medium of more scenario simulation responses
CN110727589A (en) * 2019-09-30 2020-01-24 北京创鑫旅程网络技术有限公司 Test method, device and equipment
CN111427766A (en) * 2020-02-20 2020-07-17 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395420A (en) * 2017-07-26 2017-11-24 携程计算机技术(上海)有限公司 Server performance testing method, system, electronic device and storage medium
CN109743222A (en) * 2018-12-25 2019-05-10 瑞庭网络技术(上海)有限公司 A kind of data test method and relevant device
CN110532184A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 Method, apparatus, computer equipment and the storage medium of more scenario simulation responses
CN110727589A (en) * 2019-09-30 2020-01-24 北京创鑫旅程网络技术有限公司 Test method, device and equipment
CN111427766A (en) * 2020-02-20 2020-07-17 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114676030A (en) * 2020-12-24 2022-06-28 网联清算有限公司 A system testing method, apparatus, proxy server device and storage medium
CN112579473A (en) * 2020-12-30 2021-03-30 北京百家科技集团有限公司 A test system, method, computer equipment and storage medium
CN113381911A (en) * 2021-06-09 2021-09-10 上海臣星软件技术有限公司 Test method, device, equipment and storage medium
CN113452575A (en) * 2021-06-24 2021-09-28 河北幸福消费金融股份有限公司 Service test method, system, device and storage medium
CN113688040A (en) * 2021-08-20 2021-11-23 北京京东拓先科技有限公司 System testing method, apparatus, storage medium and computer program product
CN114064455A (en) * 2021-10-15 2022-02-18 北京房江湖科技有限公司 Method and device for providing mock service and electronic equipment
CN115114161A (en) * 2022-06-30 2022-09-27 北京城市网邻信息技术有限公司 Online testing method and device, electronic equipment and storage medium
CN116303062A (en) * 2023-03-27 2023-06-23 广州钛动科技股份有限公司 Service interface testing method and device, terminal equipment and readable storage medium
CN116303062B (en) * 2023-03-27 2023-12-19 广州钛动科技股份有限公司 Service interface testing method and device, terminal equipment and readable storage medium
CN117251385A (en) * 2023-11-20 2023-12-19 深圳大道云科技有限公司 method and device for acquiring mock data, terminal equipment and readable storage medium
CN117251385B (en) * 2023-11-20 2024-04-02 深圳大道云科技有限公司 method and device for acquiring mock data, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
CN114064475B (en) Cloud native application testing method, device, equipment and storage medium
CN114389969B (en) Client testing method, device, electronic device and storage medium
CN111221727A (en) Test method, test device, electronic equipment and computer readable medium
US11121912B2 (en) Method and apparatus for processing information
CN110245065B (en) Method and device for automatic test
CN112084114B (en) Method and apparatus for testing interfaces
CN117520195B (en) Method, device, equipment, storage medium and program product for testing interface
CN112579428B (en) Interface testing method, device, electronic equipment and storage medium
CN117294630A (en) Communication protocol testing method, device, computer equipment and storage medium
CN117435503A (en) Test tool generation method, test device, test equipment and test medium
CN112685281A (en) Test method, test device, electronic equipment and computer readable storage medium
CN113094272B (en) Application testing method, device, electronic equipment and computer readable medium
CN113760707B (en) Interface testing method, device, equipment and computer-readable storage medium
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN110618943B (en) Security service test method and device, electronic equipment and readable storage medium
CN114281697A (en) Method and device for generating test data
CN113691403A (en) Topological node configuration method, related device and computer program product
CN116405406B (en) Data difference monitoring method, device, electronic equipment and computer readable medium
CN113377660B (en) Test methods and equipment
CN114840372B (en) Interface testing method, device, electronic device and computer readable storage medium
CN115242606B (en) Data processing method, device, server, storage medium and program product
CN114218056B (en) Performance test method and device for transaction system, computer equipment and storage medium
CN109871310B (en) Version quality testing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201204