Test methods and equipment

By analyzing the correlation between secondary classification and configuration categories of cloud applications, the combination of configuration items that need to be tested is determined, which solves the problem of low testing efficiency of new configuration items in cloud applications and achieves efficient combination testing.

CN118503140BActive Publication Date: 2024-09-17HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410967191.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-17
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

In cloud applications, testing of new configuration items requires verifying whether they affect existing configuration functions, resulting in inefficient and high-cost manual combination testing.

Method used

By classifying cloud application configuration items into secondary categories and determining the configuration item combinations that need to be tested based on the correlation between configuration categories, this specifically includes conducting combined testing on each basic configuration item of the basic configuration item class, and Categories with strong or weak correlations are tested in combination.

Benefits of technology

It improves testing efficiency, reduces unnecessary combination testing, uses limited combinations of configuration items for effective testing, and reduces labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503140B
    Figure CN118503140B
Patent Text Reader

Abstract

The present application provides a testing method and device, the method comprising: determining a subcategory of a cloud application configuration category to which a newly added configuration item belongs; if the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, then, based on the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, performing a combined test on the newly added configuration item and subcategories of all cloud application configuration categories; when the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, confirming that the test has passed, and adding the newly added configuration item to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs, thereby improving testing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud applications, and in particular to a testing method and device. Background Art

[0002] With the development of audio and video technology and cloud application technology based on WebRTC (Web Real-Time Communications), cloud applications involve more and more related code configuration items. Whether the newly added configuration items will affect the existing configuration functions after being enabled, and thus affect the user experience, is a necessary testing and verification process. Therefore, it is necessary to perform combination tests on the configuration items to find conflicts between configuration items. However, the number of configuration items involved in cloud applications is as high as hundreds. Testing each combination of configuration items through manual permutation and combination will consume huge manpower costs and is inefficient.

[0003] Therefore, how to provide a combined testing solution for cloud application configuration items to improve testing efficiency has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of the technical problems existing in the prior art, the embodiments of the present application provide a testing method and device.

[0005] In a first aspect, an embodiment of the present application provides a testing method, comprising:

[0006] Determine a subcategory of the cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have correlations, the correlations include strong correlations and weak correlations, the subcategory of the cloud application configuration category includes a basic configuration item class, and the basic configuration item class includes at least one basic configuration item;

[0007] If the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, then according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and the subcategories of all cloud application configuration categories. When the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, the test is confirmed to be passed, and the newly added configuration item is added to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs. During the combination test, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category. The cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.

[0008] In a second aspect, an embodiment of the present application further provides a testing device, including:

[0009] a determining unit, configured to determine a subcategory of a cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have correlation relationships, the correlation relationships include strong correlation relationships and weak correlation relationships, the subcategory of the cloud application configuration category includes a basic configuration item category, and the basic configuration item category includes at least one basic configuration item;

[0010] A testing unit, configured to, if the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, perform a combined test on the newly added configuration item and subcategories of all cloud application configuration categories according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories; when the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, confirm that the test is passed, and add the newly added configuration item to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs; wherein, during the combined test, a combined test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combined test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category; the cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.

[0011] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the test method described in the first aspect are executed.

[0012] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the test method described in the first aspect.

[0013] In summary, the test method and device, electronic device and storage medium provided by the embodiments of the present application, on the premise of performing secondary classification of cloud application configuration items and clarifying the correlation between cloud application configuration categories, if it is determined that the subcategory of the cloud application configuration category to which the newly added configuration item belongs is the basic configuration item class, then according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and the subcategories of all cloud application configuration categories. Specifically, during the combination test, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on the newly added configuration item and all basic configuration items of the basic configuration item class of the second cloud application configuration category. Compared with the prior art, the entire scheme determines the configuration item combination that needs to be tested according to the correlation between the cloud application configuration categories, and does not need to test all configuration type combinations, so that limited configuration type combinations can be used for effective testing, thereby improving testing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A flow chart of an embodiment of a testing method provided in an embodiment of the present application;

[0015] Figure 2 A schematic diagram of the structure of an embodiment of a testing device provided in an embodiment of the present application;

[0016] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0018] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0019] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0020] Reference Figure 1 FIG. 1 is a flow chart of a test method provided in an embodiment of the present application, and the test method includes:

[0021] S10. Determine a subcategory of the cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have correlations, the correlations include strong correlations and weak correlations, the subcategory of the cloud application configuration category includes a basic configuration item category, and the basic configuration item category includes at least one basic configuration item;

[0022] In this embodiment, it should be noted that the cloud application configuration category may include experience-related configuration category and basic capability-related configuration category, wherein the experience-related configuration category may include weak network-related configuration, stuttering rate-related configuration and frame rate-related configuration, and the basic capability-related configuration category may include basic capability-related configuration. For weak network-related configuration, the configuration under this category mainly affects the weak network strategy of audio and video data transmission of cloud applications, such as using different forward error correction FEC strategies, bit rate strategies, etc., and will automatically turn on the relevant configuration when the network conditions are not good, ensuring that there will be a good cloud application experience under weak network conditions; for stuttering rate-related configuration, the configuration under this category mainly affects the fluency of cloud applications, by turning on the relevant configuration, when users use cloud applications, the application screen they see in different application scenarios is smooth and not stuttering; for frame rate-related configuration, the configuration under this category mainly affects the encoding frame rate, streaming frame rate of the cloud server and the decoding frame rate of the terminal, so that the rendering display frame rate of the terminal is relatively stable when users use cloud applications. The basic capability-related configuration is mainly used to implement a certain specific function when users use cloud applications, and the specific function may include the necessary functions for users to use cloud applications normally. In other words, as long as the basic capability-related configuration is in place, users can use cloud applications normally. However, if they want to improve the user experience on the basis of normal use of cloud applications (such as reducing the freeze rate and stabilizing the frame rate), they need to enable additional configuration items in the experience-related configuration class. In addition, there is a strong correlation between weak network, freeze and frame rate. Obviously, there is a strong correlation between weak network-related configuration, freeze rate-related configuration and frame rate-related configuration. At the same time, weak network-related configuration, freeze rate-related configuration and frame rate-related configuration are respectively weakly correlated with the basic capability-related configuration.

[0023] In addition, weak network-related configurations, stuttering rate-related configurations, frame rate-related configurations, and basic capability-related configurations all include a subcategory called the basic configuration item class. The basic configuration items included in the basic configuration item class are common configuration items that are applicable to most user models and cloud applications.

