CN117539700A - Test management method, device, equipment and medium - Google Patents

Test management method, device, equipment and medium Download PDF

Info

Publication number
CN117539700A
CN117539700A CN202311507322.0A CN202311507322A CN117539700A CN 117539700 A CN117539700 A CN 117539700A CN 202311507322 A CN202311507322 A CN 202311507322A CN 117539700 A CN117539700 A CN 117539700A
Authority
CN
China
Prior art keywords
test
server
mode
management
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311507322.0A
Other languages
Chinese (zh)
Inventor
王敏
秦晓宁
陈颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nettrix Information Industry Beijing Co Ltd
Original Assignee
Nettrix Information Industry Beijing 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 Nettrix Information Industry Beijing Co Ltd filed Critical Nettrix Information Industry Beijing Co Ltd
Priority to CN202311507322.0A priority Critical patent/CN117539700A/en
Publication of CN117539700A publication Critical patent/CN117539700A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention discloses a test management method, a test management device, test management equipment and a test management medium. The method comprises the following steps: determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameters input by the target user; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode; and managing the current test process of the tested server through a test management script corresponding to the test management mode. The embodiment of the invention can automatically and accurately manage the current test process of the server in the current test process of the server based on the test management mode and the test management script, improves the efficiency and the accuracy of the test management process of the server, and reduces the labor cost and the time cost of the test management process of the server.

Description

