CN110502429B - Management method, device, equipment and storage medium of test system - Google Patents

Management method, device, equipment and storage medium of test system Download PDF

Info

Publication number
CN110502429B
CN110502429B CN201910620966.8A CN201910620966A CN110502429B CN 110502429 B CN110502429 B CN 110502429B CN 201910620966 A CN201910620966 A CN 201910620966A CN 110502429 B CN110502429 B CN 110502429B
Authority
CN
China
Prior art keywords
test
result data
tested
test system
blocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910620966.8A
Other languages
Chinese (zh)
Other versions
CN110502429A (en
Inventor
刘磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910620966.8A priority Critical patent/CN110502429B/en
Publication of CN110502429A publication Critical patent/CN110502429A/en
Application granted granted Critical
Publication of CN110502429B publication Critical patent/CN110502429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fire Alarms (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a management method, a device, equipment and a storage medium of a test system, namely, when a test instruction is received, carrying out a smoke test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested; determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system; and inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the testing systems according to the preset testing flow. According to the invention, whether the system to be tested is blocked or not is monitored by additionally arranging the service interface switch, and the standard result data is used for replacing the test result data which should be output by the blocking system, so that the blocking of the whole business process system caused by the blocking of one system is prevented, the test efficiency is improved, and the user experience is improved.

Description

Management method, device, equipment and storage medium of test system
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, apparatus, device, and computer readable storage medium for managing a test system.
Background
Smoke Test (Smoke Test) is a simple system Test method, which is mainly used for minimizing the integration risk, finding and correcting defects earlier, simplifying the fault processing flow, improving the project progress visibility and verifying whether the system can normally operate. The business flow system is generally composed of a plurality of systems, when the business flow system performs smoke test, each test system needs to be controlled manually corresponding to a tester, if one of the systems is blocked, and the tester cannot perform manual processing in time, the test flow of the whole business flow system is blocked easily, the test efficiency is reduced, and the test time is increased.
Therefore, how to solve the problem of low testing efficiency of the existing smoke test is a problem that needs to be solved at present.
Disclosure of Invention
The invention mainly aims to provide a management method, a device, equipment and a computer readable storage medium of a test system, and aims to solve the technical problems that the existing smoke test is easy to test and has low efficiency.
In order to achieve the above object, the present invention provides a method for managing a test system, the method for managing a test system comprising the steps of:
When a test instruction is received, determining a corresponding system to be tested according to a preset test flow, carrying out a smoke test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested;
determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data;
and inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the testing systems according to the preset testing flow.
Optionally, the step of determining the blocking system in the system to be tested according to the switch state information and obtaining standard result data corresponding to the blocking system to replace the test result data corresponding to the blocking system includes:
judging whether the first test system is a blocking system or not according to the state information of the first service interface switch, wherein the switch state information of the service interface switch of the blocking system is on;
And if the first test system is not a blocking system, the switch state information of the first service interface switch is closed, and test result data corresponding to the first test system is obtained.
Optionally, the step of determining whether the first test system is a blocking system according to the state information of the first service interface switch, where the step of opening the switch state information of the service interface switch of the blocking system further includes:
if the first test system is a blocking system, acquiring first standard result data corresponding to the first test system according to the system identification of the first test system so as to replace the test result data corresponding to the first test system with the first standard result data;
inputting the first standard result data to the second test system, and judging whether the second test system is a blocking system according to the state information of the second service interface switch;
and if the second test system is a blocking system, acquiring second standard result data corresponding to the second test system according to the system identification of the second test system.
Optionally, if the first test system is a blocking system, the step of acquiring first standard result data corresponding to the first test system according to the system identifier of the first test system to replace the first standard result data with the test result data corresponding to the first test system specifically includes:
If the first test system is a blocking system, judging whether first standard result data corresponding to the first test system exists or not according to the system identification of the first test system;
if the first standard result data does not exist, generating and displaying a corresponding reminding message so that a user can manually input the corresponding standard data to continue testing;
when current standard data input by a user is received, storing the current standard data in association with the first test system, and acquiring the current standard data as first standard data so as to replace the first standard result data with the test result data corresponding to the first test system.
Optionally, when receiving current standard data input by a user, storing the current standard data in association with the first test system, and obtaining the current standard data as first standard data, so that the step of replacing the first standard result data with test result data corresponding to the first test system specifically includes:
if the first test system is a blocking system, acquiring and displaying first standard result data corresponding to the first test system according to the system identification of the first test system so as to enable a user to confirm the first standard result data;
When an editing instruction triggered by user operation is received, modifying the first standard result data according to the editing instruction, replacing the first standard result data with modified secondary standard result data, and storing the secondary standard result in association with the first test system.
Optionally, when the test instruction is received, determining a corresponding system to be tested according to a preset test flow, performing a smoke test on the system to be tested, and acquiring the switch state information of the service interface switch of the system to be tested includes:
determining a corresponding system to be tested according to a preset test flow, acquiring original system data corresponding to the system to be tested, copying the original system data to be used as test system data, and adding the test system data into a corresponding test version field;
when a test instruction is received, according to the test version field, test system data corresponding to the system to be tested is obtained, smoke test is carried out on the system to be tested according to the test system data, and on-off state information of a service interface switch of the system to be tested is obtained.
Optionally, when the test instruction is received, determining a corresponding system to be tested according to a preset test flow, performing a smoke test on the system to be tested, and acquiring the switch state information of the service interface switch of the system to be tested includes:
when a test instruction is received, determining a first test system and a second test system to be tested according to a preset test flow, and carrying out smoking test on the first test system and the second test system;
and acquiring state information of a first service interface switch of the first test system and state information of a second service interface switch of the second test system.
In addition, to achieve the above object, the present invention also provides a management device of a test system, including:
the switch state acquisition module is used for determining a corresponding system to be tested according to a preset test flow when a test instruction is received, carrying out a smoke test on the system to be tested, and acquiring switch state information of a service interface switch of the system to be tested;
the blocking system processing module is used for determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data;
And the replacement data input module is used for inputting the standard result data to the next system to be tested of the blocking system for testing so as to finish the smoking test of all the test systems according to the preset test flow.
In addition, to achieve the above object, the present invention also provides a management apparatus of a test system, including a processor, a memory, and a management program of the test system stored on the memory and executable by the processor, wherein the management program of the test system, when executed by the processor, implements the steps of the management method of the test system as described above.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium having stored thereon a management program of a test system, wherein the management program of the test system, when executed by a processor, implements the steps of the management method of the test system as described above.
The invention provides a management method of a test system, namely, when a test instruction is received, a corresponding system to be tested is determined according to a preset test flow, a smoke test is carried out on the system to be tested, and the on-off state information of a service interface switch of the system to be tested is obtained; determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data; and inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the testing systems according to the preset testing flow. By the mode, the system state of the system to be tested is monitored by additionally arranging the service interface switch, and when the system to be tested is monitored to be blocked, the standard result data is used for replacing the test result data which should be output by the blocking system, so that the blocking of the whole business flow system caused by the blocking of one system is prevented, the testing efficiency is improved, the user experience is improved, and the technical problem that the existing smoking test is easy to test and has low efficiency is solved.
Drawings
FIG. 1 is a schematic hardware configuration of a management device of a test system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for managing a test system according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for managing a test system according to the present invention;
FIG. 4 is a flowchart of a third embodiment of a method for managing a test system according to the present invention;
fig. 5 is a schematic functional block diagram of a first embodiment of a management device of the test system according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The management method of the test system according to the embodiment of the invention is mainly applied to the management equipment of the test system, and the management equipment of the test system can be equipment with display and processing functions such as a PC, a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic hardware structure of a management device of a test system according to an embodiment of the present invention. In an embodiment of the present invention, the management device of the test system may include a processor 1001 (e.g., CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the management apparatus of the test system, and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components.
With continued reference to FIG. 1, memory 1005 in FIG. 1, which is a computer readable storage medium, may include an operating system, a network communication module, and a test system management program.
In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; and the processor 1001 may call a management program of the test system stored in the memory 1005 and execute the management method of the test system provided by the embodiment of the present invention.
The embodiment of the invention provides a management method of a test system.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a management method of the test system according to the present invention.
In this embodiment, the method for managing the test system includes the following steps:
step S10, when a test instruction is received, determining a corresponding system to be tested according to a preset test flow, performing a smoke test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested;
In this embodiment, when the current on-market testers perform system test on the business process system, the testers corresponding to the test systems are required to participate simultaneously, so that the test conditions of the test systems can be fed back in time, and when the system is blocked, information is blocked in time. Since the results of the individual system tests are lazy, the latter test system needs to use the test result data of the former test system. Therefore, if a certain test system is blocked, the test of the whole business flow system is easily blocked, resulting in low test efficiency.
In order to solve the above technical problems, in this embodiment, a management method for a test system is provided, that is, a management system for a test system is set to monitor system states of all systems to be tested in a service flow, and all systems to be tested are set with corresponding service interface switches mock. The management system can complete the state monitoring of the corresponding system by monitoring the state information of the mock switch. Specifically, interface switches mock for representing the states of the systems to be tested are preset at service interfaces of the systems to be tested, the switches are specifically set by reading the form of the self-defined environment variables of the systems, the systems to be tested are not blocked, the switches are closed by default, the systems to be tested are blocked, namely, the conditions are met, and the switches are opened. Specifically, when it is determined that the test system does not output a corresponding test data result within a preset time, or when it is determined that the test system requests for the preset times to feed back the corresponding test output result, a service interface switch corresponding to the test system can be opened, so that the test system is identified as blocked. When a test instruction is received, each system to be tested in the business process system to be tested is determined according to a preset test process. And carrying out smoking test on each system to be tested according to the preset test case. After the test data are input into each system to be tested, the switch state information of the service interface switch of each system to be tested is obtained. Wherein the switch state information includes an open state and a closed state.
Further, the step S10 specifically includes:
when a test instruction is received, determining a first test system and a second test system to be tested according to a preset test flow, and carrying out smoking test on the first test system and the second test system;
and acquiring state information of a first service interface switch of the first test system and state information of a second service interface switch of the second test system.
In this embodiment, a test system identifier to be tested and a test system sequence are determined according to a preset test flow corresponding to a smoke test, and a first test system and a second test system to be tested are sequentially obtained according to the test system sequence and the system identifier to be tested. In a specific embodiment, when there are more test systems, the method is performed circularly. And carrying out smoking test on the first test system and the second test system according to preset test data or test cases. The specific test flow is as follows: and inputting preset test data into a first test system for testing, and then inputting test result data output by the first test system according to the preset test data into a second test system for continuing testing until all the test systems in the preset flow are tested. To prevent a certain test system from blocking, test result data cannot be normally output, thereby causing a test interruption of the next test system. And acquiring state information of a first service interface switch of the first test system and state information of a second service interface switch of the second test system. When the state information of the first service interface switch corresponding to the test system is on, the test system is blocked, and the test system needs to be bypassed to continue the test of the next test system, so that the blocking of the whole test flow can be prevented, the blocking system can be rapidly positioned, and the blocking processing efficiency is improved.
Step S20, determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data;
in this embodiment, after determining each system to be tested and the corresponding sequence relation of each system to be tested according to the preset test flow, test data are sequentially input to each system to be tested for testing, test result data of the last system to be tested are obtained, and the test result data are input to the next system to be tested for testing. When the test data is input into the system to be tested, the switch state information of the system to be tested is obtained, and if the switch state information is in an open state, the system to be tested is blocked, so that the system to be tested cannot output the test result data. At this time, the acquisition request of the test result data is intercepted, and the standard result data corresponding to the blocked system to be tested is used as the test result data corresponding to the system to be tested and is input to the next system to be tested for continuous test, so that the blocking of the test process of the whole business process system is prevented. The standard result data may be data which is set by a tester according to the test result data output by the corresponding system to be tested in advance. In a specific embodiment, the standard result data may be editable result data, that is, the tester may make corresponding modifications according to the actual situation.
And step S30, inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the test systems according to the preset test flow.
In this embodiment, when it is detected that the system to be tested is blocked, the corresponding standard result data is input to the next system to be tested, so that the blocking system is bypassed, and the blocking of the test of the business process system caused by waiting for obtaining the test result data in the blocking system is avoided.
The embodiment provides a management method of a test system, namely when a test instruction is received, determining a corresponding system to be tested according to a preset test flow, performing a smoke test on the system to be tested, and acquiring switch state information of a service interface switch of the system to be tested; determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data; and inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the testing systems according to the preset testing flow. By the mode, the system state of the system to be tested is monitored by additionally arranging the service interface switch, and when the system to be tested is monitored to be blocked, the standard result data is used for replacing the test result data which should be output by the blocking system, so that the blocking of the whole business flow system caused by the blocking of one system is prevented, the testing efficiency is improved, the user experience is improved, and the technical problem that the existing smoking test is easy to test and has low efficiency is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a management method of the test system according to the present invention.
Based on the embodiment shown in fig. 2, in this embodiment, the step S20 includes:
step S21, judging whether the first test system is a blocking system according to the state information of the first service interface switch, wherein the switch state information of the service interface switch of the blocking system is on;
in this embodiment, status information of a first service interface switch is obtained, and whether the first test system is a blocking system is determined according to whether the status information of the first service interface switch is on.
Step S22, if the first test system is not a blocking system, wherein the switch state information of the first service interface switch is closed, test result data corresponding to the first test system is obtained.
In this embodiment, if the status information of the first service interface switch is off, the first test system is not a blocking system. And acquiring test result data which are normally output by the first test system according to preset test data.
Step S23, if the first test system is a blocking system, acquiring first standard result data corresponding to the first test system according to the system identification of the first test system, so as to replace the first standard result data with the test result data corresponding to the first test system;
In this embodiment, if the status information of the first service interface switch is on, the first test system is a blocking system. And acquiring the system identification of the first test system, and searching first standard result data corresponding to the system identification of the first test system in a preset standard result data table. The preset standard result data are preset by a user according to each test system and each test user or test data type, wherein the standard result data are matched with the test result data of the corresponding test system. In a specific embodiment, the preset standard result data table presets standard result data for the user, and the standard result data can be modified correspondingly during actual use. And replacing the test result data originally generated by the first test system with the first standard result data, thereby ensuring the normal operation of the whole test flow.
Further, the step S23 specifically includes:
if the first test system is a blocking system, judging whether first standard result data corresponding to the first test system exists or not according to the system identification of the first test system;
If the first standard result data does not exist, generating and displaying a corresponding reminding message so that a user can manually input the corresponding standard data to continue testing;
when current standard data input by a user is received, storing the current standard data in association with the first test system, and acquiring the current standard data as first standard data so as to replace the first standard result data with the test result data corresponding to the first test system.
In this embodiment, if the first test system is a blocking system, the search is performed in a preset standard result data table according to the system identifier of the first test system. And judging whether first standard result data corresponding to the first test system exist or not by searching whether the system identifier of the first test system exists in the preset standard result data table. If the first standard result data does not exist in the preset standard result data table, a corresponding reminding message can be generated according to the system identification of the first test system so as to remind a tester, the first test system is blocked, and the corresponding first standard result data is set so as to ensure the whole test flow. And when standard data input by a user based on the reminding message is received, the standard data input by the user is input to a second test system instead of the test result data corresponding to the first test system. In order to facilitate the first test system to automatically call corresponding first standard result data when the first test system is blocked next time, the standard data input by the user and the first system identification are associated and stored in the preset standard result data table, and the standard data input by the user is set as first standard result data.
Further, the step S23 specifically further includes:
if the first test system is a blocking system, acquiring and displaying first standard result data corresponding to the first test system according to the system identification of the first test system so as to enable a user to confirm the first standard result data;
when an editing instruction triggered by user operation is received, modifying the first standard result data according to the editing instruction, replacing the first standard result data with modified secondary standard result data, and storing the secondary standard result in association with the first test system.
In this embodiment, in order to facilitate the user to modify the standard result data corresponding to each test system according to the actual use situation, when the first standard result data of the first test system is correspondingly displayed according to the system identifier of the first test system, an editable function is provided, so that the user can modify the first standard result data as required according to the actual needs. And acquiring modified standard result data as secondary standard result data, and inputting the modified secondary standard result data to second test result data instead of the test result data corresponding to the first test system. And the secondary standard result data and the system identification of the first test system can be associated and stored in the preset standard result data table, so that a user can select the first standard result data or the secondary standard result data for use according to actual needs at the next time.
Step S24, inputting the first standard result data to the second test system, and judging whether the second test system is a blocking system according to the state information of the second service interface switch;
in this embodiment, the first standard result data replaces the test result data originally output by the first test system, and the first standard result data is input to the second test system. And acquiring state information of a second service interface switch, so as to judge whether the second test system is a blocking system or not according to the state information.
Step S25, if the second test system is a blocking system, obtaining second standard result data corresponding to the second test system according to the system identifier of the second test system.
In this embodiment, if it is determined that the second test system is a blocking system, second standard result data corresponding to the second test system is searched in the preset standard result data table according to the system identifier of the second test system.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of a management method of the test system according to the present invention.
Based on the embodiment shown in fig. 2, in this embodiment, the step S10 specifically includes:
Step S11, determining a corresponding system to be tested according to a preset test flow, obtaining original system data corresponding to the system to be tested, copying the original system data to serve as test system data, and adding the test system data into a corresponding test version field;
in this embodiment, the smoking test on the market is generally based on the system used by the user to directly perform the data test, thereby generating a large amount of junk data in the system. In order to prevent a large amount of junk data from being generated, test version data is newly added, the test version data is isolated from original system data, then system test is carried out on the basis of the test version data, the junk data is prevented from being generated, and the test version data is started during test, so that the use of the existing version is not affected, and the mutual isolation effect can be achieved. Specifically, all original system data corresponding to the system to be tested are obtained, and the original system data are copied to be used as test system data to be tested, namely, test operation is performed based on the test system data during the test of the system. In order to facilitate searching the test system data, the test system data is added with a corresponding test version field.
Step S12, when a test instruction is received, according to the test version field, obtaining test system data corresponding to the system to be tested, carrying out smoking test on the system to be tested according to the test system data, and obtaining the switch state information of a service interface switch of the system to be tested.
In this embodiment, when it is detected that an operation instruction of the system is sent by a tester, a corresponding test version identifier is added to the operation instruction, so that corresponding test system data is obtained according to the test version identifier to perform a test operation. Namely, when a test instruction with a test version identifier is received, test system data with a test version field is acquired. And performing a corresponding smoke test based on the test system data.
In addition, the embodiment of the invention also provides a management device of the test system.
Referring to fig. 5, fig. 5 is a schematic functional block diagram of a first embodiment of a management device of the test system according to the present invention.
In this embodiment, the management device of the test system includes:
the switch state acquisition module 10 is configured to determine a corresponding system to be tested according to a preset test flow when a test instruction is received, perform a smoke test on the system to be tested, and acquire switch state information of a service interface switch of the system to be tested;
The blocking system processing module 20 is configured to determine a blocking system in the system to be tested according to the switch state information, and acquire standard result data corresponding to the blocking system, so as to replace test result data corresponding to the blocking system with the standard result data;
and the replacement data input module 30 is configured to input the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the test systems according to the preset test flow.
Further, the switch state obtaining module 10 specifically includes:
the system testing unit is used for determining a first testing system and a second testing system to be tested according to a preset testing flow when a testing instruction is received, and carrying out smoking test on the first testing system and the second testing system;
the state acquisition unit is used for acquiring the state information of the first service interface switch of the first test system and the state information of the second service interface switch of the second test system.
Further, the blocking system processing module 20 specifically includes:
the first switch judging unit is used for judging whether the first test system is a blocking system or not according to the state information of the first service interface switch, wherein the switch state information of the service interface switch of the blocking system is on;
The test result acquisition unit is used for acquiring test result data corresponding to the first test system if the first test system is not a blocking system, wherein the switch state information of the first service interface switch is closed.
Further, the blocking system processing module 20 specifically further includes:
the first data searching unit is used for acquiring first standard result data corresponding to the first test system according to the system identification of the first test system if the first test system is a blocking system so as to replace the test result data corresponding to the first test system with the first standard result data;
the second switch judging unit is used for inputting the first standard result data to the second test system and judging whether the second test system is a blocking system according to the state information of the second service interface switch;
and the second data searching unit is used for acquiring second standard result data corresponding to the second test system according to the system identification of the second test system if the second test system is a blocking system.
Further, the second data searching unit is further configured to:
If the first test system is a blocking system, judging whether first standard result data corresponding to the first test system exists or not according to the system identification of the first test system;
if the first standard result data does not exist, generating and displaying a corresponding reminding message so that a user can manually input the corresponding standard data to continue testing;
when current standard data input by a user is received, storing the current standard data in association with the first test system, and acquiring the current standard data as first standard data so as to replace the first standard result data with the test result data corresponding to the first test system.
Further, the second data searching unit is further configured to:
if the first test system is a blocking system, acquiring and displaying first standard result data corresponding to the first test system according to the system identification of the first test system so as to enable a user to confirm the first standard result data;
when an editing instruction triggered by user operation is received, modifying the first standard result data according to the editing instruction, replacing the first standard result data with modified secondary standard result data, and storing the secondary standard result in association with the first test system.
Further, the switch state obtaining module 10 specifically includes:
the test data backup module is used for determining a corresponding system to be tested according to a preset test flow, obtaining original system data corresponding to the system to be tested, copying the original system data to serve as test system data, and adding the test system data into a corresponding test version field;
and the test data isolation module is used for acquiring test system data corresponding to the system to be tested according to the test version field when a test instruction is received, carrying out smoking test on the system to be tested according to the test system data, and acquiring the switch state information of a service interface switch of the system to be tested.
Wherein, each module in the management device of the test system corresponds to each step in the management method embodiment of the test system, and the functions and implementation processes thereof are not described in detail herein.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores therein a management program of a test system, wherein the management program of the test system, when executed by a processor, implements the steps of the management method of the test system as described above.
The method implemented when the management program of the test system is executed may refer to various embodiments of the management method of the test system of the present invention, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (7)

1. A method of managing a test system, the method comprising the steps of:
when a test instruction is received, determining a corresponding system to be tested according to a preset test flow, carrying out a smoke test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested;
when receiving a test instruction, determining a corresponding system to be tested according to a preset test flow, performing a smoking test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested, wherein the steps comprise:
determining a corresponding system to be tested according to a preset test flow, acquiring original system data corresponding to the system to be tested, copying the original system data to serve as test system data, isolating the test system data from the original system data, and adding the test system data into a corresponding test version field;
When a test instruction is received, according to the test version field, test system data corresponding to the system to be tested is obtained, smoke test is carried out on the system to be tested according to the test system data, and the switch state information of a service interface switch of the system to be tested is obtained;
determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data;
the step of determining the blocking system in the system to be tested according to the switch state information and obtaining standard result data corresponding to the blocking system so as to replace the test result data corresponding to the blocking system comprises the following steps:
judging whether the first test system is a blocking system according to the state information of the first service interface switch, wherein the switch state information of the service interface switch of the blocking system is on;
if the first test system is not a blocking system, wherein the switch state information of the first service interface switch is closed, test result data corresponding to the first test system is obtained;
If the first test system is a blocking system, acquiring first standard result data corresponding to the first test system according to the system identification of the first test system so as to replace the test result data corresponding to the first test system with the first standard result data;
inputting the first standard result data to a second test system, and judging whether the second test system is a blocking system according to the state information of a second service interface switch;
if the second test system is a blocking system, acquiring second standard result data corresponding to the second test system according to the system identification of the second test system;
and inputting the standard result data to a next system to be tested of the blocking system for testing, so as to complete smoking testing of all the testing systems according to the preset testing flow.
2. The method for managing a test system according to claim 1, wherein if the first test system is a blocking system, the step of obtaining first standard result data corresponding to the first test system according to the system identifier of the first test system to replace the test result data corresponding to the first test system comprises:
If the first test system is a blocking system, judging whether first standard result data corresponding to the first test system exists or not according to the system identification of the first test system;
if the first standard result data does not exist, generating and displaying a corresponding reminding message so that a user can manually input the corresponding standard data to continue testing;
when current standard data input by a user is received, storing the current standard data in association with the first test system, and acquiring the current standard data as first standard data so as to replace the first standard result data with the test result data corresponding to the first test system.
3. The method for managing a test system according to claim 1, wherein when receiving current standard data input by a user, storing the current standard data in association with the first test system, and obtaining the current standard data as first standard data, so as to replace test result data corresponding to the first test system with the first standard result data, the method specifically comprises:
if the first test system is a blocking system, acquiring and displaying first standard result data corresponding to the first test system according to the system identification of the first test system so as to enable a user to confirm the first standard result data;
When an editing instruction triggered by user operation is received, modifying the first standard result data according to the editing instruction, replacing the first standard result data with modified secondary standard result data, and storing the secondary standard result in association with the first test system.
4. A method for managing a test system according to any one of claims 1 to 3, wherein the step of determining a corresponding system to be tested according to a preset test procedure when a test instruction is received, performing a smoke test on the system to be tested, and acquiring the on-off state information of a service interface switch of the system to be tested comprises:
when a test instruction is received, determining a first test system and a second test system to be tested according to a preset test flow, and carrying out smoking test on the first test system and the second test system;
and acquiring state information of a first service interface switch of the first test system and state information of a second service interface switch of the second test system.
5. A management device of a test system, characterized in that the management device of the test system comprises:
The switch state acquisition module is used for determining a corresponding system to be tested according to a preset test flow when a test instruction is received, carrying out a smoke test on the system to be tested, and acquiring switch state information of a service interface switch of the system to be tested;
when receiving a test instruction, determining a corresponding system to be tested according to a preset test flow, performing a smoke test on the system to be tested, and acquiring the switch state information of a service interface switch of the system to be tested includes:
determining a corresponding system to be tested according to a preset test flow, acquiring original system data corresponding to the system to be tested, copying the original system data to serve as test system data, isolating the test system data from the original system data, and adding the test system data into a corresponding test version field;
when a test instruction is received, according to the test version field, test system data corresponding to the system to be tested is obtained, smoke test is carried out on the system to be tested according to the test system data, and the switch state information of a service interface switch of the system to be tested is obtained;
Determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system to replace test result data corresponding to the blocking system, wherein the method comprises the following steps:
judging whether the first test system is a blocking system according to the state information of the first service interface switch, wherein the switch state information of the service interface switch of the blocking system is on;
if the first test system is not a blocking system, wherein the switch state information of the first service interface switch is closed, test result data corresponding to the first test system is obtained;
if the first test system is a blocking system, acquiring first standard result data corresponding to the first test system according to the system identification of the first test system so as to replace the test result data corresponding to the first test system with the first standard result data;
inputting the first standard result data to a second test system, and judging whether the second test system is a blocking system according to the state information of a second service interface switch;
If the second test system is a blocking system, acquiring second standard result data corresponding to the second test system according to the system identification of the second test system;
the blocking system processing module is used for determining a blocking system in the system to be tested according to the switch state information, and acquiring standard result data corresponding to the blocking system so as to replace test result data corresponding to the blocking system with the standard result data;
and the replacement data input module is used for inputting the standard result data to the next system to be tested of the blocking system for testing so as to finish the smoking test of all the test systems according to the preset test flow.
6. A management device of a test system, characterized in that the management device of a test system comprises a processor, a memory, and a management program of a test system stored on the memory and executable by the processor, wherein the management program of a test system, when executed by the processor, implements the steps of the management method of a test system according to any one of claims 1 to 4.
7. A computer readable storage medium, wherein a management program of a test system is stored on the computer readable storage medium, wherein the management program of the test system, when executed by a processor, implements the steps of the management method of the test system according to any one of claims 1 to 4.
CN201910620966.8A 2019-07-10 2019-07-10 Management method, device, equipment and storage medium of test system Active CN110502429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910620966.8A CN110502429B (en) 2019-07-10 2019-07-10 Management method, device, equipment and storage medium of test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910620966.8A CN110502429B (en) 2019-07-10 2019-07-10 Management method, device, equipment and storage medium of test system

Publications (2)

Publication Number Publication Date
CN110502429A CN110502429A (en) 2019-11-26
CN110502429B true CN110502429B (en) 2023-04-25

Family

ID=68585832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910620966.8A Active CN110502429B (en) 2019-07-10 2019-07-10 Management method, device, equipment and storage medium of test system

Country Status (1)

Country Link
CN (1) CN110502429B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148594A (en) * 2020-09-03 2020-12-29 长沙市到家悠享网络科技有限公司 Script testing method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9141517B2 (en) * 2012-06-15 2015-09-22 Sap Se Public solution model test automation framework
CN105446872B (en) * 2014-08-29 2018-04-10 国际商业机器公司 Test manager, test agent device and the method for Mobile solution
CN107590015A (en) * 2017-09-11 2018-01-16 北京京东尚科信息技术有限公司 The method and apparatus for monitoring the obstruction of main thread
CN107908553B (en) * 2017-11-02 2021-02-26 平安科技(深圳)有限公司 Association testing method, application server and computer readable storage medium
CN108153670B (en) * 2017-11-30 2021-07-30 北京奇艺世纪科技有限公司 Interface testing method and device and electronic equipment
CN109726116A (en) * 2018-11-08 2019-05-07 深圳壹账通智能科技有限公司 Joint debugging test method, device, computer installation and storage medium
CN109857667B (en) * 2019-02-03 2021-10-08 苏州市龙测智能科技有限公司 Interface automation test method, test device, test equipment and storage medium
CN109947659B (en) * 2019-04-09 2023-09-05 北京字节跳动网络技术有限公司 System, method and apparatus for testing applications

Also Published As

Publication number Publication date
CN110502429A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
KR950010833B1 (en) Automated enrollement of a computer system into a service network of computer systems
CN110324612B (en) Television testing method, testing control terminal and television
US9585033B2 (en) System and method for enhanced diagnostics on mobile communication devices
CN111026645B (en) User interface automatic test method and device, storage medium and electronic equipment
CN105787364B (en) Automatic testing method, device and system for tasks
CN111240973B (en) Equipment testing method and system based on simulation and readable storage medium
CN111078567B (en) Report generation method, terminal and storage medium of automatic test platform
CN111090592A (en) Automatic testing method of buried point, terminal and readable storage medium
CN110875858B (en) Application test data grabbing method, system, equipment and storage medium
CN106126414B (en) Application software testing method and system
CN107170218B (en) Remote assistance method and system for debugging fire alarm system
CN110502429B (en) Management method, device, equipment and storage medium of test system
CN115617780A (en) Data import method, device, equipment and storage medium
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN110489347A (en) Method for edition management, device, equipment and readable storage medium storing program for executing based on GIT
CN111104331B (en) Software management method, terminal device and computer readable storage medium
CN111081365B (en) Information display method, sample analysis assembly line and computer storage medium
CN112181695A (en) Abnormal application processing method, device, server and storage medium
CN113495846A (en) Terminal test system and test device based on cluster
CN111221723B (en) Test record generation method and device, storage medium and electronic equipment
CN112765041A (en) Game automatic testing method and device and electronic equipment
CN111125205B (en) Signboard data display method, terminal and storage medium
CN114840407A (en) Mock testing method and related equipment
CN112965910A (en) Automatic regression testing method and device, electronic equipment and storage medium
CN111400193A (en) Test case generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant