CN114996070A - Performance index testing method, device, equipment and storage medium - Google Patents

Performance index testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114996070A
CN114996070A CN202210753489.4A CN202210753489A CN114996070A CN 114996070 A CN114996070 A CN 114996070A CN 202210753489 A CN202210753489 A CN 202210753489A CN 114996070 A CN114996070 A CN 114996070A
Authority
CN
China
Prior art keywords
server
test
performance index
data information
information acquisition
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
CN202210753489.4A
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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data Technology 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202210753489.4A priority Critical patent/CN114996070A/en
Publication of CN114996070A publication Critical patent/CN114996070A/en
Pending legal-status Critical Current

Links

Images

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/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
    • G06F11/2236Detection 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 to test CPU or processors
    • 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/2268Logging of test results
    • 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/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Abstract

The application discloses a performance index testing method, a device, equipment and a storage medium, which relate to the technical field of computers and comprise the following steps: sending a test instruction for testing the performance index of the server to a server in-band information acquisition tool, and receiving a returned signal which is successful in responding to the test instruction to enter a test mode; determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so as to return corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators; and storing and recording the data information and carrying out graphical display to locate problems in the data information. Through the technical scheme of this application, the developer of being convenient for touches to examine and arrange the difficulty to performance data's collection and demonstration problem, promotes the speed efficiency of demand development.

Description

Performance index testing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a performance index testing method, a performance index testing device, performance index testing equipment and a storage medium.
Background
A server is one of computers that runs faster, is more heavily loaded, and is more expensive than a regular computer. The server provides computing or application services for other clients, such as terminals of a PC, a smart phone and the like, in the network. Server Management Software (SMS) can control Software management and upgrade of different levels of Server operation, processing hardware, operating system, and application Software, as well as resource management, performance maintenance, and monitoring configuration of the system. At present, the state of a server can be acquired through server management software in a machine room, a fault server is positioned, and the like, however, after the server management software is deployed, potential problems of SMS in the deployment of a client scene cannot be effectively positioned, and when the problems of collection and display of performance data are difficult to check, problem positioning cannot be effectively carried out, so that the time for deploying and solving the problems is too long, and the communication efficiency of developers is low.
In summary, how to facilitate the development personnel to check and eliminate the problem of performance data acquisition and display is difficult, and the problem to be solved is to improve the speed and efficiency of demand development.
Disclosure of Invention
In view of this, the present invention provides a performance index testing method, apparatus, device and storage medium, which is convenient for developers to perform troubleshooting on the problem of collecting and displaying performance data, and improves the speed and efficiency of demand development. The specific scheme is as follows:
in a first aspect, the present application discloses a performance index testing method, comprising:
sending a test instruction for testing the performance index of the server to a server in-band information acquisition tool, and receiving a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode;
determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators;
and storing and recording the data information, and graphically displaying the data information to locate problems in the data information.
Optionally, the sending a test instruction for testing the performance index of the server to the in-band server information obtaining tool includes:
and sending a test instruction for testing the utilization rate of a central processing unit, the utilization rate of a memory, the size of a magnetic disk, the read-write speed and the cache of the display card of the server to an in-band information acquisition tool of the server.
Optionally, after sending the test instruction for testing the performance index of the server to the in-band server information obtaining tool, the method further includes:
judging whether a response signal which is returned by the server in-band information acquisition tool and responds to the test instruction is received within a first preset time interval;
if the response signal is received within the first preset time interval, entering the test mode, and issuing the test data set for testing the performance index of the server;
and if the response signal is not received within the first preset time interval, quitting waiting for the response of the server in-band information acquisition tool, and prompting that the test mode fails to be entered.
Optionally, after the storing and recording the data information and the graphically displaying the data information, the method further includes:
exiting the test mode;
and after the server in-band information obtaining tool returns corresponding data information according to the test request, the method further comprises the following steps: and exiting the test mode.
Optionally, the storing and recording the data information, and graphically displaying the data information to locate a problem in the data information includes:
storing and recording the data information to obtain a storage log;
and analyzing and graphically displaying the data information in the storage log to locate the problems in the data information.
In a second aspect, the present application discloses a performance index testing method, comprising:
receiving a test instruction which is sent by server management software and used for testing the performance index of the server, and sending a signal of successful response to the test instruction to the server management software so as to enter a test mode;
acquiring a test request corresponding to a target performance index, and sending corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and displays the data information graphically to locate problems in the data information; the target performance index is an index in a test data set used for specifying the performance of the test, and the test data set is the set of the server performance indexes.
Optionally, the performance index testing method further includes:
judging whether a test request corresponding to the target performance index is acquired within a second preset time interval;
if the test request is acquired within the second preset time interval, triggering the step of sending corresponding data information to the server management software according to the test request;
and if the test request is not acquired within the second preset time interval, exiting the test mode.
In a third aspect, the present application discloses a performance index testing apparatus, comprising:
the system comprises a test mode entering module, a server in-band information acquisition tool and a test mode setting module, wherein the test mode entering module is used for sending a test instruction for testing the performance index of the server to the server in-band information acquisition tool and receiving a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode;
the target performance index determining module is used for determining a target performance index which is used for specifying the performance of the test in the test data set; wherein the test data set is a set of the server performance indicators;
the data information acquisition module is used for sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool can return corresponding data information according to the test request;
and the problem positioning module is used for storing and recording the data information and graphically displaying the data information so as to position the problem in the data information.
In a fourth aspect, the present application discloses an electronic device comprising a processor and a memory; wherein the memory is configured to store a computer program that is loaded and executed by the processor to implement the performance indicator testing method as described above.
In a fifth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements a performance indicator testing method as described above.
In the application, the server management software sends a test instruction for testing the performance index of the server to the server in-band information acquisition tool and receives a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode; determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators; storing and recording the data information to obtain a storage log; and analyzing and graphically displaying the data information in the storage log to locate the problems in the data information. Therefore, interaction is carried out on the basis of the server management software and the server in-band information acquisition tool, and after the server management software is deployed, data receiving and sending tests are carried out on the deployment environment so as to determine the deployment result and confirm the problems; providing a test mode which can be distinguished from the influence of data on the test effect during working; after entering a test mode, the server management software acquires the in-band system information of the server from the in-band system information acquisition tool to test, and the performance item index selection is supported, and the test index can be determined according to the requirement through a single test; in addition, the test data is stored, recorded and graphically displayed so that operation and maintenance personnel can conveniently and rapidly acquire server information and perform related maintenance operation, developers can conveniently and difficultly check and eliminate performance data according to the acquisition and display problems, and the speed and efficiency of demand development are improved; meanwhile, the potential problems of the server management software and the in-band system tool of the server are quickly and effectively positioned in the development and use processes of the server management software and the in-band system tool of the server, so that operation and maintenance workers can conveniently position the problems, the problem items can be more simply and accurately described, the communication efficiency with developers is improved, and the time for deploying and solving the problems is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a performance index testing method disclosed herein;
FIG. 2 is a schematic diagram of a specific performance index testing method disclosed herein;
FIG. 3 is a flow chart of a specific performance index testing method disclosed herein;
FIG. 4 is a flowchart of a specific performance index testing method disclosed herein;
FIG. 5 is a schematic structural diagram of a performance index testing apparatus disclosed in the present application;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
At present, after the deployment of the server management software is finished, potential problems of the SMS in the deployment of a client scene can not be effectively positioned, and when the problems of the collection and the display of performance data are difficult to check, the problems can not be effectively positioned, so that the occupied time for the deployment and the problem solving is too long, and the communication efficiency of developers is low.
Therefore, the performance index testing scheme is provided, developers can conveniently check and eliminate difficulties aiming at the problems of collection and display of performance data, and the speed efficiency of demand development is improved.
The embodiment of the invention discloses a performance index testing method, which is shown in figure 1 and comprises the following steps:
step S11: and sending a test instruction for testing the performance index of the server to a server in-band information acquisition tool, and receiving a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode.
In the embodiment of the application, Server Management Software (SMS) issues an instruction to enter a test mode, and a Server Information Acquisition Tool (sit) responds to the test instruction after receiving the test instruction and enters the test mode. Then the server management software receives the successful response of the test mode of the server in-band information acquisition tool and enters the test mode. Therefore, the server management software test mode is initiated, the server in-band information acquisition tool executes the response of the test mode, the handshake of the server management software and the server in-band information acquisition tool is realized, the connection is established, and the test mode is provided, so that the influence of data on the test effect during the working period is distinguished.
It should be noted that the server performance index to be tested may include a Central Processing Unit (CPU) utilization rate, a memory utilization rate, a disk size, a read-write rate, a video card cache, and the like, and may also include other data used for representing the server performance index, which is not limited herein.
Step S12: determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators.
In the embodiment of the application, the index of the test can be determined according to the requirement, that is, the selection of the performance data index is supported, for example, a single test can be performed for the index needing to be tested. Specifically, the server management software designates a performance data index to be tested, i.e., a target performance index, in the test data set, and then sends a request to the server in-band information acquisition tool according to the selected target performance index, so as to implement the second handshake between the server management software and the server in-band information acquisition tool.
In the embodiment of the application, after receiving the test request of the target performance index, the in-band information acquisition tool of the server acquires corresponding performance data, organizes data filling and reports the data according to the index requirement, so as to return corresponding data information and send the data information to the server management software, namely, the data information corresponding to the tested target performance index.
Step S13: and storing and recording the data information, and graphically displaying the data information to locate problems in the data information.
In the embodiment of the application, after receiving the test data, the server management software stores and graphically displays the test data for analysis and then exits from the test mode. And after the server in-band information acquisition tool reports the data information corresponding to the tested target performance index, the server also exits the test mode.
Fig. 2 is a schematic diagram of a specific performance index testing concept provided by the present application, so that after the SMS deployment is completed, data transceiving tests are performed on the deployment environment to determine the deployment result and the confirmation of the problem. The main idea is as follows: the SMS issues an instruction for entering a test mode; the SIAT receives the test command, responds and enters a test mode; the SMS receives a successful response from the sit test mode and enters the test mode. SMS selects a test performance set Rn and specifies performance data indexes to be tested; the SMS sends a request according to the selected performance index Rn; the SIAT receives the test request of the performance index Rn and returns the data information of the performance index Rn; the SMS receives the SIAT sending performance Rn data, and the SIAT sending performance Rn data is stored, recorded and displayed in a graphic mode. And checking the storage log, analyzing the transceiving state of the performance set Rn, and positioning the problem. In this way, the Server Management Software (SMS) performs the selection of performance items, test mode initiation, testing and recording of test results; and the in-band information tool (SIAT) executes the response of the test mode, the collection and the report of the test performance item data and the like.
In the application, the server management software sends a test instruction for testing the performance index of the server to the server in-band information acquisition tool and receives a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode; determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators; storing and recording the data information to obtain a storage log; and analyzing and graphically displaying the data information in the storage log so as to locate the problems in the data information. Therefore, interaction is carried out on the basis of the server management software and the in-band information acquisition tool of the server, and after the deployment of the server management software is finished, data receiving and sending tests are carried out on the deployment environment so as to determine the deployment result and the confirmation of the problems; providing a test mode which can be distinguished from the influence of data on the test effect during working; after entering a test mode, the server management software acquires the in-band system information of the server from the in-band system information acquisition tool to test, and the performance item index selection is supported, and the test indexes can be determined according to the requirements through single test; in addition, the test data is stored and recorded and graphically displayed so that operation and maintenance personnel can conveniently and rapidly obtain server information to carry out related maintenance operation, so that the development personnel can conveniently and difficultly check and eliminate the problems of acquisition and display of performance data, and the speed and the efficiency of development are improved; meanwhile, the potential problems of the server management software and the in-band system tool of the server are quickly and effectively positioned in the development and use processes of the server management software and the in-band system tool of the server, so that operation and maintenance workers can conveniently position the problems, the problem items can be more simply and accurately described, the communication efficiency with developers is improved, and the time for deploying and solving the problems is saved.
The embodiment of the application discloses a specific performance index testing method, which is shown in fig. 3 and comprises the following steps:
step S21: sending a test instruction for testing the performance index of the server to the in-band information acquisition tool of the server, and judging whether a response signal which is returned by the in-band information acquisition tool of the server and responds to the test instruction is received within a first preset time interval.
In the embodiment of the application, if the performance item test is required, the server management software issues an instruction to enter the test mode to the server in-band information acquisition tool, and waits for a response of the server in-band information acquisition tool, that is, determines whether a response signal to the test instruction response returned by the server in-band information acquisition tool is received within a first preset time interval.
Step S22: and if the response signal is received within the first preset time interval, entering the test mode and issuing the test data set for testing the performance index of the server.
In the embodiment of the application, if the response of the in-band information acquisition tool of the server is received within a first preset time interval, the server enters a test mode and issues the test data set for testing the performance index of the server.
Step S23: and if the response signal is not received within the first preset time interval, quitting waiting for the response of the server in-band information acquisition tool, and prompting that the test mode fails to be entered.
In the embodiment of the application, if the server management software does not receive the response after overtime, the server exits from waiting for the response of the in-band information acquisition tool of the server, and the failure of entering the test mode is prompted. Similarly, if the server in-band information acquisition tool does not receive the test data set for testing the performance index of the server, which is sent by the server management software, after time out, the server in-band information acquisition tool exits the test mode.
Step S24: determining a target performance index of a test data set for specifying the performance of a test, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool can return corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators.
For a more specific processing procedure of the step S24, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S25: storing and recording the data information to obtain a storage log; and analyzing and graphically displaying the data information in the storage log to locate the problems in the data information.
In the embodiment of the application, after receiving the data information corresponding to the tested target performance index sent by the in-band information acquisition tool of the server, the server management software stores, records and graphically displays the data information. When the storage log formed after the storage record is checked, the receiving and sending states of the target performance index can be conveniently analyzed, and the problem is located.
In the application, server management software sends a test instruction for testing a performance index of a server to a server in-band information acquisition tool, and judges whether a response signal which is returned by the server in-band information acquisition tool and responds to the test instruction is received within a first preset time interval; if the response signal is received within the first preset time interval, entering the test mode, and issuing the test data set for testing the performance index of the server; if the response signal is not received within the first preset time interval, quitting waiting for the response of the server in-band information acquisition tool, and prompting that the test mode fails to be entered; determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators; and storing and recording the data information, and graphically displaying the data information to locate problems in the data information. Therefore, interaction is carried out on the basis of the server management software and the in-band information acquisition tool of the server, and after the deployment of the server management software is finished, data receiving and sending tests are carried out on the deployment environment so as to determine the deployment result and the confirmation of the problems; providing a test mode which can be distinguished from the influence of data on the test effect during working; after entering a test mode, the server management software acquires the in-band system information of the server from the in-band system information acquisition tool to test, and the performance item index selection is supported, and the test indexes can be determined according to the requirements through single test; in addition, the test data is stored, recorded and graphically displayed so that operation and maintenance personnel can conveniently and rapidly acquire server information and perform related maintenance operation, developers can conveniently and difficultly check and eliminate performance data according to the acquisition and display problems, and the speed and efficiency of demand development are improved; meanwhile, the potential problems of the server management software and the in-band system tool of the server are quickly and effectively positioned in the development and use processes of the server management software and the in-band system tool of the server, so that operation and maintenance workers can conveniently position the problems, the problem items can be more simply and accurately described, the communication efficiency with developers is improved, and the time for deploying and solving the problems is saved.
The embodiment of the application discloses a specific performance index testing method, which is shown in fig. 4 and comprises the following steps:
step S31: receiving a test instruction which is sent by server management software and used for testing the performance index of the server, and sending a signal of successful response to the test instruction to the server management software so as to enter a test mode.
In the embodiment of the application, the in-band information acquisition tool of the server receives a test instruction which is sent by the server management software and used for testing the performance index of the server, and after receiving a test mode request, the in-band information acquisition tool of the server enters a test mode and waits for the server management software to issue a target performance index for testing.
It is to be noted that, in the process of waiting for the server management software to issue the target performance index for testing, it is determined whether a test request corresponding to the target performance index is obtained within a second preset time interval; if the test request is acquired within the second preset time interval, triggering the step of sending corresponding data information to the server management software according to the test request; and if the test request is not acquired within the second preset time interval, exiting the test mode. That is, if the in-band information acquisition tool of the server does not receive the test data set for testing the performance index of the server, which is sent by the server management software, after time out, the in-band information acquisition tool of the server exits from the test mode.
Step S32: acquiring a test request corresponding to a target performance index, and sending corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and displays the data information graphically to locate problems in the data information; the target performance index is an index in a test data set used for specifying the performance of the test, and the test data set is the set of the server performance indexes.
In the embodiment of the application, after receiving the test request of the target performance index, the in-band information acquisition tool of the server acquires corresponding performance data, organizes data filling and reports the data according to the index requirement, so as to return corresponding data information and send the data information to the server management software, namely, the data information corresponding to the tested target performance index. And after receiving the test data, the server management software stores and graphically displays the test data for analysis and then exits the test mode. And after the server in-band information acquisition tool reports the data information corresponding to the tested target performance index, the server also exits the test mode.
In the application, a server in-band information acquisition tool receives a test instruction which is sent by server management software and used for testing the performance index of a server, and sends a signal which is successful in responding to the test instruction to the server management software so as to enter a test mode; acquiring a test request corresponding to a target performance index, and sending corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and graphically displays the data information to locate problems in the data information; the target performance index is an index in a test data set used for specifying the performance of the test, and the test data set is the set of the server performance indexes. Therefore, interaction is carried out on the basis of the server management software and the in-band information acquisition tool of the server, and after the deployment of the server management software is finished, data receiving and sending tests are carried out on the deployment environment so as to determine the deployment result and the confirmation of the problems; providing a test mode which can be distinguished from the influence of data on the test effect during working; after entering a test mode, the server management software acquires the in-band system information of the server from the in-band system information acquisition tool to test, and the performance item index selection is supported, and the test indexes can be determined according to the requirements through single test; in addition, the test data is stored, recorded and graphically displayed so that operation and maintenance personnel can conveniently and rapidly acquire server information and perform related maintenance operation, developers can conveniently and difficultly check and eliminate performance data according to the acquisition and display problems, and the speed and efficiency of demand development are improved; meanwhile, the potential problems of the server management software and the in-band system tool of the server are quickly and effectively positioned in the development and use processes of the server management software and the in-band system tool of the server, so that operation and maintenance workers can conveniently position the problems, the problem items can be more simply and accurately described, the communication efficiency with developers is improved, and the time for deploying and solving the problems is saved.
Correspondingly, the embodiment of the present application further discloses a performance index testing apparatus, as shown in fig. 5, the apparatus includes:
the test mode entering module 11 is configured to send a test instruction for testing a performance index of the server to the in-band server information obtaining tool, and receive a signal that is returned by the in-band server information obtaining tool and successfully responds to the test instruction, so as to enter a test mode;
a target performance index determination module 12, configured to determine a target performance index in the test data set for specifying performance of the test; wherein the test data set is a set of the server performance indicators;
a data information obtaining module 13, configured to send a test request corresponding to the target performance index to the server in-band information obtaining tool, so that the server in-band information obtaining tool returns corresponding data information according to the test request;
and the problem positioning module 14 is configured to store and record the data information, and graphically display the data information to position a problem in the data information.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, according to the scheme of the embodiment, the server management software sends the test instruction for testing the performance index of the server to the server in-band information acquisition tool and receives the signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter the test mode; determining a target performance index of a test data set for specifying the performance of a test, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool can return corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators; and storing and recording the data information, and graphically displaying the data information to locate problems in the data information. Therefore, interaction is carried out on the basis of the server management software and the in-band information acquisition tool of the server, and after the deployment of the server management software is finished, data receiving and sending tests are carried out on the deployment environment so as to determine the deployment result and the confirmation of the problems; providing a test mode which can be distinguished from the influence of data on the test effect during working; after entering a test mode, the server management software acquires the in-band system information of the server from the in-band system information acquisition tool to test, and the performance item index selection is supported, and the test indexes can be determined according to the requirements through single test; in addition, the test data is stored, recorded and graphically displayed so that operation and maintenance personnel can conveniently and rapidly acquire server information and perform related maintenance operation, developers can conveniently and difficultly check and eliminate performance data according to the acquisition and display problems, and the speed and efficiency of demand development are improved; meanwhile, the potential problems of the server management software and the in-band system tool of the server are quickly and effectively positioned in the development and use processes of the server management software and the in-band system tool of the server, so that operation and maintenance workers can conveniently position the problems, the problem items can be more simply and accurately described, the communication efficiency with the developers is improved, and the time for deploying and solving the problems is saved.
Further, an electronic device is disclosed in the embodiments of the present application, and fig. 6 is a block diagram of an electronic device 20 according to an exemplary embodiment, which should not be construed as limiting the scope of the application.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the performance index testing method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be a computer.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to acquire external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, the resources stored thereon may include an operating system 221, a computer program 222, data 223, and the like, and the data 223 may include various data. The storage means may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, Netware, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the performance index testing method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, embodiments of the present application disclose a computer-readable storage medium, where the computer-readable storage medium includes a Random Access Memory (RAM), a Memory, a Read-Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk, or an optical disk, or any other form of storage medium known in the art. Wherein the computer program, when executed by a processor, implements the aforementioned performance index testing method. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The steps of a performance level test or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The performance index testing method, device, equipment and storage medium provided by the invention are described in detail, and a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A performance index testing method is characterized by comprising the following steps:
sending a test instruction for testing the performance index of the server to a server in-band information acquisition tool, and receiving a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode;
determining a target performance index used for specifying the performance of a test in a test data set, and sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein the test data set is a set of all the server performance indicators;
and storing and recording the data information, and graphically displaying the data information to locate problems in the data information.
2. The performance index testing method of claim 1, wherein the sending of the test command for testing the performance index of the server to the in-band information acquisition tool of the server comprises:
and sending a test instruction for testing the utilization rate of a central processing unit, the utilization rate of a memory, the size of a magnetic disk, the read-write speed and the cache of the display card of the server to an in-band information acquisition tool of the server.
3. The performance index testing method of claim 1, wherein after sending the testing command for testing the performance index of the server to the in-band server information obtaining tool, the method further comprises:
judging whether a response signal which is returned by the server in-band information acquisition tool and responds to the test instruction is received within a first preset time interval;
if the response signal is received within the first preset time interval, entering the test mode, and issuing the test data set for testing the performance index of the server;
and if the response signal is not received within the first preset time interval, quitting waiting for the response of the server in-band information acquisition tool, and prompting that the test mode fails to be entered.
4. The performance index testing method of claim 1, wherein after storing and recording the data information and displaying the data information graphically, the method further comprises:
exiting the test mode;
and after the server in-band information obtaining tool returns corresponding data information according to the test request, the method further comprises the following steps: and exiting the test mode.
5. The performance index testing method of any one of claims 1 to 4, wherein the storing and recording the data information and the graphically displaying the data information to locate problems in the data information comprises:
storing and recording the data information to obtain a storage log;
and analyzing and graphically displaying the data information in the storage log to locate the problems in the data information.
6. A performance index testing method is characterized by comprising the following steps:
receiving a test instruction which is sent by server management software and used for testing the performance index of the server, and sending a signal of successful response to the test instruction to the server management software so as to enter a test mode;
acquiring a test request corresponding to a target performance index, and sending corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and displays the data information graphically to locate problems in the data information; the target performance index is an index in a test data set used for specifying the performance of the test, and the test data set is the set of the server performance indexes.
7. The performance index testing method of claim 6, further comprising:
judging whether a test request corresponding to the target performance index is acquired within a second preset time interval;
if the test request is acquired within the second preset time interval, triggering the step of sending corresponding data information to the server management software according to the test request;
and if the test request is not acquired within the second preset time interval, exiting the test mode.
8. A performance index testing device, comprising:
the system comprises a test mode entering module, a server in-band information acquisition tool and a test mode setting module, wherein the test mode entering module is used for sending a test instruction for testing the performance index of the server to the server in-band information acquisition tool and receiving a signal which is returned by the server in-band information acquisition tool and successfully responds to the test instruction so as to enter a test mode;
the target performance index determining module is used for determining a target performance index which is used for specifying the performance of the test in the test data set; wherein the test data set is a set of the server performance indicators;
the data information acquisition module is used for sending a test request corresponding to the target performance index to the server in-band information acquisition tool so that the server in-band information acquisition tool can return corresponding data information according to the test request;
and the problem positioning module is used for storing and recording the data information and graphically displaying the data information so as to position the problem in the data information.
9. An electronic device, comprising a processor and a memory; wherein the memory is configured to store a computer program that is loaded and executed by the processor to implement the performance indicator testing method of any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the performance indicator testing method of any of claims 1 to 7.
CN202210753489.4A 2022-06-29 2022-06-29 Performance index testing method, device, equipment and storage medium Pending CN114996070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210753489.4A CN114996070A (en) 2022-06-29 2022-06-29 Performance index testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210753489.4A CN114996070A (en) 2022-06-29 2022-06-29 Performance index testing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114996070A true CN114996070A (en) 2022-09-02

Family

ID=83020110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210753489.4A Pending CN114996070A (en) 2022-06-29 2022-06-29 Performance index testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114996070A (en)

Similar Documents

Publication Publication Date Title
CN108683562B (en) Anomaly detection positioning method and device, computer equipment and storage medium
CN107241229B (en) Service monitoring method and device based on interface testing tool
CN103532780A (en) Operation and maintenance monitoring integral system and integral monitoring method used in IT (information technology) field
CN110784374A (en) Method, device, equipment and system for monitoring operation state of service system
CN105607994A (en) Mobile terminal software testing method and system
CN111355622A (en) Container traffic monitoring method, system and computer readable storage medium
CN105045714A (en) Method and device for testing starting duration of application software and terminal
CN112311620A (en) Method, apparatus, electronic device and readable medium for diagnosing network
CN105405221A (en) Method and device for automated test
CN111464376A (en) Website availability monitoring method and device, storage medium and computer equipment
CN111352836A (en) Pressure testing method and related device
CN110708214B (en) Service data display method, device, equipment and computer readable storage medium
CN114661594A (en) Method, apparatus, medium, and program product for automated testing
CN112269697B (en) Equipment storage performance testing method, system and related device
CN112395187A (en) Test method, test system, computer device and storage medium
CN111597111A (en) Application program starting speed monitoring method and device
CN114996070A (en) Performance index testing method, device, equipment and storage medium
CN105405220A (en) Method and device for automated test
US10834169B2 (en) System and method of communicating with and controlling a test device
CN113434406B (en) Function test method and device, storage medium and electronic equipment
CN110908905B (en) Method, device, equipment and medium for measuring APP transaction speed of security dealer
KR102372556B1 (en) Mobile service control method and system based on mobile remote control technology
CN109408356B (en) Code coverage rate acquisition method for manual testing of target application
CN114218072A (en) Test script generation method and device, storage medium and computer equipment
CN113849356A (en) Equipment testing method and device, electronic 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