A test control system, method and device

Through the cooperation of the test control platform, server and client, the problems of low efficiency and high cost of existing application testing methods are solved, unified management and automation of application testing are realized, testing efficiency is improved and costs are reduced.

CN112416744BActive Publication Date: 2024-08-27SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010070903.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-21
Publication Date
2024-08-27
Estimated Expiration
2040-01-21

AI Technical Summary

Technical Problem

Existing application testing methods are inefficient and costly, and cannot achieve unified management and automation of different types of tests.

Method used

Through the cooperation of the test control platform, test control server and test execution client, test data is obtained and stored, test cases are generated, and test cases are executed to implement application testing, achieving unified management and automation of various application tests.

Benefits of technology

It saves testing costs, improves testing efficiency, and realizes unified management and automation of various application tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112416744B
    Figure CN112416744B
Patent Text Reader

Abstract

The present application discloses a test control system, method and device, which are applied in the field of computer technology to solve the problems of high test cost and low test efficiency. Specifically, the test control platform obtains and stores the test data respectively input for each test object of the application; the test control server obtains the test data of each test object of the application stored in the test control platform, and based on the test data of each test object of the application, generates and stores the test cases of each test object of the application; the test execution client obtains the test cases of each test object of the application stored in the test control server, and executes the test cases of each test object of the application to test the application. In this way, through the mutual cooperation of the test control platform, the test control server and the test execution client, unified management and automated testing of various application tests can be achieved, thereby saving test costs and improving test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a test control system, method and device. Background Art

[0002] In recent years, with the continuous development of network technology and multimedia technology, applications of various functions have emerged. Among them, application testing is closely related to user experience and has gradually become an important stage in application development and maintenance.

[0003] In actual applications, application testing mainly includes various types of tests such as user interface testing and service interface testing. At present, different testing frameworks are usually used for different types of tests, which results in high cost and low efficiency of application testing. Summary of the invention

[0004] The embodiments of the present application provide a test control system, method and device to solve the problems of low efficiency and high cost of application test methods in the prior art.

[0005] The technical solutions provided by the embodiments of this application are as follows:

[0006] On the one hand, an embodiment of the present application provides a test control system, including:

[0007] The test control platform is used to obtain test data respectively input for each test object of the application, and store the test data of each test object of the application in a test database of the test control server, wherein each test object of the application is a test object included in various application tests of the application;

[0008] The test control server is used to obtain test data of each test object of the application from the test database, generate test cases of each test object of the application based on the test data of each test object of the application, determine the test execution client of each test object of the application based on the interface test to which each test object of the application belongs, and associate the test cases of each test object of the application with the client identifier of the corresponding test execution client and store them in the test database;

[0009] Each test execution client is used to obtain the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database, and execute the test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0010] On the other hand, an embodiment of the present application provides a test control method applied to a test control platform, including:

[0011] Acquire test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application;

[0012] The test data of each test object of the application is stored in the test database of the test control server, so that the test control server generates test cases for each test object of the application based on the test data of each test object of the application stored in the test database, and associates the test cases for each test object of the application with the client identifier of the corresponding test execution client and stores them in the test database, triggering the test execution client to obtain and execute the test cases for each test object stored in association with the client identifier from the test database, so as to perform corresponding application testing on the application.

[0013] On the other hand, an embodiment of the present application provides a test control method applied to a test control server, including:

[0014] Acquire test data of each test object of the application from the test database, wherein each test object of the application is a test object included in each type of application test of the application;

[0015] Generate test cases for each test object of the application based on the test data of each test object of the application;

[0016] Based on the interface tests to which each test object of the application belongs, the test execution client of each test object of the application is determined, and the test cases of each test object of the application are associated with the client identifier of the corresponding test execution client and stored in the test database, triggering the test execution client to obtain the test cases of each test object stored in association with the client identifier from the test database and execute them, so as to perform corresponding application tests on the application.

[0017] On the other hand, an embodiment of the present application provides a test control method applied to a test execution client, comprising:

[0018] From the test cases of each test object of the application stored in the test database, obtain the test cases of each test object stored in association with the client identifier, wherein each test object of the application is a test object included in each type of application test of the application;

[0019] The test cases of each test object stored in association with the client identity are executed to perform corresponding application tests on the application.

[0020] On the other hand, an embodiment of the present application provides a test control device applied to a test control platform, including:

[0021] A data acquisition unit, used to acquire test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application;

[0022] A data storage unit is used to store the test data of each test object of the application into the test database of the test control server, so that the test control server generates test cases for each test object of the application based on the test data of each test object of the application stored in the test database, and associates the test cases for each test object of the application with the client identifier of the corresponding test execution client and stores them in the test database, triggering the test execution client to obtain and execute the test cases for each test object stored in association with the client identifier from the test database, so as to perform corresponding application tests on the application.

[0023] On the other hand, an embodiment of the present application provides a test control device applied to a test control server, including:

[0024] A data acquisition unit, used to acquire test data of each test object of the application from the test database, wherein each test object of the application is a test object included in various application tests of the application;

[0025] A test case generation unit, used to generate test cases for each test object of the application based on the test data of each test object of the application;

[0026] The use case storage unit is used to determine the test execution client of each test object of the application based on the interface test to which each test object of the application belongs, and store the test cases of each test object of the application in association with the client identifier of the corresponding test execution client in the test database, triggering the test execution client to obtain the test cases of each test object stored in association with the client identifier from the test database and execute them, so as to perform corresponding application tests on the application.

[0027] On the other hand, an embodiment of the present application provides a test control device applied to a test execution client, comprising:

[0028] A case acquisition unit, configured to acquire test cases of various test objects stored in association with the client identifier from the test cases of various test objects of the application stored in the test database, wherein the various test objects of the application are test objects included in various types of application tests of the application;

[0029] The use case execution unit is used to execute the test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0030] On the other hand, an embodiment of the present application provides a test control device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the test control method applied to the test control platform provided in the embodiment of the present application is implemented; or, the test control method applied to the test control server provided in the embodiment of the present application is implemented; or, the test control method applied to the test execution client provided in the embodiment of the present application is implemented.

[0031] On the other hand, an embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the test control method applied to the test control platform provided in the embodiment of the present application is implemented; or, the test control method applied to the test control server provided in the embodiment of the present application is implemented; or, the test control method applied to the test execution client provided in the embodiment of the present application is implemented.

[0032] The beneficial effects of the embodiments of the present application are as follows:

[0033] In the embodiment of the present application, through the mutual cooperation among the test control platform, the test control server and the test execution client, unified management and automated testing of various application tests can be achieved, thereby saving testing costs and improving testing efficiency.

[0034] Other features and advantages of the present application will be described in the subsequent description, and in part, will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0036] Figure 1 This is a schematic diagram of the system framework of the test control system in the embodiment of the present application;

[0037] Figure 2 This is a schematic diagram of the general flow of the test control method in the embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of an overview of the test control method applied to the test control platform in the embodiment of the present application;

[0039] Figure 4 A schematic diagram of an overview flow of a test control method applied to a test control server in an embodiment of the present application;

[0040] Figure 5 A schematic diagram of an overview flow of a test control method applied to a test execution client in an embodiment of the present application;

[0041] Figure 6 This is a specific flow chart of the test control method in the embodiment of the present application;

[0042] Figure 7 This is a functional structure diagram of a test control device applied to a test control platform in an embodiment of the present application;

[0043] Figure 8 This is a functional structure diagram of a test control device applied to a test control server in an embodiment of the present application;

[0044] Fig. 9 This is a functional structure diagram of a test control device applied to a test execution client in an embodiment of the present application;

[0045] Fig.10 Schematic diagram of the hardware structure of the test control device in the embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and beneficial effects of this application clearer, the technical solution in the embodiment of this application will be clearly and completely described below in conjunction with the drawings in the embodiment of this application. Obviously, the described embodiment is only a part of the embodiment of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] In order to facilitate those skilled in the art to better understand the present application, the technical terms involved in the present application are briefly introduced below.

[0048] 1. Test control platform, which is a front-end user platform for managing and viewing user permissions, test data, test cases, test sets, test tasks, test result logs, test execution clients, etc.

[0049] 2. Test control server, which generates test cases for each test object of the application based on the test data of each test object of the application, creates test sets and test tasks for the application based on the test cases of each test object of the application, and is a background running device that provides database services for the test control platform and the test execution client.

[0050] 3. Test execution client, which is the background running device for executing test cases, including but not limited to: Android devices, IOS devices, virtual machines, etc. In this application, different types of application tests correspond to different test execution clients, for example: the test execution client corresponding to the application test "user interface test of Android version application" is an Android device, the test execution client corresponding to the application test "user interface test of IOS version application" is an IOS device, and the test execution client corresponding to the application test "service interface test of application server" is a virtual machine, etc.

[0051] 4. Test items refer to various test aspects included in application testing. For example, if the application testing is a service interface test, the test items may include but are not limited to stress testing, functional testing, regression testing, etc.; for example, if the application testing is a user interface test of an Android application, the test items may include but are not limited to graphics testing, navigation testing, content testing, overall interface testing, table testing, etc.

[0052] 5. Test data is the data used in the application testing process. In this application, test data can be divided into functional test data and attribute test data, among which:

[0053] Functional test data refers to the functional data of the test object. For example, if the test object is a service interface, the functional test data includes but is not limited to input data, prediction result data, etc.

[0054] Attribute test data refers to the attribute data of the test object. For example, if the test object is a service interface, the functional test data includes but is not limited to: the development department of the application to which the service interface belongs, the version of the application to which the service interface belongs, the environment of the application to which the service interface belongs (including the online environment and the test environment), the functional area of ​​the service interface service, the test account and account login data of the application to which the service interface belongs, etc.

[0055] 6. Test case: a text in a set format generated based on test data. In this application, the test case is a JSON text.

[0056] 7. Test database, which is a database for storing test data, test cases, test sets, test tasks and other related test data as well as related user data such as user names and passwords.

[0057] 8. Data interface: the interface provided by the test control server for the test control platform and the test execution client to access the test database, including but not limited to: Get interface, Post interface, etc.

[0058] After introducing the technical terms involved in this application, the application scenarios and design concepts of the embodiments of this application are briefly introduced.

[0059] In actual applications, application testing mainly includes multiple test types such as user interface testing and service interface testing. At present, different test frameworks are usually used for testing for different test types. Obviously, this application testing method has high cost and low efficiency. To this end, in the embodiment of the present application, the test control platform obtains the test data input by the user for each test object of the application, and stores the test data of each test object of the application; the test control server obtains the test data of each test object of the application stored by the test control platform, and based on the test data of each test object of the application, generates the test cases of each test object of the application, and stores the test cases of each test object of the application; the test execution client obtains the test cases of each test object of the application stored by the test control server, and executes the test cases of each test object of the application to test the application. In this way, through the mutual cooperation of the test control platform, the test control server and the test execution client, unified management and automated testing of various application tests can be achieved, thereby saving test costs and improving test efficiency.

[0060] After introducing the application scenarios and design concepts of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below.

[0061] The present application embodiment provides a test control system, referring to Figure 1 As shown, the test control system provided by the embodiment of the present application at least includes:

[0062] The test control platform 110 is used to obtain test data respectively input for each test object of the application, and store the test data of each test object of the application in the test database of the test control server 120, wherein each test object of the application is a test object included in various types of application tests of the application;

[0063] The test control server 120 is used to obtain test data of each test object of the application from the test database, generate test cases of each test object of the application based on the test data of each test object of the application, determine the test execution client of each test object of the application based on the interface test to which each test object of the application belongs, and associate the test cases of each test object of the application with the client identifier of the corresponding test execution client and store them in the test database;

[0064] Each test execution client 130 is used to obtain the test cases of each test object stored in association with the client identifier from the test cases of each test object of the service interface stored in the test database, and execute the test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0065] In a possible implementation, when acquiring the test data respectively input for each test object of the application, the test control platform 110 is specifically configured to respectively perform the following operations for each test object of the application:

[0066] Receive a test configuration request initiated for a test object;

[0067] Displaying a test configuration interface of the test object, wherein the test configuration interface at least displays various property selection boxes and various test data fields;

[0068] Acquire the attribute test data selected in each attribute selection box and the dynamic test data entered in each test data field;

[0069] The obtained respective attribute test data and respective dynamic test data are determined as the test data of the test object.

[0070] In a possible implementation, when generating test cases for each test object of the application based on the test data of each test object of the application, the test control server 120 is specifically configured to:

[0071] For each test object of the application, the test data of the test object is formatted according to a set format to obtain a test case of the test object.

[0072] In a possible implementation, after the test cases of each test object of the application are associated with the client identifier of the test execution client and stored in the test database, the test control server 120 is further used to:

[0073] Configure the execution status of the test cases of each test object of the application to be executed.

[0074] In a possible implementation, after generating test cases for each test object of the application based on the test data of each test object of the application, the test control server 120 is further configured to:

[0075] Based on the test items to which each test object of the application belongs, the test cases of each test object of the application are divided to obtain the test cases included in each test item of the application;

[0076] Based on the test cases included in each test item of the application, create test sets for the application respectively, and store each test set of the application in the test database;

[0077] For each test set of the application, when it is determined that the execution status of all the test cases included in the test set is to be executed, the execution status of the test set is configured to be executed.

[0078] In a possible implementation, after generating test cases for each test object of the application based on the test data of each test object of the application, the test control server 120 is further configured to:

[0079] Based on the application tests to which each test object of the application belongs, the test cases of each test object of the application are divided to obtain the test cases included in each application test of the application;

[0080] Based on the test cases included in each application test of the application, create test tasks for the application respectively, and store each test task of the application in the test database;

[0081] For each test task of the application, when it is determined that the execution status of all the test cases included in the test task is to be executed, the execution status of the test task is configured as to be executed.

[0082] In a possible implementation, when acquiring the test cases of each test object stored in association with the client identifier from the test cases of each test object of the service interface stored in the test database, the test execution client 130 is specifically used to:

[0083] From each test case of the application stored in the test database, a test case of each test object stored in association with the client identifier and corresponding to which the execution status is to be executed is obtained.

[0084] In a possible implementation, when acquiring the test cases of each test object stored in association with the client identifier from the test cases of each test object of the service interface stored in the test database, the test execution client 130 is further used to:

[0085] The execution status of the test cases of each test object stored in association with the client identifier is configured from pending to being executed.

[0086] In a possible implementation manner, the test control server 120 is further configured to:

[0087] For each test set of the application, when it is detected that the execution status of any test case included in the test set switches from pending to being executed, the execution status of the test set is configured from pending to being executed;

[0088] And, for each test task of the application, when it is monitored that the execution status of any test case included in the test task is switched from pending execution to being executed, the execution status of the test task is configured from pending execution to being executed.

[0089] In a possible implementation, when executing the test cases of each test object stored in association with the client identifier, the test execution client 130 is specifically used to:

[0090] For each test object stored in association with the client identifier, a test execution module corresponding to the test case of the test object is determined based on the test item to which the test object belongs, and the test case of the test object is assigned to the test execution module for execution.

[0091] In a possible implementation, after executing the test cases of each test object stored in association with the client identifier, the test execution client 130 is further used to:

[0092] The execution results of the test cases of each test object stored in association with the client identifier are stored in the test database, and the execution status of each test case stored in association with the client identifier is configured from being executed to completed.

[0093] In a possible implementation manner, the test control server 120 is further configured to:

[0094] For each test set of the application, when it is monitored that the execution status of each test case included in the test set switches from being executed to being completed, the execution results of each test case included in the test set are obtained, and based on the execution results of each test case included in the test set, when it is determined that there are test cases with abnormalities among the test cases included in the test set, the execution status of the test set is configured from being executed to being verified, and when it is determined that there are no test cases with abnormalities among the test cases included in the test set, the execution status of the test set is configured from being executed to being completed;

[0095] Also, for each test task of the application, when it is monitored that the execution status of each test case included in the test task switches from being executed to completed, the execution result of each test case included in the test task is obtained, and based on the execution result of each test case included in the test task, when it is determined that there are abnormal test cases among the test cases included in the test task, the execution status of the test task is configured from being executed to being verified, and when it is determined that there are no abnormal test cases among the test cases included in the test task, the execution status of the test task is configured from being executed to completed.

[0096] In a possible implementation, the test control platform 110 is further used to: receive a test detail viewing request initiated for an application, and forward the test detail viewing request to the test control server 120; receive and display task detail information of each test task and test set detail information of each test set returned by the test control server 120 based on the test detail viewing request;

[0097] The test control server 120 is also used to: receive a test detail viewing request forwarded by the test control platform 110, and based on the user identifier carried in the test detail viewing request, determine that the user corresponding to the user identifier has viewing authority, and based on the application identifier carried in the test detail viewing request, obtain the task detail information of each test task of the corresponding application and the test set detail information of each test set and return them to the test control platform 110.

[0098] In an embodiment of the present application, task detail information may include but is not limited to: the task identifier of the test task, the environment and version number of the application to which it belongs, the use case identifier of each test case included in the test task, description information, the client identifier of the test execution client, etc.; test set detail information may include but is not limited to: the test set identifier of the test set, the environment and version number of the application to which it belongs, the use case identifier of each test case included in the test set, description information, the client identifier of the test execution client, etc.

[0099] In a possible implementation, the test control platform 110 is further used to: receive a test status query request initiated for an application, and forward the test status query request to the test control server 120; receive and display the task status information of each test task and the test set status information of each test set returned by the test control server 120 based on the test status query request;

[0100] The test control server 120 is also used to: receive a test status query request forwarded by the test control platform 110, and based on the user identifier carried in the test status query request, determine that the user corresponding to the user identifier has viewing authority, and based on the application identifier carried in the test status query request, obtain the task status information of each test task of the corresponding application and the test set status information of each test set and return them to the test control platform 110.

[0101] In an embodiment of the present application, the task status information may include but is not limited to: the task identification of the test task, the execution status, the total number of test cases, the number of test cases that passed the execution, the number of test cases that failed the execution, the number of test cases to be verified, the number of paused test cases, etc.; the test set status information may include but is not limited to: the test set identification of the test set, the execution status, the total number of test cases, the number of test cases that passed the execution, the number of test cases that failed the execution, the number of test cases to be verified, the number of paused test cases, etc.

[0102] In a possible implementation, the test control platform 110 is further used to: receive a test result query request initiated for an application, and forward the test result query request to the test control server 120; receive and display the test result log of each test task returned by the test control server 120 based on the test result query request;

[0103] The test control server 120 is also used to: receive the test result query request forwarded by the test control platform 110, and based on the user identifier carried in the test result query request, determine that the user corresponding to the user identifier has viewing authority, and based on the application identifier carried in the test result query request, obtain the test result log of each test task of the corresponding application and return it to the test control platform 110.

[0104] In the embodiment of the present application, the test result log may include but is not limited to: the execution results of the test case, the execution log, the error details, the screenshot when the error is reported, etc.

[0105] In a possible implementation, the test control platform 110 is further configured to: receive a test pause instruction initiated for a test task of an application, and forward the test pause instruction to the test control server 120;

[0106] The test control server 120 is also used to: receive the pause test instruction forwarded by the test control platform 110, and based on the user identifier carried in the pause test instruction, determine that the user corresponding to the user identifier has processing authority, determine the test task to be suspended based on the task identifier carried in the pause test instruction, and control the test execution client 130 corresponding to the test task to suspend the execution of each test case of the test task, and configure the execution status of the test task and each test case of the test task from being executed to being paused.

[0107] In one possible implementation, the test control server 120 is also used to: for each test execution client 130, generate client status information of the test execution client 130 according to the execution results of each test case executed by the test execution client 130 within a set time range, and store the client status information of the test execution client 130 based on the client identifier of the test client.

[0108] In the embodiment of the present application, the client status information may include but is not limited to: the total number of test cases executed by the test execution client 130 within a set time range, the number of test cases that passed the execution, the number of test cases that failed the execution, the pass rate of the test case execution, etc.

[0109] In a possible implementation, the test control platform 110 is further configured to: receive a client status viewing request and forward the client status viewing request to the test control server 120; receive and display the client status information of the test client returned by the test control server 120 based on the client status viewing request;

