CN114629832A - Remote automatic test method, system, electronic equipment and storage medium - Google Patents

Remote automatic test method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114629832A
CN114629832A CN202210265619.XA CN202210265619A CN114629832A CN 114629832 A CN114629832 A CN 114629832A CN 202210265619 A CN202210265619 A CN 202210265619A CN 114629832 A CN114629832 A CN 114629832A
Authority
CN
China
Prior art keywords
tested
server
test
target
testing
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
CN202210265619.XA
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.)
Guangzhou Chaoyun Technology Co ltd
Original Assignee
Guangzhou Chaoyun 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 Guangzhou Chaoyun Technology Co ltd filed Critical Guangzhou Chaoyun Technology Co ltd
Priority to CN202210265619.XA priority Critical patent/CN114629832A/en
Publication of CN114629832A publication Critical patent/CN114629832A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a remote automatic test method, a system, an electronic device and a storage medium, comprising: receiving identification information of a target tested server in each server group to be tested; aiming at each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested; the test logs of all the server groups to be tested are received, and the test logs of all the server groups to be tested are stored in a distributed mode, so that the test logs of the server groups to be tested are received in real time, and convenience of users in using the test logs is improved.

Description

Remote automatic test method, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of automated testing technologies, and in particular, to a remote automated testing method, system, electronic device, and storage medium.
Background
With the rapid development of servers, people have higher and higher requirements for testing the servers and wider test ranges, in the existing automatic testing of the servers, the private deployment is mainly used and limited to local use, each local network stores test data of the servers in the automatic testing process, the test data of different servers in the testing process cannot be received in real time, and the requirements of the test data in use cannot be completely met. In this way, a phenomenon that the test data of different servers cannot be synchronously acquired in the process of testing the servers is caused, and therefore, how to acquire the test data in real time in the process of testing the different servers is a non-trivial problem.
Disclosure of Invention
In view of this, an object of the present application is to provide a remote automatic testing method, system, electronic device and storage medium, in which identification information of a target tested server in each server group to be tested is obtained in a data processing center, and initial configuration information and a testing tool of the target tested server are determined by using the identification information of each target tested server, a test log of the server group to be tested generated in the server group to be tested is received in real time, and the test logs of a plurality of server groups to be tested are stored in a distributed manner, so that the test logs of different server groups to be tested can be received in real time, the test logs of different server groups to be tested are stored in the data processing center in a distributed manner, and convenience in using the test logs by a user is improved.
The embodiment of the application provides a remote automatic testing method, which is applied to a data processing center and comprises the following steps:
receiving identification information of a target tested server in each server group to be tested;
aiming at each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested;
and receiving the test logs of each server group to be tested, and performing distributed storage on the test logs of each server group to be tested.
In one possible embodiment, before the receiving the identification information of the target server under test in each server population under test, the remote automated testing method further includes:
and acquiring the login information of the target tested server aiming at the target tested server, detecting whether the login information of the target tested server is matched with any reference login information in a preset reference login information database, and acquiring the identification information of the target tested server from a corresponding server group to be tested if the login information of the target tested server is matched with any reference login information in a plurality of reference login information databases.
In a possible implementation manner, the receiving a test log of each server group to be tested, and performing distributed storage on the test logs of each server group to be tested, further includes:
determining label information of a test log of the target tested server based on the identification information and the test time of the target tested server;
and performing distributed storage by using the label information of the test log of the target tested server.
The embodiment of the application also provides a remote automatic testing method, which is applied to a server group to be tested, and the remote automatic testing method comprises the following steps:
sending identification information of a target tested server in each server group to be tested to a data processing center;
receiving initial configuration information and a test tool for the target tested server based on the identification information of the target tested server;
carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment test;
and after the environmental test is finished, performing performance test by using a test tool corresponding to the target tested server, determining a test log of the target tested server in the performance test process, and sending the test log of the target tested server to a data processing center.
In a possible implementation manner, the performing the performance test by using the test tool corresponding to the target tested server further includes:
determining the test level of the target tested server based on the configuration information of the target tested server;
and performing performance test by using the level of the target tested server and the corresponding test tool.
The embodiment of the present application further provides a remote automation test system, which is applied to a data processing center, the remote automation test system includes:
the receiving module is used for receiving the identification information of the target tested server in each server group to be tested;
the test log generation module is used for determining initial configuration information and a test tool corresponding to a target tested server based on identification information of the target tested server in each server group to be tested, and sending the initial configuration information and the test tool to the server group to be tested, so that the server group to be tested tests the target tested server based on the corresponding initial configuration information and the test tool, and generates a test log of the server group to be tested;
and the distributed storage module is used for receiving the test logs of each server group to be tested and storing the test logs of each server group to be tested in a distributed manner.
The embodiment of the present application further provides a remote automatic test system, which is applied to a server group to be tested, and the remote automatic test system includes:
the sending module is used for sending the identification information of the target tested server in each server group to be tested to the data processing center;
a tool acquisition module, configured to receive initial configuration information and a test tool for the target server under test based on the identification information of the target server under test;
the environment testing module is used for carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment testing;
and the performance testing module is used for performing performance testing by using a testing tool corresponding to the target tested server after the environmental testing is finished, determining a testing log of the target tested server in the performance testing process, and sending the testing log of the target tested server to the data processing center.
In a possible implementation manner, when the performance testing module is used for performing the performance test by using the testing tool corresponding to the target tested server, the performance testing module is further configured to:
determining the test level of the target tested server based on the configuration information of the target tested server;
and performing performance test by using the level of the target tested server and the corresponding test tool.
An embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing the steps of the remote automated testing method as described above.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the remote automation test method as described above.
The embodiment of the application provides a remote automatic test method, a system, an electronic device and a storage medium, wherein the remote automatic test method comprises the following steps: receiving identification information of a target tested server in each server group to be tested; aiming at each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested; and receiving the test logs of each server group to be tested, and performing distributed storage on the test logs of each server group to be tested.
Therefore, the identification information of the target tested server in each server group to be tested is obtained in the data processing center, the initial configuration information and the testing tool of the target tested server are determined by utilizing the identification information of each target tested server, the test logs of the server group to be tested, which are generated in the server group to be tested, are received in real time, the test logs of the server groups to be tested are stored in a distributed mode, the test logs of the server groups to be tested are received in real time, and the convenience of using the test logs by users is improved through the distributed storage.
Furthermore, the initial configuration information of each target tested server and the testing tool are stored in the data processing center, so that the storage space of the server group to be tested is saved, and the memory pressure of the server group to be tested is reduced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart of a remote automated testing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another remote automated testing method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a remote automatic test system according to an embodiment of the present disclosure;
fig. 4 is a second schematic structural diagram of a remote automatic test system according to an embodiment of the present application;
fig. 5 is a third schematic structural diagram of a remote automatic test system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
To enable those skilled in the art to use the present disclosure in conjunction with a particular application scenario "test a server," the following embodiments are presented to enable those skilled in the art to apply the general principles defined herein to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The method, the apparatus, the electronic device, or the computer-readable storage medium described in the embodiments of the present application may be applied to any scenario that requires server testing, and the embodiments of the present application do not limit a specific application scenario, and any scheme that uses the remote automatic testing method, the system, the electronic device, and the storage medium provided in the embodiments of the present application is within the scope of protection of the present application.
Research shows that with the rapid development of servers, people have higher and higher requirements on the testing of the servers and wider testing range, and in the existing automatic testing of the servers, the private deployment is mainly used and is limited to local use, and all the local network storage servers store the testing data of the servers in the automatic testing process, so that the testing data of different servers in the testing process cannot be received in real time, and the requirements of the testing data in use cannot be completely met. In this way, a phenomenon that the test data of different servers cannot be synchronously acquired in the process of testing the servers is caused, and therefore, how to acquire the test data in real time in the process of testing the different servers is a non-trivial problem.
Based on this, the embodiment of the application provides a remote automatic testing method, which includes acquiring identification information of a target tested server in each server group to be tested in a data processing center, determining initial configuration information and a testing tool of the target tested server by using the identification information of each target tested server, receiving test logs of the server group to be tested generated in the server group to be tested in real time, and performing distributed storage on the test logs of a plurality of server groups to be tested to achieve real-time reception of the test logs of the server group to be tested, and improving convenience of users in using the test logs through distributed storage.
Referring to fig. 1, fig. 1 is a flowchart of a remote automation testing method according to an embodiment of the present disclosure. As shown in fig. 1, a remote automation test method provided in an embodiment of the present application includes:
s101: and receiving the identification information of the target tested server in each server group to be tested.
In this step, identification information of a target server to be tested in each server group to be tested is acquired.
Here, the server group to be tested is composed of a set of a plurality of target servers to be tested, and may be regarded as a testing laboratory, and the target servers to be tested are servers in the testing laboratory.
Here, the identification information may be an IP number, an SN number, or other information used to characterize the target server under test.
Further, before the receiving the identification information of the target server under test in each server population under test, the remote automated testing method further includes:
and acquiring the login information of the target tested server aiming at the target tested server, detecting whether the login information of the target tested server is matched with any reference login information in a preset reference login information database, and acquiring the identification information of the target tested server from a corresponding server group to be tested if the login information of the target tested server is matched with any reference login information in a plurality of reference login information databases.
Here, for each target server under test, the login information of the target server under test is acquired, the login information of the target server under test is matched with any reference login information in a preset reference login information database, and when the login information of the target server under test is successfully matched with any reference login information in the reference login information database, the identification information of the target server under test is acquired from the corresponding server group under test.
Here, if the registration information of the target server under test and any one of the reference registration information databases is unsuccessfully matched, the acquisition of the identification information of the target server under test is prohibited.
Here, the reference log information database stores history log information of a plurality of target servers under test.
The login information of the target tested server may include account information, password information, IP address information, and other information of the target tested server.
Here, the character string of the login information of the target server under test is matched with the reference character string of any reference login information in the preset reference login information database, and when the character string of the login information of the target server under test is consistent with the reference character string of any reference login information in the reference login information database, it is indicated that the matching is successful.
The central environment can be built by using the Nginx main server and the data processing center, so that other target tested servers are communicated with the main server through an internal network, and after the login verification of the user is successful, the main server acquires the identification information of the target tested servers, so that the connection communication is established, and the remote automatic testing of the servers is realized.
S102: for each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested.
In the step, for each service group to be tested, according to identification information of a target server to be tested in the service group to be tested, initial configuration information and a testing tool corresponding to the target server to be tested are matched in a data processing center, the data processing center sends the initial configuration information and the testing tool corresponding to the target server to be tested to the server group to be tested, batch testing is conducted on the target server to be tested in the server group to be tested by using the corresponding initial configuration information and the testing tool, a testing log generated by the target server in the testing process is obtained, and the testing log obtained by the target servers in the testing process is used as the testing log of the server group to be tested to which the target servers belong.
Further, the receiving the test logs of each server group to be tested and performing distributed storage on the test logs of each server group to be tested further includes:
(1): and determining label information of a test log of the target tested server based on the identification information and the test time of the target tested server.
Here, the identification information of the target server under test and the current test time together constitute the label information of the test log of the target server under test.
For example, the label information of the test log is identification information SN + test time of the target tested server. Or, the label information of the test log is equal to the identification information SN + test time + UUID of the target tested server.
(2) And performing distributed storage by using the label information of the test log of the target tested server.
Here, the label information of the test logs of the target tested server is used for distributed storage in the data processing center, so that the test logs of different target tested servers are stored under the labels of the test logs of different groups of servers to be tested. The method and the system facilitate the query of the test log of a certain target tested server under a certain server group to be tested by a user.
Here, the data processing center may also display the label information of the test log of the target tested server in a list form, so that a user can analyze the data in the test log and adjust the test information of the target tested server conveniently.
In a specific embodiment, a public network and a Nginx are used as carriers, a distributed mechanism is used as a core, automation is used as a basis, a plurality of places and one center are used as breakthroughs, a testing framework is modularized, a high-availability testing system of a server is constructed, the regional limitation of server testing is broken, the data processing center and a tested server to be tested are separated in space, the data processing center and the tested server to be tested are developed into a form of the server and a client on the basis of realizing the traditional automation testing, and distributed data storage and collection are realized.
The embodiment of the application provides a remote automatic test method, which is applied to a data processing center, and comprises the following steps: receiving identification information of target tested servers in each server group to be tested; aiming at each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested; and receiving the test logs of each server group to be tested, and performing distributed storage on the test logs of each server group to be tested.
Therefore, the identification information of the target server to be tested in each server group to be tested is obtained in the data processing center, the initial configuration information and the testing tool of the target server to be tested are determined by utilizing the identification information of each target server to be tested, the test logs of the server group to be tested, which are generated in the server group to be tested, are received in real time, the test logs of a plurality of server groups to be tested are stored in a distributed mode, the test logs of different server groups to be tested can be received in real time, the test logs of different server groups to be tested are stored in the data processing center in a distributed mode, and convenience of users in using the test logs is improved.
Referring to fig. 2, fig. 2 is a flowchart of another remote automatic testing method according to an embodiment of the present disclosure. As shown in fig. 2, a remote automation test method provided in an embodiment of the present application includes:
s201: and sending the identification information of the target tested server in each server group to be tested to a data processing center.
In the step, the server group to be tested sends identification information of a target server to be tested in each server group to be tested to the data processing center.
Here, the identification information of the target tested server may be an IP, which is used to characterize that the target tested server is unique and different from other target tested servers, and the identification information of each target tested server is unique and unchangeable.
S202: receiving initial configuration information and a test tool for the target tested server based on the identification information of the target tested server.
In the step, the identification information of the target tested server is sent to the data processing center, and the initial configuration information of the target tested server and the test tool from the data processing center are received.
Here, the initial configuration information is used to configure environment information of the target server under test, and the test tool is used to perform performance test on the target server under test.
S203: and carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment test.
In the step, the initial configuration information of the target tested server is used for carrying out environment configuration on the target tested server, so that a plurality of target tested servers are subjected to environment test in batch.
Here, the initial configuration information of different target servers under test is different, so the initial configuration information of different target servers under test needs to be acquired, and the environment configuration and the environment test of different target servers under test are completed at the same time.
S204: and after the environmental test is finished, performing performance test by using a test tool corresponding to the target tested server, determining a test log of the target tested server in the performance test process, and sending the test log of the target tested server to a data processing center.
In the step, after the environmental test of the target tested server is completed, the performance test is performed by using the test tool corresponding to the target tested server, the test log of the target tested server in the performance test process is determined, and the obtained test log of the target tested server is sent to the data processing center.
Here, the performance test includes a CPU test, a performance run-out, a read-write performance, a memory bandwidth, a network performance, an application performance, a graphics card performance, a system comprehensive performance, a reliability test, and the like.
Here, the TEST items include, but are not limited to, a rebot TEST, an STRESSAPPTEST TEST, an LTP _ TEST, a SPEC2006 TEST, a UNIXBENCH TEST, an IOZONE TEST, a STREAM TEST, a remote update firmware, a front TEST, a back TEST, and the like.
Further, the performing a performance test by using the test tool corresponding to the target tested server further includes:
a: and determining the test level of the target tested server based on the configuration information of the target tested server.
Here, the test level of the target tested server is determined by using the configuration information of the target tested server, so that the test efficiency is improved.
B: and performing performance test by using the level of the target tested server and the corresponding test tool.
The level of the target server to be tested and the corresponding testing tool are used for performance testing, so that the server groups to be tested in different regions can simultaneously perform performance testing, and the regional limitation of server testing is broken.
In the specific embodiment, when a plurality of target tested servers are tested in batch, the server group to be tested only needs to arrange the environment on the springboard machine according to requirements, so that the remote batch automatic test is realized, and the technical problem that the target tested servers in different areas cannot be tested automatically at the same time is solved.
In another specific embodiment, the target server to be tested sends a test request to the server group to be tested, the server group to be tested sends the identification information of the target server to be tested to the data processing center, the identification information is used for acquiring the initial configuration information and the test tool corresponding to each target server to be tested in the data processing center, the data processing center issues the initial configuration information and the test tool corresponding to each target server to be tested to the target server to be tested through the plurality of server groups to be tested, and the target server to be tested performs performance tests after receiving the initial configuration information and the test tool, so that the target servers to be tested in the server groups to be tested in different areas can perform performance tests simultaneously. The obtained test logs are sent to a server group to be tested in real time in the performance test process, a corresponding database is arranged in the server group to be tested to store the test logs of the target server to be tested, and the server group to be tested synchronizes the test logs of the target server to be tested to a data processing center in real time so as to distribute and store the test logs of the target server to be tested in the data processing center.
The remote automatic testing method provided by the embodiment of the application is applied to a server group to be tested, and comprises the following steps: sending identification information of a target tested server in each server group to be tested to a data processing center; receiving initial configuration information and a test tool for the target tested server based on the identification information of the target tested server; carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment test; and after the environmental test is finished, performing performance test by using the test tool corresponding to the target tested server, determining the test log of the target tested server in the performance test process, and sending the test log of the target tested server to a data processing center.
Therefore, the initial configuration information of each target tested server and the testing tool are stored in the data processing center, so that the storage space of the server group to be tested is saved, and the memory pressure of the server group to be tested is reduced.
Please refer to fig. 3, fig. 4, and fig. 5. Fig. 3 is a first schematic structural diagram of a remote automatic test system according to an embodiment of the present disclosure, fig. 4 is a second schematic structural diagram of a remote automatic test system according to an embodiment of the present disclosure, and fig. 5 is a third schematic structural diagram of a remote automatic test system according to an embodiment of the present disclosure. As shown in fig. 3, the remote automated test system 300 includes:
a receiving module 310, configured to receive identification information of a target server to be tested in each server group to be tested;
the test log generating module 320 is configured to determine, for each server group to be tested, initial configuration information and a test tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and send the initial configuration information and the test tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the test tool, and generates a test log of the server group to be tested;
the distributed storage module 330 is configured to receive the test logs of each server group to be tested, and perform distributed storage on the test logs of each server group to be tested.
Further, as shown in fig. 4, the remote automated testing system 300 further includes: the login information determination module 340, the login information determination module 340 configured to:
and acquiring the login information of the target tested server aiming at the target tested server, detecting whether the login information of the target tested server is matched with any reference login information in a preset reference login information database, and acquiring the identification information of the target tested server from a corresponding server group to be tested if the login information of the target tested server is matched with any reference login information in a plurality of reference login information databases.
Further, when the distributed storage module 330 is configured to receive the test logs of each server group to be tested, and perform distributed storage on the test logs of each server group to be tested, the distributed storage module 330 is further configured to:
determining label information of a test log of the target tested server based on the identification information and the test time of the target tested server;
and performing distributed storage by using the label information of the test log of the target tested server.
Further, as shown in fig. 5, the remote automated test system 300 includes:
the remote automated test system comprises:
a sending module 350, configured to send, to the data processing center, identification information of a target server to be tested in each server group to be tested;
a tool obtaining module 360, configured to receive initial configuration information and a test tool for the target tested server based on the identification information of the target tested server;
an environment testing module 370, configured to perform environment configuration and environment testing on the target tested server based on the initial configuration information of the target tested server;
and the performance testing module 380 is configured to perform a performance test by using a testing tool corresponding to the target tested server after the environment test is completed, determine a test log of the target tested server in a performance test process, and send the test log of the target tested server to the data processing center.
Further, when the performance testing module 380 is used for performing a performance test by using the testing tool corresponding to the target tested server, the performance testing module 370 is further configured to:
determining the test level of the target tested server based on the configuration information of the target tested server;
and performing performance test by using the level of the target tested server and the corresponding test tool.
The embodiment of the application provides a remote automation test system, is applied to data processing center, remote automation test system includes: the receiving module is used for receiving the identification information of the target tested server in each server group to be tested; the test log generation module is used for determining initial configuration information and a test tool corresponding to a target tested server based on identification information of the target tested server in each server group to be tested, and sending the initial configuration information and the test tool to the server group to be tested, so that the server group to be tested tests the target tested server based on the corresponding initial configuration information and the test tool, and generates a test log of the server group to be tested; and the distributed storage module is used for receiving the test logs of each server group to be tested and storing the test logs of each server group to be tested in a distributed manner.
Therefore, the identification information of the target tested server in each server group to be tested is obtained in the data processing center, the initial configuration information and the testing tool of the target tested server are determined by utilizing the identification information of each target tested server, the test logs of the server group to be tested, which are generated in the server group to be tested, are received in real time, the test logs of the server groups to be tested are stored in a distributed mode, the test logs of the server groups to be tested are received in real time, and the convenience of using the test logs by users is improved through the distributed storage.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the remote automation test method in the method embodiments shown in fig. 1 and fig. 2 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program may perform the steps of the remote automation testing method in the method embodiments shown in fig. 1 and fig. 2.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A remote automatic test method is applied to a data processing center, and comprises the following steps:
receiving identification information of a target tested server in each server group to be tested;
aiming at each server group to be tested, determining initial configuration information and a testing tool corresponding to a target server to be tested based on identification information of the target server to be tested in the server group to be tested, and sending the initial configuration information and the testing tool to the server group to be tested, so that the server group to be tested tests the target server to be tested based on the corresponding initial configuration information and the testing tool, and generates a testing log of the server group to be tested;
and receiving the test logs of each server group to be tested, and performing distributed storage on the test logs of each server group to be tested.
2. The remote automated testing method of claim 1, wherein prior to said receiving identification information of a target server under test in each population of servers under test, the remote automated testing method further comprises:
and aiming at the target tested server, acquiring login information of the target tested server, detecting whether the login information of the target tested server is matched with any reference login information in a preset reference login information database, and acquiring identification information of the target tested server from a corresponding group of servers to be tested if the login information of the target tested server is matched with any reference login information in a plurality of reference login information databases.
3. The remote automated testing method of claim 1, wherein the receiving and storing the test logs of each server group to be tested in a distributed manner further comprises:
determining label information of a test log of the target tested server based on the identification information and the test time of the target tested server;
and performing distributed storage by using the label information of the test log of the target tested server.
4. A remote automatic test method is applied to a server group to be tested, and comprises the following steps:
sending identification information of a target tested server in each server group to be tested to a data processing center;
receiving initial configuration information and a test tool for the target tested server based on the identification information of the target tested server;
carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment test;
and after the environmental test is finished, performing performance test by using a test tool corresponding to the target tested server, determining a test log of the target tested server in the performance test process, and sending the test log of the target tested server to a data processing center.
5. The remote automation test method of claim 4, wherein the performing the performance test by using the test tool corresponding to the target tested server further comprises:
determining the test level of the target tested server based on the configuration information of the target tested server;
and performing performance test by using the grade of the target tested server and the corresponding test tool.
6. A remote automated test system for use in a data processing center, the remote automated test system comprising:
the receiving module is used for receiving the identification information of the target tested server in each server group to be tested;
the system comprises a test log generation module, a test log generation module and a test log generation module, wherein the test log generation module is used for determining initial configuration information and a test tool corresponding to a target tested server in each server group to be tested based on identification information of the target tested server in the server group to be tested, and sending the initial configuration information and the test tool to the server group to be tested so as to enable the server group to be tested to test the target tested server based on the corresponding initial configuration information and the test tool and generate the test log of the server group to be tested;
and the distributed storage module is used for receiving the test logs of each server group to be tested and storing the test logs of each server group to be tested in a distributed manner.
7. A remote automated testing system for a group of servers to be tested, the remote automated testing system comprising:
the sending module is used for sending the identification information of the target tested server in each server group to be tested to the data processing center;
a tool acquisition module, configured to receive initial configuration information and a test tool for the target server under test based on the identification information of the target server under test;
the environment testing module is used for carrying out environment configuration on the target tested server based on the initial configuration information of the target tested server and carrying out environment testing;
and the performance testing module is used for performing performance testing by using a testing tool corresponding to the target tested server after the environmental testing is finished, determining a testing log of the target tested server in the performance testing process, and sending the testing log of the target tested server to the data processing center.
8. The remote automation test system of claim 7 wherein the performance testing module, when configured to perform the performance test using the test tool corresponding to the target server-under-test, is further configured to:
determining the test level of the target tested server based on the configuration information of the target tested server;
and performing performance test by using the grade of the target tested server and the corresponding test tool.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is run, the machine-readable instructions when executed by the processor performing the steps of the remote automated testing method according to any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the remote automation test method of any one of claims 1 to 5.
CN202210265619.XA 2022-03-17 2022-03-17 Remote automatic test method, system, electronic equipment and storage medium Pending CN114629832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210265619.XA CN114629832A (en) 2022-03-17 2022-03-17 Remote automatic test method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210265619.XA CN114629832A (en) 2022-03-17 2022-03-17 Remote automatic test method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114629832A true CN114629832A (en) 2022-06-14