Test management method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a test management method, apparatus, device, and medium.
Background
After the server is assembled, the server needs to be tested to ensure that the server is perfect in function, stable in performance and correct in configuration. In the testing process of the server, the testing process of the server needs to be managed, whether the testing environment of the server meets the testing requirement or not is checked, and the testing data of the server are collected.
In the related art, a test management scheme for a server is generally: in the test process of the tested server, a technician manually checks whether the test environment of the tested server meets the test requirement or not, and manually collects the test data of the tested server. The test management scheme in the related art needs to manage the test process of the tested server through manual operation, so that the efficiency is low, the labor cost and the time cost are high, and the operation accuracy is difficult to guarantee.
Disclosure of Invention
The invention provides a test management method, a device, equipment and a medium, which are used for solving the problems that a test management scheme in the related technology needs to manage the test process of a tested server through manual operation, the efficiency is low, the labor cost and the time cost are high, and the operation accuracy is difficult to guarantee.
According to an aspect of the present invention, there is provided a test management method including:
determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameters input by the target user; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode;
And managing the current test process of the tested server through the test management script corresponding to the test management mode.
According to the technical scheme provided by the embodiment of the invention, the mode for managing the current testing process of the server, which is designated by the user, can be determined according to the mode identification parameter input by the user, and the current testing process of the server can be automatically managed based on the test management script corresponding to the mode designated by the user, so that the current testing process of the server is automatically and accurately managed in the current testing process of the server based on the test management mode and the test management script, the efficiency and the accuracy of the testing management process of the server are improved, and the labor cost and the time cost of the testing management process of the server are reduced.
Optionally, determining, according to the mode identification parameter input by the target user, a test management mode corresponding to the current test process of the tested server includes:
determining a test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode;
and determining the test management mode corresponding to the mode identification parameter input by the target user as the test management mode corresponding to the current test process of the tested server.
According to the technical scheme of the embodiment of the invention, the mode designated by the user for managing the current testing process of the tested server can be determined according to the mode identification parameter input by the user, so that the current testing process of the tested server is automatically managed based on the mode designated by the user.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes:
if the test management mode is a test environment inspection mode, checking whether the test environment of the tested server meets the test requirement or not according to the inspection information of the tested server and the configuration information of the basic input/output system through a test management script corresponding to the test environment inspection mode, and determining the test environment inspection result of the tested server.
According to the technical scheme provided by the embodiment of the invention, the current test process of the server can be managed according to the test management script corresponding to the test environment checking mode designated by the user, and whether the test environment of the server meets the test requirement can be automatically checked in the test process of the server.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes:
If the test management mode is a comprehensive management mode, executing the following operations through a test management script corresponding to the comprehensive management mode:
checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system, and determining the checking result of the test environment of the tested server;
collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished;
and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and storing the test data into a test data file corresponding to the current test process.
According to the technical scheme of the embodiment of the invention, the current test process of the server can be managed according to the test management script corresponding to the comprehensive management mode designated by the user, whether the test environment of the server meets the test requirement or not is automatically checked in the test process of the server, and the test data of the server is automatically collected.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes:
if the test management mode is a test data collection mode, executing the following operations through a test management script corresponding to the test data collection mode:
creating a test data file corresponding to the current test process in a data server;
collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished;
and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
According to the technical scheme provided by the embodiment of the invention, the current test process of the server can be managed according to the test management script corresponding to the test data collection mode designated by the user, the test data of the server are automatically collected in the test process of the server, and the collected test data are uploaded into the test data file in the data server.
Optionally, creating a test data file corresponding to the current test procedure in a data server, including:
judging whether the target user designates a test data file corresponding to the current test process;
if the target user designates a test data file corresponding to the current test process, creating the test data file corresponding to the current test process in a data server according to file creation information input by the target user;
if the target user does not specify the test data file corresponding to the current test process, the test data file corresponding to the current test process is created in a data server according to preset file creation information.
According to the technical scheme of the embodiment of the invention, the file for storing the collected test data of the tested server can be created in the data server according to the file creation information input by the target user or the preset file creation information.
Optionally, before determining the test management mode corresponding to the current test process of the tested server according to the mode identification parameter input by the target user, the method further includes:
after receiving a test preparation request corresponding to a tested server, deleting historical test data stored in the tested server.
According to the technical scheme provided by the embodiment of the invention, old test data stored in the server can be automatically deleted before the current test process starts, so that the influence of the old test data on the reliability of the test process is avoided, and the reliability of the test process is improved.
According to another aspect of the present invention, there is provided a test management apparatus including:
the mode determining module is used for determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameter input by the target user; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode;
and the test management module is used for managing the current test process of the tested server through the test management script corresponding to the test management mode.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the test management method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a test management method according to any one of the embodiments of the present invention.
According to the technical scheme, a test management mode corresponding to the current test process of the tested server is determined according to the mode identification parameters input by the target user, wherein the test management mode is a test environment inspection mode, a comprehensive management mode or a test data collection mode; the method has the advantages that the method can automatically manage the current test process of the server based on the test management mode and the test management script, automatically and accurately manage the current test process of the server in the current test process of the server based on the test management mode and the test management script, improve the efficiency and the accuracy of the test management process of the server, and reduce the labor cost and the time cost of the test management process of the server.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a test management method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a test management method according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a test management method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a test management device according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device implementing a test management method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "object," "first," "second," and the like in the description and the claims of the present invention and the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a test management method according to a first embodiment of the present invention. The embodiment can be applied to the situation of managing the test process of the server in the test process of the server. The method may be performed by a test management device, which may be implemented in hardware and/or software, which may be configured in an electronic apparatus. The electronic device is used for managing the test process of the server. As shown in fig. 1, the method includes:
Step 101, determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameter input by the target user.
The test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode.
Optionally, the test management mode is a mode of managing a current test procedure of the server. A plurality of different test management modes are provided in the electronic device. The test management mode set in the electronic device includes a test environment check mode, a comprehensive management mode, and a test data collection mode. The test environment checking mode refers to a mode that only needs to check whether the test environment of the tested server meets the test requirement in the test process of the tested server. The integrated management mode is a mode in which whether the test environment of the tested server meets the test requirement or not and the test data of the tested server are collected in the test process of the tested server. The test data collection mode refers to a mode in which only test data of the server under test needs to be collected during the test of the server under test. Each test management mode is provided with a unique corresponding mode identification parameter. The pattern identification parameter of the test management pattern is identification information for uniquely identifying the test management pattern. The pattern identification parameter of the test management pattern may be a character or a numerical number for uniquely identifying the test management pattern. The mode identification parameters of the different test management modes are not identical.
Alternatively, the server under test is the server that needs to be tested. The current test procedure of the server under test is the test procedure being performed by the server under test. The test management mode corresponding to the current test procedure of the server under test is a mode of managing the current test procedure of the server under test.
Alternatively, the target user may be a technician responsible for managing the server under test. The mode identification parameter input by the target user is the mode identification parameter of the test management mode which is designated by the target user and corresponds to the current test process of the tested server. After the current test process of the tested server starts, the target user can send the mode identification parameter of the test management mode, which is designated by the target user and corresponds to the current test process of the tested server, to the electronic device through the terminal device, so that the mode identification parameter of the test management mode, which is designated by the target user and corresponds to the current test process of the tested server, is input to the electronic device. The electronic equipment acquires the mode identification parameters input by the target user, and determines a test management mode corresponding to the current test process of the tested server according to the mode identification parameters input by the target user.
Optionally, determining, according to the mode identification parameter input by the target user, a test management mode corresponding to the current test process of the tested server includes: determining a test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode; and determining the test management mode corresponding to the mode identification parameter input by the target user as the test management mode corresponding to the current test process of the tested server.
Therefore, the mode designated by the user for managing the current testing process of the tested server can be determined according to the mode identification parameters input by the user, so that the current testing process of the tested server is automatically managed based on the mode designated by the user.
Optionally, the electronic device stores a correspondence between a preset mode identification parameter and a test management mode. The corresponding relation between the preset mode identification parameters and the test management modes comprises all the mode identification parameters and the test management modes corresponding to the mode identification parameters. The test management mode corresponding to the mode identification parameter is the test management mode to which the mode identification parameter belongs.
Optionally, determining the test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode includes: inquiring a target mode identification parameter which is the same as a mode identification parameter input by a target user in each mode identification parameter in a corresponding relation between a preset mode identification parameter and a test management mode; if the target mode identification parameter is queried, determining the test management mode corresponding to the target mode identification parameter as the test management mode corresponding to the mode identification parameter input by the target user. The target pattern identification parameter is the same as the pattern identification parameter input by the target user. The test management mode corresponding to the target mode identification parameter is the test management mode corresponding to the mode identification parameter input by the target user.
Optionally, the test management mode corresponding to the mode identification parameter input by the target user is a test management mode specified by the target user and corresponding to the current test process of the tested server. Therefore, the test management mode corresponding to the mode identification parameter input by the target user is determined as the test management mode corresponding to the current test process of the tested server. If the mode identification parameter input by the target user is the mode identification parameter of the test environment inspection mode, determining that the test management mode corresponding to the current test process of the tested server is the test environment inspection mode according to the mode identification parameter input by the target user. If the mode identification parameter input by the target user is the mode identification parameter of the integrated management mode, determining that the test management mode corresponding to the current test process of the tested server is the integrated management mode according to the mode identification parameter input by the target user. If the mode identification parameter input by the target user is the mode identification parameter of the test data collection mode, determining that the test management mode corresponding to the current test process of the tested server is the test data collection mode according to the mode identification parameter input by the target user.
Optionally, if the target mode identification parameter is not queried, sending a preset parameter error prompt message to the terminal device of the target user. The preset parameter error prompting information is used for prompting that the mode identification parameters input by the target user cannot be queried in the stored mode identification parameters, and the mode identification parameters input by the target user are wrong and the information of the mode identification parameters is requested to be input again. And determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameter re-input by the target user after the mode identification parameter re-input by the target user is acquired. The terminal device of the target user is a terminal device used by the target user.
And 102, managing the current test process of the tested server through a test management script corresponding to the test management mode.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes: if the test management mode is a test environment inspection mode, checking whether the test environment of the tested server meets the test requirement or not according to the inspection information of the tested server and the configuration information of the basic input/output system through a test management script corresponding to the test environment inspection mode, and determining the test environment inspection result of the tested server.
Therefore, the current test process of the server can be managed according to the test management script corresponding to the test environment checking mode designated by the user, and whether the test environment of the server meets the test requirement can be automatically checked in the test process of the server.
Optionally, the test management script corresponding to the test environment checking mode is a script that can be used to check whether the test environment of the tested server meets the test requirement after running. The test management script corresponding to the test environment inspection mode is set in the electronic device. When the test management script corresponding to the test environment checking mode is executed, the operation of checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system is executed, and determining the test environment checking result of the tested server.
Optionally, if the test management mode is a test environment inspection mode, it indicates that the mode designated by the target user for managing the current test process of the server is the test environment inspection mode, that is, a mode only needing to inspect whether the test environment of the tested server meets the test requirement in the test process of the tested server. Therefore, the electronic equipment runs the test management script corresponding to the test environment checking mode, so that whether the test environment of the tested server meets the test requirement is checked according to the checking information of the tested server and the configuration information of the basic input and output system through the test management script corresponding to the test environment checking mode, and the test environment checking result of the tested server is determined.
Alternatively, the target user may configure the test environment of the server under test before the current test procedure of the server under test begins. Configuring the test environment of the server under test may refer to configuring each BIOS configuration option of a basic input output system (Base Input Output System, BIOS) of the server under test, setting an option value of each BIOS configuration option to a target user-specified option value. Checking whether the test environment of the tested server meets the test requirement may refer to checking whether the current option value of each BIOS configuration option of the BIOS of the tested server is an option value specified by the target user for each BIOS configuration option. In general, if the current option value of each BIOS configuration option of the BIOS of the tested server is the option value specified by the target user for each BIOS configuration option, it may be determined that the test environment of the tested server meets the test requirement. If the current option value of one or more BIOS configuration options exists in each BIOS configuration option of the BIOS of the tested server is not the option value specified by the target user for each BIOS configuration option, the testing environment of the tested server can be determined to not meet the testing requirement.
Optionally, through a test management script corresponding to the test environment inspection mode, according to the inspection information of the tested server and the configuration information of the basic input/output system, whether the test environment of the tested server meets the test requirement is inspected, and the determination of the test environment inspection result of the tested server includes: executing the following operations through a test management script corresponding to the test environment checking mode: acquiring inspection information and basic input/output system configuration information of the tested server; checking whether the test environment of the tested server meets the test requirement or not according to the checking information and the basic input/output system configuration information; if the test environment of the tested server meets the test requirement, determining that the test environment check result of the tested server is qualified; if the test environment of the tested server does not meet the test requirement, determining that the test environment check result of the tested server is unqualified, and outputting the test environment abnormality information of the tested server.
Optionally, the test management script corresponding to the test environment inspection mode, when executed, performs the following operations: acquiring inspection information and basic input/output system configuration information of the tested server; checking whether the test environment of the tested server meets the test requirement or not according to the checking information and the basic input/output system configuration information; if the test environment of the tested server meets the test requirement, determining that the test environment check result of the tested server is qualified; if the test environment of the tested server does not meet the test requirement, determining that the test environment check result of the tested server is unqualified, and outputting the test environment abnormality information of the tested server.
Optionally, the inspection information of the tested server includes identification information and expected option values of each BIOS configuration option of the BIOS of the tested server. The identification information of each BIOS configuration option is information for uniquely identifying each BIOS configuration option. The identification information of the BIOS configuration option may be a numerical number or a character string for uniquely identifying the BIOS configuration option. The identification information of the different BIOS configuration options is not the same. The desired option value for each BIOS configuration option is an option value specified by the target user for each BIOS configuration option. The inspection information of the server under test may be stored in an inspection information file of the server under test. The inspection information file is a file set in the server under test for storing inspection information of the server under test.
Optionally, the BIOS configuration information of the tested server includes identification information of each BIOS configuration option of the BIOS of the tested server and a current option value. The current option value for each BIOS configuration option is the option value for each BIOS configuration option at the current time. The bios configuration information of the tested server may be stored in a bios configuration file of the tested server. The bios configuration file is a file set in the tested server and used for storing bios configuration information of the tested server.
Optionally, obtaining the inspection information and the basic input/output system configuration information of the tested server includes: acquiring the inspection information of the tested server from the inspection information file of the tested server; and acquiring the basic input and output system configuration information of the tested server from the basic input and output system configuration file of the tested server.
Optionally, according to the checking information and the bios configuration information, checking whether the testing environment of the tested server meets the testing requirement includes: acquiring expected option values of each BIOS configuration option from the checking information of the tested server; acquiring the current option value of each BIOS configuration option from the basic input/output system configuration information of the tested server; judging whether expected option values of all BIOS configuration options are consistent with the current option values; if the expected option values of all the BIOS configuration options are consistent with the current option value, indicating that the current option value of each BIOS configuration option of the BIOS of the tested server is the option value designated by the target user for each BIOS configuration option, determining that the test environment of the tested server meets the test requirement; if the BIOS configuration options with the expected option values inconsistent with the current option values exist in the BIOS configuration options, the current option values of one or more BIOS configuration options exist in the BIOS configuration options of the BIOS of the tested server, which are not the option values specified by the target user for the BIOS configuration options, and the testing environment of the tested server is determined to be inconsistent with the testing requirements.
Optionally, the test environment inspection result of the tested server is information for characterizing whether the test environment of the tested server meets the test requirement. And the test environment check result of the tested server is qualified or unqualified. And the test environment of the tested server is checked to be qualified, which indicates that the test environment of the tested server meets the test requirement. And the test environment of the tested server is checked to be unqualified, which indicates that the test environment of the tested server does not meet the test requirement. And if the test environment of the tested server meets the test requirement, determining that the test environment check result of the tested server is qualified. If the test environment of the tested server does not meet the test requirement, determining that the test environment check result of the tested server is unqualified, and outputting the test environment abnormality information of the tested server.
Optionally, the abnormal information of the test environment of the tested server refers to identification information of BIOS configuration options, expected option values and current option values, where all expected option values in the BIOS configuration options are inconsistent with the current option value. Outputting the abnormal information of the test environment of the tested server, comprising: and transmitting the identification information of the BIOS configuration options, the expected option values and the current option values, wherein all the expected option values are inconsistent with the current option values, to the terminal equipment of the target user.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes: if the test management mode is a comprehensive management mode, executing the following operations through a test management script corresponding to the comprehensive management mode: checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system, and determining the checking result of the test environment of the tested server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and storing the test data into a test data file corresponding to the current test process.
Therefore, the current test process of the server can be managed according to the test management script corresponding to the comprehensive management mode designated by the user, whether the test environment of the server meets the test requirement or not can be automatically checked in the test process of the server, and the test data of the server can be automatically collected.
Optionally, the test management script corresponding to the integrated management mode is a script that can be used to check whether the test environment of the tested server meets the test requirement and collect the test data of the tested server after running. The test management script corresponding to the integrated management mode is arranged in the electronic equipment. When the test management script corresponding to the integrated management mode is executed, operations of checking whether the test environment of the tested server meets the test requirement and collecting the test data of the tested server are executed: checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system, and determining the checking result of the test environment of the tested server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and storing the test data into a test data file corresponding to the current test process.
Optionally, if the test management mode is a comprehensive management mode, it indicates that the mode designated by the target user for managing the current test process of the server is a comprehensive management mode, that is, a mode in which whether the test environment of the tested server meets the test requirement or not and collecting the test data of the tested server is required to be checked in the test process of the tested server. Therefore, the electronic equipment runs the test management script corresponding to the integrated management mode, so that whether the test environment of the tested server meets the test requirement or not is checked through the test management script corresponding to the integrated management mode, and the test data of the tested server is collected.
Optionally, according to the inspection information of the tested server and the configuration information of the basic input/output system, whether the test environment of the tested server meets the test requirement is inspected, and determining the inspection result of the test environment of the tested server includes: acquiring inspection information and basic input/output system configuration information of the tested server; checking whether the test environment of the tested server meets the test requirement or not according to the checking information and the basic input/output system configuration information; if the test environment of the tested server meets the test requirement, determining that the test environment check result of the tested server is qualified; if the test environment of the tested server does not meet the test requirement, determining that the test environment check result of the tested server is unqualified, and outputting the test environment abnormality information of the tested server.
Alternatively, the test data of the server under test may refer to a system log and a baseboard management controller log associated with a current test procedure of the server under test. The system log associated with the current testing process of the server under test is a system log generated during the current testing process of the server under test. The system log may be a log for recording the operating states of the sensors in the server under test, the system states of the server under test, and alarm events in the server under test. The baseboard management controller log associated with the current testing process of the server under test is a baseboard management controller log generated during the current testing process of the server under test. The baseboard management controller log may be a log for recording setup operations and/or access operations to a baseboard management controller (Baseboard Management Controller, BMC) of the server under test. Each system log or baseboard management controller log generated in the server under test is stored in the local database of the server under test.
Optionally, collecting, in a local database of the tested server, a system log and a baseboard management controller log associated with a current testing process of the tested server until the current testing process of the tested server is finished, including: copying a system log and a baseboard management controller log which are stored in a local database of a tested server and have the log generation time equal to or later than the starting time of the current test process of the tested server; and copying the system log and the baseboard management controller log which are newly stored in the local database until the current test process of the tested server is finished. The log generation time of the system log is the time when the system log is generated. The log generation time of the baseboard management controller log is the time when the baseboard management controller log is generated. The start time of the current test procedure of the server under test is the time at which the current test procedure of the server under test starts. And the copied all system logs and all baseboard management controller logs are the collected system logs and baseboard management controller logs which are associated with the current test process of the tested server.
Optionally, determining the collected system log and baseboard management controller log associated with the current test process of the tested server as the test data of the tested server, and storing the test data into a test data file corresponding to the current test process, including: and determining all the copied system logs and all the baseboard management controller logs as test data of the tested server, and storing the test data into a test data file corresponding to the current test process. The test data file corresponding to the current test procedure may be a file set in the electronic device for storing test data of the server under test collected during the current test procedure.
Optionally, managing the current test process of the tested server through a test management script corresponding to the test management mode includes: if the test management mode is a test data collection mode, executing the following operations through a test management script corresponding to the test data collection mode: creating a test data file corresponding to the current test process in a data server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
Therefore, the current test process of the server can be managed according to the test management script corresponding to the test data collection mode designated by the user, the test data of the server are automatically collected in the test process of the server, and the collected test data are uploaded into the test data file in the data server.
Optionally, the test management script corresponding to the test data collection mode is a script that can be used to collect test data of the tested server after running and upload the collected test data into the test data file in the data server. The test management script corresponding to the test data collection mode is arranged in the electronic equipment. When the test management script corresponding to the test data collection mode is executed, the operation of collecting the test data of the tested server and uploading the collected test data into the test data file in the data server is executed: creating a test data file corresponding to the current test process in a data server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
Optionally, if the test management mode is a test data collection mode, the mode designated by the target user to manage the current test process of the server is a test data collection mode, that is, a mode in which test data of the server to be tested needs to be collected in the test process of the server to be tested. Therefore, the electronic device runs the test management script corresponding to the test data collection mode, so that the test data of the tested server are collected through the test management script corresponding to the test data collection mode, and the collected test data are uploaded into the test data file in the data server.
Optionally, creating a test data file corresponding to the current test procedure in a data server, including: judging whether the target user designates a test data file corresponding to the current test process; if the target user designates a test data file corresponding to the current test process, creating the test data file corresponding to the current test process in a data server according to file creation information input by the target user; if the target user does not specify the test data file corresponding to the current test process, the test data file corresponding to the current test process is created in a data server according to preset file creation information.
Thus, a file for storing the collected test data of the tested server can be created in the data server according to the file creation information input by the target user or the preset file creation information.
Optionally, the data server is a server for storing test data of the server. The test data file corresponding to the current test procedure may be a file in a data server for storing test data of a server under test collected during the current test procedure.
Optionally, determining whether the target user designates a test data file corresponding to the current test procedure includes: detecting whether a target user has input file creation information; if the fact that the target user has input file creation information is detected, determining that the target user designates a test data file corresponding to the current test process; and if the fact that the target user has input the file creation information is not detected, determining that the target user does not specify the test data file corresponding to the current test process. The file creation information may include a file name of a test data file corresponding to the current test procedure specified by the user.
Optionally, creating, in a data server, a test data file corresponding to the current test procedure according to the file creation information input by the target user, including: creating a file in a data server, and setting the file name in the file creation information input by the target user as the file name of the file; and determining the file as a test data file corresponding to the current test process.
Optionally, the preset file creation information may include a preset file name of a test data file corresponding to the current test procedure. Creating a test data file corresponding to the current test process in a data server according to preset file creation information, wherein the test data file comprises: creating a file in a data server, and setting the file name in preset file creation information as the file name of the file; and determining the file as a test data file corresponding to the current test process.
Optionally, collecting, in a local database of the tested server, a system log and a baseboard management controller log associated with a current testing process of the tested server until the current testing process of the tested server is finished, including: copying a system log and a baseboard management controller log which are stored in a local database of a tested server and have the log generation time equal to or later than the starting time of the current test process of the tested server; and copying the system log and the baseboard management controller log which are newly stored in the local database until the current test process of the tested server is finished. And the copied all system logs and all baseboard management controller logs are the collected system logs and baseboard management controller logs which are associated with the current test process of the tested server.
Optionally, determining the collected system log and baseboard management controller log associated with the current test process of the tested server as the test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server, including: and determining all the copied system logs and all the baseboard management controller logs as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
Optionally, before determining the test management mode corresponding to the current test process of the tested server according to the mode identification parameter input by the target user, the method further includes: after receiving a test preparation request corresponding to a tested server, deleting historical test data stored in the tested server.
Therefore, old test data stored in the server can be automatically deleted before the current test process starts, the old test data is prevented from affecting the reliability of the test process, and the reliability of the test process is improved.
Optionally, the test preparation request corresponding to the server under test is a request for requesting deletion of the history test data stored in the server under test. The historical test data stored in the server under test may be system logs and baseboard management controller logs stored in a local database of the server under test. The target user may send a test preparation request corresponding to the server under test to the electronic device through the terminal device before the current test procedure of the server under test starts. And after receiving a test preparation request corresponding to the tested server, the electronic equipment deletes the historical test data stored in the tested server.
Optionally, deleting the historical test data stored in the tested server includes: and deleting the system log and the baseboard management controller log in the local database of the tested server through the data deleting script.
Optionally, the data deleting script is a script that can delete the system log and the baseboard management controller log in the local database of the tested server after running. The data deleting script is arranged in the electronic equipment. When the data deleting script is run, the system log and the baseboard management controller log in the local database of the tested server are deleted. Before the current test process of the tested server starts, the electronic equipment runs a data deleting script, so that the system log and the baseboard management controller log in the local database of the tested server are deleted through the data deleting script, namely, the historical test data stored in the tested server are deleted.
According to the technical scheme, a test management mode corresponding to the current test process of the tested server is determined according to the mode identification parameters input by the target user, wherein the test management mode is a test environment inspection mode, a comprehensive management mode or a test data collection mode; the method has the advantages that the method can automatically manage the current test process of the server based on the test management mode and the test management script, automatically and accurately manage the current test process of the server in the current test process of the server based on the test management mode and the test management script, improve the efficiency and the accuracy of the test management process of the server, and reduce the labor cost and the time cost of the test management process of the server.
Example two
Fig. 2 is a flowchart of a test management method according to a second embodiment of the present invention. Embodiments of the invention may be combined with various alternatives to one or more of the embodiments described above. As shown in fig. 2, the method includes:
step 201, determining a test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode.
And 202, determining a test management mode corresponding to the mode identification parameter input by the target user as a test management mode corresponding to the current test process of the tested server.
The test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode.
And 203, managing the current test process of the tested server through a test management script corresponding to the test management mode.
According to the technical scheme of the embodiment of the invention, the mode designated by the user for managing the current testing process of the tested server can be determined according to the mode identification parameter input by the user, so that the current testing process of the tested server is automatically managed based on the mode designated by the user.
Example III
Fig. 3 is a flowchart of a test management method according to a third embodiment of the present invention, including the following steps:
step 301, determining a test management mode corresponding to a current test process of a tested server according to a mode identification parameter input by a target user: if the test management mode is the test environment inspection mode, executing step 302; if the test management mode is the integrated management mode, executing step 303; if the test management mode is the test data collection mode, step 306 is performed.
Step 302, checking whether the test environment of the tested server meets the test requirement according to the checking information of the tested server and the configuration information of the basic input/output system through the test management script corresponding to the test environment checking mode, and determining the test environment checking result of the tested server.
Step 303, checking whether the test environment of the tested server meets the test requirement according to the checking information of the tested server and the configuration information of the basic input/output system through the test management script corresponding to the integrated management mode, and determining the checking result of the test environment of the tested server.
And 304, collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server through a test management script corresponding to the integrated management mode until the current test process of the tested server is finished.
And 305, determining the collected system log and the collected baseboard management controller log which are associated with the current test process of the tested server as the test data of the tested server through the test management script corresponding to the integrated management mode, and storing the test data into the test data file corresponding to the current test process.
Step 306, creating a test data file corresponding to the current test process in the data server through the test management script corresponding to the test data collection mode.
Step 307, collecting the system log and the baseboard management controller log associated with the current test process of the tested server in the local database of the tested server through the test management script corresponding to the test data collection mode until the current test process of the tested server is finished.
And 308, determining the collected system log and the collected baseboard management controller log which are associated with the current test process of the tested server as the test data of the tested server through the test management script corresponding to the test data collection mode, and uploading the test data into the test data file corresponding to the current test process in the data server.
According to the technical scheme, the current test process of the server can be managed according to the test management script corresponding to the test environment checking mode designated by the user, whether the test environment of the server meets the test requirement or not is automatically checked in the test process of the server, the current test process of the server can be managed according to the test management script corresponding to the comprehensive management mode designated by the user, whether the test environment of the server meets the test requirement or not and the test data of the server is automatically checked in the test process of the server, the current test process of the server can be managed according to the test management script corresponding to the test data collecting mode designated by the user, the test data of the server is automatically collected in the test process of the server, and the collected test data is uploaded into the test data file in the data server, so that the current test process of the server is automatically and accurately managed in the test process of the server based on the test management mode and the test management script, the efficiency and the accuracy of the test management process of the server are improved, and the cost and time cost of the test management process of the server are reduced.
Example IV
Fig. 4 is a schematic structural diagram of a test management device according to a fourth embodiment of the present invention. The apparatus may be configured in an electronic device. As shown in fig. 4, the apparatus includes: a mode determination module 401 and a test management module 402.
The mode determining module 401 is configured to determine, according to a mode identification parameter input by a target user, a test management mode corresponding to a current test procedure of a server under test; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode; and the test management module 402 is configured to manage a current test procedure of the tested server according to a test management script corresponding to the test management mode.
According to the technical scheme, a test management mode corresponding to the current test process of the tested server is determined according to the mode identification parameters input by the target user, wherein the test management mode is a test environment inspection mode, a comprehensive management mode or a test data collection mode; the method has the advantages that the method can automatically manage the current test process of the server based on the test management mode and the test management script, automatically and accurately manage the current test process of the server in the current test process of the server based on the test management mode and the test management script, improve the efficiency and the accuracy of the test management process of the server, and reduce the labor cost and the time cost of the test management process of the server.
In an optional implementation manner of the embodiment of the present invention, optionally, the mode determining module 401 is specifically configured to: determining a test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode; and determining the test management mode corresponding to the mode identification parameter input by the target user as the test management mode corresponding to the current test process of the tested server.
In an optional implementation manner of the embodiment of the present invention, optionally, when executing an operation of managing a current test procedure of the server under test through a test management script corresponding to the test management mode, the test management module 402 is specifically configured to: if the test management mode is a test environment inspection mode, checking whether the test environment of the tested server meets the test requirement or not according to the inspection information of the tested server and the configuration information of the basic input/output system through a test management script corresponding to the test environment inspection mode, and determining the test environment inspection result of the tested server.
In an optional implementation manner of the embodiment of the present invention, optionally, when executing an operation of managing a current test procedure of the server under test through a test management script corresponding to the test management mode, the test management module 402 is specifically configured to: if the test management mode is a comprehensive management mode, executing the following operations through a test management script corresponding to the comprehensive management mode: checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system, and determining the checking result of the test environment of the tested server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and storing the test data into a test data file corresponding to the current test process.
In an optional implementation manner of the embodiment of the present invention, optionally, when executing an operation of managing a current test procedure of the server under test through a test management script corresponding to the test management mode, the test management module 402 is specifically configured to: if the test management mode is a test data collection mode, executing the following operations through a test management script corresponding to the test data collection mode: creating a test data file corresponding to the current test process in a data server; collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished; and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
In an optional implementation manner of the embodiment of the present invention, optionally, the test management module 402 is specifically configured to, when executing an operation of creating, in the data server, a test data file corresponding to the current test procedure: judging whether the target user designates a test data file corresponding to the current test process; if the target user designates a test data file corresponding to the current test process, creating the test data file corresponding to the current test process in a data server according to file creation information input by the target user; if the target user does not specify the test data file corresponding to the current test process, the test data file corresponding to the current test process is created in a data server according to preset file creation information.
In an optional implementation manner of the embodiment of the present invention, optionally, the test management apparatus further includes: and the data deleting module is used for deleting the historical test data stored in the tested server after receiving the test preparation request corresponding to the tested server.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The test management device can execute the test management method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the test management method.
Example five
Fig. 5 shows a schematic diagram of an electronic device 10 that may be used to implement the test management method of an embodiment of the invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program built into the Random Access Memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as a test management method.
In some embodiments, the test management method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When a computer program is built into RAM 13 and executed by processor 11, one or more steps of the test management method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the test management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the test management method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A test management method, comprising:
determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameters input by the target user; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode;
and managing the current test process of the tested server through the test management script corresponding to the test management mode.
2. The test management method according to claim 1, wherein determining a test management mode corresponding to a current test procedure of the server under test according to the mode identification parameter input by the target user, comprises:
determining a test management mode corresponding to the mode identification parameter input by the target user according to the corresponding relation between the preset mode identification parameter and the test management mode;
and determining the test management mode corresponding to the mode identification parameter input by the target user as the test management mode corresponding to the current test process of the tested server.
3. The test management method according to claim 2, wherein managing the current test procedure of the server under test by a test management script corresponding to the test management mode comprises:
if the test management mode is a test environment inspection mode, checking whether the test environment of the tested server meets the test requirement or not according to the inspection information of the tested server and the configuration information of the basic input/output system through a test management script corresponding to the test environment inspection mode, and determining the test environment inspection result of the tested server.
4. The test management method according to claim 2, wherein managing the current test procedure of the server under test by a test management script corresponding to the test management mode comprises:
if the test management mode is a comprehensive management mode, executing the following operations through a test management script corresponding to the comprehensive management mode:
checking whether the test environment of the tested server meets the test requirement or not according to the checking information of the tested server and the configuration information of the basic input and output system, and determining the checking result of the test environment of the tested server;
collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished;
and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and storing the test data into a test data file corresponding to the current test process.
5. The test management method according to claim 2, wherein managing the current test procedure of the server under test by a test management script corresponding to the test management mode comprises:
If the test management mode is a test data collection mode, executing the following operations through a test management script corresponding to the test data collection mode:
creating a test data file corresponding to the current test process in a data server;
collecting a system log and a baseboard management controller log associated with the current test process of the tested server in a local database of the tested server until the current test process of the tested server is finished;
and determining the collected system log and baseboard management controller log associated with the current test process of the tested server as test data of the tested server, and uploading the test data into a test data file corresponding to the current test process in the data server.
6. The test management method of claim 5, wherein creating a test data file corresponding to the current test procedure in a data server comprises:
judging whether the target user designates a test data file corresponding to the current test process;
if the target user designates a test data file corresponding to the current test process, creating the test data file corresponding to the current test process in a data server according to file creation information input by the target user;
If the target user does not specify the test data file corresponding to the current test process, the test data file corresponding to the current test process is created in a data server according to preset file creation information.
7. The test management method according to claim 1, further comprising, before determining a test management mode corresponding to a current test procedure of the server under test based on the mode identification parameter input by the target user:
after receiving a test preparation request corresponding to a tested server, deleting historical test data stored in the tested server.
8. A test management apparatus, comprising:
the mode determining module is used for determining a test management mode corresponding to the current test process of the tested server according to the mode identification parameter input by the target user; the test management mode is a test environment checking mode, a comprehensive management mode or a test data collecting mode;
and the test management module is used for managing the current test process of the tested server through the test management script corresponding to the test management mode.
9. An electronic device, the electronic device comprising:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the test management method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the test management method of any one of claims 1-7 when executed.
CN202311507322.0A 2023-11-13 2023-11-13 Test management method, device, equipment and medium Pending CN117539700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311507322.0A CN117539700A (en) 2023-11-13 2023-11-13 Test management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311507322.0A CN117539700A (en) 2023-11-13 2023-11-13 Test management method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117539700A true CN117539700A (en) 2024-02-09