[0024] S11. If the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, then based on the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and subcategories of all cloud application configuration categories. When the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, the test is confirmed to be passed, and the newly added configuration item is added to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs. During the combination test, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category. The cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.

[0025] In this embodiment, it should be noted that if the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, then when performing the combined test, it is necessary to determine the cloud application configuration categories that have a strong correlation with the cloud application configuration category to which the newly added configuration item belongs and the cloud application configuration categories that have a weak correlation with the cloud application configuration category to which the newly added configuration item belongs. Afterwards, for each basic configuration item of the basic configuration item class of each cloud application configuration category that has a strong correlation with the cloud application configuration category to which the newly added configuration item belongs, it is necessary to perform a combined test on the basic configuration item and the newly added configuration item; for each cloud application configuration category that has a weak correlation with the cloud application configuration category to which the newly added configuration item belongs, it is necessary to perform a combined test on all basic configuration items of the basic configuration item class of the cloud application configuration category and the newly added configuration items.

[0026] The testing method provided in the embodiment of the present application, on the premise of performing secondary classification on cloud application configuration items and clarifying the correlation between cloud application configuration categories, if it is determined that the subcategory of the cloud application configuration category to which the newly added configuration item belongs is the basic configuration item class, then according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and the subcategories of all cloud application configuration categories. Specifically, in the combination test process, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on the newly added configuration item and all basic configuration items of the basic configuration item class of the second cloud application configuration category. Compared with the prior art, the entire scheme determines the configuration item combination that needs to be tested according to the correlation between the cloud application configuration categories, and does not need to test all configuration type combinations, so that limited configuration type combinations can be used for effective testing, thereby improving testing efficiency.

[0027] Based on the foregoing method embodiment, the combined test of the newly added configuration item and all subcategories of the cloud application configuration category may include:

[0028] A combined test is performed on the newly added configuration item and each specific configuration item of the specific configuration item class of the third cloud application configuration category, wherein a subcategory of the third cloud application configuration category includes the specific configuration item class.

[0029] In this embodiment, it should be noted that a specific configuration item class may include specific configuration items, which are different from basic configuration items and are configurations for specific terminal models or specific cloud applications or specific cloud application scenarios. If a subcategory of a cloud application configuration category includes a specific configuration item class, then since a newly added configuration item belonging to the basic configuration item class may be enabled at the same time as any specific configuration item in the specific configuration item class of the cloud application configuration category, a combination test needs to be performed on the newly added configuration item and each specific configuration item class in the specific configuration item class.

[0030] Based on the aforementioned method embodiment, the cloud application configuration category may include an experience-related configuration class and a basic capability-related configuration class. The newly added configuration item is recorded as configuration item a. The cloud application configuration category to which configuration item a belongs is experience-related configuration class X. The basic configuration item class of experience-related configuration class X is basic configuration item class A.

[0031] The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories may include:

[0032] First round of testing: For each basic configuration item in basic configuration item class A, generate test cases when the basic configuration item, configuration item a, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application;

[0033] Second round of testing: For each specific configuration item in the specific configuration item class of experience-related configuration class X, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of basic capability-related configuration classes are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications;

[0034] Third round of testing: for each basic configuration item in the basic configuration item class of the first cloud application configuration category, generate test cases when the basic configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application;

[0035] Fourth round of testing: for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the first cloud application configuration category that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application;

[0036] The fifth round of testing: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class, a test case is generated when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the first cloud application configuration category that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and the generated test cases are used to perform functional and / or performance testing on the cloud application.

[0037] In this embodiment, it should be noted that each subcategory of the cloud application configuration category includes a basic configuration item class, but does not necessarily include a specific configuration item class, or may include a specific configuration item class, but the specific configuration item class may be empty (i.e., there is no specific configuration item in the specific configuration item class). In this embodiment, the cloud application configuration category includes weak network-related configuration, stuttering rate-related configuration, frame rate-related configuration, and basic capability-related configuration as an example (weak network-related configuration, stuttering rate-related configuration, and frame rate-related configuration are experience-related configuration classes, and basic capability-related configuration is a basic capability-related configuration class) to illustrate the combined testing process of the configuration items. Assuming that it is preliminarily determined that configuration item a belongs to the basic configuration item class A of the weak network-related configuration, the combined testing process includes:

[0038] (1) For each basic configuration item in basic configuration item class A (although it is preliminarily determined that configuration item a belongs to basic configuration item class A, it has not yet passed the test, so in the combined test, basic configuration item class A does not include configuration item a by default), generate test cases when the basic configuration item, configuration item a, and all basic configuration items of the basic configuration item class related to the basic capability configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there are basic configuration items in basic configuration item class A that conflict with configuration item a, this step can be used to determine the basic configuration items in basic configuration item class A that conflict with configuration item a.

[0039] (2) For each specific configuration item in the specific configuration item class of weak network related configuration, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of basic capability related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of weak network related configuration that conflicts with configuration item a, then through this step, the specific configuration item in the specific configuration item class of weak network related configuration that conflicts with configuration item a can be determined. It should be noted that if the specific configuration item class of weak network related configuration is empty, this step is not performed.

[0040] (3) For each basic configuration item in the basic configuration item class of the configuration related to the jam rate, a test case is generated when the basic configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application; if there is a basic configuration item in the basic configuration item class of the configuration related to the jam rate that conflicts with configuration item a, this step can be used to determine the basic configuration item in the basic configuration item class of the configuration related to the jam rate that conflicts with configuration item a.

[0041] (4) For each specific configuration item in the specific configuration item class of the jam rate related configuration, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the jam rate related configuration that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the jam rate related configuration that conflicts with configuration item a, then through this step, the specific configuration item in the specific configuration item class of the jam rate related configuration that conflicts with configuration item a can be determined. It should be noted that if the specific configuration item class of the jam rate related configuration is empty, this step is not performed.

[0042] (5) For each basic configuration item in the basic configuration item class of frame rate-related configuration, generate test cases when the basic configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of stutter rate-related configuration that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of basic capability-related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a basic configuration item in the basic configuration item class of frame rate-related configuration that conflicts with configuration item a, this step can be used to determine the basic configuration item in the basic configuration item class of frame rate-related configuration that conflicts with configuration item a.

[0043] (6) For each specific configuration item in the specific configuration item class of the frame rate related configuration, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the stutter rate related configuration that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the frame rate related configuration that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the frame rate related configuration that conflicts with configuration item a, then through this step, the specific configuration item in the specific configuration item class of the frame rate related configuration that conflicts with configuration item a can be determined. It should be noted that if the specific configuration item class of the frame rate related configuration is empty, this step is not performed.

[0044] (7) For each specific configuration item in the specific configuration item class of basic capability-related configuration, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of stutter rate-related configuration that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of frame rate-related configuration that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of basic capability-related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of basic capability-related configuration that conflicts with configuration item a, this step can be used to determine the specific configuration item in the specific configuration item class of basic capability-related configuration that conflicts with configuration item a. It should be noted that if the specific configuration item class of basic capability-related configuration is empty, this step is not performed.

[0045] It should be noted that the combined test order of the configuration items of the stuttering rate related configuration and the frame rate related configuration in this embodiment can be exchanged. Through the combined test of this embodiment, it can be found that the configuration item a conflicts with the basic configuration item of the basic configuration item class of the cloud application configuration category to which it belongs, with the specific configuration item of the specific configuration item class of the cloud application configuration category to which it belongs, with the basic configuration item of the basic configuration item class of the first cloud application configuration category, and with the specific configuration item of the specific configuration item class of the first cloud application configuration category. It should be noted that there is a conflict between configuration items, which means that when the configuration items are turned on at the same time, the user cannot use the cloud application normally or the user's experience of using the cloud application is seriously reduced (such as a sharp increase in the stuttering rate, etc.).

[0046] Based on the aforementioned method embodiment, the cloud application configuration category may include an experience-related configuration class and a basic capability-related configuration class. The newly added configuration item is recorded as configuration item b. The cloud application configuration category to which configuration item b belongs is the basic capability-related configuration class Y. The basic configuration item class of the basic capability-related configuration class Y is the basic configuration item class B.

[0047] The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories may include:

[0048] Round 1: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class Y, generate test cases when the specific configuration item, configuration item b, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class Y are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application;

[0049] Second round: Generate test cases when configuration item b, all basic configuration items of the basic configuration item class of the basic capability-related configuration class Y, and all basic configuration items of the basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application;

[0050] Round 3: If there is no conflict between configuration item b and the basic configuration items of the basic configuration item class of the first cloud application configuration category, then for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item b, all basic configuration items of the basic configuration item class of the basic capability-related configuration class Y, and all basic configuration items of the basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application.

[0051] In this embodiment, the combined test process of configuration items is still described by taking the cloud application configuration categories including weak network related configuration, jamming rate related configuration, frame rate related configuration and basic capability related configuration as an example. Assuming that it is preliminarily determined that configuration item b belongs to basic configuration item class B of basic capability related configuration (i.e. basic capability related configuration class Y), the combined test process includes:

[0052] (1) For each specific configuration item in the specific configuration item class of the basic capability-related configuration, generate a test case when the specific configuration item, configuration item b, and all basic configuration items of the basic configuration item class B are enabled, and use the generated test case to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the basic capability-related configuration that conflicts with configuration item b, this step can be used to determine the specific configuration item in the specific configuration item class of the basic capability-related configuration that conflicts with configuration item b. It should be noted that if the specific configuration item class of the basic capability-related configuration is empty, this step is not performed. Since configuration item b may be enabled at the same time as the specific configuration item in the specific configuration item class of the basic capability-related configuration, it is necessary to perform a combined test on configuration item b and each specific configuration item in the specific configuration item class of the basic capability-related configuration.

[0053] (2) Generate test cases when configuration item b, all basic configuration items of basic configuration item class B, and all basic configuration items of basic configuration item class of weak network related configuration are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications; if the basic configuration items of the basic configuration item class of weak network related configuration conflict with configuration item b, this step can be used to determine the conflict. It should be noted that since there is a weak correlation between basic capability related configuration and weak network related configuration, the combination test in this step only performs a combination test on configuration item b and the basic configuration item class of weak network related configuration as a whole, and does not require a combination test on each basic configuration item in configuration item b and the basic configuration item class of weak network related configuration.

[0054] (3) According to the combined test results of the previous step, if configuration item b does not conflict with the basic configuration items of the basic configuration item class of the weak network related configuration, then for each specific configuration item in the specific configuration item class of the weak network related configuration, a test case is generated when the specific configuration item, configuration item b, all basic configuration items of the basic configuration item class B, and all basic configuration items of the basic configuration item class of the weak network related configuration are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the weak network related configuration that conflicts with configuration item b, then through this step, the specific configuration item in the specific configuration item class of the weak network related configuration that conflicts with configuration item b can be determined. It should be noted that if the specific configuration item class of the weak network related configuration is empty, this step is not performed. If configuration item b conflicts with the basic configuration item of the basic configuration item class of the weak network related configuration, this step is not performed. Since configuration item b may be enabled at the same time as a specific configuration item in the specific configuration item class of the weak network related configuration, it is necessary to perform a combined test on configuration item b and each specific configuration item in the specific configuration item class of the weak network related configuration.