Family

ID=81902092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210265619.XA Pending CN114629832A (en) 2022-03-17 2022-03-17 Remote automatic test method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114629832A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116507A1 (en) * 2001-02-20 2002-08-22 Manjure Samir B. Distributed testing of an implementation of a remote access protocol
WO2007070414A2 (en) * 2005-12-12 2007-06-21 Archivas, Inc. Automated software testing framework
US20110302298A1 (en) * 2010-06-07 2011-12-08 Salesforce.Com, Inc. Method and system for testing multiple components of a multi-tenant, multi-domain, multi-tiered website
CN106933709A (en) * 2015-12-31 2017-07-07 北京金山云网络技术有限公司 A kind of method of testing and device
CN110389900A (en) * 2019-07-10 2019-10-29 深圳市腾讯计算机系统有限公司 A kind of distributed experiment & measurement system test method, device and storage medium
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN111506508A (en) * 2020-04-17 2020-08-07 北京百度网讯科技有限公司 Edge calculation test method, device, equipment and readable storage medium
CN112541181A (en) * 2020-12-22 2021-03-23 建信金融科技有限责任公司 Method and device for detecting server security
CN113377664A (en) * 2021-06-25 2021-09-10 上海商汤科技开发有限公司 Model testing method and device, electronic device and storage medium
CN113890818A (en) * 2021-09-28 2022-01-04 广州超云科技有限公司 Equipment replacement alarm method, device, equipment and medium in server
CN113905030A (en) * 2021-09-30 2022-01-07 北京百度网讯科技有限公司 Intranet and extranet communication method and device, intranet terminal and proxy server

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116507A1 (en) * 2001-02-20 2002-08-22 Manjure Samir B. Distributed testing of an implementation of a remote access protocol
WO2007070414A2 (en) * 2005-12-12 2007-06-21 Archivas, Inc. Automated software testing framework
US20110302298A1 (en) * 2010-06-07 2011-12-08 Salesforce.Com, Inc. Method and system for testing multiple components of a multi-tenant, multi-domain, multi-tiered website
CN106933709A (en) * 2015-12-31 2017-07-07 北京金山云网络技术有限公司 A kind of method of testing and device
CN110389900A (en) * 2019-07-10 2019-10-29 深圳市腾讯计算机系统有限公司 A kind of distributed experiment & measurement system test method, device and storage medium
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN111506508A (en) * 2020-04-17 2020-08-07 北京百度网讯科技有限公司 Edge calculation test method, device, equipment and readable storage medium
CN112541181A (en) * 2020-12-22 2021-03-23 建信金融科技有限责任公司 Method and device for detecting server security
CN113377664A (en) * 2021-06-25 2021-09-10 上海商汤科技开发有限公司 Model testing method and device, electronic device and storage medium
CN113890818A (en) * 2021-09-28 2022-01-04 广州超云科技有限公司 Equipment replacement alarm method, device, equipment and medium in server
CN113905030A (en) * 2021-09-30 2022-01-07 北京百度网讯科技有限公司 Intranet and extranet communication method and device, intranet terminal and proxy server

