Movatterモバイル変換


[0]ホーム

URL:


CN114629832B - 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
CN114629832B
CN114629832BCN202210265619.XACN202210265619ACN114629832BCN 114629832 BCN114629832 BCN 114629832BCN 202210265619 ACN202210265619 ACN 202210265619ACN 114629832 BCN114629832 BCN 114629832B
Authority
CN
China
Prior art keywords
server
tested
test
target
target tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210265619.XA
Other languages
Chinese (zh)
Other versions
CN114629832A (en
Inventor
李华希
唐文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 ltdfiledCriticalGuangzhou Chaoyun Technology Co ltd
Priority to CN202210265619.XApriorityCriticalpatent/CN114629832B/en
Publication of CN114629832ApublicationCriticalpatent/CN114629832A/en
Application grantedgrantedCritical
Publication of CN114629832BpublicationCriticalpatent/CN114629832B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides a remote automatic test method, a system, electronic equipment and a storage medium, comprising the following steps: receiving identification information of a target tested server in each server group to be tested; determining initial configuration information and a testing tool corresponding to a target tested server according to identification information of the target tested server in each 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 tested server according to the corresponding initial configuration information and the testing tool, and generating a testing log of the server group to be tested; receiving the test logs of each server group to be tested, and carrying out distributed storage on the test logs of each server group to be tested, so as to realize the real-time receiving of the test logs of the server group to be tested, and improve the convenience of using the test logs by users.

Description

Remote automatic test method, system, electronic equipment and storage medium
Technical Field
The present application relates to the field of automated testing technologies, and in particular, to a remote automated testing method, system, electronic device, and storage medium.
Background
Along with the rapid development of servers, the test requirements of people on the servers are higher and wider, the test range is wider and wider, in the existing automatic test of the servers, the proprietary deployment is mainly used, the local use is limited, the test data of each local network storage server in the automatic test cannot be received in real time, and the requirements of different servers in the test process in the use of the test data cannot be completely met. Therefore, the phenomenon that the test data of different servers cannot be synchronously acquired in the process of server testing is caused, and therefore, how to realize real-time acquisition of the test data in the process of testing the different servers becomes a non-trivial problem.
Disclosure of Invention
In view of the above, the present application is directed to a remote automatic test method, system, electronic device, and storage medium, which obtain identification information of a target server to be tested in each server group to be tested in a data processing center, determine initial configuration information and a test tool of the target server to be tested by using the identification information of each target server to be tested, receive test logs of a generated server group to be tested in the server group to be tested in real time, and store the test logs of a plurality of server groups to be tested in a distributed manner, so as to realize that test logs of different server groups to be tested can be received in real time, and store the test logs of different server groups to be tested in a distributed manner in the data processing center, thereby improving convenience of using the test logs by users.
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;
Determining initial configuration information and a testing tool corresponding to a target tested server according to identification information of the target tested server in each 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 tested server according to 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 carrying out distributed storage on the test logs of each server group to be tested.
In one possible implementation manner, before the receiving the identification information of the target tested server in each server group to be tested, the remote automatic testing method further includes:
The method comprises the steps of acquiring login information of a 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 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 one possible implementation manner, the receiving the test logs of each server farm to be tested and the storing the test logs of each server farm to be tested in a distributed manner 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 using the label information of the test log of the target tested server to perform distributed storage.
The embodiment of the application also provides a remote automatic testing method which is applied to the server group to be tested and comprises the following steps:
transmitting 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;
Performing environment configuration and environment test on the target tested server based on the initial configuration information of the target tested server;
and after the environment test is completed, 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 one possible implementation manner, the performance test is performed by using a test tool corresponding to the target tested server, and the method 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 application also provides a remote automatic test system which is applied to the data processing center and comprises:
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 according to 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 according to 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 is used for receiving the test logs of each server group to be tested and carrying out distributed storage on the test logs of each server group to be tested.
The embodiment of the application also provides a remote automatic test system which is applied to the server group to be tested and comprises:
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;
the tool acquisition module is used for receiving initial configuration information and a test tool aiming at the target server to be tested based on the identification information of the target server to be tested;
the environment testing module is used for carrying out environment configuration and environment testing on the target tested server based on the initial configuration information of the target tested server;
And the performance test module is used for performing performance test by using the test tool corresponding to the target tested server after the environment test is completed, 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 the data processing center.
In a possible implementation manner, the performance test module is further configured to, when used for performing a performance test with the test tool corresponding to the target tested server:
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 also provides electronic equipment, which comprises: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the remote automated test method as described above.
Embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a remote automated test method as described above.
The embodiment of the application provides a remote automatic test method, a system, electronic equipment 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; determining initial configuration information and a testing tool corresponding to a target tested server according to identification information of the target tested server in each 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 tested server according to 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 carrying out distributed storage on the test logs of each server group to be tested.
In this way, 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 generated test logs of the server group to be tested in the server group to be tested are received in real time, the test logs of the server groups to be tested are distributed and stored, so that the test logs of the server group to be tested are received in real time, and the convenience of using the test logs by a user is improved through distributed storage.
Furthermore, by storing the initial configuration information of each target tested server and the testing tool in the data processing center, the storage space of the server group to be tested is saved, so that the memory pressure of the server group to be tested is reduced.
In order to make the above 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 needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a remote automated testing method according to an embodiment of the present application;
FIG. 2 is a flow chart of another method of remote automated testing according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a remote automated testing system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a remote automated testing system according to an embodiment of the present application;
FIG. 5 is a third schematic diagram of a remote automated testing 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be appreciated that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art based on embodiments of the application without making any inventive effort, fall within the scope of the application.
In order to enable those skilled in the art to make and use the present disclosure, the following embodiments are provided in connection with a particular application scenario "test server", and it will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
The method, the device, the electronic equipment or the computer readable storage medium can be applied to any scene requiring server testing, the embodiment of the application does not limit specific application scenes, and any scheme using the remote automatic testing method, the system, the electronic equipment and the storage medium provided by the embodiment of the application is within the protection scope of the application.
According to research, with rapid development of the server, the requirements of people on the test of the server are higher and wider, the test range is wider and wider, in the existing automatic test of the server, privately deployed servers are mainly limited to local use, all the local use is that each local network stores the test data of the server in the automatic test, the test data of different servers in the test process cannot be received in real time, and the requirement of the test data in use cannot be completely met. Therefore, the phenomenon that the test data of different servers cannot be synchronously acquired in the process of server testing is caused, and therefore, how to realize real-time acquisition of the test data in the process of testing the different servers becomes a non-trivial problem.
Based on the above, the embodiment of the application provides a remote automatic test method, which is characterized in that identification information of a target tested server in each server group to be tested is obtained in a data processing center, initial configuration information and a test tool of the target tested server are determined by utilizing the identification information of each target tested server, test logs of the generated server groups to be tested in the server groups to be tested are received in real time, and the test logs of the server groups to be tested are distributed and stored, so that 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 distributed storage.
Referring to fig. 1, fig. 1 is a flowchart of a remote automatic testing method according to an embodiment of the application. As shown in fig. 1, the remote automatic test method provided by the embodiment of the application includes:
s101: and receiving the identification information of the target tested server in each server group to be tested.
In the step, the identification information of the target tested server in each server group to be tested is obtained.
Here, the server group to be tested is composed of a collection of a plurality of target servers to be tested, which can be regarded as one test laboratory, and the target servers to be tested are servers in the test laboratory.
Here, the identification information may be an IP number, SN number, or other information used to characterize the target tested server.
Further, before the receiving the identification information of the target tested server in each server group to be tested, the remote automatic testing method further includes:
The method comprises the steps of acquiring login information of a 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 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 tested server, acquiring login information of the target tested server, matching the login information of the target tested server with any reference login information in a preset reference login information database, and acquiring identification information of the target tested server from a corresponding server group to be tested when the login information of the target tested server and any reference login information in the reference login information database are successfully matched.
Here, if the matching of the login information of the target server under test and any one of the reference login information in the reference login information database is unsuccessful, the acquisition of the identification information of the target server under test is prohibited.
Here, the reference login information database stores history login 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, matching the character string of the login information of the target tested server with any reference character string of the reference login information in the preset reference login information database, and when the character string of the login information of the target tested server is consistent with any reference character string of the reference login information in the reference login information database, indicating 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 servers to be tested are communicated with the main server through an internal network, and after the user login verification is successful, the main server acquires the identification information of the target servers to be tested, connection communication is established, and remote automatic test implementation 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 generating a test log of the server group to be tested.
In the step, for each service group to be tested, according to the identification information of a target server to be tested in the service group to be tested, initial configuration information and a test 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 test tool corresponding to the target server to be tested to the service group to be tested, the corresponding initial configuration information and the test tool are utilized to conduct batch test on the target server to be tested in the service group to be tested, test logs generated by the target server in the test process are obtained, and the test logs obtained by the target servers in the test process are used as test logs of the service group to be tested, to which the target servers belong.
Further, the receiving the test logs of each server group to be tested, and the performing distributed storage on the test logs of each server group to be tested, further includes:
(1): and determining the label information of the test log of the target tested server based on the identification information and the test time of the target tested server.
Here, the tag information of the test log of the target server under test is formed together by using the identification information of the target server under test and the current test time.
For example, the tag information of the test log=the identification information SN of the target server under test+the test time. Or, the label information of the test log=the identification information SN of the target tested server+the test time+the UUID.
(2) And using the label information of the test log of the target tested server to perform distributed storage.
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 server groups to be tested. The method is convenient for a user to inquire the test log of a target tested server under a certain server group to be tested.
Here, the label information of the test log of the target tested server can be displayed in a list form in the data processing center, so that a user can conveniently analyze the data in the test log and adjust the test information of the target tested server.
In a specific embodiment, a public network and Nginx are used as carriers, a distributed mechanism is used as a core, automation is used as a basis, a multi-place and one-center is used as a breakthrough, a modularized test framework is used for constructing a server-side high-availability test system, the regional limitation of server testing is broken, the data processing center and a target tested server are separated in space, and the data processing center and the target tested server are developed into a server-side and client-side form on the basis of realizing traditional automatic testing, so that 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 a target tested server in each server group to be tested; determining initial configuration information and a testing tool corresponding to a target tested server according to identification information of the target tested server in each 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 tested server according to 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 carrying out distributed storage on the test logs of each server group to be tested.
In this way, 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 generated test logs of the server groups to be tested in the server groups to be tested are received in real time, the test logs of the server groups to be tested are distributed and stored, 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 distributed and stored in the data processing center, and the convenience of using the test logs by users is improved.
Referring to fig. 2, fig. 2 is a flowchart of another remote automatic testing method according to an embodiment of the application. As shown in fig. 2, the remote automatic test method provided by the embodiment of the application includes:
S201: and sending the identification information of the target tested server in each server group to be tested to the data processing center.
In the step, the server group to be tested sends the identification information of the target tested server in each server group to be tested to the data processing center.
Here, the identification information of the target tested server may be IP, which is used to characterize that the target tested server is unique from other target tested servers, and the identification information of each target tested server is unique and unchanged.
S202: based on the identification information of the target server under test, initial configuration information for the target server under test and a test tool are received.
In the step, the identification information of the target server to be tested is sent to a data processing center, and initial configuration information of the target server to be tested and a testing tool from the data processing center are received.
Here, the initial configuration information is for configuring environment information of the target server under test, and the test tool is for performing performance test on the target server under test.
S203: and carrying out environment configuration and environment test on the target tested server based on the initial configuration information of the target tested server.
In the step, the initial configuration information of the target tested server is utilized to carry out environment configuration on the target tested server, so that a plurality of target tested servers are subjected to environment testing in batches.
Here, the initial configuration information of the different target servers to be tested is different, so that the initial configuration information of the different target servers to be tested needs to be acquired, and meanwhile, the environment configuration and the environment test of the different target servers to be tested are completed.
S204: and after the environment test is completed, 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 environment test of the target tested server is completed, performance test is carried out by using a test tool corresponding to the target tested server, a 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 a data processing center.
Here, the performance test includes a CPU test, a performance score, a read-write performance, a memory bandwidth, a network performance, an application performance, a graphics card performance, a system overall performance, a reliability test, and the like.
Here, TEST items include, but are not limited to, a Reboot TEST, STRESSAPPTEST TEST, LTP_TEST TEST, SPEC2006 TEST, UNIXBENCH TEST, IOZONE TEST, STREAM TEST, remote firmware update, front TEST, rear TEST, and the like.
Further, the performance test is performed by using the test tool corresponding to the target tested server, and the method 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 configuration information of the target tested server is used for determining the testing level of the target tested server, so that the testing efficiency is improved.
B: and performing performance test by using the level of the target tested server and the corresponding test tool.
Here, the performance test is performed by using the level of the target tested server and the corresponding test tool, so that the server groups to be tested in different areas can perform the performance test simultaneously, and the regional limitation of the server test is broken.
In the specific embodiment, when a plurality of target tested servers are tested in batches, the server groups to be tested only need to arrange the environment on the springboard machine according to the 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 embodiment, the target tested server sends a test request to the server group to be tested, the server group to be tested sends identification information of the target tested server to the data processing center, the identification information is used for acquiring initial configuration information and test tools corresponding to each target tested server in the data processing center, the data processing center sends the initial configuration information and the test tools corresponding to each target tested server to the target tested server through a plurality of server groups to be tested, and the target tested server receives the initial configuration information and the test tools to perform performance test, so that the target tested servers in the server group to be tested in different areas can perform performance test simultaneously. And in the performance test process, the obtained test logs are sent to the server groups to be tested in real time, the corresponding database in the server groups to be tested stores the test logs of the target servers to be tested, and the server groups to be tested synchronize the test logs of the target servers to be tested to the data processing center in real time, so that the test logs of the target servers to be tested are distributed and stored 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: transmitting 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; performing environment configuration and environment test on the target tested server based on the initial configuration information of the target tested server; and after the environment test is completed, 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.
Therefore, by storing the initial configuration information of each target tested server and the testing tool in the data processing center, 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, fig. 5. Fig. 3 is a schematic diagram of a remote automatic test system according to an embodiment of the present application, fig. 4 is a schematic diagram of a second remote automatic test system according to an embodiment of the present application, and fig. 5 is a schematic diagram of a third remote automatic test system according to an embodiment of the present application. As shown in fig. 3, the remote automated test system 300 includes:
A receiving module 310, configured to receive identification information of a target tested server 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 generate 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 store the test logs of each server group to be tested in a distributed manner.
Further, as shown in fig. 4, the remote automated test system 300 further includes: the login information determining module 340, the login information determining module 340 is configured to:
The method comprises the steps of acquiring login information of a 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 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 farm to be tested and store the test logs of each server farm to be tested in a distributed manner, 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 using the label information of the test log of the target tested server to perform distributed storage.
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 tested server in each server group to be tested;
a tool acquisition module 360, 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 370 is 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 test module 380 is configured to perform performance test by using a test tool corresponding to the target tested server after the environmental test is completed, determine a test log of the target tested server in the performance test process, and send the test log of the target tested server to the data processing center.
Further, when the performance test module 380 is used for performing performance tests by using the test tools corresponding to the target tested server, the performance test 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 automatic test system, which is applied to a data processing center and comprises: 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 according to 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 according to 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 is used for receiving the test logs of each server group to be tested and carrying out distributed storage on the test logs of each server group to be tested.
In this way, 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 generated test logs of the server group to be tested in the server group to be tested are received in real time, the test logs of the server groups to be tested are distributed and stored, so that the test logs of the server group to be tested are received in real time, and the convenience of using the test logs by a user is improved through distributed storage.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the application. 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, and when the electronic device 600 is running, the processor 610 and the memory 620 communicate through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of a remote automation test method in the method embodiments shown in fig. 1 and fig. 2 can be executed, and detailed implementation can be referred to method embodiments, which are not repeated herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of a remote automatic test method in the method embodiments shown in fig. 1 and fig. 2 may be executed, and a specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

CN202210265619.XA2022-03-172022-03-17Remote automatic test method, system, electronic equipment and storage mediumActiveCN114629832B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210265619.XACN114629832B (en)2022-03-172022-03-17Remote automatic test method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210265619.XACN114629832B (en)2022-03-172022-03-17Remote automatic test method, system, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN114629832A CN114629832A (en)2022-06-14
CN114629832Btrue CN114629832B (en)2024-06-21

Family

ID=81902092

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210265619.XAActiveCN114629832B (en)2022-03-172022-03-17Remote automatic test method, system, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114629832B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106933709A (en)*2015-12-312017-07-07北京金山云网络技术有限公司A kind of method of testing and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6804709B2 (en)*2001-02-202004-10-12Microsoft CorporationSystem uses test controller to match different combination configuration capabilities of servers and clients and assign test cases for implementing distributed testing
US7694181B2 (en)*2005-12-122010-04-06Archivas, Inc.Automated software testing framework
US9246699B2 (en)*2010-06-072016-01-26Salesforce.Com, Inc.Method and system for testing multiple components of a multi-tenant, multi-domain, multi-tiered website
CN110389900B (en)*2019-07-102022-09-23深圳市腾讯计算机系统有限公司 A distributed database cluster testing method, device and storage medium
CN110928774B (en)*2019-11-072023-05-05杭州顺网科技股份有限公司Automatic test system based on node type
CN111506508A (en)*2020-04-172020-08-07北京百度网讯科技有限公司 Edge computing test method, apparatus, device and readable storage medium
CN112541181A (en)*2020-12-222021-03-23建信金融科技有限责任公司Method and device for detecting server security
CN113377664A (en)*2021-06-252021-09-10上海商汤科技开发有限公司Model testing method and device, electronic device and storage medium
CN113890818A (en)*2021-09-282022-01-04广州超云科技有限公司Equipment replacement alarm method, device, equipment and medium in server
CN113905030B (en)*2021-09-302022-11-22北京百度网讯科技有限公司 Intranet communication method, device, intranet terminal, proxy server and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106933709A (en)*2015-12-312017-07-07北京金山云网络技术有限公司A kind of method of testing and device

Also Published As

Publication numberPublication date
CN114629832A (en)2022-06-14

Similar Documents

PublicationPublication DateTitle
CN103259795B (en)Perform registration logs in automatically method, mobile terminal and server
CN109951435B (en)Equipment identifier providing method and device and risk control method and device
CN108460115A (en)Information push method, device, computer equipment and storage medium
CN110688319A (en)Application keep-alive capability test method and related device
CN108574625B (en)Application test invitation method and device
CN114282940B (en) Method and device for intention recognition, storage medium and electronic device
CN110008462A (en)A kind of command sequence detection method and command sequence processing method
CN114629832B (en)Remote automatic test method, system, electronic equipment and storage medium
CN111597235B (en)Data processing method and device and electronic equipment
CN110830314B (en)Method and device for determining abnormal traffic
CN107203389A (en)Control shows method and device
CN113472741A (en)Verification code login method, device, equipment and storage medium
CN113486025A (en)Data storage method, data query method and device
CN112035425A (en)Log storage method and device and computer system
US10956235B2 (en)Event execution method, device, and system
CN110765016B (en)Game test instruction processing method, game test instruction processing system, server and storage device
CN114499951B (en)Identity authentication information cracking method and device and electronic equipment
CN116707824A (en)Non-inductive login method of account and related equipment
CN102053862B (en)Method and device for inspecting material files in instant messenger
CN114499984A (en)Identity authentication method, device, equipment and medium based on AI and RPA
CN110737332A (en)gesture communication method and server
CN112732362B (en)Method and device for accessing nationwide software resources, electronic equipment and storage medium
CN115001833B (en)Login method and device
CN115484313B (en) Data processing method and device
CN107220255B (en)Address information processing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp