CN114253823A - Distributed test method and related equipment - Google Patents

Distributed test method and related equipment Download PDF

Info

Publication number
CN114253823A
CN114253823A CN202010998083.3A CN202010998083A CN114253823A CN 114253823 A CN114253823 A CN 114253823A CN 202010998083 A CN202010998083 A CN 202010998083A CN 114253823 A CN114253823 A CN 114253823A
Authority
CN
China
Prior art keywords
test
equipment
distributed
virtual
service
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
CN202010998083.3A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010998083.3A priority Critical patent/CN114253823A/en
Publication of CN114253823A publication Critical patent/CN114253823A/en
Pending legal-status Critical Current

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/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • 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

Landscapes

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

Abstract

The application relates to a distributed test method and related equipment. The method comprises the following steps: based on a data path established between the testing equipment and the tested equipment, the testing equipment sends testing information to the tested equipment; the tested equipment initializes a distributed test framework according to the test information, constructs virtual equipment and constructs a distributed network of real equipment and the virtual equipment in the tested equipment; the tested equipment acquires a test case according to the test information; the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result; the tested equipment returns the recorded test log and the test result to the test equipment; and the test equipment generates a test report according to the test result and the test log. According to the distributed test method and the distributed test system, distributed test can be performed through one tested device, and distributed test efficiency is improved.

Description

Distributed test method and related equipment
Technical Field
The present application relates to the field of testing technologies, and in particular, to a distributed testing method and related devices.
Background
With the development of communication technology, the interconnection cooperation among a plurality of intelligent terminal devices is widely applied. For example, different devices such as a mobile phone, a tablet, a car machine, a bracelet, a watch and the like are deployed under the same distributed network, and interaction among a plurality of intelligent terminal devices can be realized.
Generally, before performing the interconnection cooperative application among the plurality of intelligent terminal devices, the plurality of intelligent terminal devices in the interconnection cooperative needs to be subjected to the distributed test. In the conventional distributed test, a plurality of test devices need to be networked in a distributed manner, at least three devices (such as the test device and the device to be tested shown in fig. 1) need to be relied on, and then a test on each device to be tested in the distributed network is still a single test case, so that the state change of each test device in the distributed network cannot be determined.
Furthermore, current distributed testing relies primarily on the control of central control equipment (e.g., test equipment).
Disclosure of Invention
The embodiment of the application discloses a distributed test method and related equipment, which can improve the distributed test efficiency by simulating a plurality of distributed test scenes in one tested equipment without relying on a plurality of physical equipment to establish the distributed test scenes.
The application discloses a distributed test method in a first aspect, which is applied to a test device and a tested device, and the distributed test method comprises the following steps:
the test equipment acquires initial test information;
the test equipment compiles the initial test information;
the test equipment screens the compiled initial test information to obtain test information;
based on a data path established between the testing equipment and the tested equipment, the testing equipment sends the testing information to the tested equipment;
the tested equipment initializes a distributed test framework according to the test information, constructs virtual equipment and constructs a distributed network of real equipment and the virtual equipment in the tested equipment;
the tested equipment acquires a test case according to the test information;
the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result;
the tested equipment returns the recorded test log and the test result to the test equipment;
and the test equipment generates a test report according to the test result and the test log.
According to the method and the device, a plurality of distributed test scenes can be simulated through one tested device, the distributed test scenes formed by a plurality of tested devices are avoided being built, and the distributed test efficiency is improved.
In some optional embodiments, the initializing, by the device under test, a distributed test framework according to the test information includes:
loading test configuration information according to scene information in the test information;
the environment management service of the tested equipment creates a test storage path according to the data configuration information in the test configuration information;
and constructing virtual equipment according to the test configuration information and the test storage path.
The tested device constructs virtual devices according to the test information, and the virtual devices are used for simulating physical devices, so that the dependence of distributed tests on a plurality of physical devices is reduced, and the scene adaptability of the distributed tests is improved.
In some optional embodiments, the constructing a virtual device according to the test configuration information and the test storage path includes:
the network management service of the tested equipment starts virtual communication service according to the test configuration information;
registering service information of the virtual communication service with a device management service of the device under test through the virtual communication service;
according to the test storage path, the environment management service of the tested equipment starts a virtual data service;
and registering the service information of the virtual data service to the equipment management service of the tested equipment through the virtual data service, wherein the virtual communication service and the virtual data service form a logical virtual equipment.
The tested device builds the virtual device by initializing the distributed test framework, and avoids using a plurality of physical devices. The virtual devices may simulate services, communications, functions, etc. of the physical devices for implementing distributed testing.
In some optional embodiments, the building a distributed network of real devices and virtual devices in the device under test includes:
establishing distributed connection between the virtual communication service and the original communication service of the tested equipment;
and storing the connection data generated by the distributed connection through the virtual data service so as to establish a distributed network of the real equipment and the virtual equipment.
The virtual data service provides a storage function for the virtual equipment, the virtual communication service provides a communication function for the virtual equipment, and a distributed network between the real equipment and the virtual equipment is established on the basis that the virtual equipment has the storage and communication functions. The distributed network can be established by a plurality of physical devices, the distributed network is established by one tested device, the hard requirements of the distributed test on the physical devices are avoided, and the distributed test efficiency is improved.
In some optional embodiments, the establishing a distributed connection between the virtual communication service and the original communication service of the device under test includes:
monitoring an IP address and a port number of the original communication service through the virtual communication service;
monitoring an IP address and a port number of the virtual communication service through the original communication service;
and forwarding the communication data between the original communication service and the virtual communication service through the network management service of the tested equipment so as to establish the distributed connection between the virtual communication service and the original communication service.
Through forwarding of the network management service, communication data sent out by the real device can be forwarded to the virtual communication service so as to simulate distributed connection. The virtual communication service communicating with the real device is identified as the communication service of the physical device relative to the real device, and based on the simulated distributed connection, distributed test can be carried out in one physical device (for example, the tested device).
In some optional embodiments, the testing the virtual device and the real device in the distributed network according to the test case includes:
loading equipment form information according to scene information in the test information;
constructing a data simulator in the virtual equipment according to the equipment form information, wherein the data simulator provides data query service;
and testing the data simulator and the real equipment in the distributed network according to the test case.
The data simulator may simulate real data of the physical device corresponding to the device shape information. By testing the data simulator and the real equipment, a plurality of distributed test scenes can be simulated, so that the distributed test of multiple application scenes can be performed through one tested equipment.
In some optional embodiments, the testing the data simulator and the real device in the distributed network according to the test case includes:
acquiring a test interface in the test information;
starting a test service according to the test case;
testing the data simulator and the service application in the real equipment through the test service according to the test interface to obtain test data;
and determining a test result according to the test data.
The data simulator corresponds to different functions with different service applications in real equipment, and the test of the different functions can be realized by calling test interfaces of the different service applications. According to the method and the device, the test service tests the data simulator and the service application in the real equipment according to the test interface, so that test data are obtained, a distributed test scene corresponding to a function to be tested is not required to be built by relying on a plurality of physical equipment, and the test efficiency is improved.
The second aspect of the present application discloses a distributed test method, which is applied to a test device, and the distributed test method includes:
the test equipment acquires initial test information;
the test equipment compiles the initial test information;
the test equipment screens the compiled initial test information to obtain test information;
based on a data path established between the testing equipment and the tested equipment, the testing equipment sends the testing information to the tested equipment;
the test device receives a test result and a test log returned by the tested device;
and the test equipment generates a test report according to the test result and the test log.
The third aspect of the present application discloses a distributed test method, which is applied to a device to be tested, and the distributed test method includes:
the device to be tested receives test information sent by the test device based on the communication connection established between the device to be tested and the test device;
the tested device initializes a distributed test framework in the tested device according to the test information so as to construct a virtual device in the tested device and construct a distributed network of a real device and the virtual device in the tested device;
the tested equipment acquires a test case according to the test information;
the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result;
and the tested equipment returns the recorded test log and the test result to the test equipment.
A fourth aspect of the present application discloses a computer device, comprising a processor and a memory; the memory to store instructions; the processor is used for calling the instructions in the memory so that the computer equipment executes the distributed test method.
A fifth aspect of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and the at least one instruction, when executed by a processor, implements the distributed test method.
For technical effects brought by the second aspect to the fifth aspect, reference may be made to the description related to the methods in the above method section, and details are not described herein again.
Drawings
Fig. 1 is a schematic diagram of an operating environment of a conventional distributed test method.
Fig. 2 is a schematic operating environment diagram of a distributed test method disclosed in an embodiment of the present application.
Fig. 3 is a schematic interaction diagram of a testing device and a device under test in a distributed testing process in a distributed testing method disclosed in an embodiment of the present application.
Fig. 4 is a flowchart of a distributed test method applied to a test device according to an embodiment of the present application.
Fig. 5 is a flowchart of service interaction in a test device according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram of a test framework applied to a testing device and a device under test according to an embodiment of the present application.
Fig. 7 is a flowchart of a distributed test method applied to a device under test according to an embodiment of the present application.
Fig. 8 is a flowchart of service interaction in a device under test according to an embodiment of the present application.
Fig. 9 is a schematic diagram of a computer device disclosed in an embodiment of the present application.
Detailed Description
For ease of understanding, some descriptions of concepts related to the embodiments of the present application are given by way of illustration and reference.
In the present application, "at least one" means one or more, "and" a plurality "means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, e.g., A and/or B may represent: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The terms "first," "second," "third," "fourth," and the like in the description and in the claims and drawings of the present application, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In order to better understand the distributed test method and the related device disclosed in the embodiment of the present application, an operating environment schematic diagram of the distributed test method of the present application is first introduced with reference to fig. 2. As shown in fig. 2, the distributed test method operates in a distributed test system, where the distributed test system includes a test device and a device under test, and a test platform service in the test device issues a use case to the device under test. For example, the test platform service issues the test case to the device to be tested, and the device to be tested can execute the corresponding test according to the test case.
The testing device can be different devices such as a server, a computer, a notebook computer and the like. The tested equipment can be computer equipment of different types such as a computer, a mobile phone, a tablet, a vehicle machine, a bracelet and a watch.
In the distributed test system, first, a data path, such as a data path based on a Serial port, a Universal Serial Bus (USB), or a HyperText Transfer Protocol (HTTP), is established between the test device and the device under test. For example, in one embodiment of the present application, the test device may implement the initialization data path by scanning a serial port, a USB, or a network port.
The test platform service runs in the operating system of the test equipment, and the operating system of the test equipment comprises WINDOWSTM、LINUXTMOr UNIXTM
The distributed test framework of the tested device runs in an operating system of the tested device, and the operating system of the tested device comprises a system supporting distributed scenes. The programming language of the distributed test framework may be C or C + +.
Optionally, in an embodiment of the present application, the device under test is a real physical device, the device under test includes a simulator, and then two virtual devices, that is, a first virtual device and a second virtual device, may be constructed by using a delivery case of the test device. Wherein the simulator can run on an X86 or ARM server for simulating a single device, such as a single handset.
In an embodiment of the present application, a real device and a first virtual device in the device under test may be connected through a first virtual distributed networking, so as to implement virtual networking. In addition, the simulator in the tested device is connected with the second virtual device through a second virtual distributed networking so as to realize virtual networking. Distributed networking may be a network of multiple end devices with distributed capabilities.
As shown in fig. 3, for a schematic interaction diagram of a testing device and a device under test provided in an embodiment of the present application in a distributed testing process, specific description may refer to the following detailed description in corresponding method steps in fig. 4 and fig. 7, and specifically, the distributed testing method includes:
s301, the test equipment acquires initial test information. The initial test information may be information stored in a designated storage area in advance, or may be information input by a user.
In an embodiment of the present application, the initial test information may include scenario information, test instructions, test interfaces, and the like. The context information may indicate, but is not limited to: corresponding to distributed test scenes corresponding to distributed networks formed among different types of equipment. For example, the scene information may be "mobile phone-mobile phone", "mobile phone-car machine", "mobile phone-bracelet", "mobile phone-watch", and the like.
The test interface corresponds to a service or function to be tested, such as a data synchronization function.
In other embodiments of the present application, the initial test information may further include a preset test case or a test case input by a user. The test case may include a test step, a test input parameter, and the like.
In an embodiment of the present application, the test case is written according to a single-machine multi-instance distributed test case specification. For example, a single machine multi-instance distributed interface level test case specification includes:
(1) the writing form of the test case compilation file is determined by a compiler used for code development, such as a cmake compiler or a gcc compiler.
The writing template can be distributitedtest. Optionally, the use case form of the test use case may be distinguished by configuring form parameters, and the use case form may include a master use case or a test agent.
(2) And carrying the test case through an entity case.
The entity use case is a compiled executable file.
(3) Three types of distributed message interfaces to make local interface level calls of different machines, including:
a single-machine cooperative distributed message sending interface (synchronous/asynchronous) which contains a return value and is used for sending character string messages, sending information and the like;
a single-machine cooperative distributed command sending interface (synchronous/asynchronous) which contains a return value and is used for service starting, logic switch control and the like;
a stand-alone coordinated distributed message notification interface (synchronous/asynchronous), no return value, for death notification, etc.
Optionally, in other embodiments of the present application, the initial test information may further include a test case level, test configuration information, and the like.
S302, the test equipment compiles the initial test information.
In some embodiments of the present application, the test device may receive compiled instructions in a C or C + + language; compiling the initial test information according to the compiling instruction through a preset compiling service of the test equipment to obtain the compiled initial test information, so that the compiled initial test information can be identified and executed by computer equipment.
And S303, screening the compiled initial test information by the test equipment to obtain test information.
In some embodiments of the application, the test device may filter the initial test information (for example, filter the scenario information and/or the test interface) according to a preset or user-input filtering instruction, so as to obtain the test information.
For example, a "cell-watch" scenario may be filtered from a plurality of scenario information, and a health data synchronization interface may be filtered. The testing information obtained based on the screening result can be used for testing the health data synchronous application of the mobile phone and the watch, and corresponding testing results are obtained.
S304, based on the data path established between the testing device and the tested device, the testing device sends the testing information to the tested device.
In some embodiments of the present application, the test information may be sent to the device under test via a data path between the test device and the device under test. Optionally, the data path may include a serial port, a USB port, a network port, bluetooth, or wireless Wi-Fi.
The device under test can receive the test information sent by the test device through the data path between the test device and the device under test. As described above, the test information may include scenario information, test instructions, test interfaces, and the like. The scene information in the test information may include "mobile phone-mobile phone", "mobile phone-car machine", "mobile phone-bracelet", "mobile phone-watch", "mobile phone-car machine-tablet-watch", and the like. The test interface in the test information corresponds to a service or function to be tested, such as a data synchronization function. The test information may further include a preset test case or a test case input by a user.
S305, the tested device initializes a distributed test framework according to the test information, constructs a virtual device, and constructs a distributed network of a real device and the virtual device in the tested device.
First, the description is made with reference to the schematic diagram of the distributed test framework applied to the device under test shown in fig. 6, where the distributed test framework in the device under test includes, but is not limited to: a use case framework, an environment management service, a configuration management service, a network management service, a virtual communication service, a native communication service, a virtual data service, a native data service, an equipment management service.
In an embodiment of the present application, the case framework is a basic framework provided for developers to write test cases, and includes basic case assertions, definition of test cases, definition of test suites, pre-case execution operation (setup), post-case execution operation (teardown), test result statistics, and the like. The use case framework is used for environment cleaning after the use case is executed, for example.
The configuration management service is used for loading test configuration information.
The network management service is used for receiving and sending messages to the real equipment and the virtual equipment and managing MAC addresses, IP addresses and port numbers of the virtual equipment and the real equipment.
The virtual data service physically isolates test data from original data of the original data service through the test storage path.
In some embodiments of the present application, initializing, by the device under test, a distributed test framework according to the test information includes:
loading test configuration information according to the scene information in the test information, where the test configuration information includes, but is not limited to: communication configuration information, data configuration information and distributed networking configuration information; the environment management service of the tested equipment creates a test storage path according to the data configuration information in the test configuration information; and constructing virtual equipment according to the test configuration information and the test storage path.
Optionally, in some embodiments of the present application, the communication configuration information includes a Media Access Control (MAC) address, an Internet Protocol (IP) address, and a port number of the virtual device, and a MAC address, an IP address, and a port number of the real device. The data configuration information in the test configuration information comprises a test storage path, a storage authority and the like.
For example, when the scenario information is "mobile phone-mobile phone", the communication configuration information between the mobile phone and the mobile phone may be loaded correspondingly, where the communication configuration information includes the MAC address, the IP address and the port number of the mobile phone a (device under test) as the real device, and the MAC address, the IP address and the port number of the mobile phone B as the virtual device; the communication configuration information of the mobile phone and the mobile phone can be correspondingly loaded, wherein the communication configuration information comprises the test storage path and the storage permission of the mobile phone A and the mobile phone B; the distributed networking configuration information of the mobile phone and the mobile phone can be correspondingly loaded, wherein the distributed networking configuration information comprises distributed networks to which the mobile phone A and the mobile phone B belong.
In an embodiment of the present application, the constructing a virtual device according to the test configuration information and the test storage path includes:
the network management service of the tested equipment starts virtual communication service according to the test configuration information;
registering service information of the virtual communication service with a device management service of the device under test through the virtual communication service;
according to the test storage path, the environment management service of the tested equipment starts a virtual data service;
and registering the service information of the virtual data service to the equipment management service of the tested equipment through the virtual data service, wherein the virtual communication service and the virtual data service form a logical virtual equipment.
Optionally, the device management service of the device under test manages and schedules the virtual communication service and the virtual data service in a unified manner.
In an embodiment of the present application, the building a distributed network of real devices and virtual devices in the device under test includes: establishing distributed connection between the virtual communication service and the original communication service of the tested equipment; and storing the connection data generated by distributed connection through the virtual data service, thereby completing the establishment of the distributed network of the real equipment and the virtual equipment.
Optionally, in an embodiment of the present application, the establishing a distributed connection between the virtual communication service and an original communication service of the device under test includes: monitoring an IP address and a port number of the original communication service through the virtual communication service; monitoring an IP address and a port number of the virtual communication service through the original communication service; and forwarding the communication data between the original communication service and the virtual communication service through the network management service of the tested equipment so as to establish the distributed connection between the virtual communication service and the original communication service. Optionally, the device management service of the device under test manages and schedules the original communication service and the original data service in a unified manner.
In one embodiment of the present application, to distinguish virtual devices in a test device, a native service and a native function of a device under test are treated as real devices. The original communication service and the original data service constitute logically real devices. Namely, the real device is a logical device on the device under test, including the original service and original function of the device under test. For example, when the device under test is a mobile phone, the real device is a mobile phone.
In an embodiment of the application, before initializing a distributed test framework in the device under test according to the test information, the distributed test method further includes: acquiring a preset test instruction from a local storage device of the tested equipment; judging whether a test instruction in the test information is consistent with the preset test instruction or not; and when the test instruction in the test information is consistent with the preset test instruction, initializing a distributed test framework in the tested equipment according to the test information.
S306, the tested device obtains a test case according to the test information.
In an embodiment of the present application, the obtaining a test case according to the test information includes:
judging whether the test case exists in the test information or not; if the test case exists in the test information, reading the test case from the test information; and if the test case does not exist in the test information, requesting the test case from a local storage device (for example, a preset database) of the tested equipment. Optionally, the device under test may store the test case in the local storage device in advance, so that when the distributed test is required, the test case can be directly called at the local end.
The test case may include multiple steps in a test process, test input parameters, and the like.
S307, the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result.
In an embodiment of the present application, the testing the virtual device and the real device in the distributed network according to the test case includes:
loading equipment form information according to scene information in the test information; constructing a data simulator in the virtual equipment according to the equipment form information, wherein the data simulator provides data query service; and testing the data simulator and the real equipment in the distributed network according to the test case.
Optionally, in an embodiment of the present application, the device morphology information includes a device type of the virtual device and a test sample corresponding to the device type of the virtual device.
The device types may include, but are not limited to: cell-phone, wrist-watch, car machine, flat board. The test sample of the corresponding device type refers to actual data of a real machine scenario given for the device type, the real machine scenario being for a real physical device of the device type. By determining the device type and corresponding test sample for the virtual device, a real physical device can be simulated. Wherein the attributes of the test sample include: device type, test interface, test input parameters, scene information, etc. The context information may include context information of a regular path and context information of an abnormal path. The scene information of the normal path corresponds to the test sample in the normal test scene, and the scene information of the abnormal path corresponds to the test sample in the abnormal test scene.
For example, if the device type is a watch, the given real-time scenario is a health data synchronization application of a mobile phone and the watch. The test sample is health data in the real watch returned when the real watch receives the interface call corresponding to the real machine scene. Optionally, in an embodiment of the present application, the data simulator may receive an interface call request of the data query, so as to return a test sample corresponding to the interface call request according to the interface call request. The interface call request may include a device type, a test interface, test input parameters, scenario information, and the like. The simulator includes real interactive data corresponding to a cell phone, watch or tablet, etc. When the simulator is a mobile phone, a watch or a tablet, if an interface calling request is received, a corresponding response action can be made to the interface calling request according to corresponding real interactive data.
The testing the data simulator and the real device in the distributed network according to the test case comprises: acquiring a test interface in the test information; starting a test service according to the test case; testing the data simulator and the service application in the real equipment through the test service according to the test interface to obtain test data; and determining a test result according to the test data.
For example, if the real device is a mobile phone and the data simulator is a watch, the health data synchronous application of the mobile phone and the watch is tested, and the distributed test method includes:
(1) and acquiring a test interface in the test information, wherein the test interface comprises a first test interface of the mobile phone, a second test interface of the mobile phone and a third test interface of the watch. The method comprises the steps of calling a first test interface of the mobile phone to enable the mobile phone to send a health data synchronization request to a watch, calling a third test interface of the watch to receive health data of the watch, and calling a second test interface of the mobile phone to obtain the health data of the mobile phone.
(2) And loading the test steps and the test input parameters in the test case into the test service, wherein the test steps in the test case sequentially comprise calling a first test interface of the mobile phone, calling a third test interface of the watch and calling a second test interface of the mobile phone, and the test input parameters comprise a first input parameter corresponding to the first test interface, a second input parameter corresponding to the second test interface and a third input parameter corresponding to the third test interface.
(3) And sequentially calling a first test interface of the mobile phone, a second test interface of the watch and a third test interface of the mobile phone through the test service according to the test steps and the test input parameters in the test case, receiving first health data returned by the watch and receiving second health data returned by the mobile phone.
(4) If the first health data is consistent with the second health data, the health data of the mobile phone and the watch are determined to be synchronous and normal; and if the first health data is inconsistent with the second health data, determining that the health data of the mobile phone and the watch are abnormal in synchronization.
For another example, the real device is a mobile phone a, the data simulator is a mobile phone B, and the distributed test method includes:
(1) and acquiring a test interface in the test information, wherein the test interface comprises a fourth test interface of the mobile phone A, a fifth test interface of the mobile phone A and a sixth test interface of the mobile phone B. And calling a fourth test interface of the mobile phone A to enable the mobile phone A to insert the target data into the database of the mobile phone A, calling a fifth test interface of the mobile phone A to broadcast the insertion information of the target data to equipment in the current distributed network, wherein the current distributed network at least comprises the mobile phone B, and inquiring the target data by calling a sixth test interface of the mobile phone B.
(2) And loading the test steps and the test input parameters in the test case into the test service, wherein the test steps in the test case sequentially comprise calling a fourth test interface of the mobile phone A, calling a fifth test interface of the mobile phone A and calling a sixth test interface of the mobile phone B, and the test input parameters comprise a fourth input parameter corresponding to the fourth test interface, a fifth input parameter corresponding to the fifth test interface and a sixth input parameter corresponding to the sixth test interface. Wherein the fourth input parameter comprises target data.
(3) And the test service calls the fourth test interface of the mobile phone A, the fifth test interface of the mobile phone A and the sixth test interface of the mobile phone B in sequence according to the test steps and the test input parameters in the test case, and receives the data returned by the mobile phone B.
(4) If the target data exists in the data returned by the mobile phone B, determining that the databases of the mobile phone A and the mobile phone B are synchronous and normal; and if the target data does not exist in the data returned by the mobile phone B, determining that the databases of the mobile phone A and the mobile phone B are not normal in synchronization.
For another example, a method for testing the data simulator and the real device in the distributed network is further described, which specifically includes:
the tested equipment acquires the test interface of the real equipment and the test interface of the virtual equipment from the test information;
starting a test service according to the test case;
the test service calls a first service of the real equipment through a test interface of the real equipment, and the test service calls a second service of the virtual equipment through a test interface of the virtual equipment;
the first business service responds to the test interface call of the test service, performs data interaction with the second business service through a virtual distributed networking, and returns a first call result to the test service based on the interaction result, the first business is scheduled by the equipment management service, the first business service is connected with the original communication service through the equipment management service and is accessed into the virtual distributed networking, and the original communication service provides communication service based on the communication service drive of the tested equipment;
the second business service responds to the test interface call of the test service, performs data interaction with the first business service through a virtual distributed networking, and returns a second call result to the test service based on the interaction result, the second business service is scheduled by the virtual communication service, the virtual communication service is scheduled by the equipment management service, and the second business service is connected into the virtual distributed networking through the virtual communication service;
the test service receives a first calling result returned by the first business service and a second calling result returned by the second business service;
and determining a test result according to the first calling result and the second calling result.
The virtual distributed network may be a Mock network. The Mock network can simulate network states such as network delay, network faults and the like.
The virtual communication service may schedule the second business service through a remote communication process for distributed networking, which may be determined by the context information.
The first business service and the second business service may be used to implement a smooth connection application or a chat application.
S308, the tested device returns the recorded test log and the test result to the test device.
S309, the test equipment generates a test report according to the test result and the test log.
For example, in connection with the above-mentioned example, the test result returned to the test device may indicate that the monitoring data of the mobile phone and the watch are synchronized normally or the monitoring data of the mobile phone and the watch are not synchronized normally.
According to the distributed test field simulation method and device, a plurality of distributed test field scenes can be simulated through one tested device, the distributed test scenes formed by a plurality of represented devices are avoided being built, and the distributed test efficiency is improved.
As shown in fig. 4, a flowchart of a distributed test method applied to a test device provided in the embodiment of the present application is applied to a test device, and specifically, the distributed test method includes:
s401, the test equipment obtains initial test information. The initial test information may be information stored in a designated storage area in advance, or may be information input by a user.
S402, the test equipment compiles the initial test information.
And S403, screening the compiled initial test information by the test equipment to obtain test information.
S404, based on the data path established between the testing device and the tested device, the testing device sends the testing information to the tested device.
S405, the test device receives the test result and the test log returned by the tested device.
In some embodiments of the present application, the test device sends a test result collection instruction to a result collection service of the test device through a test platform service, and triggers the result collection service to poll and query a test result and a test log from the device to be tested according to the test result collection instruction.
Optionally, in an embodiment of the present application, the testing device may preset a time window; after the test is started, sending a query request to the tested equipment at intervals of the time window; and receiving a test result and a test log returned by the tested device in response to the query request.
S406, the test equipment generates a test report according to the test result and the test log.
In some embodiments of the present application, the test device may calculate the number of normal times and the number of abnormal times of the test according to the test result and the test log; calculating the ratio of the normal times to the abnormal times; and generating a test report according to the normal times and the abnormal times of the test and the ratio.
The testing device performs distributed testing among multiple devices on one tested device through one entity use case, and distributed testing among multiple devices on multiple tested devices through multiple testing agents is avoided. The tested equipment can realize the test of different distributed scenes by compiling and screening the test information and sending the test information to the tested equipment.
Fig. 5 is a flowchart illustrating service interaction in a test device according to an embodiment of the present disclosure. With reference to the schematic diagram of the test framework applied to the testing device and the device under test shown in fig. 6, the services running in the testing device include a test platform service, a use case management service, a use case distribution service, a use case compiling service, a result collection service, and a test report service. The description of the steps executed by the above services in the test equipment can refer to the above detailed description of the flow of fig. 3.
S501, the test platform service of the test equipment obtains initial test information according to the received execution instruction. The execution instruction is used for triggering a test to enable the test equipment to start executing a test task.
S502, the test platform service sends the initial test information to a case compiling service.
S503, the use case compiling service compiles the initial test information.
S504, the case compiling service sends the compiled initial test information to the case management service.
And S505, the case management service screens the compiled initial test information to obtain test information.
S506, the case management service sends the test information to a case distribution service.
S507, based on the data path established between the testing device and the tested device, the use case distribution service sends the testing information to the distributed testing framework of the tested device.
S508, the test platform service triggers a test result collection instruction to the result collection service.
S509, the result collection service responds to the test result collection instruction, and polls the distributed test framework for test results.
S510, the result collection service receives the test result and the test log returned by the distributed test framework.
Optionally, in some embodiments of the present application, the distributed test method may further include: and the test report service generates a test report according to the test result and the test log.
As shown in fig. 7, a flowchart of a distributed test method applied to a device under test provided in the embodiment of the present application is applied to the device under test, and specifically, the distributed test method includes:
s701, the tested device receives the test information sent by the test device based on the communication connection established between the tested device and the test device.
Optionally, in an embodiment of the present application, the device under test may receive the test information sent by the test device through a data path between the test device and the device under test. As described above, the test information may include scenario information, test instructions, test interfaces, and the like. The scene information in the test information may include "mobile phone-mobile phone", "mobile phone-car machine", "mobile phone-bracelet", "mobile phone-watch", "mobile phone-car machine-tablet-watch", and the like. The test interface in the test information corresponds to a service or function to be tested, such as a data synchronization function. The test information may further include a preset test case or a test case input by a user.
S702, the tested device initializes a distributed test framework according to the test information, constructs a virtual device, and constructs a distributed network of a real device and the virtual device in the tested device.
And S703, the tested device obtains a test case according to the test information.
S704, the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result.
S705, the tested device returns the recorded test log and the test result to the test device.
Fig. 8 is a flowchart illustrating service interaction in a device under test according to an embodiment of the present application. The following description is made in conjunction with the services in the device under test shown in the schematic diagram of the test framework applied to the test device and the device under test shown in fig. 6. Specifically, the distributed test method includes:
s801, based on the communication connection established between the tested device and the testing device, the distributed testing framework service of the tested device receives the testing information sent by the testing device.
S802, the distributed test framework service loads test configuration information from the configuration management service according to the test information to obtain equipment form information.
Specifically, step S802 may further include: s8021, the distributed test framework service loads test configuration information from a configuration management service according to the test information; s8022, the distributed test framework service receives the device shape information returned from the configuration management service.
S803, the distributed test framework service creates a test storage path for the environment management service and checks an unoccupied port.
S804, the environment management service determines a forwarding port to the network management service according to the unoccupied port.
The forwarding port is configured to forward data sent to the outside of the device under test to a preset address in the device under test, for example, an address of a virtual device in the device under test, so as to simulate communication among multiple devices through one device under test.
S805, the network management service detects an original data service and an original communication service scheduled by the device management service.
S806, the network management service starts the virtual communication service according to the forwarding port.
S807, the virtual communication service performs service registration with the device management service to establish a distributed network between the original communication service and the virtual communication service.
Specifically, step S807 may further include: s8071, the virtual communication service performs service registration with the equipment management service; s8072, the device management service establishes a distributed network between the original communication service and the virtual communication service based on the registered virtual communication service.
And S808, the environment management service starts a virtual data service according to the test storage path.
S809, the virtual data service registers the service with the equipment management service.
S810, the distributed test framework service starts a test service depending on the environment management service according to the test information.
S811, the test service obtains a test case, and tests the data simulator and the service according to the test case and the test interface in the test information to obtain a test result.
Specifically, the step S811 may further include: s8111, the test service obtains a test case and tests the service according to the test case and a test interface in the test information; s8112, the test service obtains a test case and tests the data simulator according to the test case and the test interface in the test information.
Optionally, in another embodiment of the present application, in step S811, the data simulator and the business service are tested according to the test case and the test interface in the test information, and the test may be further refined as follows:
the test service carries out first calling on the business service according to a first test step in the test case and a first test interface in the test information to obtain a first calling result;
the test service carries out second calling on the data simulator according to a second test step in the test case and a second test interface in the test information to obtain a second calling result;
and the test service carries out third calling on the business service according to a third test step in the test case and a third test interface in the test information to obtain a third calling result.
The test result may be judged according to the second call result and the third call result.
S812, the test service returns the recorded test log and the test result to the test equipment.
Fig. 9 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device 90 includes a memory 901, a processor 902, and computer readable instructions, such as a distributed test program, stored in the memory 901 and executable on the processor 902. The processor 902, when executing the computer readable instructions, performs the steps in the distributed test method embodiments described above.
Those skilled in the art will appreciate that the schematic diagram 9 is merely an example of the computer device 90 and does not constitute a limitation of the computer device 90 and may include more or less components than those shown, or some components may be combined, or different components, for example, the computer device 90 may also include input and output devices, network access devices, buses, etc.
The Processor 902 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 902 may be any conventional processor or the like, the processor 902 being the control center for the computer device 90 and the various interfaces and lines connecting the various parts of the overall computer device 90.
The memory 901 may be used to store the computer readable instructions, and the processor 902 may implement the various functions of the computer device 90 by executing or executing the computer readable instructions or modules stored in the memory 901 and invoking the data stored in the memory 901. The memory 901 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data created according to the use of the computer device 90, and the like. In addition, the Memory 901 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The modules integrated by the computer device 90 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by hardware that is configured to be instructed by computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer readable instructions comprise computer readable instruction code which may be in source code form, object code form, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, Read Only Memory (ROM), Random Access Memory (RAM), etc.
The present embodiment also provides a computer storage medium, where computer instructions are stored, and when the computer instructions are run on a computer device, the computer device is caused to execute the above related method steps to implement the distributed test method in the above embodiments.
The present embodiment also provides a computer program product, which, when running on a computer device, causes the computer device to execute the relevant steps described above, so as to implement the distributed testing method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the distributed test method in the above-mentioned method embodiments.
In addition, the computer device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the computer device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the module or unit is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A distributed test method is applied to test equipment and tested equipment, and is characterized in that the distributed test method comprises the following steps:
the test equipment acquires initial test information;
the test equipment compiles the initial test information;
the test equipment screens the compiled initial test information to obtain test information;
based on a data path established between the testing equipment and the tested equipment, the testing equipment sends the testing information to the tested equipment;
the tested equipment initializes a distributed test framework according to the test information, constructs virtual equipment and constructs a distributed network of real equipment and the virtual equipment in the tested equipment;
the tested equipment acquires a test case according to the test information;
the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result;
the tested equipment returns the recorded test log and the test result to the test equipment;
and the test equipment generates a test report according to the test result and the test log.
2. The distributed test method of claim 1, wherein initializing a distributed test framework by the device under test according to the test information comprises:
loading test configuration information according to scene information in the test information;
the environment management service of the tested equipment creates a test storage path according to the data configuration information in the test configuration information;
and constructing virtual equipment according to the test configuration information and the test storage path.
3. The distributed testing method of claim 2, wherein said building a virtual appliance from the test configuration information and the test storage path comprises:
the network management service of the tested equipment starts virtual communication service according to the test configuration information;
registering service information of the virtual communication service with a device management service of the device under test through the virtual communication service;
according to the test storage path, the environment management service of the tested equipment starts a virtual data service;
and registering the service information of the virtual data service to the equipment management service of the tested equipment through the virtual data service, wherein the virtual communication service and the virtual data service form a logical virtual equipment.
4. The distributed test method of claim 1, wherein said building a distributed network of real devices and virtual devices among the devices under test comprises:
establishing distributed connection between the virtual communication service and the original communication service of the tested equipment;
and storing the connection data generated by the distributed connection through the virtual data service so as to establish a distributed network of the real equipment and the virtual equipment.
5. The distributed test method of claim 4, wherein the establishing a distributed connection between the virtual communication service and an original communication service of the device under test comprises:
monitoring an IP address and a port number of the original communication service through the virtual communication service;
monitoring an IP address and a port number of the virtual communication service through the original communication service;
and forwarding the communication data between the original communication service and the virtual communication service through the network management service of the tested equipment so as to establish the distributed connection between the virtual communication service and the original communication service.
6. The distributed test method of claim 1, wherein the testing of the virtual device and the real device by the device under test in the distributed network according to the test case comprises:
loading equipment form information according to scene information in the test information;
constructing a data simulator in the virtual equipment according to the equipment form information, wherein the data simulator provides data query service;
and testing the data simulator and the real equipment in the distributed network according to the test case.
7. The distributed test method of claim 6, wherein the testing the data simulator and the real devices in the distributed network according to the test case comprises:
acquiring a test interface in the test information;
starting a test service according to the test case;
testing the data simulator and the service application in the real equipment through the test service according to the test interface to obtain test data;
and determining a test result according to the test data.
8. A distributed test method is applied to test equipment, and is characterized in that the distributed test method comprises the following steps:
the test equipment acquires initial test information;
the test equipment compiles the initial test information;
the test equipment screens the compiled initial test information to obtain test information;
based on a data path established between the testing equipment and the tested equipment, the testing equipment sends the testing information to the tested equipment;
the test device receives a test result and a test log returned by the tested device;
and the test equipment generates a test report according to the test result and the test log.
9. A distributed test method is applied to a device to be tested, and is characterized by comprising the following steps:
the device to be tested receives test information sent by the test device based on the communication connection established between the device to be tested and the test device;
the tested device initializes a distributed test framework in the tested device according to the test information so as to construct a virtual device in the tested device and construct a distributed network of a real device and the virtual device in the tested device;
the tested equipment acquires a test case according to the test information;
the tested device tests the virtual device and the real device in the distributed network according to the test case to obtain a test result;
and the tested equipment returns the recorded test log and the test result to the test equipment.
10. The distributed test method of claim 9, wherein initializing a distributed test framework by the device under test according to the test information comprises:
loading test configuration information according to scene information in the test information;
the environment management service of the tested equipment creates a test storage path according to the data configuration information in the test configuration information;
and constructing virtual equipment according to the test configuration information and the test storage path.
11. The distributed testing method of claim 10, wherein said building a virtual appliance from the test configuration information and the test storage path comprises:
the network management service of the tested equipment starts virtual communication service according to the test configuration information;
registering service information of the virtual communication service with a device management service of the device under test through the virtual communication service;
according to the test storage path, the environment management service of the tested equipment starts a virtual data service;
and registering the service information of the virtual data service to the equipment management service of the tested equipment through the virtual data service, wherein the virtual communication service and the virtual data service form a logical virtual equipment.
12. The distributed test method of claim 9, wherein said building a distributed network of real devices and virtual devices among the devices under test comprises:
establishing distributed connection between the virtual communication service and the original communication service of the tested equipment;
and storing the connection data generated by the distributed connection through the virtual data service so as to establish a distributed network of the real equipment and the virtual equipment.
13. The distributed test method of claim 12, wherein the establishing a distributed connection between the virtual communication service and an original communication service of the device under test comprises:
monitoring an IP address and a port number of the original communication service through the virtual communication service;
monitoring an IP address and a port number of the virtual communication service through the original communication service;
and forwarding the communication data between the original communication service and the virtual communication service through the network management service of the tested equipment so as to establish the distributed connection between the virtual communication service and the original communication service.
14. The distributed test method of claim 9, wherein the testing of the virtual device and the real device by the device under test in the distributed network according to the test case comprises:
loading equipment form information according to scene information in the test information;
constructing a data simulator in the virtual equipment according to the equipment form information, wherein the data simulator provides data query service;
and testing the data simulator and the real equipment in the distributed network according to the test case.
15. The distributed test method of claim 14, wherein the testing the data simulator and the real devices in the distributed network according to the test case comprises:
acquiring a test interface in the test information;
starting a test service according to the test case;
testing the data simulator and the service application in the real equipment through the test service according to the test interface to obtain test data;
and determining a test result according to the test data.
16. A computer device comprising a processor and a memory; the memory to store instructions; the processor to invoke the instructions in the memory to cause the computer device to perform the distributed test method of claim 8, or any of claims 9 to 15.
17. A computer-readable storage medium storing at least one instruction which, when executed by a processor, implements the distributed test method of claim 8, or any of claims 9 to 15.
CN202010998083.3A 2020-09-21 2020-09-21 Distributed test method and related equipment Pending CN114253823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010998083.3A CN114253823A (en) 2020-09-21 2020-09-21 Distributed test method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010998083.3A CN114253823A (en) 2020-09-21 2020-09-21 Distributed test method and related equipment

