WO2022016847A1 - 一种适用于云平台的自动化测试方法及装置 - Google Patents

一种适用于云平台的自动化测试方法及装置 Download PDF

Info

Publication number
WO2022016847A1
WO2022016847A1 PCT/CN2021/073877 CN2021073877W WO2022016847A1 WO 2022016847 A1 WO2022016847 A1 WO 2022016847A1 CN 2021073877 W CN2021073877 W CN 2021073877W WO 2022016847 A1 WO2022016847 A1 WO 2022016847A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
cloud platform
automated
roles
automated testing
Prior art date
Application number
PCT/CN2021/073877
Other languages
English (en)
French (fr)
Inventor
张志江
莫展鹏
季统凯
贺忠堂
姚文俊
Original Assignee
国云科技股份有限公司
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 国云科技股份有限公司 filed Critical 国云科技股份有限公司
Publication of WO2022016847A1 publication Critical patent/WO2022016847A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Definitions

  • the embodiments of the present application relate to the technical field of interface testing, and in particular, to an automated testing method and device suitable for a cloud platform.
  • the automatic testing of software is to perform input parameter range and output parameter verification for interfaces, functions, and methods, or to test multiple interfaces jointly.
  • Traditional testing methods can meet the requirements for traditional business system testing.
  • interfaces often affect the underlying resources, in this case.
  • the return of the interface, or the query operation of other interfaces reflects the database or cache and other resources, and cannot reflect the real situation of physical machines, virtual machines, and disks. Therefore, designing a solution capable of fully automated testing of the cloud platform has become a technical problem to be solved urgently by those skilled in the art.
  • the embodiments of the present application provide an automated testing method and device suitable for a cloud platform, which can distinguish roles for the cloud platform, and configure a corresponding testing method based on the roles, so that the solutions of the embodiments of the present application are not only implemented during specific implementation.
  • the interface call test can also carry out a more comprehensive test method.
  • an embodiment of the present application provides an automated testing method suitable for a cloud platform, including:
  • test information required by the use case in the cloud platform, and the test information includes roles and test methods;
  • roles include one or more of business function roles, physical machine roles, virtual machine roles, middleware roles and database roles;
  • the executing the automated test for the cloud platform according to the test case includes:
  • the sending code logic of the message queue is automatically generated according to the physical machine role
  • the virtual machine generates the logic of sending messages to the physical machine, and invokes the test case logic of the virtual machine agent to check the changes of the virtual machine for automated testing.
  • the cloud platform includes business functions, control nodes, middleware, physical nodes and cloud servers; the control nodes, middleware, physical nodes and cloud servers are all connected in communication with the automated testing system.
  • the test information includes the role and the test method, and further includes:
  • the cloud platform interface is automatically tested according to the input parameter range and the output parameter verification.
  • test information also includes a test function
  • the method further includes:
  • the automated test system reads the roles and test methods configured in the cloud platform to generate test cases for detection, including:
  • a corresponding test case is generated according to the plurality of input type parameter variables, the corresponding value range of each input type parameter variable, the return value, and the code data package.
  • Configuration module used to configure the test information required by the use case in the cloud platform, the test information includes roles and test methods;
  • Test module used to execute an automated test for the cloud platform according to the test case to obtain a calling result.
  • an electronic device including:
  • the memory for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the automated testing method applicable to the cloud platform as described in the first aspect.
  • an embodiment of the present application provides a storage medium containing computer-executable instructions, when executed by a computer processor, the computer-executable instructions are used to execute the cloud platform described in the first aspect. Automated testing methods.
  • roles and corresponding test methods are configured in the business system, the test system generates corresponding test cases by reading the roles and corresponding test methods, and performs automated testing for the business system by running the corresponding test cases .
  • the embodiments of the present application can perform comprehensive and automated testing on the cloud platform. It not only solves the problem of whether the cloud platform operation is successful or not, which cannot be accurately judged by the traditional automated test interface, but also can pass the automated test, reduce labor costs, and reduce test errors caused by human factors. The actual changes of the underlying resources of the cloud platform system can be detected through the solutions of the embodiments of the present application.
  • FIG. 1 is a flowchart of an automated testing method applicable to a cloud platform provided by an embodiment of the present application
  • Fig. 2 is a specific flow diagram of generating a test case provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a physical machine test provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a connection between a service system and a test system provided by an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of an automated testing device suitable for a cloud platform provided by an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the embodiment of the present application configures the role and the corresponding test method in the business system, the test system generates the corresponding test case by reading the role and the corresponding test method, and executes the corresponding test case by running the corresponding test case. of automated tests.
  • the embodiments of the present application can perform comprehensive and automated testing on the cloud platform.
  • FIG. 1 shows a flowchart of an automated testing method applicable to a cloud platform provided by an embodiment of the present application.
  • the automated testing method applicable to a cloud platform provided in this embodiment may be executed by an automated testing device applicable to the cloud platform.
  • the automatic test equipment suitable for the cloud platform can be implemented by means of software and/or hardware, and the automatic test equipment suitable for the cloud platform can be composed of two or more physical entities, or can be composed of one physical entity.
  • the automated test equipment suitable for the cloud platform can be a computer, a mobile phone, a tablet or a server.
  • the automated testing method applicable to the cloud platform specifically includes:
  • test information required by a use case in a business system, where the test information includes roles and test methods.
  • the existing content is generally tested for the interface, so when testing, only the interface url needs to be tested; the above situation can meet most test situations, but for the cloud platform, the interface Detection does not reflect the true conditions of physical machines, virtual machines and disks. Therefore, it is impossible to complete a comprehensive test of the cloud platform. Therefore, it is necessary to configure roles and test methods in this step according to the actual situation of the business system.
  • the business system in the embodiment of the present application refers to the cloud platform.
  • the roles that need to be involved in use cases such as business systems, databases, physical machines, virtual machines, or other middleware. Then configure the roles used in the use case and the corresponding test methods to be used in the functions that need to be tested.
  • the test methods and roles have a corresponding relationship.
  • the corresponding test method is also configured. For example, it is necessary to check When the interface returns, you need to check the configuration of the physical machine, check the properties of the file in the virtual machine, or the detection script that needs to be executed. By encapsulating corresponding test methods for different roles.
  • the roles include one or more of business function roles, physical machine roles, virtual machine roles, middleware roles and database roles.
  • business function roles in this embodiment refer to the order management and resource allocation roles provided by the timely cloud platform portal.
  • the business function role directly sends the function request interface test; the virtual machine generates and sends the message to the physical machine, and calls the virtual machine agent to check the test case logic of the virtual machine change; the business logic that other interfaces cannot respond to, generates the corresponding test logic.
  • the test information includes the role and the test method, and further includes:
  • the automated test for the business system includes:
  • the business system interface is automatically tested according to the input parameter range and the output parameter verification.
  • S102 Read the roles and test methods configured in the business system through an automated test system to generate a test case for detection.
  • the roles and corresponding test methods are configured in the business system.
  • the roles and test methods in the business system are read by the automated test system, and corresponding test cases are generated for packaging and combining them according to the preset templates. Specific detection runs.
  • test cases are automatically produced. Since the role involves a variety of situations, such as the detection of interfaces, the detection of physical machines, and the detection of virtual machines, etc. When performing specific detection, a single character can be directly and randomly detected, or all characters can be detected one by one in sequence.
  • the input parameter range and the output parameter verification are automatically produced, and then the interface is detected.
  • the sending code logic of the message queue is automatically generated, which is used to send the testing solution to the proxy service of the testing system on the physical machine, and perform corresponding checks on the physical machine.
  • the virtual machine role For the virtual machine role, it generates a test case logic that sends a message to the physical machine and calls the virtual machine agent to check the virtual machine change.
  • test logic For some business logic that cannot be reflected by the interface, such as automatic database changes and middleware changes. At the same time, the corresponding test logic is generated, and all the roles involved in a function are automatically produced test cases.
  • FIG. 4 is a schematic diagram of a connection between a business system and a test system provided by an embodiment of the present application.
  • the business system includes business functions, control nodes, middleware, physical nodes, and cloud servers;
  • the business functions, control nodes, middleware, physical nodes and cloud servers are all connected in communication with the automated testing system.
  • the automated test system communicates and connects with all roles in the business system to realize test operation.
  • test information also includes a test function
  • the test case for generating detection includes:
  • FIG. 2 is a schematic diagram of a specific process of generating a test case provided by an embodiment of the present application. As shown in FIG. 2 , the roles and test methods configured in the business system are read by an automated test system to generate a test case. Test cases, including:
  • S1025 Generate a corresponding test case according to the multiple input type parameter variables, the corresponding value range of each input type parameter variable, the return value, and the code data package.
  • Corresponding test cases are automatically generated through the above steps, and the corresponding testers do not need to program a large amount of test code by themselves through the above steps, which greatly saves labor costs, and generates a high code coverage of test cases.
  • S103 Execute an automated test for the business system according to the test case to obtain a calling result.
  • FIG. 3 is a schematic flowchart of a physical machine test provided by an embodiment of the present application.
  • the automated test performed for the business system according to the test case includes:
  • S1031 automatically generate the sending code logic of the message queue according to the physical machine role
  • S1032 Send the test case to the proxy service of the test system on the physical machine according to the sending code logic to execute the corresponding automated test on the physical machine.
  • test for the physical machine.
  • test may also be performed for the virtual machine and the service system interface.
  • the automated test for the business system is executed according to the test case to obtain a call result, including:
  • the business system interface is automatically invoked, and the remote physical machine, virtual machine, database, and middleware are invoked, and the result of the invocation is obtained, which can be completed by running the corresponding test case.
  • the specific automated test content is described with respect to the test of the function of mounting a disk.
  • the mount disk function in addition to the traditional verification of whether the mount disk interface is successfully called and whether the final disk mount task is completed, it also goes to the physical machine where the virtual machine is located to check the configuration file of the virtual machine. See if the disk has been configured. At the same time, it will call the virtual machine through the agent to obtain the real disk status in the virtual machine, and check whether the disk is actually configured. It is guaranteed that the mount disk function is actually executed successfully.
  • the corresponding calling result can be known.
  • the method further includes:
  • the solution of the embodiment of the present application focuses on the interface-oriented test, which is different from the traditional automated test; instead, it provides a comprehensive automatic test method that is more in line with the actual requirements of the cloud platform.
  • the solutions of the embodiments of the present application will detect all the resources involved in the cloud platform. Including business system interfaces, physical machines, virtual machines, databases and other middleware, such as redis; and will automatically generate all test case codes, including traditional simple interfaces such as input test code and complex physical machine communication, virtual machine communication For complex code, the physical machine, virtual machine and other modules are finally tested by running the above code.
  • roles and corresponding test methods are configured in the business system, the test system generates corresponding test cases by reading the roles and corresponding test methods, and performs automated testing for the business system by running the corresponding test cases .
  • the embodiments of the present application can perform comprehensive and automated testing on the cloud platform. It not only solves the problem of whether the cloud platform operation is successful or not, which cannot be accurately judged by the traditional automated test interface, but also can pass the automated test, reduce labor costs, and reduce test errors caused by human factors. The actual changes of the underlying resources of the cloud platform system can be detected through the solutions of the embodiments of the present application.
  • FIG. 5 is a schematic structural diagram of an automated testing apparatus suitable for a cloud platform provided by an embodiment of the present application.
  • the automatic testing device suitable for the cloud platform provided by the present embodiment specifically includes:
  • Configuration module 21 used to configure the test information required by the use case in the business system, the test information includes roles and test methods;
  • Generation module 22 used to read the roles and test methods configured in the business system through the automated test system to generate test cases for detection;
  • Test module 23 used to execute automated tests for the business system according to the test case to obtain a calling result.
  • the generation module includes:
  • Configuration reading module used to read the roles and test methods configured in the business system through the automated test system;
  • Code reading module used to read the code data package of the test method corresponding to the role
  • Extraction module used to extract multiple input type parameter variables and return values contained in the test method
  • Finding step for finding the variable value range corresponding to each of the input parameter type variables from the preset rule file;
  • Combination generation module used to generate corresponding test cases according to multiple input type parameter variables, the corresponding value range of each input type parameter variable, the return value and the code data package.
  • roles and corresponding test methods are configured in the business system, the test system generates corresponding test cases by reading the roles and corresponding test methods, and performs automated testing for the business system by running the corresponding test cases .
  • the embodiments of the present application can perform comprehensive and automated testing on the cloud platform. It not only solves the problem of whether the cloud platform operation is successful or not, which cannot be accurately judged by the traditional automated test interface, but also can pass the automated test, reduce labor costs, and reduce test errors caused by human factors. The actual changes of the underlying resources of the cloud platform system can be detected through the solutions of the embodiments of the present application.
  • the automated testing apparatus applicable to the cloud platform provided by the embodiments of the present application can be used to execute the automated testing method applicable to the cloud platform provided by the foregoing embodiments, and has corresponding functions and beneficial effects.
  • the electronic device includes: a processor 31 , a memory 32 , a communication module 33 , an input device 34 and an output device 35 .
  • the number of processors 31 in the electronic device may be one or more, and the number of memories 32 in the electronic device may be one or more.
  • the processor 31 , the memory 32 , the communication module 33 , the input device 34 and the output device 35 of the electronic device may be connected by a bus or in other ways.
  • the memory 32 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the automated testing method applicable to the cloud platform described in any embodiment of the present application (for example, The configuration module 21 , the generation module 22 and the test module 23 ) in the automated testing device applicable to the cloud platform.
  • the memory 32 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the device, and the like.
  • memory 32 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the memory may further include memory located remotely from the processor, the remote memory being connectable to the device through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the communication module 33 is used for data transmission.
  • the processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 32 , that is, to implement the above-mentioned automated testing method suitable for the cloud platform.
  • the input device 34 may be used to receive input numerical or character information and to generate key signal input related to user settings and function control of the device.
  • the output device 35 may include a display device such as a display screen.
  • the electronic device provided above can be used to execute the automated testing method applicable to the cloud platform provided by the above embodiment, and has corresponding functions and beneficial effects.
  • Embodiments of the present application further provide a storage medium containing computer-executable instructions, where the computer-executable instructions, when executed by the computer processor 31, are used to execute an automated testing method suitable for a cloud platform, which is suitable for a cloud platform
  • the automated testing methods include:
  • test information required by the use case in the business system, and the test information includes roles and test methods;
  • storage medium any of various types of memory devices or storage devices.
  • storage medium is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc.
  • the storage medium may also include other types of memory or combinations thereof.
  • the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet.
  • the second computer system may provide program instructions to the first computer for execution.
  • storage media may include two or more storage media residing in different locations (eg, in different computer systems connected by a network).
  • the storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors 31 .
  • a storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the above-mentioned automated testing method applicable to the cloud platform, and can also execute any one of the embodiments of the present application.
  • the automated testing device, storage medium, and electronic device suitable for the cloud platform provided in the above-mentioned embodiments can execute the automated testing method suitable for the cloud platform provided by any of the embodiments of the present application, and the technical details not described in detail in the above-mentioned embodiments , please refer to the automated testing method applicable to the cloud platform provided by any embodiment of this application.

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

一种适用于云平台的自动化测试方法及装置,包括,在云平台中配置用例所需测试信息,测试信息包括角色和测试方法;通过自动化测试系统读取云平台中配置的角色和测试方法以生成测试用例;根据测试用例执行针对云平台的自动化测试以得到调用结果。

Description

一种适用于云平台的自动化测试方法及装置 技术领域
本申请实施例涉及接口测试技术领域,尤其涉及一种适用于云平台的自动化测试方法及装置。
背景技术
目前,软件的自动测试是对接口、功能、方法做入参范围、出参校验,或者多个接口联合测试。传统的测试方法对于传统的业务系统测试是可以满足需求。但是对于云平台来说,接口影响的往往是底层的资源,在这种情况下。接口的返回,或者其他的接口的查询操作,反应的是数据库或者缓存等资源,无法反映物理机、虚拟机、磁盘真实的情况。因此,设计一种能够实现对云平台进行全面自动化测试的方案成为本领域技术人员亟待解决的技术问题。
发明内容
本申请实施例提供一种适用于云平台的自动化测试方法及装置,能够对云平台进行角色区分,并基于角色配置对应的测试方法,使得本申请实施例的方案在进行具体实施时不单单进行接口调用测试,还可以进行更为全面的测试方式。
在第一方面,本申请实施例提供了一种适用于云平台的自动化测试方法,包括:
在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法;
通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例;
根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果。
进一步的,所述角色包括业务功能角色、物理机角色、虚拟机角色、中间件角色和数据库角色中的一种或多种;
所述根据所述测试用例执行针对所述云平台的自动化测试,包括:
根据业务功能角色发送功能请求接口测试来进行自动化测试;或,
根据所述物理机角色自动生成消息队列的发送代码逻辑;
根据所述发送代码逻辑将所述测试用例发送至测试系统在物理机上的代理服务以在物理机上执行对应的自动化测试;或,
虚拟机生成发送消息逻辑到物理机,并调用虚拟机代理检查虚拟机变化的测试用例逻辑以进行自动化测试。
进一步的,所述云平台包括业务功能、控制节点、中间件、物理节点和云服务器;所述控制节点、中间件、物理节点和云服务器均与所述自动化测试系统通信连接。
进一步的,在所述在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法之后,还包括:
对云平台接口进行出入参数配置,并根据所述出入参数配置生成入参范围和出参校验;
对应的,所述针对所述云平台的自动化测试,包括:
根据所述入参范围和出参校验对云平台接口进行自动化测试。
进一步的,所述测试信息还包括测试功能;
所述生成检测用的测试用例,包括:
将与所述测试功能关联的所有角色均自动生成测试用例;
在所述根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果之后,还包括:
获取所述调用结果,并对所述调用结果进行分析处理生成测试结果报告。
进一步的,所述根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果,包括:
根据所述测试用例执行针对于云平台接口、物理机、虚拟机、数据库和中间件的自动化测试以得到调用结果。
进一步的,所述通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例,包括:
通过自动化测试系统读取所述云平台中配置的角色和测试方法;
读取与所述角色对应的测试方法的代码数据包;
提取所述测试方法中包含的多个输入类型参数变量和返回值;
从预设的规则文件中查找与每个所述输入参数类型变量对应的变量取值范围;
依据多个输入类型参数变量、每个输入类型参数变量的对应的取值范围、 返回值以及所述代码数据包生成对应的测试用例。
在第二方面,本申请实施例提供了一种适用于云平台的自动化测试装置,包括:
配置模块:用于在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法;
生成模块:用于通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例;
测试模块:用于根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果。
在第三方面,本申请实施例提供了一种电子设备,包括:
存储器以及一个或多个处理器;
所述存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的适用于云平台的自动化测试方法。
在第四方面,本申请实施例提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的适用于云平台的自动化测试方法。
本申请实施例通过在业务系统配置角色与对应的测试方法,测试系统通过读取所述角色和相应的测试方法来生成对应的测试用例,通过运行对应的测试用例来进行针对业务系统的自动化测试。本申请实施例可以做到对云平台进行全面的、自动化的测试。既解决了传统只自动化测试接口无法准确判断的云平台操作是否成功问题,同时还能过够通过自动化的测试,减少人力成本,减少人为因素导致的测试错误。通过本申请实施例的方案能够对云平台系统的底层资源实际变化进行检测。
附图说明
图1是本申请实施例提供的一种适用于云平台的自动化测试方法的流程图;
图2是本申请实施例提供的生成测试用例的具体流程示意图;
图3是本申请实施例提供的物理机测试的流程示意图;
图4是本申请实施例提供的业务系统与测试系统的连接示意图;
图5是本申请实施例提供的一种适用于云平台的自动化测试装置的结构示意图;
图6是本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
传统的测试方法对于传统的业务系统测试是可以满足需求。但是对于云平台来说,接口影响的往往是底层的资源,在这种情况下。接口的返回,或者其他的接口的查询操作,反应的是数据库或者缓存等资源,无法反映物理机、虚拟机、磁盘真实的情况。基于此,本申请实施例通过在业务系统配置角色与对应的测试方法,测试系统通过读取所述角色和相应的测试方法来生成对应的测试用例,通过运行对应的测试用例来进行针对业务系统的自动化测试。本申请实施例可以做到对云平台进行全面的、自动化的测试。既解决了传统只自动化测试接口无法准确判断的云平台操作是否成功问题,同时还能过够通过自动化的测试,减少人力成本,减少人为因素导致的测试错误。通过本申请实施例的方案能够对云平台系统的底层资源实际变化进行检测。
图1给出了本申请实施例提供的一种适用于云平台的自动化测试方法的流程图,本实施例中提供的适用于云平台的自动化测试方法可以由适用于云平台的自动化测试设备执行,该适用于云平台的自动化测试设备可以通过软件和/或硬件的方式实现,该适用于云平台的自动化测试设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。一般而言,该适用于云平台的自动化测试设备可以是电脑,手机,平板或服务器等。
下述以服务器为执行适用于云平台的自动化测试方法的设备为例,进行描述。参照图1,该适用于云平台的自动化测试方法具体包括:
S101:在业务系统中配置用例所需测试信息,所述测试信息包括角色和测试方法。
现有的一般都是针对于接口进行测试的内容,因此在进行测试时,只需要对接口url进行测试即可;上述情况能够满足大多数的测试情况,但是针对于云平台来说,进行接口检测并无法反应物理机、虚拟机和磁盘的真是情况。故而无法对云平台完成全面的测试,因此,需要在本步骤根据业务系统的实际情况来进行角色以及测试方法的配置。本申请实施例中的业务系统指的即是云平台。
具体的,通过分析用例需要涉及的角色,例如业务系统、数据库、物理机、虚拟机或者是其他中间件。然后把用例用到的角色以及对应需要用到的测试方法配置在需要测试的功能中,测试方法与角色具有对应关系,当存在相应的角色时,对应也配置相应的测试方法,例如是需要检查接口返回,需要到物理机检测的配置,需要检查虚拟机中的文件的属性,或者是需要执行的检测脚本。通过针对不同的角色封装相应的测试方法。
更为优选的,所述角色包括业务功能角色、物理机角色、虚拟机角色、中间件角色和数据库角色中的一种或多种。根据云平台来进行具体的角色划分,同样的需要针对上述角色封装对应的检测方法。本实施例的业务功能角色指的及时云平台门户提供的订单管理和资源分配角色。
针对不同的角色,实现方法不同。业务功能角色直接发送功能请求接口测试;虚拟机生成发送消息到物理机,调用虚拟机agent去检查虚拟机变化的测试用例逻辑;其他接口无法反应的业务逻辑,生成相应的测试逻辑。
更为优选的,在所述在业务系统中配置用例所需测试信息,所述测试信息包括角色和测试方法之后,还包括:
对业务系统接口进行出入参数配置,并根据所述出入参数配置生成入参范围和出参校验;
对应的,所述针对所述业务系统的自动化测试,包括:
根据所述入参范围和出参校验对业务系统接口进行自动化测试。
也即是除了进行上述业务系统中更为底层的检测内容之外,还需要针对于业务系统的接口来进行对应的检测,从而达到全面检测的目的。
S102:通过自动化测试系统读取所述业务系统中配置的角色和测试方法以 生成检测用测试用例。
在业务系统中配置了角色和对应的测试方法,在本步骤中通过自动化测试系统来读取业务系统中的角色和测试方法并根据预先设置的模板来对其打包组合生成相应的测试用例来进行具体的检测运行。
具体的,根据业务系统中配置的角色和测试方法,自动生产测试用例。由于角色涉及到多种情况,比如涉及到接口的检测、物理机的检测以及虚拟机的检测等等。在进行具体的检测时,可以直接随机对单一某个角色进行检测,还可以按照顺序依次对所有的角色进行一一检测。
具体的,首先针对业务系统接口的出入参配置,自动生产入参范围和出参校验进而来对接口进行检测。
针对配置的物理机测试角色,则自动生成消息队列的发送代码逻辑,用于把测试的方案发送到测试系统在物理机上的代理服务,上并且在物理机上执行对应的检查。
对于虚拟机角色,则生成发送消息到物理机,调用虚拟机agent去检查虚拟机变化的测试用例逻辑。
对于一些接口无法反应的业务逻辑,例如数据库自动的变化,中间件的变化。则同时生成相应的测试逻辑,把一个功能涉及到的所有角色都自动生产测试用例。
更为优选的,图4是本申请实施例提供的业务系统与测试系统的连接示意图,如图4所示,所述业务系统包括业务功能、控制节点、中间件、物理节点和云服务器;所述业务功能、控制节点、中间件、物理节点和云服务器均与所述自动化测试系统通信连接。自动化测试系统与业务系统中所有角色通信连接来实现测试运行。
更为优选的,所述测试信息还包括测试功能;
所述生成检测用的测试用例,包括:
将与所述测试功能关联的所有角色均自动生成测试用例;
也即是不单单需要对具体的角色进行测试,对于角色涉及到的一些功能变化内容也生成相应的测试用例来进行测试。比如当涉及到的数据库中的数据变化时,也需要针对这些变化对应的内容也生成对应的测试用例来进行检测以达到全面检测的目的。
更进一步的,图2是本申请实施例提供的生成测试用例的具体流程示意图, 如图2所示,所述通过自动化测试系统读取所述业务系统中配置的角色和测试方法以生成检测用测试用例,包括:
S1021:通过自动化测试系统读取所述业务系统中配置的角色和测试方法;
S1022:读取与所述角色对应的测试方法的代码数据包;
S1023:提取所述测试方法中包含的多个输入类型参数变量和返回值;
S1024:从预设的规则文件中查找与每个所述输入参数类型变量对应的变量取值范围;
S1025:依据多个输入类型参数变量、每个输入类型参数变量的对应的取值范围、返回值以及所述代码数据包生成对应的测试用例。
通过上述步骤来自动生成对应的测试用例,通过上述步骤使得相应的测试人员无需自己编程大量的测试代码,大大节省了人力成本,并且生成测试用例代码覆盖率高。
S103:根据所述测试用例执行针对所述业务系统的自动化测试以得到调用结果。
本步骤主要是为了实现具体的自动化测试内容。具体的,如图3所示,图3是本申请实施例提供的物理机测试的流程示意图,所述根据所述测试用例执行针对所述业务系统的自动化测试,包括:
S1031:根据所述物理机角色自动生成消息队列的发送代码逻辑;
S1032:根据所述发送代码逻辑将所述测试用例发送至测试系统在物理机上的代理服务以在物理机上执行对应的自动化测试。
上述为针对于物理机进行具体测试的内容,除了针对于物理机进行测试的方式之外,还可以针对于虚拟机以及业务系统接口来进行检测的方式。
更为优选的,所述根据所述测试用例执行针对所述业务系统的自动化测试以得到调用结果,包括:
根据所述测试用例执行针对于业务系统接口、物理机、虚拟机、数据库和中间件的自动化测试以得到调用结果。也即是在本申请实施例中不单单对某个模块进行具体的检测,是对构建的所有角色模块均进行对应的测试检测。
具体的,根据在步骤S102中生成的测试用例,自动对业务系统接口,对远程的物理机、虚拟机、数据库、中间件发起调用,获取到调用的结果,通过运行对应的测试用例即可完成对业务系统中各个模块的自动化监测。在申请实施例中针对于挂载磁盘功能进行测试来说明具体的自动化测试内容。具体的,对 于挂载磁盘功能,除了传统的校验挂载磁盘接口是否调用成功、最终挂载磁盘任务是否完成外,还会去到虚拟机所在的物理机对虚拟机的配置文件进行检测,看是否已经配置了磁盘。同时会通过agent调用虚拟机,获取虚拟机里面真实的磁盘情况,检测是否真实的配置了磁盘。保证挂载磁盘功能无论实际上真正地执行成功。当运行完上述内容时,即可知晓对应的调用结果。
更为优选的,在所述根据所述测试用例执行针对所述业务系统的自动化测试以得到调用结果之后,还包括:
获取所述调用结果,并对所述调用结果进行分析处理生成测试结果报告。
也即是不单单需要获取相应的调用结果。还需要对具体的调用结果进行分析,可以根据得到的调用结果来生成对应的测试结果报告,以供测试人员进行观看使用。具体的,在本申请实施例中不单单对云平台进行检自动化测试,还对其进行测试结果的展示,通过对得到的调用结果与预设的结果整理到测试结果报告中,能够更全面,更方便的展示出本次自动化测试的结果内容,使得测试人员能够了解到整个云平台的具体运行情况,方便测试人员以及对应的技术人员了解到云平台运行中出现的情况并及时进行调整。
本申请实施例的方案重点在于有别于传统的自动化测试的偏向接口的测试;而是提供了一个全面的,更加符合云平台实际需求的自动测试方法。本申请实施例的方案会对云平台所涉及到的资源都进行检测。包括业务系统接口、物理机、虚拟机、数据库和其他中间件,例如redis;并且会自动生成所有测试用例代码,包括传统简单的接口如入参测试代码和复杂的物理机通信、虚拟机通信的复杂代码,最终通过运行上述代码来实现对物理机、虚拟机等模块的测试。
本申请实施例通过在业务系统配置角色与对应的测试方法,测试系统通过读取所述角色和相应的测试方法来生成对应的测试用例,通过运行对应的测试用例来进行针对业务系统的自动化测试。本申请实施例可以做到对云平台进行全面的、自动化的测试。既解决了传统只自动化测试接口无法准确判断的云平台操作是否成功问题,同时还能过够通过自动化的测试,减少人力成本,减少人为因素导致的测试错误。通过本申请实施例的方案能够对云平台系统的底层资源实际变化进行检测。
在上述实施例的基础上,图5为本申请实施例提供的一种适用于云平台的自动化测试装置的结构示意图。参考图5,本实施例提供的适用于云平台的自 动化测试装置具体包括:
配置模块21:用于在业务系统中配置用例所需测试信息,所述测试信息包括角色和测试方法;
生成模块22:用于通过自动化测试系统读取所述业务系统中配置的角色和测试方法以生成检测用测试用例;
测试模块23:用于根据所述测试用例执行针对所述业务系统的自动化测试以得到调用结果。
更为优选的,所述生成模块包括:
配置读取模块:用于通过自动化测试系统读取所述业务系统中配置的角色和测试方法;
代码读取模块:用于读取与所述角色对应的测试方法的代码数据包;
提取模块:用于提取所述测试方法中包含的多个输入类型参数变量和返回值;
查找步骤:用于从预设的规则文件中查找与每个所述输入参数类型变量对应的变量取值范围;
组合生成模块:用于上依据多个输入类型参数变量、每个输入类型参数变量的对应的取值范围、返回值以及所述代码数据包生成对应的测试用例。
本申请实施例通过在业务系统配置角色与对应的测试方法,测试系统通过读取所述角色和相应的测试方法来生成对应的测试用例,通过运行对应的测试用例来进行针对业务系统的自动化测试。本申请实施例可以做到对云平台进行全面的、自动化的测试。既解决了传统只自动化测试接口无法准确判断的云平台操作是否成功问题,同时还能过够通过自动化的测试,减少人力成本,减少人为因素导致的测试错误。通过本申请实施例的方案能够对云平台系统的底层资源实际变化进行检测。
本申请实施例提供的适用于云平台的自动化测试装置可以用于执行上述实施例提供的适用于云平台的自动化测试方法,具备相应的功能和有益效果。
图6是本申请实施例提供的一种电子设备的结构示意图,参照图6,该电子设备包括:处理器31、存储器32、通信模块33、输入装置34及输出装置35。该电子设备中处理器31的数量可以是一个或者多个,该电子设备中的存储器32的数量可以是一个或者多个。该电子设备的处理器31、存储器32、通信模块33、输入装置34及输出装置35可以通过总线或者其他方式连接。
存储器32作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任意实施例所述的适用于云平台的自动化测试方法对应的程序指令/模块(例如,适用于云平台的自动化测试装置中的配置模块21、生成模块22和测试模块23)。存储器32可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器32可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
通信模块33用于进行数据传输。
处理器31通过运行存储在存储器32中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的适用于云平台的自动化测试方法。
输入装置34可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置35可包括显示屏等显示设备。
上述提供的电子设备可用于执行上述实施例提供的适用于云平台的自动化测试方法,具备相应的功能和有益效果。
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器31执行时用于执行一种适用于云平台的自动化测试方法,该适用于云平台的自动化测试方法包括:
在业务系统中配置用例所需测试信息,所述测试信息包括角色和测试方法;
通过自动化测试系统读取所述业务系统中配置的角色和测试方法以生成检测用测试用例;
根据所述测试用例执行针对所述业务系统的自动化测试以得到调用结果。
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储 器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器31执行的程序指令(例如具体实现为计算机程序)。
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的适用于云平台的自动化测试方法,还可以执行本申请任意实施例所提供的适用于云平台的自动化测试方法中的相关操作。
上述实施例中提供的适用于云平台的自动化测试装置、存储介质及电子设备可执行本申请任意实施例所提供的适用于云平台的自动化测试方法,未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的适用于云平台的自动化测试方法。
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。

Claims (10)

  1. 一种适用于云平台的自动化测试方法,其特征在于,包括:
    在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法;
    通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例;
    根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果。
  2. 根据权利要求1所述的适用于云平台的自动化测试方法,其特征在于,所述角色包括业务功能角色、物理机角色、虚拟机角色、中间件角色和数据库角色中的一种或多种;
    所述根据所述测试用例执行针对所述云平台的自动化测试,包括:
    根据业务功能角色发送功能请求接口测试来进行自动化测试;或,
    根据所述物理机角色自动生成消息队列的发送代码逻辑;
    根据所述发送代码逻辑将所述测试用例发送至测试系统在物理机上的代理服务以在物理机上执行对应的自动化测试;或,
    虚拟机生成发送消息逻辑到物理机,并调用虚拟机代理检查虚拟机变化的测试用例以进行自动化测试。
  3. 根据权利要求1所述的适用于云平台的自动化测试方法,其特征在于,所述云平台包括业务功能、控制节点、中间件、物理节点和云服务器;所述业务功能、控制节点、中间件、物理节点和云服务器均与所述自动化测试系统通信连接。
  4. 根据权利要求1所述的适用于云平台的自动化测试方法,其特征在于,在所述在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法之后,还包括:
    对云平台接口进行出入参数配置,并根据所述出入参数配置生成入参范围和出参校验;
    对应的,所述针对所述云平台的自动化测试,包括:
    根据所述入参范围和出参校验对云平台接口进行自动化测试。
  5. 根据权利要求1所述的适用于云平台的自动化测试方法,其特征在于,所述测试信息还包括测试功能;
    所述生成检测用的测试用例,包括:
    将与所述测试功能关联的所有角色均自动生成测试用例;
    在所述根据所述测试用例执行针对所述云平台的自动化测试以得到调用结 果之后,还包括:
    获取所述调用结果,并对所述调用结果进行分析处理生成测试结果报告。
  6. 根据权利要求1所述的适用于云平台的自动化测试方法,其特征在于,所述根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果,包括:
    根据所述测试用例执行针对于云平台接口、物理机、虚拟机、数据库和中间件的自动化测试以得到调用结果。
  7. 根据权利要求1-6中任意一项所述的适用于云平台的自动化测试方法,其特征在于,所述通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例,包括:
    通过自动化测试系统读取所述云平台中配置的角色和测试方法;
    读取与所述角色对应的测试方法的代码数据包;
    提取所述测试方法中包含的多个输入类型参数变量和返回值;
    从预设的规则文件中查找与每个所述输入参数类型变量对应的变量取值范围;
    依据多个输入类型参数变量、每个输入类型参数变量的对应的取值范围、返回值以及所述代码数据包生成对应的测试用例。
  8. 一种适用于云平台的自动化测试装置,其特征在于,包括:
    配置模块:用于在云平台中配置用例所需测试信息,所述测试信息包括角色和测试方法;
    生成模块:用于通过自动化测试系统读取所述云平台中配置的角色和测试方法以生成检测用测试用例;
    测试模块:用于根据所述测试用例执行针对所述云平台的自动化测试以得到调用结果。
  9. 一种电子设备,其特征在于,包括:
    存储器以及一个或多个处理器;
    所述存储器,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一所述的适用于云平台的自动化测试方法。
  10. 一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-7任一所述的适用于云 平台的自动化测试方法。
PCT/CN2021/073877 2020-07-21 2021-01-27 一种适用于云平台的自动化测试方法及装置 WO2022016847A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010708199.9 2020-07-21
CN202010708199.9A CN111897724B (zh) 2020-07-21 2020-07-21 一种适用于云平台的自动化测试方法及装置

Publications (1)

Publication Number Publication Date
WO2022016847A1 true WO2022016847A1 (zh) 2022-01-27

Family

ID=73189799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/073877 WO2022016847A1 (zh) 2020-07-21 2021-01-27 一种适用于云平台的自动化测试方法及装置

Country Status (2)

Country Link
CN (1) CN111897724B (zh)
WO (1) WO2022016847A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080419A (zh) * 2022-06-27 2022-09-20 康键信息技术(深圳)有限公司 自动化测试方法及装置、存储介质、计算机设备
CN115277486A (zh) * 2022-08-01 2022-11-01 广域铭岛数字科技有限公司 一种基于工业互联网的自动化测试方法、装置及介质
CN116974908A (zh) * 2023-06-12 2023-10-31 中科软件测评(广州)有限公司 一种基于云平台的软件兼容性测试方法及系统
CN117234826A (zh) * 2023-11-10 2023-12-15 深圳市领德创科技有限公司 一种固态硬盘可靠性验证的无干扰测试平台及工作方法
WO2024001251A1 (zh) * 2022-06-30 2024-01-04 苏州元脑智能科技有限公司 一种芯片测试系统、方法、设备及介质
CN117421255A (zh) * 2023-12-19 2024-01-19 北京博点智合科技有限公司 一种接口的自动巡检方法、装置、设备和存储介质
CN117596174A (zh) * 2023-12-11 2024-02-23 中国铁塔股份有限公司北京市分公司 一种铁塔视联数据云传输调测方法、系统和介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897724B (zh) * 2020-07-21 2022-12-06 国云科技股份有限公司 一种适用于云平台的自动化测试方法及装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026664A1 (en) * 2013-07-17 2015-01-22 International Business Machines Corporation Method and system for automated test case selection
US20170052884A1 (en) * 2015-08-20 2017-02-23 Ca, Inc. Generic test automation for restful web services applications
CN107704395A (zh) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 一种基于Openstack下云平台自动化测试实施方法与系统
CN109933522A (zh) * 2019-01-25 2019-06-25 畅捷通信息技术股份有限公司 一种自动化用例的测试方法、测试系统及存储介质
CN110597730A (zh) * 2019-09-20 2019-12-20 中国工商银行股份有限公司 基于场景法的自动化测试用例生成方法及系统
CN111124867A (zh) * 2018-10-30 2020-05-08 中移(苏州)软件技术有限公司 一种OpenStack测试方法及装置
CN111352844A (zh) * 2020-03-04 2020-06-30 腾讯科技(深圳)有限公司 一种测试方法和相关装置
CN111897724A (zh) * 2020-07-21 2020-11-06 国云科技股份有限公司 一种适用于云平台的自动化测试方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605609A (zh) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 一种适用于云计算的自动化测试框架
IN2015DE01395A (zh) * 2015-05-18 2015-06-26 Hcl Technologies Ltd
KR101989802B1 (ko) * 2017-02-28 2019-06-18 주식회사 스패로우 테스트 케이스를 이용하여 테스트를 수행하는 방법 및 장치
CN107506303A (zh) * 2017-08-24 2017-12-22 航天中认软件测评科技(北京)有限责任公司 用于自动化测试的方法、装置及系统
CN108459964B (zh) * 2018-03-06 2021-05-04 平安科技(深圳)有限公司 测试用例选择方法、装置、设备以及计算机可读存储介质
US10496530B1 (en) * 2018-06-06 2019-12-03 Sap Se Regression testing of cloud-based services
CN109783392A (zh) * 2019-01-28 2019-05-21 新华三云计算技术有限公司 云网融合架构系统测试方法及装置
CN110543429B (zh) * 2019-09-10 2023-05-16 深圳前海微众银行股份有限公司 测试用例调试方法、装置及存储介质
CN111045921A (zh) * 2019-10-12 2020-04-21 平安普惠企业管理有限公司 自动化接口测试方法、装置、计算机设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026664A1 (en) * 2013-07-17 2015-01-22 International Business Machines Corporation Method and system for automated test case selection
US20170052884A1 (en) * 2015-08-20 2017-02-23 Ca, Inc. Generic test automation for restful web services applications
CN107704395A (zh) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 一种基于Openstack下云平台自动化测试实施方法与系统
CN111124867A (zh) * 2018-10-30 2020-05-08 中移(苏州)软件技术有限公司 一种OpenStack测试方法及装置
CN109933522A (zh) * 2019-01-25 2019-06-25 畅捷通信息技术股份有限公司 一种自动化用例的测试方法、测试系统及存储介质
CN110597730A (zh) * 2019-09-20 2019-12-20 中国工商银行股份有限公司 基于场景法的自动化测试用例生成方法及系统
CN111352844A (zh) * 2020-03-04 2020-06-30 腾讯科技(深圳)有限公司 一种测试方法和相关装置
CN111897724A (zh) * 2020-07-21 2020-11-06 国云科技股份有限公司 一种适用于云平台的自动化测试方法及装置

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080419A (zh) * 2022-06-27 2022-09-20 康键信息技术(深圳)有限公司 自动化测试方法及装置、存储介质、计算机设备
WO2024001251A1 (zh) * 2022-06-30 2024-01-04 苏州元脑智能科技有限公司 一种芯片测试系统、方法、设备及介质
CN115277486A (zh) * 2022-08-01 2022-11-01 广域铭岛数字科技有限公司 一种基于工业互联网的自动化测试方法、装置及介质
CN115277486B (zh) * 2022-08-01 2024-05-07 广域铭岛数字科技有限公司 一种基于工业互联网的自动化测试方法、装置及介质
CN116974908A (zh) * 2023-06-12 2023-10-31 中科软件测评(广州)有限公司 一种基于云平台的软件兼容性测试方法及系统
CN117234826A (zh) * 2023-11-10 2023-12-15 深圳市领德创科技有限公司 一种固态硬盘可靠性验证的无干扰测试平台及工作方法
CN117234826B (zh) * 2023-11-10 2024-04-05 深圳市领德创科技有限公司 一种固态硬盘可靠性验证的无干扰测试平台及工作方法
CN117596174A (zh) * 2023-12-11 2024-02-23 中国铁塔股份有限公司北京市分公司 一种铁塔视联数据云传输调测方法、系统和介质
CN117596174B (zh) * 2023-12-11 2024-05-14 中国铁塔股份有限公司北京市分公司 一种铁塔视联数据云传输调测方法、系统和介质
CN117421255A (zh) * 2023-12-19 2024-01-19 北京博点智合科技有限公司 一种接口的自动巡检方法、装置、设备和存储介质
CN117421255B (zh) * 2023-12-19 2024-04-09 北京博点智合科技有限公司 一种接口的自动巡检方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN111897724B (zh) 2022-12-06
CN111897724A (zh) 2020-11-06

Similar Documents

Publication Publication Date Title
WO2022016847A1 (zh) 一种适用于云平台的自动化测试方法及装置
US10528454B1 (en) Intelligent automation of computer software testing log aggregation, analysis, and error remediation
US9842045B2 (en) Failure recovery testing framework for microservice-based applications
WO2019153472A1 (zh) 接口自动化测试方法、装置、设备及存储介质
US11561889B2 (en) Orchestration for automated performance testing
CN107122296B (zh) 用于测试接口的数据断言的方法及设备
CN110879781B (zh) 程序调试方法、装置、电子设备及计算机可读存储介质
CN107526676B (zh) 一种跨系统测试方法及装置
CN108038039B (zh) 记录日志的方法及微服务系统
US20150236799A1 (en) Method and system for quick testing and detecting mobile devices
CN107092535B (zh) 用于测试接口的数据存储的方法及设备
US11720424B2 (en) Single flow execution
CN110347374B (zh) 一种富客户端业务服务封装和调用系统、方法和装置
CN109831351B (zh) 链路跟踪方法、装置、终端及存储介质
US20200012545A1 (en) Event to serverless function workflow instance mapping mechanism
CN111147310A (zh) 一种日志跟踪处理的方法、装置、服务器及介质
US10873628B2 (en) System and method for non-intrusive context correlation across cloud services
CN114328250A (zh) 软件系统自动自检方法、介质和装置
CN112241362A (zh) 一种测试方法、装置、服务器及存储介质
CN110618943B (zh) 安防服务测试方法、装置、电子设备及可读存储介质
WO2021036987A1 (zh) 一种实现运维监控的方法及装置
CN114116509A (zh) 程序分析方法、装置、电子设备和存储介质
CN114238140A (zh) 一种准入测试方法及装置
CN114024735B (zh) 一种多任务并行的特征库测试方法及装置
US8977901B1 (en) Generating service call patterns for systems under test

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21845596

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21845596

Country of ref document: EP

Kind code of ref document: A1