[0110] The test control server 120 is also used to: receive a client status viewing request forwarded by the test control platform 110, and based on the user identifier carried in the client status viewing request, determine that the user corresponding to the user identifier has viewing authority, and based on the client identifier carried in the client status viewing request, obtain the client status information of the corresponding test client and return it to the test control platform 110.

[0111] In a possible implementation, the test control platform 110 is further configured to: receive a client deactivation instruction initiated for a test client, and forward the client deactivation instruction to the test control server 120; receive a client activation instruction initiated for a test client, and forward the client activation instruction to the test control server 120;

[0112] The test control server 120 is also used to: receive a client deactivation instruction forwarded by the test control platform 110, and based on the user identifier carried in the client deactivation instruction, when it is determined that the user corresponding to the user identifier has processing authority, control the test execution client 130 indicated by the client deactivation instruction to be deactivated; receive a client activation instruction forwarded by the test control platform 110, and based on the user identifier carried in the client activation instruction, when it is determined that the user corresponding to the user identifier has processing authority, control the test execution client 130 indicated by the client activation instruction to be reactivated.

[0113] The following introduces the test control method provided in the embodiment of the present application in combination with the test control system provided in the embodiment of the present application.

[0114] See also Figure 2 As shown, the general flow of the test control method provided in the embodiment of the present application is as follows:

[0115] Step 201: the test control platform 110 obtains test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application.

[0116] Step 202 : the test control platform 110 stores the test data of each test object of the application into the test database of the test control server 120 .

[0117] Step 203: The test control server 120 obtains the test data of each test object of the application from the test database.

[0118] Step 204: The test control server 120 generates a test case for each test object of the application based on the test data of each test object of the application.

[0119] Step 205: The test control server 120 determines the test execution client of each test object of the application based on the interface test to which each test object of the application belongs.

[0120] Step 206 : The test control server 120 associates the test cases of each test object of the application with the client identifier of the corresponding test execution client 130 and stores them in the test database.

[0121] Step 207: the test execution client 130 obtains the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database.

[0122] Step 208: the test execution client 130 executes the obtained test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0123] The following is a detailed description of the test control method applied to the test control platform 110 provided in the embodiment of the present application. Figure 3 As shown, the general flow of the test control method applied to the test control platform 110 provided in the embodiment of the present application is as follows:

[0124] Step 301: the test control platform 110 obtains test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application.

[0125] In actual applications, when the test control platform 110 obtains the test data respectively inputted for each test object of the application, it may perform the following operations respectively for each test object of the application:

[0126] First, the test control platform 110 receives a test configuration request initiated for the test object.

[0127] Then, the test control platform 110 displays the test object test configuration interface, wherein the test configuration interface at least displays various property selection boxes and various test data fields.

[0128] Secondly, the test control platform 110 obtains the attribute test data selected in each attribute selection box and the function test data input in each test data field.

[0129] Finally, the test control platform 110 determines the obtained various attribute test data and various functional test data as the test data of the test object.

[0130] Step 302 : the test control platform 110 stores the test data of each test object of the application into the test database of the test control server 120 .

[0131] In actual applications, the test control platform 110 may call a data interface (eg, a Post interface) provided by the test control server 120 to store the test data of each test object of the application into a test database of the test control server 120 .

[0132] Further, after the test control platform 110 stores the test data of each test object of the application in the test database of the test control server 120, the test control server 120 can generate and store the test cases of each test object of the application based on the test data of each test object of the application stored in the test control platform 110. For details, see Figure 4 As shown, the general process of the test control method applied to the test control server provided in the embodiment of the present application is as follows:

[0133] Step 401: The test control server 120 obtains test data of each test object of the application from the test database.

[0134] In a specific implementation, the test control server 120 may obtain the test data of each test object of the application in any of the following situations:

[0135] The first case: the test control server 120 determines that the test period has arrived.

[0136] The second situation: the test control server 120 determines that the version of the application is updated.

[0137] The third situation: the test control server 120 receives an application test instruction forwarded by the test control platform 110 for the application.

[0138] Step 402: The test control server 120 generates a test case for each test object of the application based on the test data of each test object of the application.

[0139] In specific implementation, when executing step 402 , the test control server 120 may convert the format of the test data of each test object of the application according to a set format to obtain a test case of the test object.

[0140] Specifically, in the embodiment of the present application, the test control server 120 can convert the test data of each test object of the application into a JSON format, thereby obtaining a test case of the test object.

[0141] Furthermore, after the test control server 120 generates test cases for each test object of the application based on the test data of each test object of the application, in one embodiment, the test control server 120 may also divide the test cases for each test object of the application based on the test items to which each test object of the application belongs, obtain the test cases included in each test item of the application, and create test sets for the application based on the test cases included in each test item of the application, and store each test set of the application in the test database. In another embodiment, the test control server 120 may also divide the test cases for each test object of the application based on the application tests to which each test object of the application belongs, obtain the test cases included in each application test of the application, and create test tasks for the application based on the test cases included in each application test of the application, and store each test task of the application in the test database.

[0142] In this way, when the user needs to view the test details information of the application, a test viewing request can be initiated for the application on the test control platform 110. When the test control platform 110 receives the test viewing request initiated for the application, the test viewing request is forwarded to the test control server 120. When the test control server 120 receives the test viewing request forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has viewing authority based on the user identifier carried in the test viewing request, the task details information of each test task of the corresponding application and the test set details information of each test set can be obtained based on the application identifier carried in the test viewing request and returned to the test control platform 110. When the test control platform 110 receives the task details information of each test task and the test set details information of each test set returned by the test control server 120 based on the test viewing request, the task details information of each test task of the application and the test set details information of each test set can be displayed to the user, so that various application tests of the application can be more intuitively presented to the user through test tasks and test sets, thereby providing convenience for user viewing.

[0143] Step 403: the test control server 120 determines the test execution client of each test object of the application based on the interface test to which each test object of the application belongs, and associates the test case of each test object of the application with the client identifier of the corresponding test execution client 130 and stores it in the test database.

[0144] In specific implementation, in an embodiment of the present application, after the test control server 120 associates the test cases of each test object of the application with the client identifier of the corresponding test execution client 130 and stores them in the test database, the execution status of the test cases of each test object of the application can also be configured as pending execution.

[0145] Furthermore, in one embodiment, the test control server 120 may also configure the execution status of each test set of the application as pending when the execution status of all test cases included in the test set is pending. In another embodiment, the test control server 120 may also configure the execution status of each test task of the application as pending when the execution status of all test cases included in the test task is pending.

[0146] Further, in the embodiment of the present application, the test control server 120 associates the test cases of each test object of the application with the client identifier of the corresponding test execution client 130 and stores them in the test database, and configures the execution status of the test cases of each test object of the application to be executed respectively. After that, the test execution client 130 can perform various application tests on the application based on the test cases of each test object of the application stored in the test database. For details, refer to Figure 5 As shown, the general process of the test control method applied to the test execution client provided in the embodiment of the present application is as follows:

[0147] Step 501: the test execution client 130 obtains the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database.

[0148] In the specific implementation, when executing step 501, the test execution client 130 can call the data interface (for example, the Get interface) provided by the test control server 120 to obtain the test cases of each test object stored in association with the client identifier and with the corresponding execution status of being to be executed from the test cases of each test object of the application stored in the test database.

[0149] Furthermore, after obtaining the test cases of the test objects stored in association with the client identifier, the test execution client 130 may also configure the execution status of the test cases of the test objects stored in association with the client identifier from pending to being executed.

[0150] It is worth mentioning that in an embodiment of the present application, the test control server 120 can monitor the execution status of the test cases of each test object of the application in real time. In one embodiment, the test control server 120 can configure the execution status of each test set of the application from pending execution to executing when it monitors that the execution status of any test case included in the test set changes from pending execution to executing.

[0151] In another embodiment, for each test task of the application, the test control server 120 may configure the execution status of the test task from pending to being executed when monitoring that the execution status of any test case included in the test task changes from pending to being executed.

[0152] Step 502: the test execution client 130 executes the obtained test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0153] In specific implementation, the test execution client 130 may use, but is not limited to, the following methods when executing the test cases of each test object obtained and stored in association with the client identifier:

[0154] The test execution client 130 can determine the test execution module corresponding to the test case of each test object obtained and stored in association with the client identifier based on the test item to which the test object belongs, and assign the test case of the test object to the test execution module for execution.

[0155] Furthermore, after the test execution client 130 executes the test cases of each test object stored in association with the client identifier, it can also call the data interface (for example, the Post interface) provided by the test control server 120 to store the execution results of the test cases of each test object stored in association with the client identifier in the test database of the test control server 120.

[0156] In this way, when the user needs to view the test results of the application, a test result query request can be initiated for the application on the test control platform 110. When the test control platform 110 receives the test result query request initiated for the application, the test result query request can be forwarded to the test control server 120; when the test control server 120 receives the test result query request forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has viewing authority based on the user identifier carried in the test result query request, the test result log of each test task of the corresponding application can be obtained based on the application identifier carried in the test result query request and returned to the test control platform 110; when the test control platform 110 receives the test result log of each test task returned by the test control server 120 based on the test result query request, the test result log of each test task of the application can be displayed to the user.

[0157] It is worth mentioning that in an embodiment of the present application, when the test execution client 130 calls the data interface (for example, the Post interface) provided by the test control server 120 and stores the execution results of the test cases of each test object of the application in the test database of the test control server 120, it can also configure the execution status of the test cases of each test object of the application from being executed to completed.

[0158] Furthermore, in one embodiment, the test control server 120 may also monitor, for each test set of the application, when the execution status of each test case included in the test set switches from executing to completed, obtain the execution results of each test case included in the test set, and based on the execution results of each test case included in the test set, when it is determined that there are abnormal test cases among the test cases included in the test set, configure the execution status of the test set from executing to pending verification; when it is determined that there are no abnormal test cases among the test cases included in the test set, configure the execution status of the test set from executing to completed. In another embodiment, the test control server 120 may also monitor, for each test task of the application, when the execution status of each test case included in the test task switches from being executed to being completed, obtain the execution results of each test case included in the test task, and based on the execution results of each test case included in the test task, when it is determined that there are abnormal test cases among the test cases included in the test task, configure the execution status of the test task from being executed to being verified; when it is determined that there are no abnormal test cases among the test cases included in the test task, configure the execution status of the test task from being executed to being completed.

[0159] It is worth mentioning that in an embodiment of the present application, when a user needs to suspend the test of any test task of the application, a pause test instruction can be initiated on the test control platform 110 for any test task of the application. When the test control platform 110 receives the pause test instruction initiated for any test task of the application, the pause test instruction is forwarded to the test control server 120; when the test control server 120 receives the pause test instruction forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has processing authority based on the user identifier carried by the pause test instruction, then the test task to be suspended is determined based on the task identifier carried by the pause test instruction, and the test execution client 130 corresponding to the test task is controlled to suspend the execution of each test case of the test task, and the execution status of the test task and each test case of the test task is configured from being executed to being paused.

[0160] In addition, in an embodiment of the present application, when a user needs to view the test status of the application, a test status query request can be initiated for the application on the test control platform 110. When the test control platform 110 receives the test status query request initiated for the application, the test status query request is forwarded to the test control server 120; when the test control server 120 receives the test status query request forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has viewing authority based on the user identifier carried in the test status query request, then based on the application identifier carried in the test status query request, the task status information of each test task of the corresponding application and the test set status information of each test set are obtained and returned to the test control platform 110; when the test control platform 110 receives the task status information of each test task and the test set status information of each test set returned by the test control server 120 based on the test status query request, the task status information of each test task of the application and the test set status information of each test set can be displayed to the user so that the user can view the test status of the application.

[0161] Furthermore, in an embodiment of the present application, the test control server 120 can also generate client status information of the test execution client 130 for each test execution client 130 according to the execution results of each test case executed by the test execution client 130 within a set time range, and store the client status information of the test execution client 130 based on the client identifier of the test client 130.

[0162] In this way, when a user needs to view the client status of any test execution client 130, a client status viewing request can be initiated on the test control platform 110 for any test execution client 130. When the test control platform 110 receives the client status viewing request initiated for any test execution client 130, the client status viewing request is forwarded to the test control server 120; when the test control server 120 receives the client status viewing request forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has viewing authority based on the user identifier carried in the client status viewing request, the client status information of the corresponding test client can be obtained based on the client identifier carried in the client status viewing request and returned to the test control platform 110; when the test control platform 110 receives the client status information of the test client returned by the test control server 120 in response to the client status viewing request, the client status information of the test client can be displayed to the user.

[0163] It is worth mentioning that in the embodiment of the present application, if the user determines that the test client has an abnormality based on the client status information of the test client displayed on the test control platform 110, the user can initiate a client deactivation instruction on the test control platform 110 for the test execution client 130. When the test control platform 110 receives the client deactivation instruction initiated for the test execution client 130, the client deactivation instruction is forwarded to the test control server 120; when the test control server 120 receives the client deactivation instruction forwarded by the test control platform 110, if it is determined that the user corresponding to the user identifier has processing authority based on the user identifier carried by the client deactivation instruction, the test execution client indicated by the client deactivation instruction can be controlled to be deactivated.