[0055] (4) When configuration item b, all basic configuration items of basic configuration item class B, and all basic configuration items of basic configuration item class of jam rate-related configuration are enabled (if configuration item b does not conflict with basic configuration items of basic configuration item class of weak network-related configuration, all basic configuration items of basic configuration item class of weak network-related configuration also need to be enabled; and if configuration item b conflicts with basic configuration items of basic configuration item class of weak network-related configuration, all basic configuration items of basic configuration item class of weak network-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on cloud applications; if basic configuration items of basic configuration item class of jam rate-related configuration conflict with configuration item b, this step can determine the conflict. It should be noted that since there is a weak correlation between basic capability-related configuration and jam rate-related configuration, the combined test in this step only performs a combined test on configuration item b and basic configuration item class of jam rate-related configuration as a whole, and does not require a combined test on configuration item b and each basic configuration item in basic configuration item class of jam rate-related configuration.

[0056] (5) Based on the combined test results of the previous step, if configuration item b does not conflict with the basic configuration items of the basic configuration item class of the jam rate-related configuration, then for each specific configuration item in the specific configuration item class of the jam rate-related configuration, when the specific configuration item, configuration item b, all basic configuration items of the basic configuration item class B, and all basic configuration items of the basic configuration item class of the jam rate-related configuration are enabled (if configuration item b does not conflict with the basic configuration items of the basic configuration item class of the weak network-related configuration, then all basic configuration items of the basic configuration item class of the weak network-related configuration also need to be enabled; and if configuration item b conflicts with the basic configuration items of the basic configuration item class of the weak network-related configuration, then all basic configuration items of the basic configuration item class of the weak network-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the jam rate-related configuration that conflicts with configuration item b, then through this step, the specific configuration item in the specific configuration item class of the jam rate-related configuration that conflicts with configuration item b can be determined. It should be noted that if the specific configuration item class of the jam rate related configuration is empty, this step will not be executed. If configuration item b conflicts with the basic configuration item of the basic configuration item class of the jam rate related configuration, this step will not be executed. Since configuration item b may be enabled at the same time as the specific configuration item in the specific configuration item class of the jam rate related configuration, it is necessary to perform a combined test on configuration item b and each specific configuration item in the specific configuration item class of the jam rate related configuration.

[0057] (6) When configuration item b, all basic configuration items of basic configuration item class B, and all basic configuration items of basic configuration item class of frame rate related configuration are enabled (if configuration item b does not conflict with basic configuration items of basic configuration item class of weak network / stuttering rate related configuration, all basic configuration items of basic configuration item class of weak network / stuttering rate related configuration also need to be enabled; and if configuration item b conflicts with basic configuration items of basic configuration item class of weak network / stuttering rate related configuration, all basic configuration items of basic configuration item class of weak network / stuttering rate related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on cloud applications; if basic configuration items of basic configuration item class of frame rate related configuration conflict with configuration item b, this step can determine the conflict. It should be noted that since there is a weak correlation between basic capability related configuration and frame rate related configuration, the combination test in this step only performs a combination test on configuration item b and basic configuration item class of frame rate related configuration as a whole, and does not need to perform a combination test on configuration item b and each basic configuration item in basic configuration item class of frame rate related configuration.

[0058] (7) Based on the combined test results of the previous step, if configuration item b does not conflict with the basic configuration items of the basic configuration item class of the frame rate-related configuration, then for each specific configuration item in the specific configuration item class of the frame rate-related configuration, when the specific configuration item, configuration item b, all basic configuration items of the basic configuration item class B, and all basic configuration items of the basic configuration item class of the frame rate-related configuration are enabled (if configuration item b does not conflict with the basic configuration items of the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items of the basic configuration item class of the weak network / stuttering rate-related configuration also need to be enabled; and if configuration item b conflicts with the basic configuration items of the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items of the basic configuration item class of the weak network / stuttering rate-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance testing on the cloud application; if there is a specific configuration item in the specific configuration item class of the frame rate-related configuration that conflicts with configuration item b, then through this step, the specific configuration item in the specific configuration item class of the frame rate-related configuration that conflicts with configuration item b can be determined. It should be noted that if the specific configuration item class of the frame rate related configuration is empty, this step is not performed. If configuration item b conflicts with the basic configuration item of the basic configuration item class of the frame rate related configuration, this step is not performed. Since configuration item b may be enabled at the same time as the specific configuration item in the specific configuration item class of the frame rate related configuration, it is necessary to perform a combined test on configuration item b and each specific configuration item in the specific configuration item class of the frame rate related configuration.

[0059] It should be noted that the combined test order of the configuration items of the weak network related configuration, the jamming rate related configuration and the frame rate related configuration in this embodiment can be exchanged. Through the combined test of this embodiment, it can be found that the configuration item a conflicts with the specific configuration item of the specific configuration item class of the cloud application configuration category to which it belongs, with the basic configuration item of the basic configuration item class of the first cloud application configuration category, and with the specific configuration item of the specific configuration item class of the first cloud application configuration category.

[0060] Based on the above method embodiment, the subcategory of the cloud application configuration category may further include a specific configuration item class. The method may further include:

[0061] If the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a specific configuration item class, a combination test is performed on the newly added configuration item and all subcategories of the cloud application configuration category, and after the test passes, the newly added configuration item is added to the specific configuration item class of the cloud application configuration category to which the newly added configuration item belongs, wherein, during the combination test, a combination test is performed on the newly added configuration item and all basic configuration items of the basic configuration item class of the first cloud application configuration category.

[0062] In the present embodiment, it should be noted that since the basic configuration items are configuration items that are enabled for a long time and the combination of the basic configuration items has been verified to have no problems, if a specific configuration item conflicts with a basic configuration item, it is most likely that the specific configuration item needs to be modified. Therefore, in the present embodiment, it is only necessary to perform a combined test on all basic configuration items of the newly added configuration items and the basic configuration item class of the first cloud application configuration category, and it is not necessary to perform a combined test on each basic configuration item of the newly added configuration items and the basic configuration item class of the first cloud application configuration category.

[0063] Based on the foregoing method embodiment, the combined testing of the newly added configuration item and subcategories of all cloud application configuration categories may include:

[0064] When the combined test of the newly added configuration item and all basic configuration items of the basic configuration item class of the first cloud application configuration category passes, for each specific configuration item in the specific configuration item class of the first cloud application configuration category, a combined test is performed on the specific configuration item, the newly added configuration item, and all basic configuration items of the basic configuration item class of the first cloud application configuration category.

[0065] In this embodiment, it should be noted that since the newly added configuration item may be enabled at the same time as each specific configuration item in the specific configuration item class of the first cloud application configuration category, when the combined test of the newly added configuration item and all the basic configuration items of the basic configuration item class of the first cloud application configuration category passes, it is necessary to perform a combined test on the newly added configuration item and each specific configuration item in the specific configuration item class of the first cloud application configuration category.

[0066] Based on the aforementioned method embodiment, the cloud application configuration category may include an experience-related configuration class and a basic capability-related configuration class. The newly added configuration item is recorded as configuration item c. The cloud application configuration category to which configuration item c belongs is experience-related configuration class Z. The basic configuration item class of experience-related configuration class Z is basic configuration item class D.

[0067] The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories may include:

[0068] First round of testing: Generate test cases when configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of basic configuration item classes related to basic capability are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications;

[0069] Second round of testing: if configuration item c does not conflict with the basic configuration items of basic configuration item class D, then for each specific configuration item in the specific configuration item class of experience-related configuration class Z, a test case is generated when the specific configuration item, configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of basic configuration item classes of basic capability-related configuration classes are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application; or if configuration item c conflicts with the basic configuration items of basic configuration item class D, a test case is generated when configuration item c, all basic configuration items of the basic configuration item class of the first cloud application configuration category, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application;

[0070] The third round of testing: if configuration item c does not conflict with the basic configuration items of basic configuration item class D, then generate test cases when configuration item c, all basic configuration items of basic configuration item class D, all basic configuration items of basic configuration item class of the first cloud application configuration category, and all basic configuration items of basic configuration item class of basic capability-related configuration class are all enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; or if configuration item c conflicts with the basic configuration items of basic configuration item class D, and configuration item c does not conflict with the basic configuration items of the basic configuration item class of the first cloud application configuration category, then for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item c, all basic configuration items of the basic configuration item class of the first cloud application configuration category, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are all enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application;

[0071] Fourth round of testing: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class, generate test cases when the specific configuration item, configuration item c, and all basic configuration items of all basic configuration item classes that contain basic configuration items that do not conflict with configuration item c are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application.

[0072] In this embodiment, the combined test process of configuration items is still described by taking the cloud application configuration categories including weak network related configuration, freeze rate related configuration, frame rate related configuration and basic capability related configuration as an example. Assuming that it is preliminarily determined that configuration item c belongs to a specific configuration item class of weak network related configuration (i.e., experience related configuration class Z), the combined test process includes:

[0073] (1) Generate test cases when configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of basic configuration item classes of basic capability-related configurations are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications; through this step, the overall conflict situation of basic configuration items in configuration item c and basic configuration item classes of weak network-related configurations can be determined.

[0074] (2) According to the test results of the previous step, if configuration item c does not conflict with the basic configuration items of basic configuration item class D, then for each specific configuration item in the specific configuration item class of weak network related configuration, generate a test case when the specific configuration item, configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of the basic configuration item class of basic capability related configuration are enabled, and use the generated test case to perform functional and / or performance testing on the cloud application. Through this step, the conflict between configuration item c and each specific configuration item in the specific configuration item class of weak network related configuration can be determined. It should be noted that if configuration item c conflicts with the basic configuration item of basic configuration item class D, this step will not be performed.

[0075] (3) When configuration item c, all basic configuration items of the basic configuration item class of the jam rate-related configuration, and all basic configuration items of the basic configuration item class of the basic capability-related configuration are enabled (if configuration item c does not conflict with the basic configuration items of the basic configuration item class of the weak network-related configuration, all basic configuration items of the basic configuration item class of the weak network-related configuration also need to be enabled; and if configuration item c conflicts with the basic configuration items of the basic configuration item class of the weak network-related configuration, all basic configuration items of the basic configuration item class of the weak network-related configuration cannot be enabled), generate test cases and use the generated test cases to perform functional and / or performance testing on the cloud application; through this step, the overall conflict situation between configuration item c and the basic configuration items in the basic configuration item class of the jam rate-related configuration can be determined.

[0076] (4) According to the test results of the previous step, if configuration item c does not conflict with the basic configuration items in the basic configuration item class of the jam rate-related configuration, then for each specific configuration item in the specific configuration item class of the jam rate-related configuration, when the specific configuration item, configuration item c, all basic configuration items in the basic configuration item class of the jam rate-related configuration, and all basic configuration items in the basic configuration item class of the basic capability-related configuration are enabled (if configuration item c does not conflict with the basic configuration items in the basic configuration item class of the weak network-related configuration, then all basic configuration items in the basic configuration item class of the weak network-related configuration also need to be enabled; and if configuration item c conflicts with the basic configuration items in the basic configuration item class of the weak network-related configuration, then all basic configuration items in the basic configuration item class of the weak network-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on the cloud application. Through this step, the conflict between configuration item c and each specific configuration item in the specific configuration item class of the jam rate-related configuration can be determined. It should be noted that if configuration item c conflicts with the basic configuration items in the basic configuration item class of the jam rate-related configuration, this step is not performed.

[0077] (5) When configuration item c, all basic configuration items of the basic configuration item class of frame rate-related configuration, and all basic configuration items of the basic configuration item class of basic capability-related configuration are enabled (if configuration item c does not conflict with the basic configuration items of the basic configuration item class of weak network / stuttering rate-related configuration, all basic configuration items of the basic configuration item class of weak network / stuttering rate-related configuration also need to be enabled; and if configuration item c conflicts with the basic configuration items of the basic configuration item class of weak network / stuttering rate-related configuration, all basic configuration items of the basic configuration item class of weak network / stuttering rate-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on the cloud application; through this step, the overall conflict situation of configuration item c and the basic configuration items in the basic configuration item class of frame rate-related configuration can be determined.

[0078] (6) According to the test results of the previous step, if configuration item c does not conflict with the basic configuration items in the basic configuration item class of the frame rate-related configuration, then for each specific configuration item in the specific configuration item class of the frame rate-related configuration, when the specific configuration item, configuration item c, all basic configuration items in the basic configuration item class of the frame rate-related configuration, and all basic configuration items in the basic configuration item class of the basic capability-related configuration are enabled (if configuration item c does not conflict with the basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration also need to be enabled; and if configuration item c conflicts with the basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on the cloud application. Through this step, the conflict between configuration item c and each specific configuration item in the specific configuration item class of the frame rate-related configuration can be determined. It should be noted that if configuration item c conflicts with a basic configuration item in the basic configuration item class of the frame rate-related configuration, this step is not performed.

[0079] (7) For each specific configuration item in the specific configuration item class of the basic capability-related configuration, when the specific configuration item, configuration item c, and all basic configuration items of the basic configuration item class of the basic capability-related configuration are enabled (if there is no conflict between configuration item c and the basic configuration items of the basic configuration item class of the weak network / stuttering rate / frame rate-related configuration, then all basic configuration items of the basic configuration item class of the weak network / stuttering rate / frame rate-related configuration also need to be enabled; and if there is a conflict between configuration item c and the basic configuration items of the basic configuration item class of the weak network / stuttering rate / frame rate-related configuration, then all basic configuration items of the basic configuration item class of the weak network / stuttering rate / frame rate-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance testing on the cloud application; through this step, the conflict between configuration item c and each specific configuration item in the specific configuration item class of the basic capability-related configuration can be determined.

[0080] It should be noted that the combined test order of the configuration items of the weak network related configuration, the stuttering rate related configuration and the frame rate related configuration in this embodiment can be exchanged. Through the combined test of this embodiment, it can be found that the configuration item c conflicts with the basic configuration item of the basic configuration item class of the cloud application configuration category to which it belongs, with the specific configuration item of the specific configuration item class of the cloud application configuration category to which it belongs, with the basic configuration item of the basic configuration item class of the first cloud application configuration category, with the specific configuration item of the specific configuration item class of the first cloud application configuration category, and with the specific configuration item of the specific configuration item class of the basic capability related configuration class.

[0081] Based on the aforementioned method embodiment, the cloud application configuration category may include an experience-related configuration class and a basic capability-related configuration class. The newly added configuration item is recorded as configuration item d. The cloud application configuration category to which configuration item d belongs is the basic capability-related configuration class P. The basic configuration item class of the basic capability-related configuration class P is the basic configuration item class E.

[0082] The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories may include:

[0083] Round 1: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class P, generate test cases when the specific configuration item, configuration item d, and all basic configuration items of the basic configuration item class E are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application;

[0084] Second round: Generate test cases when configuration item d, all basic configuration items of basic configuration item class E, and all basic configuration items of basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application;

[0085] Round 3: If configuration item d does not conflict with the basic configuration items of the basic configuration item class of the first cloud application configuration category, then for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item d, all basic configuration items of the basic configuration item class E, and all basic configuration items of the basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application.

[0086] In this embodiment, the combined test process of configuration items is still described by taking the cloud application configuration categories including weak network related configuration, jamming rate related configuration, frame rate related configuration and basic capability related configuration as an example. Assuming that it is preliminarily determined that configuration item d belongs to a specific configuration item class of basic capability related configuration (i.e. basic capability related configuration class P), the combined test process includes:

[0087] (1) For each specific configuration item in the specific configuration item class of basic capability-related configuration, generate a test case when the specific configuration item, configuration item d, and all basic configuration items of basic configuration item class E are enabled, and use the generated test case to perform functional and / or performance testing on the cloud application; through this step, the conflict between configuration item d and each specific configuration item in the specific configuration item class of basic capability-related configuration can be determined. If the specific configuration item class of basic capability-related configuration is empty, this step is not executed.

[0088] (2) Generate test cases when configuration item d, all basic configuration items of basic configuration item class E, and all basic configuration items of basic configuration item class of weak network related configuration are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; through this step, the overall conflict situation of configuration item d and the basic configuration items in the basic configuration item class of weak network related configuration can be determined.

[0089] (3) According to the test results of the previous step, if configuration item d does not conflict with the basic configuration items in the basic configuration item class of the weak network related configuration, then for each specific configuration item in the specific configuration item class of the weak network related configuration, a test case is generated when the specific configuration item, configuration item d, all basic configuration items in the basic configuration item class of the weak network related configuration, and all basic configuration items in the basic configuration item class E are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application. Through this step, the conflict between configuration item d and each specific configuration item in the specific configuration item class of the weak network related configuration can be determined. It should be noted that if configuration item d conflicts with the basic configuration items in the basic configuration item class of the weak network related configuration, this step is not executed. If the specific configuration item class of the weak network related configuration is empty, this step is not executed.

[0090] (4) When configuration item d, all basic configuration items of basic configuration item class E, and all basic configuration items of basic configuration item class of jamming rate-related configuration are enabled (if configuration item d does not conflict with basic configuration items of basic configuration item class of weak network-related configuration, all basic configuration items of basic configuration item class of weak network-related configuration also need to be enabled; and if configuration item d conflicts with basic configuration items of basic configuration item class of weak network-related configuration, all basic configuration items of basic configuration item class of weak network-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance testing on the cloud application; through this step, the overall conflict situation between configuration item d and basic configuration items in basic configuration item class of jamming rate-related configuration can be determined.

[0091] (5) According to the test results of the previous step, if configuration item d does not conflict with the basic configuration items in the basic configuration item class of the configuration related to the jam rate, then for each specific configuration item in the specific configuration item class of the configuration related to the jam rate, when the specific configuration item, configuration item d, all basic configuration items in the basic configuration item class of the configuration related to the jam rate, and all basic configuration items in the basic configuration item class E are enabled (if configuration item d does not conflict with the basic configuration items in the basic configuration item class of the configuration related to the weak network, all basic configuration items in the basic configuration item class of the configuration related to the weak network also need to be enabled; and if configuration item d conflicts with the basic configuration items in the basic configuration item class of the configuration related to the weak network, all basic configuration items in the basic configuration item class of the configuration related to the weak network cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on the cloud application. Through this step, the conflict between configuration item d and each specific configuration item in the specific configuration item class of the configuration related to the jam rate can be determined. It should be noted that if configuration item d conflicts with the basic configuration items in the basic configuration item class of the configuration related to the jam rate, this step is not performed. If the specific configuration item class of the jam rate related configuration is empty, this step will not be executed.

[0092] (6) When configuration item d, all basic configuration items of basic configuration item class E, and all basic configuration items of basic configuration item class related to frame rate configuration are enabled (if configuration item d does not conflict with basic configuration items of basic configuration item class related to weak network / stuttering rate configuration, all basic configuration items of basic configuration item class related to weak network / stuttering rate configuration also need to be enabled; and if configuration item d conflicts with basic configuration items of basic configuration item class related to weak network / stuttering rate configuration, all basic configuration items of basic configuration item class related to weak network / stuttering rate configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance testing on the cloud application; through this step, the overall conflict situation between configuration item d and basic configuration items in basic configuration item class related to frame rate configuration can be determined.

[0093] (7) According to the test results of the previous step, if configuration item d does not conflict with the basic configuration items in the basic configuration item class of the frame rate-related configuration, then for each specific configuration item in the specific configuration item class of the frame rate-related configuration, when the specific configuration item, configuration item d, all basic configuration items in the basic configuration item class of the frame rate-related configuration, and all basic configuration items in the basic configuration item class E are enabled (if configuration item d does not conflict with the basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration also need to be enabled; and if configuration item d conflicts with the basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration, then all basic configuration items in the basic configuration item class of the weak network / stuttering rate-related configuration cannot be enabled), generate test cases, and use the generated test cases to perform functional and / or performance tests on the cloud application. Through this step, the conflict between configuration item d and each specific configuration item in the specific configuration item class of the frame rate-related configuration can be determined. It should be noted that if the configuration item d conflicts with the basic configuration item in the basic configuration item class of the frame rate related configuration, this step is not performed. If the specific configuration item class of the frame rate related configuration is empty, this step is not performed either.

[0094] It should be noted that the combined test order of the configuration items of the weak network related configuration, the jamming rate related configuration and the frame rate related configuration in this embodiment can be exchanged. Through the combined test of this embodiment, it can be found that the configuration item d conflicts with the specific configuration item of the specific configuration item class of the cloud application configuration category to which it belongs, with the basic configuration item of the basic configuration item class of the first cloud application configuration category, and with the specific configuration item of the specific configuration item class of the first cloud application configuration category.

[0095] Based on the foregoing method embodiment, the method may further include:

[0096] Testing multiple types of cloud applications using basic configuration items in the basic configuration item class of each cloud application configuration category, and obtaining optimal configuration templates for the multiple types of cloud applications according to the test results, wherein the optimal configuration template includes optimal configuration strategies for all basic configuration items;

[0097] The target cloud application is configured using the optimal configuration template corresponding to the category to which the target cloud application belongs.

[0098] In this embodiment, it should be noted that the category / subcategory division can be performed based on the degree of change of the cloud application screen, the intensity of the user's operation, the degree of change of the rendering frame rate of the cloud application, etc. When the target cloud application needs to be configured, the target cloud application can be configured using the optimal configuration template of the cloud application category to which the target cloud application belongs. The optimal configuration template includes the optimal configuration strategy for all basic configuration items, such as the optimal value of the configuration parameters involved in each basic configuration item.

[0099] Reference Figure 2 FIG. 1 is a schematic diagram of a test device provided in an embodiment of the present application, the device comprising:

[0100] The determining unit 20 is used to determine a subcategory of the cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have a correlation relationship, the correlation relationship includes a strong correlation relationship and a weak correlation relationship, the subcategory of the cloud application configuration category includes a basic configuration item class, and the basic configuration item class includes at least one basic configuration item;

[0101] The testing unit 21 is configured to perform a combined test on the newly added configuration item and subcategories of all cloud application configuration categories according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories if the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class; when the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, confirm that the test is passed, and add the newly added configuration item to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs; wherein, during the combined test, a combined test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combined test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category; the cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.

[0102] The testing device provided in the embodiment of the present application, on the premise of performing secondary classification on cloud application configuration items and clarifying the correlation between cloud application configuration categories, if it is determined that the subcategory of the cloud application configuration category to which the newly added configuration item belongs is the basic configuration item class, then according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and the subcategories of all cloud application configuration categories. Specifically, in the combination test process, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on the newly added configuration item and all basic configuration items of the basic configuration item class of the second cloud application configuration category. Compared with the prior art, the entire scheme determines the configuration item combination that needs to be tested according to the correlation between the cloud application configuration categories, and does not need to test all configuration type combinations, so that limited configuration type combinations can be used for effective testing, thereby improving testing efficiency.

[0103] The testing device provided in the embodiment of the present application has an implementation process that is consistent with the testing method provided in the embodiment of the present application, and the effect that can be achieved is also the same as the testing method provided in the embodiment of the present application, which will not be repeated here.

[0104] like Figure 3 As shown, an electronic device provided by an embodiment of the present application includes: a processor 30, a memory 31 and a bus 32, wherein the memory 31 stores machine-readable instructions executable by the processor 30, and when the electronic device is running, the processor 30 communicates with the memory 31 through the bus 32, and the processor 30 executes the machine-readable instructions to perform the steps of the above-mentioned test method.

[0105] Specifically, the above-mentioned memory 31 and processor 30 can be general-purpose memories and processors, which are not specifically limited here. When the processor 30 runs the computer program stored in the memory 31, the above-mentioned test method can be executed.

[0106] Corresponding to the above-mentioned test method, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned test method are executed.

[0107] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A testing method, It is characterized in that include: Determine a subcategory of the cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have correlations, the correlations include strong correlations and weak correlations, the subcategory of the cloud application configuration category includes a basic configuration item class, and the basic configuration item class includes at least one basic configuration item; If the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class, then according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories, a combination test is performed on the newly added configuration item and the subcategories of all cloud application configuration categories. When the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, the test is confirmed to be passed, and the newly added configuration item is added to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs. During the combination test, a combination test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combination test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category as a whole. The cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.

2. The method according to claim 1, It is characterized in that The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: A combined test is performed on the newly added configuration items and each specific configuration item of the specific configuration item class of the third cloud application configuration category, wherein the subcategory of the third cloud application configuration category includes the specific configuration item class, the specific configuration item class includes the specific configuration items, and the specific configuration items are different from the basic configuration items, which are configurations for specific terminal models or specific cloud applications or specific cloud application scenarios.

3. The method according to claim 1 or 2, It is characterized in that The cloud application configuration category includes experience-related configuration categories and basic capability-related configuration categories. The newly added configuration item is denoted as configuration item a. The cloud application configuration category to which configuration item a belongs is experience-related configuration category X. The basic configuration item class of experience-related configuration category X is basic configuration item class A. The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: First round of testing: For each basic configuration item in basic configuration item class A, generate test cases when the basic configuration item, configuration item a, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application; Second round of testing: For each specific configuration item in the specific configuration item class of experience-related configuration class X, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of basic capability-related configuration classes are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications; Third round of testing: for each basic configuration item in the basic configuration item class of the first cloud application configuration category, generate test cases when the basic configuration item, configuration item a, all basic configuration items in the basic configuration item class A that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; Fourth round of testing: for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the first cloud application configuration category that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; The fifth round of testing: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class, a test case is generated when the specific configuration item, configuration item a, all basic configuration items in the basic configuration items of the basic configuration item class A that do not conflict with configuration item a, all basic configuration items in the basic configuration item class of the first cloud application configuration category that do not conflict with configuration item a, and all basic configuration items in the basic configuration item class of the basic capability-related configuration class are enabled, and the generated test cases are used to perform functional and / or performance testing on the cloud application.

4. The method according to claim 1 or 2, It is characterized in that The cloud application configuration category includes experience-related configuration categories and basic capability-related configuration categories. The newly added configuration item is recorded as configuration item b. The cloud application configuration category to which configuration item b belongs is basic capability-related configuration class Y. The basic configuration item class of basic capability-related configuration class Y is basic configuration item class B. The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: Round 1: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class Y, generate test cases when the specific configuration item, configuration item b, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class Y are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application; Second round: Generate test cases when configuration item b, all basic configuration items of the basic configuration item class of basic capability-related configuration class Y, and all basic configuration items of the basic configuration item class of the second cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application; Round 3: If there is no conflict between configuration item b and the basic configuration items of the basic configuration item class of the second cloud application configuration category, then for each specific configuration item in the specific configuration item class of the second cloud application configuration category, a test case is generated when the specific configuration item, configuration item b, all basic configuration items of the basic configuration item class of the basic capability-related configuration class Y, and all basic configuration items of the basic configuration item class of the second cloud application configuration category are enabled, and the generated test cases are used to perform functional and / or performance testing on the cloud application.

5. The method according to claim 1, It is characterized in that The subcategories of the cloud application configuration category also include specific configuration item categories. The method further includes: If the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a specific configuration item class, a combination test is performed on the newly added configuration item and all subcategories of the cloud application configuration category, and after the test passes, the newly added configuration item is added to the specific configuration item class of the cloud application configuration category to which the newly added configuration item belongs. During the combination test, a combination test is performed on the newly added configuration item and all basic configuration items of the basic configuration item class of the first cloud application configuration category. The specific configuration item class includes specific configuration items, which are different from basic configuration items and are configurations for specific terminal models or specific cloud applications or specific cloud application scenarios.

6. The method according to claim 5, It is characterized in that The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: When the combined test of the newly added configuration item and all basic configuration items of the basic configuration item class of the first cloud application configuration category passes, for each specific configuration item in the specific configuration item class of the first cloud application configuration category, a combined test is performed on the specific configuration item, the newly added configuration item, and all basic configuration items of the basic configuration item class of the first cloud application configuration category.

7. The method according to claim 5 or 6, It is characterized in that The cloud application configuration category includes experience-related configuration categories and basic capability-related configuration categories. The newly added configuration item is recorded as configuration item c. The cloud application configuration category to which configuration item c belongs is experience-related configuration class Z. The basic configuration item class of experience-related configuration class Z is basic configuration item class D. The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: First round of testing: Generate test cases when configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of basic configuration item classes related to basic capability are enabled, and use the generated test cases to perform functional and / or performance tests on cloud applications; Second round of testing: if configuration item c does not conflict with the basic configuration items of basic configuration item class D, then for each specific configuration item in the specific configuration item class of experience-related configuration class Z, a test case is generated when the specific configuration item, configuration item c, all basic configuration items of basic configuration item class D, and all basic configuration items of basic configuration item classes of basic capability-related configuration classes are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application; or if configuration item c conflicts with the basic configuration items of basic configuration item class D, a test case is generated when configuration item c, all basic configuration items of the basic configuration item class of the first cloud application configuration category, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are enabled, and the generated test case is used to perform functional and / or performance testing on the cloud application; The third round of testing: if configuration item c does not conflict with the basic configuration items of basic configuration item class D, then generate test cases when configuration item c, all basic configuration items of basic configuration item class D, all basic configuration items of basic configuration item class of the first cloud application configuration category, and all basic configuration items of basic configuration item class of basic capability-related configuration class are all enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; or if configuration item c conflicts with the basic configuration items of basic configuration item class D, and configuration item c does not conflict with the basic configuration items of the basic configuration item class of the first cloud application configuration category, then for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item c, all basic configuration items of the basic configuration item class of the first cloud application configuration category, and all basic configuration items of the basic configuration item class of the basic capability-related configuration class are all enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application; Fourth round of testing: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class, generate test cases when the specific configuration item, configuration item c, and all basic configuration items of all basic configuration item classes that contain basic configuration items that do not conflict with configuration item c are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application.

8. The method according to claim 5 or 6, It is characterized in that The cloud application configuration category includes experience-related configuration categories and basic capability-related configuration categories. The newly added configuration item is recorded as configuration item d. The cloud application configuration category to which configuration item d belongs is the basic capability-related configuration class P. The basic configuration item class of the basic capability-related configuration class P is the basic configuration item class E. The combined testing of the newly added configuration items and subcategories of all cloud application configuration categories includes: Round 1: For each specific configuration item in the specific configuration item class of the basic capability-related configuration class P, generate test cases when the specific configuration item, configuration item d, and all basic configuration items of the basic configuration item class E are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application; Second round: Generate test cases when configuration item d, all basic configuration items of basic configuration item class E, and all basic configuration items of basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance tests on the cloud application; Round 3: If configuration item d does not conflict with the basic configuration items of the basic configuration item class of the first cloud application configuration category, then for each specific configuration item in the specific configuration item class of the first cloud application configuration category, generate test cases when the specific configuration item, configuration item d, all basic configuration items of the basic configuration item class E, and all basic configuration items of the basic configuration item class of the first cloud application configuration category are enabled, and use the generated test cases to perform functional and / or performance testing on the cloud application.

9. The method according to claim 1, It is characterized in that Also includes: Testing multiple types of cloud applications using basic configuration items in the basic configuration item class of each cloud application configuration category, and obtaining optimal configuration templates for the multiple types of cloud applications according to the test results, wherein the optimal configuration template includes optimal configuration strategies for all basic configuration items; The target cloud application is configured using the optimal configuration template corresponding to the category to which the target cloud application belongs.

10. A testing device, It is characterized in that include: a determining unit, configured to determine a subcategory of a cloud application configuration category to which the newly added configuration item belongs, wherein the cloud application configuration categories have correlation relationships, the correlation relationships include strong correlation relationships and weak correlation relationships, the subcategory of the cloud application configuration category includes a basic configuration item category, and the basic configuration item category includes at least one basic configuration item; The testing unit is configured to perform a combined test on the newly added configuration item and subcategories of all cloud application configuration categories according to the correlation between the cloud application configuration category to which the newly added configuration item belongs and other cloud application configuration categories if the subcategory of the cloud application configuration category to which the newly added configuration item belongs is a basic configuration item class; when the test result indicates that the newly added configuration item does not conflict with configuration items of all subcategories of all cloud application configuration categories, confirm that the test is passed, and add the newly added configuration item to the basic configuration item class of the cloud application configuration category to which the newly added configuration item belongs; wherein, during the combined test, a combined test is performed on the newly added configuration item and each basic configuration item of the basic configuration item class of the first cloud application configuration category, and a combined test is performed on all basic configuration items of the basic configuration item class of the second cloud application configuration category as a whole; the cloud application configuration category to which the newly added configuration item belongs has a strong correlation with the first cloud application configuration category, and the cloud application configuration category to which the newly added configuration item belongs has a weak correlation with the second cloud application configuration category.