Publications (1)

Publication Number Publication Date
CN114253823A true CN114253823A (en) 2022-03-29

Family

ID=80788362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010998083.3A Pending CN114253823A (en) 2020-09-21 2020-09-21 Distributed test method and related equipment

Country Status (1)

Country Link
CN (1) CN114253823A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996168A (en) * 2022-08-03 2022-09-02 荣耀终端有限公司 Multi-device cooperative test method, test device and readable storage medium
CN115085772A (en) * 2022-08-24 2022-09-20 北京紫光青藤微***有限公司 Test method, processor, NFC device, electronic apparatus, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996168A (en) * 2022-08-03 2022-09-02 荣耀终端有限公司 Multi-device cooperative test method, test device and readable storage medium
CN114996168B (en) * 2022-08-03 2023-01-03 荣耀终端有限公司 Multi-device cooperative testing method, testing device and readable storage medium
CN115085772A (en) * 2022-08-24 2022-09-20 北京紫光青藤微***有限公司 Test method, processor, NFC device, electronic apparatus, and storage medium
CN115085772B (en) * 2022-08-24 2022-12-09 北京紫光青藤微***有限公司 Test method, processor, NFC device, electronic apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN107368410B (en) Performance test method and device of game engine, storage medium and electronic device
CN110493812B (en) Distribution network test processing method, device and system, processor and master control equipment
CN108228444B (en) Test method and device
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN114253823A (en) Distributed test method and related equipment
CN107391219B (en) Function Compilation Method and device
CN111611121A (en) Hardware simulation test method, device and equipment
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
CN115065652B (en) Message reply method and device, storage medium and computer equipment
CN109857391A (en) Processing method and processing device, storage medium and the electronic device of data
CN109299011A (en) A kind of test method and system of application program
CN109857963A (en) Local resource access method, device and electronic equipment
CN112115060A (en) Audio test method and system based on terminal
CN117041111A (en) Vehicle cloud function test method and device, electronic equipment and storage medium
CN109460266A (en) A kind of method and device constructing software analogue data
CN111221687B (en) Cloud storage testing system and method
CN115190057A (en) Automatic testing method and device and electronic equipment
CN114726905A (en) Method, device, equipment and storage medium for accessing Tbox network to Android system
CN109995607B (en) Method for testing flow overhead, terminal, server and computer storage medium
CN108628683B (en) Data transmission method and device
CN111082984A (en) Method and device for simulating login of network equipment to carry out command line interaction
CN111143193A (en) Big data service testing method, system, terminal and storage medium based on RobotFramework
CN114826994B (en) User environment playback method, system, electronic device and readable storage medium
CN116107826A (en) Physical module testing method and device, storage medium and electronic equipment
CN114780424A (en) Module testing method, system, storage medium and electronic 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