[0164] Furthermore, when the user determines that the test client has returned to normal, a client enablement instruction can be initiated on the test control platform 110 for the test execution client 130. When the test control platform 110 receives the client enablement instruction initiated for the test execution client 130, the client enablement instruction is forwarded to the test control server 120. When the test control server 120 receives the client enablement instruction forwarded by the test control platform, if it is determined that the user corresponding to the user identifier has processing authority based on the user identifier carried by the client enablement instruction, the test execution client indicated by the client enablement instruction can be controlled to be re-enabled.

[0165] The test control method provided in the embodiment of the present application is further described in detail below through specific application scenarios. Figure 6 As shown, the specific process of the test control method provided in the embodiment of the present application is as follows:

[0166] Step 601: the test control platform 110 obtains test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application.

[0167] Step 602 : the test control platform 110 calls the Post interface provided by the test control server 120 to store the test data of each test object of the application into the test database of the test control server 120 .

[0168] Step 603: When the test control server 120 determines that the test cycle has arrived, it obtains the test data of each test object of the application stored in the test control platform 110 from the test database.

[0169] Step 604: the test control server 120 converts the test data of each test object of the application into a JSON format to obtain a test case of the test object.

[0170] Step 605: the test control server 120 determines the test execution client 130 of each test object of the application based on the application test to which the test object belongs, and associates the test case of the test object with the client identifier of the test execution client 130 of the test object and stores it in the test database.

[0171] Step 606: The test control server 120 configures the execution status of the test cases of each test object of the application as pending execution.

[0172] Step 607: The test control server 120 divides the test cases of each test object of the application based on the test items to which each test object of the application belongs, obtains the test cases included in each test item of the application, and creates test sets for the application based on the test cases included in each test item of the application.

[0173] Step 608: the test control server 120 stores each test set of the application in the test database, and for each test set of the application, when determining that the execution status of all test cases included in the test set is to be executed, configures the execution status of the test set to be executed.

[0174] Step 609: The test control server 120 divides the test cases of each test object of the application based on the application tests to which each test object of the application belongs, obtains the test cases included in each application test of the application, and creates test tasks for the application based on the test cases included in each application test of the application.

[0175] Step 610: the test control server 120 stores each test task of the application in the test database, and for each test task of the application, when determining that the execution status of all test cases included in the test task is to be executed, configures the execution status of the test task to be executed.

[0176] Step 611: The test execution client 130 calls the Get interface provided by the test control server 120, and obtains the test cases of each test object stored in association with the client identifier and whose corresponding execution status is to be executed from the various test cases of the application stored in the test database, and configures the execution status of the obtained test cases of each test object from to be executed to being executed, and continues to execute step 613.

[0177] Step 612: For each test set of the application, when the test control server 120 monitors that the execution status of any test case included in the test set changes from pending execution to executing, the test control server 120 configures the execution status of the test set from pending execution to executing; and for each test task of the application, when the test control server 120 monitors that the execution status of any test case included in the test task changes from pending execution to executing, the test control server 120 configures the execution status of the test task from pending execution to executing.

[0178] Step 613: the test execution client 130 determines, for each test object, a test execution module corresponding to the test case of the test object based on the test items to which the test object belongs, and assigns the test case of the test object to the test execution module for execution.

[0179] Step 614: the test execution client 130 calls the Post interface provided by the test control server 120 to store the execution results of the test cases of each test object in the test database of the test control server 120, and configures the execution status of the test cases of each test object from being executed to completed.

[0180] Step 615: When the test control server 120 monitors that the execution status of each test case included in each test set of the application switches from being executed to completed, it obtains the execution result of each test case included in the test set.

[0181] Step 616: When the test control server 120 determines, based on the execution results of the test cases included in the test set, that there are test cases with exceptions among the test cases included in the test set, it configures the execution status of the test set from being executed to being verified; when it determines that there are no test cases with exceptions among the test cases included in the test set, it configures the execution status of the test set from being executed to being completed.

[0182] Step 617: for each test task of the application, when the test control server 120 monitors that the execution status of each test case included in the test task switches from being executed to completed, the test control server 120 obtains the execution result of each test case included in the test task.

[0183] Step 618: When the test control server 120 determines, based on the execution results of the test cases included in the test task, that there is an abnormal test case among the test cases included in the test task, it configures the execution status of the test task from being executed to being verified; when it determines that there is no abnormal test case among the test cases included in the test task, it configures the execution status of the test task from being executed to completed.

[0184] Based on the above embodiments, the present application embodiment provides a test control device applied to the test control platform 110. Figure 7 As shown, the test control device 700 applied to the test control platform 110 provided in the embodiment of the present application at least includes:

[0185] The data acquisition unit 701 is used to acquire test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application;

[0186] The data storage unit 702 is used to store the test data of each test object of the application into the test database of the test control server, so that the test control server generates test cases for each test object of the application based on the test data of each test object of the application stored in the test database, and associates the test cases for each test object of the application with the client identifier of the corresponding test execution client and stores them in the test database, triggering the test execution client to obtain and execute the test cases for each test object stored in association with the client identifier from the test database, so as to perform corresponding application tests on the application.

[0187] In a possible implementation, when acquiring the test data respectively input for each test object of the application, the data acquisition unit 701 is specifically configured to respectively perform the following operations for each test object of the application:

[0188] Receive a test configuration request initiated for a test object;

[0189] Displaying a test configuration interface of the test object, wherein the test configuration interface at least displays various property selection boxes and various test data fields;

[0190] Acquire the attribute test data selected in each attribute selection box and the dynamic test data entered in each test data field;

[0191] The obtained respective attribute test data and respective dynamic test data are determined as the test data of the test object.

[0192] Based on the above embodiments, the present application embodiment provides a test control device applied to the test control server 120, see Figure 8 As shown, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application at least includes:

[0193] The data acquisition unit 801 is used to acquire test data of each test object of the application from the test database, wherein each test object of the application is a test object included in each type of application test of the application;

[0194] A case generation unit 802, configured to generate a test case for each test object of the application based on the test data of each test object of the application;

[0195] The use case storage unit 803 is used to determine the test execution client 130 of each test object of the application based on the interface test to which each test object of the application belongs, and store the test cases of each test object of the application in association with the client identifier of the corresponding test execution client 130 in the test database, triggering the test execution client 130 to obtain the test cases of each test object stored in association with the client identifier from the test database and execute them, so as to perform corresponding application tests on the application.

[0196] In a possible implementation, when generating test cases for each test object of the application based on the test data of each test object of the application, the case generation unit 802 is specifically used to:

[0197] For each test object of the application, the test data of the test object is formatted according to a set format to obtain a test case of the test object.

[0198] In a possible implementation manner, after the test cases of each test object of the application are associated with the client identifier of the corresponding test execution client and stored in the test database, the case storage unit 803 is further used to:

[0199] Configure the execution status of the test cases of each test object of the application to be executed.

[0200] In a possible implementation manner, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application further includes:

[0201] The test set creation unit 804 is used to divide the test cases of each test object of the application based on the test items to which each test object of the application belongs in the use case generation unit 802, obtain the test cases included in each test item of the application, create test sets for the applications based on the test cases included in each test item of the application, store each test set of the application in a test database, and for each test set of the application, when it is determined that the execution status of all test cases included in the test set is to be executed, configure the execution status of the test set as to be executed.

[0202] In a possible implementation manner, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application further includes:

[0203] The task creation unit 805 is used to divide the test cases of each test object of the application based on the application tests to which each test object of the application belongs, after the use case generation unit 802 generates test cases for each test object of the application based on the test data of each test object of the application, to obtain the test cases included in each application test of the application, to create test tasks for the application based on the test cases included in each application test of the application, to store each test task of the application in a test database, and for each test task of the application, when it is determined that the execution status of all test cases included in the test task is to be executed, to configure the execution status of the test task as to be executed.

[0204] In a possible implementation manner, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application further includes:

[0205] The status monitoring unit 806 is used to configure the execution status of the test set from to be executed to being executed when it is monitored that the execution status of any test case included in the test set switches from to be executed to being executed for each test set of the application; and to configure the execution status of the test task from to be executed to being executed when it is monitored that the execution status of any test case included in the test task switches from to be executed to being executed for each test task of the application.

[0206] In a possible implementation, the status monitoring unit 806 is further configured to:

[0207] For each test set of the application, when it is monitored that the execution status of each test case included in the test set switches from being executed to being completed, the execution results of each test case included in the test set are obtained, and based on the execution results of each test case included in the test set, when it is determined that there are test cases with abnormalities among the test cases included in the test set, the execution status of the test set is configured from being executed to being verified, and when it is determined that there are no test cases with abnormalities among the test cases included in the test set, the execution status of the test set is configured from being executed to being completed;

[0208] Also, for each test task of the application, when it is monitored that the execution status of each test case included in the test task switches from being executed to completed, the execution result of each test case included in the test task is obtained, and based on the execution result of each test case included in the test task, when it is determined that there are abnormal test cases among the test cases included in the test task, the execution status of the test task is configured from being executed to being verified, and when it is determined that there are no abnormal test cases among the test cases included in the test task, the execution status of the test task is configured from being executed to completed.

[0209] In a possible implementation manner, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application further includes:

[0210] The client monitoring unit 807 is used to generate client status information of the test execution client 130 for each test execution client 130 according to the execution results of each test case executed by the test execution client 130 within a set time range, and store the client status information of the test execution client 130 based on the client identifier of the test execution client 130.

[0211] In a possible implementation, the client monitoring unit 807 is further configured to:

[0212] Receive a client status viewing request forwarded by the test control platform 110;

[0213] Based on the user identifier carried in the client status viewing request, when it is determined that the user corresponding to the user identifier has viewing authority, the client status information of the corresponding test client is obtained based on the client identifier carried in the client status viewing request and returned to the test control platform 110 for display.

[0214] In a possible implementation manner, the test control device 800 applied to the test control server 120 provided in the embodiment of the present application further includes:

[0215] The client management unit 808 is used to receive a client deactivation instruction forwarded by the test control platform 110; based on the user identifier carried in the client deactivation instruction, when it is determined that the user corresponding to the user identifier has the processing authority, control the test execution client 130 indicated by the client deactivation instruction to be deactivated; and, receive a client activation instruction forwarded by the test control platform 110; based on the user identifier carried in the client activation instruction, when it is determined that the user corresponding to the user identifier has the processing authority, control the test execution client 130 indicated by the client activation instruction to be reactivated.

[0216] Based on the above embodiments, the present application also provides a test control device applied to a test execution client. Fig. 9 As shown, the test control device 900 applied to the test execution client provided in the embodiment of the present application at least includes:

[0217] The use case acquisition unit 901 is used to acquire the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database, wherein each test object of the application is a test object included in various application tests of the application;

[0218] The use case execution unit 902 is used to execute the test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application.

[0219] In a possible implementation, when acquiring the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database, the case acquisition unit 901 is specifically used to:

[0220] From the test cases of the application stored in the test database, obtain the test cases that are stored in association with the client identifier and whose corresponding execution status is to be executed.

[0221] In a possible implementation, when acquiring the test cases of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database, the case acquisition unit 901 is further configured to:

[0222] The execution status of the test cases of the respective test objects obtained and stored in association with the client identifier is configured from to-be-executed to being executed.

[0223] In a possible implementation, when executing the test cases of each test object stored in association with the client identifier, the case execution unit 902 is specifically configured to:

[0224] For each test object stored in association with the client identifier, a test execution module corresponding to the test case of the test object is determined based on the test item to which the test object belongs, and the test case of the test object is assigned to the test execution module for execution.

[0225] In a possible implementation manner, the test control device 900 applied to the test execution client provided in the embodiment of the present application further includes:

[0226] The result storage unit 903 is used to call the data interface provided by the test control server 120 after the use case execution unit 902 executes the test cases of each test object stored in association with the client identifier, store the execution results of the test cases of each test object stored in association with the client identifier in the test database of the test control server 120, and configure the execution status of the test cases of each test object stored in association with the client identifier from being executed to completed.

[0227] It should be noted that the principles of solving technical problems by the three test control devices provided in the embodiments of the present application are similar to the test control methods provided in the embodiments of the present application. Therefore, the implementation of the three test control devices provided in the embodiments of the present application can refer to the implementation of the test control methods provided in the embodiments of the present application, and the repeated parts will not be repeated.

[0228] After introducing the test control system, method and apparatus provided in the embodiments of the present application, the test control device provided in the embodiments of the present application is briefly introduced next.

[0229] See also Fig.10 As shown, the test control device 100 provided in the embodiment of the present application includes at least: a processor 101, a memory 102, and a computer program stored in the memory 102 and executable on the processor 101. When the processor 101 executes the computer program, the test control method applied to the test control platform 110 provided in the embodiment of the present application is implemented; or, the test control method applied to the test control server 120 provided in the embodiment of the present application is implemented; or, the test control method applied to the test execution client 130 provided in the embodiment of the present application is implemented.

[0230] It should be noted that Fig.10 The test control device 100 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0231] The test control device 100 provided in the embodiment of the present application may also include a bus 103 connecting different components (including the processor 101 and the memory 102). The bus 103 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0232] The memory 102 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1021 and / or a cache memory 1022 , and may further include a read-only memory (ROM) 1023 .

[0233] The memory 102 may also include a program tool 1025 having a set (at least one) of program modules 1024, wherein the program modules 1024 include but are not limited to: operating sub-methods, one or more applications, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0234] The test control device 100 may also communicate with one or more external devices 104 (e.g., keyboards, remote controls, etc.), may also communicate with one or more devices that enable a user to interact with the test control device 100 (e.g., mobile phones, computers, etc.), and / or, may communicate with any device that enables the test control device 100 to communicate with one or more other test control devices 100 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 105. Furthermore, the test control device 100 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 106. Fig.10 As shown, the network adapter 106 communicates with other modules of the test control device 100 via the bus 103. It should be understood that although Fig.10 Not shown, other hardware and / or software modules may be used in conjunction with the test control device 100, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) sub-methods, tape drives, and data backup storage sub-methods.

[0235] The computer-readable storage medium provided in the embodiment of the present application is introduced below. The embodiment of the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by the processor, the test control method applied to the test control platform 110 provided in the embodiment of the present application is implemented; or, the test control method applied to the test control server 120 provided in the embodiment of the present application is implemented; or, the test control method applied to the test execution client 130 provided in the embodiment of the present application is implemented. Specifically, the executable program can be built into the test control device 100, so that the test control device 100 can implement the test control method applied to the test control platform 110 provided in the embodiment of the present application by executing the built-in executable program; or, implement the test control method applied to the test control server 120 provided in the embodiment of the present application; or, implement the test control method applied to the test execution client 130 provided in the embodiment of the present application.

[0236] In addition, the test control method provided in the embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on the test control device 100, the program code is used to enable the test control device 100 to execute the test control method provided in the embodiment of the present application.

[0237] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor method, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0238] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution method, apparatus, or device.

[0239] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0240] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0241] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0242] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A test control system, characterized in that: include: A test control platform, used to obtain test data respectively input for each test object of the application, and store the test data of each test object of the application in a test database of a test control server, wherein each test object of the application is a test object included in each type of application test of the application; A test control server is used to obtain test data of each test object of the application from the test database, generate test cases of each test object of the application based on the test data of each test object of the application, determine the test execution client of each test object of the application based on the interface test to which each test object of the application belongs, and associate the test cases of each test object of the application with the client identifier of the corresponding test execution client and store them in the test database; Each test execution client is used to obtain the test case of each test object stored in association with the client identifier from the test cases of each test object of the application stored in the test database, and execute the test case of each test object stored in association with the client identifier to perform corresponding application test on the application; When executing the test cases of each test object stored in association with the client identifier, the test execution client is specifically used to: For each test object stored in association with the client identifier, based on the test item to which the test object belongs, determine the test execution module corresponding to the test case of the test object, and assign the test case of the test object to the test execution module for execution; The test control server divides the test cases of each test object of the application based on the test items to which each test object of the application belongs, obtains the test cases included in each test item of the application, and creates test sets for the application based on the test cases included in each test item of the application.

2. The test control system according to claim 1, characterized in that: After associating the test cases of each test object of the application with the client identifier of the test execution client and storing them in the test database, the test control server is further used to: The execution status of the test cases of each test object of the application is respectively configured as pending execution.

3. The test control system according to claim 2, characterized in that: When acquiring the test cases of the test objects of the service interface stored in the test database and stored in association with the client identifier, the test execution client is specifically used to: From the test cases of the various test objects of the application stored in the test database, the test cases of the various test objects stored in association with the client identifier and corresponding to which the execution status is to be executed are obtained.

4. The test control system according to claim 3, characterized in that: When acquiring the test cases of the various test objects of the service interface stored in the test database and stored in association with the client identifier, the test execution client is further used to: The execution status of the test cases of each test object stored in association with the client identifier is configured from pending to being executed.

5. The test control system according to claim 1, characterized in that: After executing the test cases of each test object stored in association with the client identifier, the test execution client is further used to: The execution results of the test cases of the test objects stored in association with the client identifier are stored in the test database, and the execution status of the test cases stored in association with the client identifier is configured from being executed to completed.

6. A test control method, characterized in that: Applied to a test control platform, the test control method includes: Acquire test data respectively input for each test object of the application, wherein each test object of the application is a test object included in each type of application test of the application; Storing the test data of each test object of the application in a test database of a test control server, so that the test control server generates test cases for each test object of the application based on the test data of each test object of the application stored in the test database, and associates the test cases for each test object of the application with the client identifier of the corresponding test execution client and stores them in the test database, triggering the test execution client to obtain and execute the test cases for each test object stored in association with the client identifier from the test database, so as to perform corresponding application tests on the application; When executing the test cases of each test object stored in association with the client identifier, the test execution client is specifically used to: For each test object stored in association with the client identifier, based on the test item to which the test object belongs, determine the test execution module corresponding to the test case of the test object, and assign the test case of the test object to the test execution module for execution; The test control server divides the test cases of each test object of the application based on the test items to which each test object of the application belongs, obtains the test cases included in each test item of the application, and creates test sets for the application based on the test cases included in each test item of the application.

7. A test control method, characterized in that: Applied to a test control server, the test control method includes: Acquire test data of each test object of the application from a test database, wherein each test object of the application is a test object included in each type of application test of the application; Generating test cases for each test object of the application based on the test data of each test object of the application; Determining a test execution client for each test object of the application based on the interface test to which each test object of the application belongs; The test cases of each test object of the application are stored in association with the client identifier of the corresponding test execution client in the test database, and the test execution client is triggered to obtain and execute the test cases of each test object stored in association with the client identifier from the test database, so as to perform the corresponding application test on the application; When executing the test cases of each test object stored in association with the client identifier, the test execution client is specifically used to: For each test object stored in association with the client identifier, based on the test item to which the test object belongs, determine the test execution module corresponding to the test case of the test object, and assign the test case of the test object to the test execution module for execution; The test control server divides the test cases of each test object of the application based on the test items to which each test object of the application belongs, obtains the test cases included in each test item of the application, and creates test sets for the application based on the test cases included in each test item of the application.

8. A test control method, characterized in that: Applied to a test execution client, the test control method includes: Acquire, from the test cases of each test object of the application stored in the test database, the test cases of each test object stored in association with the client identifier, wherein each test object of the application is a test object included in each type of application test of the application; Execute the test cases of each test object stored in association with the client identifier to perform corresponding application tests on the application; When executing the test cases of each test object stored in association with the client identifier, the test execution client is specifically used to: For each test object stored in association with the client identifier, based on the test item to which the test object belongs, determine the test execution module corresponding to the test case of the test object, and assign the test case of the test object to the test execution module for execution; The test control server divides the test cases of each test object of the application based on the test items to which each test object of the application belongs, obtains the test cases included in each test item of the application, and creates test sets for the application based on the test cases included in each test item of the application.

9. A test control device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the test control method as claimed in claim 6 is implemented; or, the test control method as claimed in claim 7 is implemented; or, the test control method as claimed in claim 8 is implemented.

10. A computer program product, characterized in that The computer program product includes a computer program, and when a processor executes the computer program, the processor implements the test control method according to claim 6; or, implements the test control method according to claim 7; or, implements the test control method according to claim 8.