Family

ID=89781895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311507322.0A Pending CN117539700A (en) 2023-11-13 2023-11-13 Test management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117539700A (en)

Similar Documents

Publication Publication Date Title
CN116881156A (en) Automatic test method, device, equipment and storage medium
CN107632909B (en) Method and system for automatically testing device functions
CN110874311A (en) Database detection method and device, computer equipment and storage medium
CN115086384B (en) Remote control test method, device, equipment and storage medium
CN117539700A (en) Test management method, device, equipment and medium
CN112948195B (en) Interface testing method, device, electronic equipment and storage medium
CN113300912B (en) Equipment testing method and device and electronic equipment
CN116149709A (en) Firmware upgrading method, device, equipment and medium
CN117687853A (en) Firmware detection method, device, equipment and medium
CN113836016B (en) Writing interface storage quality testing method, system, electronic equipment and storage medium
CN114138578B (en) Server testing method and device
CN116340098A (en) Server detection method, device, equipment and medium
CN113568795B (en) Static service testing method, device, equipment and storage medium
CN116302944A (en) Service system testing method and device, electronic equipment and storage medium
CN116306400B (en) Integrated circuit verification method, system, device, equipment and medium
CN117539699A (en) BMC test method, device, equipment and medium
CN114238149A (en) Batch testing method of accounting system, electronic device and storage medium
CN117221158A (en) Micro-service application monitoring method, device, equipment and medium
CN117648252A (en) Function test method and device for software application, electronic equipment and storage medium
CN116389460A (en) Communication data processing method, device, equipment and medium
CN116303074A (en) Server testing method, device, equipment and medium
CN116089307A (en) BIOS testing method, device, equipment and medium
CN117061564A (en) Verification method, device, equipment and medium for vehicle signal transmission state
CN117493147A (en) Buried point test method, buried point test device, buried point test equipment and storage medium
CN117453466A (en) Graphics processor testing method, device, equipment and 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