Test method, device and test system for tested system based on external system

By receiving the test type parameters of the system under test, automatically judge and execute corresponding strategies, and determine the test condition parameters, the problems of high cost and low efficiency caused by manual determination of test condition parameters in the prior art are solved, and the testing of external systems is realized System automation testing reduces costs and improves efficiency.

CN119105946APending Publication Date: 2024-12-10JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310679070.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the prior art, the test system under test based on external systems requires manual determination of test condition parameters, resulting in high cost and low efficiency.

Method used

By receiving the test type parameters transmitted by the system under test, determining the test type and executing the corresponding preset strategy, automatically determining the test condition parameters, and transmitting them to the system under test for testing, realizing automated testing.

Benefits of technology

It reduces the cost of manual testing, improves the testing efficiency, and realizes automated testing of the system under test based on external systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105946A_ABST
    Figure CN119105946A_ABST
Patent Text Reader

Abstract

The invention provides a tested system testing method and device based on an external system and a testing system.The external system judges a testing type through testing type parameters transmitted by the testing system, a preset strategy corresponding to the testing type is executed according to the testing type, and testing condition parameters are obtained; automatic determination of the test condition parameters based on the external system is achieved, the test condition parameters can be rapidly and accurately determined without manual participation, and convenience is provided for automatic testing of the tested system based on the test condition parameters. Automatic testing of the tested system based on the testing condition parameters of the external system is achieved, manual participation is not needed, the manual testing cost is reduced, and the testing efficiency of testing the tested system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information processing technology, and in particular to a method, device and system for testing a system under test based on an external system. Background Art

[0002] In software testing, automated testing is an indispensable part of the quality assurance process. In the current mainstream testing process, it is impossible to achieve automated testing of the system under test based on the test condition parameters of the external system. The test condition parameters need to be manually determined, and then the system under test is tested manually based on the test condition parameters, which greatly increases labor costs and instability, and has low testing efficiency.

[0003] Therefore, proposing a system under test testing method based on an external system to achieve automated testing, reduce manual testing costs, and improve testing efficiency is an important current research direction. Summary of the invention

[0004] The present invention provides a test of a system under test based on an external system, which is used to solve the defects of the prior art that manual testing of the system under test based on an external system leads to high labor cost and instability, as well as low testing efficiency, and realizes automated testing of the system under test based on an external system, reduces manual testing costs, and improves testing efficiency.

[0005] The present disclosure provides a system under test testing method based on an external system, which is applied to the external system and includes: Receiving test type parameters transmitted by the system under test; Determine the test type according to the test type parameter; Execute a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; The test condition parameters are transmitted to the system under test, wherein the test condition parameters are used to instruct the system under test to perform a test according to the test condition parameters to obtain a test result.

[0006] According to a method for testing a system under test based on an external system provided by the present disclosure, the step of executing a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter includes: According to the test type, a preset integrated package corresponding to the test type is called to perform data processing to obtain test condition parameters.

[0007] According to a method for testing a system under test based on an external system provided by the present disclosure, according to the test type, calling a preset integrated package corresponding to the test type to perform data processing to obtain test condition parameters includes: In the case where the test type is a data simulation type, calling a preset interface integration package corresponding to the data simulation type to perform downstream data simulation to obtain an expected return value; The expected return value is determined as the test condition parameter.

[0008] According to a method for testing a system under test based on an external system provided by the present disclosure, according to the test type, calling a preset integrated package corresponding to the test type to perform data processing to obtain test condition parameters includes: In the case where the test type is a configuration modification type, calling a preset system configuration integration package corresponding to the configuration type modification to modify the configuration of the system under test to obtain expected configuration information; The expected configuration information is determined as the test condition parameter.

[0009] According to a method for testing a system under test based on an external system provided by the present disclosure, according to the test type, calling a preset integrated package corresponding to the test type to perform data processing to obtain test condition parameters includes: In the case where the test type is an execution target task type, calling a preset system task integration package corresponding to the execution target task type to trigger the target task in the system under test, and obtaining expected database status information; The expected database state information is determined as the test condition parameter.

[0010] According to a method for testing a system under test based on an external system provided by the present disclosure, the test type parameter includes a sub-function; The determining the test type according to the test type parameter includes: The test type is determined according to the sub-function and a preset judgment condition corresponding to the sub-function.