Similar Documents

Publication Publication Date Title
CN107656874B (en) Interface testing method and device, simulation baffle and system
CN103259795B (en) Perform registration logs in automatically method, mobile terminal and server
US20210035126A1 (en) Data processing method, system and computer device based on electronic payment behaviors
CN108282527A (en) Generate the distributed system and method for Service Instance
CN105101122A (en) Verification code inputting method and device
CN111090615A (en) Method and device for analyzing and processing mixed assets, electronic equipment and storage medium
US11244153B2 (en) Method and apparatus for processing information
CN112184290A (en) Information recommendation method and device, electronic equipment and storage medium
CN113315989B (en) Live broadcast processing method, live broadcast platform, device, system, medium and equipment
CN110557466A (en) data processing method and device, electronic equipment and storage medium
CN107291612B (en) Test method and device
CN111612085A (en) Method and device for detecting abnormal point in peer-to-peer group
US20210157659A1 (en) Event execution method, device, and system
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN110688319A (en) Application keep-alive capability test method and related device
CN106570685B (en) Service processing method and device
CN114629832A (en) Remote automatic test method, system, electronic equipment and storage medium
CN109348438B (en) Customer identification method and device in short message communication process
CN110830314B (en) Method and device for determining abnormal traffic
CN114282940A (en) Method and apparatus for intention recognition, storage medium, and electronic device
CN112085443A (en) Distribution resource detection method, distribution resource detection device, distribution resource task execution method, distribution resource detection device, distribution task execution device and electronic equipment
CN114003784A (en) Request recording method, device, equipment and storage medium
CN110225097B (en) Information processing method, device and storage medium
CN108551484B (en) User information synchronization method, device, computer device and storage medium
CN110765016A (en) Game test instruction processing method, system, server and storage device

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