[0011] The present disclosure also provides a system under test testing device based on an external system, comprising: A receiving unit, used for receiving a test type parameter transmitted by the system under test; A judging unit, configured to judge the test type according to the test type parameter; A determination unit, configured to execute a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; A sending unit is used to transmit the test condition parameters to the system under test, wherein the test condition parameters are used to instruct the system under test to perform a test according to the test condition parameters to obtain a test result.

[0012] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any of the above-mentioned methods for testing a system under test based on an external system are implemented.

[0013] The present disclosure also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for testing a system under test based on an external system as described in any one of the above are implemented.

[0014] The present disclosure also provides a test system, comprising a system under test and an external system; The external system is used to receive the test type parameter transmitted by the system under test; determine the test type according to the test type parameter; execute the preset strategy corresponding to the test type according to the test type to obtain the test condition parameter; and transmit the test condition parameter to the system under test; The system under test is used to perform a test according to the test condition parameters to obtain a test result; compare the test result with a preset expected result to generate a test report.

[0015] The present disclosure provides a method, device and test system for testing a system under test based on an external system. The external system determines the test type through the test type parameters transmitted by the test system, executes the preset strategy corresponding to the test type according to the test type, obtains the test condition parameters, and realizes the automatic determination of the test condition parameters based on the external system. The test condition parameters can be determined quickly and accurately without human intervention, which provides convenience for the subsequent automatic testing of the system under test based on the test condition parameters. The automatic testing of the system under test based on the test condition parameters of the external system is realized without human intervention, which reduces the cost of manual testing and improves the test efficiency of testing the system under test. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present disclosure or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 It is a flowchart of a method for testing a system under test based on an external system provided by the present disclosure; Figure 2 is a schematic diagram of a test flow of a system under test based on an external system provided by the present disclosure; Figure 3is a schematic diagram of the structure of a system under test test device based on an external system provided by the present disclosure; Figure 4 is a schematic diagram of the structure of the test system provided by the present disclosure; Figure 5 It is a schematic diagram of the structure of an electronic device provided by the present disclosure. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present disclosure.

[0019] The present disclosure provides a method for testing a system under test based on an external system, which is applied to an external system, such as Figure 1 As shown, including: S11, receiving the test type parameter transmitted by the system under test; S12. Determine the test type according to the test type parameter.

[0020] S13. Execute a preset strategy corresponding to the test type according to the test type to obtain test condition parameters.

[0021] S14. Transmit the test condition parameters to the system under test, wherein the test condition parameters are used to instruct to perform a test according to the test condition parameters to obtain a test result.

[0022] Specifically, the external system can distinguish what type of test the system under test will perform through the test type parameter. The test type may include but is not limited to data simulation type, configuration modification type and target task execution type.

[0023] Optionally, in order to save resource overhead in setting one-to-one corresponding test type parameters for each different test type, corresponding sub-functions may be set for different test types and encapsulated in a unified test type parameter.

[0024] The test type parameter may include at least one sub-function; step S12 may specifically include: determining the test type according to the sub-function and a preset judgment condition corresponding to the sub-function.

[0025] The sub-function can be set according to actual needs. It can be a function whose output is a numerical value, or a function whose output is True or False.

[0026] In one example, it is known that the test type parameter includes three sub-functions, A, B, and C, and three judgment conditions are preset. Condition 1 is "when the value of sub-function A is False, the test type is determined to be a data simulation type", condition 2 is "when the value of sub-function B is greater than 100, the test type is determined to be a configuration modification type", and condition 3 is "when the value of sub-function C is less than or equal to 20, the test type is determined to be an execution target task type". If the external system receives the test type parameter from the system under test, sub-function A is True, B is 101, and C is 30, then the test type can be determined to be a configuration modification type according to the three judgment conditions.

[0027] The external system executes the pre-set functional logic corresponding to the test type according to the test type, obtains the test condition parameters, and provides the test condition basis for the subsequent testing of the system under test, so that the system under test can be tested and obtain the test results.

[0028] In the disclosed embodiment, the external system determines the test type through the test type parameter transmitted by the test system, executes the preset strategy corresponding to the test type according to the test type, obtains the test condition parameter, realizes the automatic determination of the test condition parameter based on the external system, and can quickly and accurately determine the test condition parameter without human intervention, which provides convenience for the subsequent automatic test of the system under test based on the test condition parameter. The automatic test of the system under test based on the test condition parameter of the external system is realized without human intervention, which reduces the cost of manual testing and improves the test efficiency of testing the system under test.

[0029] According to a method for testing a system under test based on an external system provided by the present disclosure, step S13 includes: S131 calls a preset integrated package corresponding to the test type according to the test type, performs data processing, and obtains test condition parameters.

[0030] Specifically, the external system pre-stores an integration package, and the integration package has a one-to-one mapping relationship with the test type. Data processing of the corresponding function can be implemented by calling the integration package, wherein the mapping relationship between the integration package and the test type can be set according to actual needs, and the type of the integration package can be set according to actual needs, including but not limited to types that implement functions such as calling, configuring and triggering.

[0031] In the embodiment of the present disclosure, an integrated package with a corresponding mapping relationship with the test type is pre-stored in the external system. The corresponding integrated package can be determined and called according to the test type, so that corresponding data processing can be performed according to the test type, and the test condition parameters can be obtained conveniently and quickly.

[0032] According to a method for testing a system under test based on an external system provided by the present disclosure, step S131 includes: S21. When the test type is a data simulation type, call a preset interface integration package corresponding to the data simulation type to perform downstream data simulation to obtain an expected return value.

[0033] S22. Determine the expected return value as the test condition parameter.

[0034] Specifically, by integrating an interface integration package that can manage interfaces, such as the jar package of the jsf-api tool, specific downstream data can be set in the case of data simulation testing. Through the integrated jsf-api integration package, the mock method of the internal interface is called to set the data and obtain the expected return value. Furthermore, the external system can transmit the expected return value to the system under test, thereby realizing the logic of the system under test to perform corresponding specific scenario tests according to the expected return value.

[0035] In one example, take the scenario of "launching an activity" as an example. Generally, there are two situations for "launching an activity", "launch success" and "launch failure". To test the situation after "launch failure", it is necessary to trigger the result of "launch failure" first. At this time, the external system calls the preset interface integration package corresponding to the data simulation type to simulate the "launch failure" in "launching an activity" and obtain the return value corresponding to "launch failure". This return value is the expected return value. It is convenient to test the situation of "launch failure" according to the expected return value later.

[0036] In the disclosed embodiments, an external system calls an interface integration package corresponding to a data simulation type to perform data simulation under specific conditions to obtain an expected return value corresponding to the expected specific conditions. The expected return value can be determined quickly and accurately without human intervention, so that the subsequent system under test can perform tests on specific conditions based on the expected return value, thereby improving test efficiency.

[0037] According to a method for testing a system under test based on an external system provided by the present disclosure, step S131 includes: S31. When the test type is a configuration modification type, call a preset system configuration integration package corresponding to the configuration type modification to modify the configuration of the system under test to obtain expected configuration information.

[0038] S32: Determine the expected configuration information as the test condition parameter.

[0039] Specifically, the system configuration of the system under test can be modified by integrating the system configuration integration package of the system configuration, such as the jar package of the concrete-client tool. Through the integrated concrete-client integration package, the system configuration of the system under test is modified in the expected situation to obtain the expected configuration information. Furthermore, the external system can send the expected configuration information to the system under test, and the system under test applies the expected configuration information to realize the modification of the configuration of the system under test, so as to test the system under test with different configurations.

[0040] In one example, the configuration information of the system under test consists of multiple parameters. When testing, it is necessary to test various configuration information formed by different changes in various parameters. In order to test various configuration information, it is necessary to change the configuration information of the system under test first. At this time, the external system calls the preset system configuration integration package corresponding to the configuration modification type, modifies multiple parameters in the system under test, and obtains various configuration information. This configuration information is the expected configuration information. It is convenient for the system under test to apply the expected configuration information to change its own configuration in the future, and test the system under test with different configurations.

[0041] In the disclosed embodiment, the external system calls the system configuration integration package corresponding to the configuration modification type to modify the configuration of the system under test to obtain the expected configuration information. The expected configuration information can be determined quickly and accurately without human intervention, so that the subsequent system under test can change its own configuration according to the expected configuration information, thereby realizing testing of systems under test with different configurations and improving testing efficiency.

[0042] According to a method for testing a system under test based on an external system provided by the present disclosure, step S131 includes: S41. When the test type is an execution target task type, a preset system task integration package corresponding to the execution target task type is called to trigger the target task in the system under test to obtain expected database status information.

[0043] S42: Determine the expected database status information as the test condition parameter.

[0044] Specifically, the target task in the system under test can be triggered to execute by integrating a system task integration package that can execute system tasks, such as the schedule-client jar package. For example, for task A in the system under test, which is originally scheduled to be executed at a specified time, in this case, the external system can trigger the execution of task A immediately regardless of the specified time by calling the preset system task integration package corresponding to the execution target task type. By integrating the schedule-client integration package, the target task in the system under test is triggered to execute, and the expected database status information of the system under test is obtained.

[0045] In one example, take the task of initiating activity A at a specified time as an example. Originally, it takes time to reach the specified time to trigger the initiation of activity A. Through the system task integration package, the initiation of activity A is directly triggered to obtain the database status information of the system under test after the initiation of activity A. This database status information is the expected database status information. It is convenient to test the database of the system under test according to the expected database status information.

[0046] In the disclosed embodiment, the external system calls and executes the preset system task integration package corresponding to the target task type, triggers the execution of the target task in the system under test, and obtains the expected database status information of the system under test. The expected database status information can be determined quickly and accurately without human intervention, which facilitates the subsequent testing of the system under test according to the expected database status information, thereby improving the testing efficiency.

[0047] In an example based on the above embodiments, Figure 2 As shown, the process of executing the automated test instance is as follows: The external system determines the test condition parameters according to the test type parameters transmitted by the system under test, and transmits the test condition parameters to the system under test. The system under test tests the system under test according to the test condition parameters, compares the test results with the expected results, generates a test report, and recovers the data during the test. The external system determines the test condition parameters specifically as follows: the external system receives the test type parameters transmitted by the system under test, and determines the test type according to the test type parameters. When the test type is a data simulation type, the external system calls the preset interface integration package to perform downstream data simulation and obtain the expected return value; when the test type is a configuration modification type, the external system calls the preset system configuration integration package to modify the configuration of the system under test and obtain the expected configuration information; when the test type is a target task execution type, the external system calls the preset system task integration package to trigger the target task in the system under test and obtain the expected database status information.

[0048] The following describes a system under test testing device based on an external system provided in an embodiment of the present disclosure. The system under test testing device based on an external system described below and the system under test testing method based on an external system described above can refer to each other.

[0049] The present disclosure also provides a system under test test device based on an external system, such as Figure 3 As shown, including: The receiving unit 31 is used to receive the test type parameter transmitted by the system under test; A judging unit 32, configured to judge a test type according to the test type parameter; A determination unit 33, configured to execute a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; The sending unit 34 is used to transmit the test condition parameters to the system under test, wherein the test condition parameters are used to instruct the system under test to perform a test according to the test condition parameters to obtain a test result.

[0050] In the disclosed embodiment, the external system determines the test type through the test type parameter transmitted by the test system, executes the preset strategy corresponding to the test type according to the test type, obtains the test condition parameter, realizes the automatic determination of the test condition parameter based on the external system, and can quickly and accurately determine the test condition parameter without human intervention, which provides convenience for the subsequent automatic test of the system under test based on the test condition parameter. The automatic test of the system under test based on the test condition parameter of the external system is realized without human intervention, which reduces the cost of manual testing and improves the test efficiency of testing the system under test.

[0051] According to a system under test test device based on an external system provided by the present disclosure, the preset unit 33 is specifically used for: According to the test type, a preset integrated package corresponding to the test type is called to perform data processing to obtain test condition parameters.

[0052] According to a system under test testing device based on an external system provided by the present disclosure, the determining unit 33 is specifically used to: In the case where the test type is a data simulation type, calling a preset interface integration package corresponding to the data simulation type to perform downstream data simulation to obtain an expected return value; The expected return value is determined as the test condition parameter.

[0053] According to a system under test testing device based on an external system provided by the present disclosure, the determining unit 33 is specifically used to: In the case where the test type is a configuration modification type, calling a preset system configuration integration package corresponding to the configuration modification type to modify the configuration of the system under test to obtain expected configuration information; The expected configuration information is determined as the test condition parameter.

[0054] According to a system under test testing device based on an external system provided by the present disclosure, the determining unit 33 is specifically used to: In the case where the test type is an execution target task type, calling a preset system task integration package corresponding to the execution target task type to trigger the target task in the system under test, and obtaining expected database status information; The expected database state information is determined as the test condition parameter.

[0055] The present disclosure also provides a testing system, such as Figure 4 As shown, it includes a system under test 41 and an external system 42; The external system 41 is used to receive the test type parameter transmitted by the system under test; determine the test type according to the test type parameter; execute the preset strategy corresponding to the test type according to the test type to obtain the test condition parameter; and transmit the test condition parameter to the system under test; The system under test 42 is used to perform a test according to the test condition parameters to obtain a test result; compare the test result with a preset expected result to generate a test report.

[0056] In the disclosed embodiments, the external system determines the test type through the test type parameters transmitted by the test system, executes the preset strategy corresponding to the test type according to the test type, obtains the test condition parameters, and realizes the automatic determination of the test condition parameters based on the external system. The test condition parameters can be determined quickly and accurately without human intervention, which provides convenience for the subsequent automated testing of the system under test based on the test condition parameters. The system under test executes the test according to the test condition parameters transmitted by the external system, obtains the test results, compares the test results with the preset expected results, and generates a test report. The automated testing of the system under test based on the test condition parameters of the external system is realized without human intervention, which reduces the cost of manual testing and improves the test efficiency of the system under test.

[0057] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute a test method for a system under test based on an external system, the method comprising: receiving a test type parameter transmitted by the system under test; judging a test type according to the test type parameter; executing a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; transmitting the test condition parameter to the system under test, wherein the test condition parameter is used to instruct the system under test to execute a test according to the test condition parameter to obtain a test result.

[0058] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0059] On the other hand, the present disclosure also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the system under test testing method based on an external system provided by the above-mentioned methods, and the method includes: receiving a test type parameter transmitted by the system under test; judging the test type according to the test type parameter; executing a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; transmitting the test condition parameter to the system under test, wherein the test condition parameter is used to instruct the system under test to perform a test according to the test condition parameter to obtain a test result.

[0060] On the other hand, the present disclosure also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned external system-based system testing methods provided above, the method comprising: receiving a test type parameter transmitted by the system under test; determining the test type according to the test type parameter; executing a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; transmitting the test condition parameter to the system under test, wherein the test condition parameter is used to instruct the system under test to perform a test according to the test condition parameter to obtain a test result.

[0061] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for testing a system under test based on an external system, characterized in that: Applied to external systems, including: Receiving test type parameters transmitted by the system under test; Determine the test type according to the test type parameter; Execute a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; The test condition parameters are transmitted to the system under test, wherein the test condition parameters are used to instruct the system under test to perform a test according to the test condition parameters to obtain a test result.

2. The method for testing a system under test based on an external system according to claim 1, characterized in that: The step of executing a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter includes: According to the test type, a preset integrated package corresponding to the test type is called to perform data processing to obtain test condition parameters.

3. The method for testing a system under test based on an external system according to claim 2, characterized in that: The step of calling a preset integrated package corresponding to the test type to perform data processing according to the test type to obtain test condition parameters includes: In the case where the test type is a data simulation type, calling a preset interface integration package corresponding to the data simulation type to perform downstream data simulation to obtain an expected return value; The expected return value is determined as the test condition parameter.

4. The method for testing a system under test based on an external system according to claim 2, characterized in that: The step of calling a preset integrated package corresponding to the test type to perform data processing according to the test type to obtain test condition parameters includes: In the case where the test type is a configuration modification type, calling a preset system configuration integration package corresponding to the configuration modification type to modify the configuration of the system under test to obtain expected configuration information; The expected configuration information is determined as the test condition parameter.

5. The method for testing a system under test based on an external system according to claim 2, characterized in that: The step of calling a preset integrated package corresponding to the test type to perform data processing according to the test type to obtain test condition parameters includes: In the case where the test type is an execution target task type, calling a preset system task integration package corresponding to the execution target task type to trigger the target task in the system under test, and obtaining expected database status information; The expected database state information is determined as the test condition parameter.

6. The method for testing a system under test based on an external system according to claim 1, characterized in that: The test type parameter includes a sub-function; The determining the test type according to the test type parameter includes: The test type is determined according to the sub-function and a preset judgment condition corresponding to the sub-function.

7. A system under test test device based on an external system, characterized in that: include: A receiving unit, used for receiving a test type parameter transmitted by the system under test; A judging unit, used for judging a test type according to the test type parameter; A determination unit, configured to execute a preset strategy corresponding to the test type according to the test type to obtain a test condition parameter; A sending unit is used to transmit the test condition parameters to the system under test, wherein the test condition parameters are used to instruct the system under test to perform a test according to the test condition parameters to obtain a test result.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for testing a system under test based on an external system as claimed in any one of claims 1 to 4 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for testing a system under test based on an external system as claimed in any one of claims 1 to 4 are implemented.

10. A testing system, characterized in that: Includes the system under test and external systems; The external system is used to receive the test type parameter transmitted by the system under test; determine the test type according to the test type parameter; execute the preset strategy corresponding to the test type according to the test type to obtain the test condition parameter; and transmit the test condition parameter to the system under test; The system under test is used to perform a test according to the test condition parameters to obtain a test result; compare the test result with a preset expected result to generate a test report.