Movatterモバイル変換


[0]ホーム

URL:


CN110362474A - A kind of distributed game test method, system, device and storage medium - Google Patents

A kind of distributed game test method, system, device and storage medium
Download PDF

Info

Publication number
CN110362474A
CN110362474ACN201910510363.2ACN201910510363ACN110362474ACN 110362474 ACN110362474 ACN 110362474ACN 201910510363 ACN201910510363 ACN 201910510363ACN 110362474 ACN110362474 ACN 110362474A
Authority
CN
China
Prior art keywords
test
instruction
cluster
testing
server
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
CN201910510363.2A
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.)
Shanghai Ziyi Network Technology Co Ltd
Original Assignee
Shanghai Ziyi Network 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 Shanghai Ziyi Network Technology Co LtdfiledCriticalShanghai Ziyi Network Technology Co Ltd
Priority to CN201910510363.2ApriorityCriticalpatent/CN110362474A/en
Publication of CN110362474ApublicationCriticalpatent/CN110362474A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention relates to game the field of test technology, specifically a kind of distributed game test method, system, device and storage medium, which comprises test client obtains the test instruction of user, and the test instruction includes test assignment;Test instruction is sent to primary server;The primary server is instructed according to the test determines test Cong Jiji;The test instruction is sent to all test clump machines in the test clump machine collection;After test clump machine in the test clump machine collection receives the test instruction, dispatches the corresponding test machine people execution test assignment and reach concurrent test purpose.The present invention passes through the multiple test clump machines of distributed deployment, and the test clump machine for executing test assignment is determined by primary server, it controls the test clump machine and dispatches corresponding test machine people execution test assignment, improve the magnitude and testing efficiency of test assignment, better test effect is realized, human cost is reduced.

Description

Distributed game testing method, system, device and storage medium
Technical Field
The present invention relates to the field of game testing technologies, and in particular, to a distributed game testing method, system, device, and storage medium.
Background
The network game has a large number of players accessing the game server at the same time, and the game server may have conditions of slow response, server downtime and the like due to overlarge load, which seriously affects the game experience of the players. In order to grasp the load capacity of the game server before the game is online and quickly locate the performance bottleneck of the game server, the load test of the game server is a very important link. The load test of the game server is as follows: the method simulates the situation that large-scale users are online at the same time through a tool, and tests whether various performance indexes of the game server are normal. The load test can obtain the quantity of concurrent users, running time, data and the like which can be borne by the game server under certain conditions so as to determine the maximum load pressure which can be borne by the game server.
For a server-client system, the server load testing method is usually based on the hypertext transfer protocol, and as many virtual clients as possible are generated by the testing device and simultaneously access the server in a centralized manner to verify the performance of the server under the overload condition. Because the system load capacity of a single test device is limited, large-scale concurrent tests cannot be achieved, in the prior art, multiple test devices are generally adopted, each test device runs as many client programs as possible, each client program is respectively accessed into a server to construct a large number of virtual users to simulate the behaviors of normal users, the performance data of the server in the period is collected, and whether a performance bottleneck exists in a server function module is judged by analyzing the data.
In the prior art, a plurality of testing devices need a plurality of testing personnel to operate simultaneously, so that the cost of required human resources is high; and a plurality of virtual clients generated in the same test device actually access the server in sequence according to a certain time sequence, but the time interval between the front and the back is extremely short, so that the effect of approximate simultaneous access is achieved, and the server is not accessed simultaneously in the true sense.
Disclosure of Invention
In view of the foregoing problems in the prior art, an object of the present invention is to provide a distributed game testing method, system, device and storage medium, which can implement large-scale concurrent testing and save labor cost.
In order to solve the above problem, the present invention provides a distributed game testing method, including:
the method comprises the steps that a test client obtains a test instruction of a user, wherein the test instruction comprises a test task; sending the test instruction to a main server;
the main server determines a testing cluster set according to the testing instruction; sending the test instruction to all test cluster machines in the test cluster machine set;
after the test cluster machines in the test cluster machine set receive the test instruction, the corresponding test robots are scheduled to execute the test tasks, so that the purpose of concurrent testing is achieved.
Another aspect of the present invention provides a distributed game testing method, including:
receiving a test instruction sent by a test client, wherein the test instruction comprises a test task;
determining a test cluster machine set according to the test instruction;
and sending the test instruction to all the test cluster machines in the test cluster machine set so that the test cluster machines in the test cluster machine set schedule the corresponding test robots to execute the test tasks according to the test instruction to achieve the purpose of concurrent testing.
The invention provides a distributed game testing system on the other hand, which comprises a testing client, a main server and a plurality of testing cluster machines connected with the main server;
the test client is used for acquiring a test instruction of a user, and the test instruction comprises a test task; sending the test instruction to a main server;
the main server is used for determining a testing cluster machine set according to the testing instruction; sending the test instruction to all test cluster machines in the test cluster machine set;
and the test cluster machine is used for scheduling the corresponding test robot to execute the test task after receiving the test instruction so as to achieve the purpose of concurrent test.
Another aspect of the present invention provides a distributed game testing apparatus, including:
the test instruction receiving module is used for receiving a test instruction sent by a test client, and the test instruction comprises a test task;
the test cluster machine set determining module is used for determining a test cluster machine set according to the test instruction;
and the test instruction sending module is used for sending the test instruction to all the test cluster machines in the test cluster machine set so that the test cluster machines in the test cluster machine set schedule the corresponding test robots to execute the test tasks according to the test instruction to achieve the purpose of concurrent testing.
Another aspect of the present invention provides a server comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, which are loaded and executed by the processor to implement the distributed game testing method as described above.
Another aspect of the present invention provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement a distributed game testing method as described above.
The distributed game testing method and the system control the testing cluster machines to schedule the testing robots corresponding to the testing cluster machines to execute the testing tasks by distributing a plurality of testing cluster machines and determining the testing cluster machines executing the testing tasks through the main server, automatically analyze and send the testing reports after the testing is finished, and realize the automation of the whole testing process. The invention controls the plurality of test cluster machines to schedule the test robots corresponding to the test cluster machines to execute the test tasks to complete concurrent tests, thereby not only improving the magnitude and the test efficiency of the test tasks, but also realizing better test effect and reducing the labor cost of testers. In addition, during the test process, the concurrency capability of the whole test system can be improved by dynamically increasing the number of test cluster machines.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the invention;
FIG. 2 is a flow diagram of a distributed game testing method provided by one embodiment of the present invention;
FIG. 3 is a flow chart of a distributed game testing method provided by another embodiment of the present invention;
FIG. 4 is a flow chart of a distributed game testing method provided by another embodiment of the present invention;
FIG. 5 is a flow chart of a distributed game testing method provided by another embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a distributed game testing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a distributed game testing apparatus according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Referring to the specification, fig. 1 is a schematic diagram illustrating an implementation environment provided by an embodiment of the present invention, as shown in fig. 1, the implementation environment may include at least a testing client 110, a main server 120, a game server 130, and a plurality of testing plexors 140.
The testing client 110 may include a physical device such as a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, etc., or may include software running in the physical device, such as a web page provided by some service providers to the user, or may provide applications to the user for these service providers.
The main server 120 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The main server 120 may establish communication connections with the test clients 110 and the test plexors 140, respectively, via a wireless or wired network.
The game server 130 may also be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The game server 130 may establish communication connections with the main server 120 and the test plexor 140, respectively, via a wireless or wired network.
A game client is running in the test plexor machine 140. Test cluster machine 140 may include a smartphone, desktop computer, tablet computer, laptop computer, digital assistant, smart wearable device, and the like. The game client may include web pages provided to the user by the facilitator, and may also include applications provided to the user by these facilitators.
In the embodiment of the invention, the game client is provided with the test robot for executing the test task, the test robot is a simulated character which can be controlled by a simple command to automatically enter the game and automatically complete some actions in the game, and the simulated character is opposite to a real player. However, both the tester robot and the real player are visible to the game server 130, and the game server cannot distinguish which is the tester robot and which is the real player, and the game server interacts data with the tester robot according to a real flow.
In practical applications, a plurality of game clients may be run in the test cluster machine 140, and the test cluster machine 140 may be provided with a game server list, which is initialized before the test robot starts up to set the name of the game service, the IP of the game server, and the port. If there are multiple game server names in the game server list, a testing robot may be connected to each game server in the list, i.e., testing robots of multiple game clients of the same test cluster machine 140 may be connected to different game servers.
Referring to the description, fig. 2 shows a flow of a distributed game testing method according to an embodiment of the present invention. The method may be applied to the implementation environment shown in fig. 1. The method may comprise the steps of:
s201: the test client acquires a test instruction of a user, wherein the test instruction comprises a test task.
S202: and the test client sends the test instruction to the main server.
Correspondingly, the main server receives the test instruction sent by the test client.
S203: and the main server determines a testing cluster set according to the testing instruction.
S204: and the main server sends the test instruction to all the test cluster machines in the test cluster machine set.
Accordingly, the test cluster machine in the test cluster machine set receives the test instruction sent by the main server.
S205: after the test cluster machines in the test cluster machine set receive the test instruction, the corresponding test robots are scheduled to execute the test tasks, so that the purpose of concurrent testing is achieved.
In summary, the distributed game testing method of the present invention determines the testing cluster machine executing the testing task through the main server, controls the testing cluster machine to schedule the testing robot corresponding to the testing cluster machine to execute the testing task, and automatically analyzes and sends the testing report after the testing is completed, thereby realizing the automation of the whole testing process. The invention controls the plurality of test cluster machines to schedule the test robots corresponding to the test cluster machines to execute the test tasks to complete concurrent tests, thereby not only improving the magnitude and the test efficiency of the test tasks, but also realizing better test effect and reducing the labor cost of testers.
Referring to the specification and fig. 3, a flow of a distributed game testing method according to another embodiment of the present invention is shown. The method may be applied to the implementation environment shown in fig. 1. The method may comprise the steps of:
s301: the test client acquires a test instruction of a user, wherein the test instruction comprises a test task.
In the embodiment of the invention, the test instruction is an operation signal which is triggered by a user and used for requesting to carry out game test, the test client is provided with an operation control for starting the test, and the user clicks the operation control to trigger the test instruction. The test task may include information such as a plurality of test cases, test priorities, trackers, and installation packages, and the test instruction may further include information of a plurality of test robots that execute the test task.
In a specific embodiment, the tester can open the test client by inputting a web address provided by the host server through the browser. The test client displays a test control page, an operation control used for starting testing is provided on the test control page, and a user clicks the operation control to trigger a test instruction. The test client may further identify a test task input by the user through the test control page, or the test control page of the test client may also be provided with at least one test task template, and the test client may also identify a target test task template selected by the user from the at least one test task template provided on the test control page, such as a server pressure test, a server load test, and the like, and use the target test task template as the test task.
S302: and the test client sends the test instruction to the main server.
Correspondingly, the main server receives the test instruction sent by the test client.
In a specific embodiment, after the test client identifies a test task input by a user through the test control page or a target test task template selected by the user from at least one test task template provided on the test control page, and uses the target test task template as a test task, the test client may detect an operation instruction input by the user for an operation control provided on the test control page for starting a test, and may send the test instruction to the main server in response to the operation instruction.
S303: and the main server determines a testing cluster set according to the testing instruction.
In the embodiment of the present invention, the main functions of the main server include: managing test case scripts and test tasks uploaded by a user, generating test cases, carrying out pressure estimation, sending test instructions to a test cluster machine, receiving test data, generating test reports and the like. A test case is a set of test inputs, execution conditions, and expected results tailored for a particular target to test a program path or verify that a particular requirement is met. The pressure estimation is to estimate the number of test robots needed for executing the test task in advance through a certain algorithm, and the test robots are distributed according to the estimation result during testing, so that the resource waste is avoided.
In one possible embodiment, as shown in fig. 4, the determining, by the main server, a test cluster set according to the test instruction may include the following steps:
s401: and the main server determines a plurality of pieces of test robot information for executing the test tasks according to the test instructions.
In one possible embodiment, the determining, by the main server, a plurality of test robot information for executing the test task according to the test instruction may include: the main server obtains test robot information in the test instruction, and the test robot information is used as test robot information for executing the test task; or the main server distributes a plurality of test robots according to the test task, and takes the test robot information as the test robot information for executing the test task.
In a specific embodiment, the test control page of the test client may further provide test robot information corresponding to a test cluster machine, and the test client may further identify test robot information selected by a user and required to perform a test task. When the test task received by the server includes test robot information selected by a tester to execute the test task, the test robot information may be used as the test robot information to execute the test task. When the test task received by the server does not include the test robot information for executing the test task, the number of test robots required for executing the test task can be estimated in advance through a certain algorithm, and a plurality of test robots for executing the test task are distributed according to the estimated result.
S402: and the main server determines a test cluster machine corresponding to the test robot according to the test robot information and generates a test cluster machine set.
In the embodiment of the invention, the test robots are arranged in the game client running on the test cluster machines, and each test cluster machine can run at least one test robot. For example, the main server may store an identifier of a test cluster machine and an identifier of a test robot connected to the main server, and after determining information of a plurality of test robots executing the test task, the main server may determine the test cluster machine corresponding to the test robot executing the test task.
In another possible embodiment, the determining, by the master server, the set of test clusters according to the test instruction may further include: and the main server determines a plurality of testing cluster machines for executing the testing task according to the testing instruction and generates a testing cluster machine set. Specifically, the test control page of the test client may further provide test cluster machine information, and the test client may further identify the test cluster machine information selected by the user and required to execute the test task. When the test task received by the server includes test cluster machine information selected by a tester to execute the test task, the test cluster machine can be used as the test cluster machine for executing the test task.
S304: and the main server sends the test instruction to all the test cluster machines in the test cluster machine set.
Accordingly, the test cluster machine in the test cluster machine set receives the test instruction sent by the main server.
In one possible embodiment, the sending, by the master server, the test instruction to all test cluster machines in the set of test cluster machines includes:
the main server detects the use states of all the test cluster machines in the test cluster machine set;
and when all the test cluster machines in the test cluster machine set are in an idle state, sending the test instruction to all the test cluster machines in the test cluster machine set.
In practical application, after the main server receives the test instruction sent by the test client and determines the test cluster machine set, the main server firstly detects the use state of each test cluster machine, so as to realize the management of the test queue. For the test cluster machine in the connection state, if the test cluster machine is in the busy state, the test operation cannot be carried out, and the test instruction of the user can be saved until the test cluster machine is idle and then executes the corresponding test operation.
S305: after the test cluster machines in the test cluster machine set receive the test instruction, the corresponding test robots are scheduled to execute the test tasks, so that the purpose of concurrent testing is achieved.
In the embodiment of the invention, after the test cluster machine in the test cluster machine set receives the test instruction, the test command is executed to start the test robot to start testing. And the test robots on each test cluster machine execute the test cases in parallel to simulate the scene that multiple users play games on line at the same time. Specifically, the test robot can be started to connect with the game server by executing the robot starting script to perform game test. In the testing process, the testing robot firstly establishes connection with the game server, logs in the game server, and then simulates user operation to interact with the game server to complete the logic function of the game. The test robot can send and receive the protocol of the game server in a game script mode, simulate the behavior of a player in a certain organization mode (a state machine, a behavior tree, a script flow control mode and the like), and realize a test case according to the preset behavior of the user.
In one possible embodiment, since the number of the test robots may have an error, when the test robots are scheduled to perform a test task, the test target values expected by the target functions may not be reached, and at this time, the main server may continue to add the test robots until the target functions reach the expected test target values. For the game function, as the number of participants increases, there is theoretically a performance limit, and in order to ensure high feasibility of the system, a maximum test duration (for example, the maximum test duration of each function is 2 hours) may be set, and when the test time exceeds the maximum test duration and the expected test target value is not reached, the tester judges the analysis reason according to the report (it may be that the function is really good in performance or the program has a limited operation frequency in realizing the function, so that the test target value cannot be reached).
S306: the main server sends a query request to the game server, wherein the query request is used for acquiring the running information of the game server in the test process.
Correspondingly, the game server receives the query request sent by the main server.
In the embodiment of the invention, the game server is a server for running game function logic, and the testing robot is connected with and logs in the game server in the testing process and executes various behaviors according to the test cases. The operation information of the game server may include: a Central Processing Unit (CPU) utilization rate, a memory utilization rate, a network traffic, a disk Input/Output (IO) utilization rate, and the like. The above operation information is an exemplary description, and the embodiment of the present invention does not particularly limit the operation information. The main server may send an inquiry request to the game server according to a preset period, or may send an inquiry request when an expected test target is reached or timeout ends, so as to obtain the operation information of the game server.
S307: and the game server sends the running information in the test process to the main server.
Correspondingly, the main server receives the running information in the test process sent by the game server.
In the embodiment of the invention, in the test process, the game server monitors the running information of the game server and sends the running information of the game server in the test process to the main server. The game server can return the running information of the game server in the test process when receiving the query request of the main server.
In one possible embodiment, the game server may also send the running information to the main server at a preset period, for example, the game server sends the running information every ten minutes and sends the running information once when the expected test target is reached or when the timeout is over. The game server may also send a run message when the desired test goal is reached or when the timeout expires.
S308: the main server analyzes the operation information and generates a test report.
In the embodiment of the invention, after receiving the operation information sent by the game server, the main server stores the operation information into a database in a persistent mode and generates a pressure test report.
In a possible embodiment, the running information may further indicate a running state of the game server or a feedback on the instruction execution condition, and the running information may include information in a case where the game server is normally operating, and may further include information in a case where the game server is abnormal. The information of the abnormal condition of the game server may include the abnormality which needs to be processed, and may also include the abnormality which does not need to be processed, when the main server obtains the abnormality which does not need to be processed, the abnormality may be ignored to continue the game test, when the main server obtains the abnormality which needs to be processed, the abnormality may be processed according to a preset abnormality processing scheme, and whether the current game test needs to be ended is further determined. For example, when the main server acquires an exception that has not occurred, ignores the exception and continues to perform a game test, the above-mentioned exception that needs to be handled, exception that does not need to be handled, and exception that has not occurred may be designed according to actual needs.
S309: and the main server sends the test report to the test client.
Correspondingly, the test client receives and displays the test report sent by the main server.
In the embodiment of the invention, after the test is finished, the tester can be notified through the instant messaging tool, and the test report is pushed to the test client. The test client can display the test report on a test result interface after receiving the test report, so that a tester can analyze and locate problems conveniently.
In summary, the distributed game testing method and system of the present invention deploy a plurality of testing cluster machines in a distributed manner, and determine the testing cluster machine executing the testing task through the main server, control the testing cluster machine to schedule the testing robot corresponding to the testing cluster machine to execute the testing task, and automatically analyze and send the testing report after the testing is completed, thereby realizing the automation of the whole testing process. The invention controls the plurality of test cluster machines to schedule the test robots corresponding to the test cluster machines to execute the test tasks to complete concurrent tests, thereby not only improving the magnitude and the test efficiency of the test tasks, but also realizing better test effect and reducing the labor cost of testers.
In addition, during the test process, the concurrency capability of the whole test system can be improved by dynamically increasing the number of test cluster machines.
In addition, when the tester does not select the tester executing the test task, the number of the testers required for executing the test task is estimated according to the test task, and the plurality of the testers executing the test task are distributed according to the estimated result, so that the efficiency of game testing is improved, and the testing time is saved.
One embodiment of the invention also provides a distributed game testing system, which comprises a testing client, a main server and a plurality of testing cluster machines connected with the main server;
the test client is used for acquiring a test instruction of a user, and the test instruction comprises a test task; sending the test instruction to a main server;
the main server is used for determining a testing cluster machine set according to the testing instruction; sending the test instruction to all test cluster machines in the test cluster machine set;
and the test cluster machine is used for scheduling the corresponding test robot to execute the test task after receiving the test instruction so as to achieve the purpose of concurrent test.
In one possible embodiment, the system may further comprise a game server;
the main server is also used for sending a query request to the game server, and the query request is used for acquiring the running information of the game server in the test process;
the game server is used for sending running information in the test process to the main server;
the main server is also used for analyzing the operation information and generating a test report;
the main server is further used for sending the test report to the test client.
Referring to the specification and fig. 5, a flow of a distributed game testing method according to another embodiment of the present invention is shown. The method can be applied to a main server. The method may comprise the steps of:
s501: and receiving a test instruction sent by a test client, wherein the test instruction comprises a test task.
S502: and determining a test cluster machine set according to the test instruction.
In one possible embodiment, the determining a set of test clusters according to the test instruction comprises:
determining information of a plurality of test robots executing the test task according to the test instruction;
and determining a test cluster machine corresponding to the test robot according to the test robot information, and generating a test cluster machine set.
S503: and sending the test instruction to all the test cluster machines in the test cluster machine set so that the test cluster machines in the test cluster machine set schedule the corresponding test robots to execute the test tasks according to the test instruction to achieve the purpose of concurrent testing.
In one possible embodiment, the sending the test instruction to all test plexus machines in the set of test plexus machines includes:
detecting the use states of all test cluster machines in the test cluster machine set;
and when all the test cluster machines in the test cluster machine set are in an idle state, sending the test instruction to all the test cluster machines in the test cluster machine set.
In one possible embodiment, the method may further include:
sending a query request to a game server, wherein the query request is used for acquiring the running information of the game server in the test process;
acquiring running information in the test process returned by the game server;
analyzing the operation information and generating a test report;
and sending the test report to the test client.
Referring to fig. 6, a schematic structural diagram of a distributed game testing apparatus 600 according to an embodiment of the present invention is shown, where the apparatus 600 may include:
a test instruction receiving module 610, configured to receive a test instruction sent by a test client, where the test instruction includes a test task;
a test cluster set determining module 620, configured to determine a test cluster set according to the test instruction;
the test instruction sending module 630 is configured to send the test instruction to all test cluster machines in the test cluster machine set, so that the test cluster machines in the test cluster machine set schedule the corresponding test robots to execute the test tasks according to the test instruction, thereby achieving the purpose of concurrent testing.
In one possible embodiment, the apparatus 600 may further include:
and the operation information query module 640 is configured to send a query request to the game server, where the query request is used to obtain the operation information of the game server in the test process.
And the running information acquiring module 650 is configured to acquire the running information in the test process returned by the game server.
And the operation information analysis module 660 is configured to analyze the operation information and generate a test report.
A test report sending module 670, configured to send the test report to the test client.
In one possible embodiment, as shown in fig. 7, the test instruction sending module 630 may include:
a use state detecting unit 631 for detecting the use states of all the test cluster machines in the test cluster machine set;
a test instruction sending unit 632, configured to send the test instruction to all test cluster machines in the test cluster machine set when all test cluster machines in the test cluster machine set are in an idle state.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
An embodiment of the present invention further provides a server, where the distributed game testing apparatus is disposed in the server, where the server includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the distributed game testing method according to the above method embodiment.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
In a specific embodiment, please refer to fig. 8, which illustrates a schematic structural diagram of a server according to an embodiment of the present invention. The server is used to implement the distributed game testing method on the main server side provided in the above embodiment. In particular, the server arrangement may comprise the distributed game testing apparatus described above. The server 800 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 810 (e.g., one or more processors) and memory 830, one or more storage media 820 (e.g., one or more mass storage devices) that store applications 823 or data 822. Memory 830 and storage medium 820 may be, among other things, transient or persistent storage. The program stored in storage medium 820 may include one or more modules, each of which may include a series of instruction operations for a server. Still further, the central processor 810 may be configured to communicate with the storage medium 820 to execute a series of instruction operations in the storage medium 820 on the server 800. The server 800 may also include one or more power supplies 860, one or more wired or wireless network interfaces 850, one or more input-output interfaces 840, and/or one or more operating systems 821 such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
An embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions may be loaded and executed by a processor of a server to complete the distributed game testing method on the main server side in the above method embodiments.
Alternatively, in the embodiment of the present invention, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device, terminal and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

CN201910510363.2A2019-06-132019-06-13A kind of distributed game test method, system, device and storage mediumPendingCN110362474A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910510363.2ACN110362474A (en)2019-06-132019-06-13A kind of distributed game test method, system, device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910510363.2ACN110362474A (en)2019-06-132019-06-13A kind of distributed game test method, system, device and storage medium

Publications (1)

Publication NumberPublication Date
CN110362474Atrue CN110362474A (en)2019-10-22

Family

ID=68216194

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910510363.2APendingCN110362474A (en)2019-06-132019-06-13A kind of distributed game test method, system, device and storage medium

Country Status (1)

CountryLink
CN (1)CN110362474A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111143223A (en)*2019-12-302020-05-12珠海金山网络游戏科技有限公司Server pressure testing method and device
CN111198790A (en)*2019-12-232020-05-26深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111338865A (en)*2020-02-192020-06-26北京字节跳动网络技术有限公司Test method, test device and computer readable storage medium
CN111400184A (en)*2020-03-172020-07-10腾讯科技(深圳)有限公司Game testing method, device, system, equipment and cloud platform
CN111651349A (en)*2020-05-262020-09-11泰康保险集团股份有限公司Test method and device
CN113704038A (en)*2021-09-032021-11-26广州因陀罗软件有限公司Automatic game server pressure measurement method and system
CN113835994A (en)*2020-06-242021-12-24上海莉莉丝科技股份有限公司Golang language-based server stress testing system, method and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150379261A1 (en)*2008-08-202015-12-31Wherepro, LlcData packet generator for generating passcodes
CN108959000A (en)*2018-06-202018-12-07深圳市腾讯网络信息技术有限公司A kind of server stress test method, system and terminal
CN109359003A (en)*2018-10-292019-02-19网易(杭州)网络有限公司Game server method for testing pressure, device and equipment
CN109698771A (en)*2018-12-072019-04-30网易(杭州)网络有限公司Game server method for testing pressure and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150379261A1 (en)*2008-08-202015-12-31Wherepro, LlcData packet generator for generating passcodes
CN108959000A (en)*2018-06-202018-12-07深圳市腾讯网络信息技术有限公司A kind of server stress test method, system and terminal
CN109359003A (en)*2018-10-292019-02-19网易(杭州)网络有限公司Game server method for testing pressure, device and equipment
CN109698771A (en)*2018-12-072019-04-30网易(杭州)网络有限公司Game server method for testing pressure and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111198790A (en)*2019-12-232020-05-26深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111198790B (en)*2019-12-232023-09-08深圳市优必选科技股份有限公司Robot testing method, robot testing device and robot
CN111143223A (en)*2019-12-302020-05-12珠海金山网络游戏科技有限公司Server pressure testing method and device
CN111338865A (en)*2020-02-192020-06-26北京字节跳动网络技术有限公司Test method, test device and computer readable storage medium
CN111400184A (en)*2020-03-172020-07-10腾讯科技(深圳)有限公司Game testing method, device, system, equipment and cloud platform
CN111651349A (en)*2020-05-262020-09-11泰康保险集团股份有限公司Test method and device
CN111651349B (en)*2020-05-262023-07-14泰康保险集团股份有限公司Test method and device
CN113835994A (en)*2020-06-242021-12-24上海莉莉丝科技股份有限公司Golang language-based server stress testing system, method and computer-readable storage medium
CN113704038A (en)*2021-09-032021-11-26广州因陀罗软件有限公司Automatic game server pressure measurement method and system
CN113704038B (en)*2021-09-032024-01-23广州因陀罗软件有限公司Automatic game server pressure measurement method and system

Similar Documents

PublicationPublication DateTitle
CN110362474A (en)A kind of distributed game test method, system, device and storage medium
CN103248535B (en)A kind of cloud system method of testing and device
CN108256118B (en)Data processing method, device, system, computing equipment and storage medium
CN106776280B (en)Configurable performance testing device
CN109669758A (en)Concocting method, device, equipment and the storage medium of server resource
CN107992362B (en)Method, device and system for automatic performance test
CN110457197B (en)Service testing method, device, computer equipment and storage medium
EP2902901A1 (en)Development, compiling and debugging method and device for application
CN101771565B (en)Analogy method for realizing multitudinous or different baseboard management controllers by single server
CN111176803A (en) Business processing method, device, server and storage medium
Sundas et al.An introduction of CloudSim simulation tool for modelling and scheduling
Caglar et al.Intelligent, performance interference-aware resource management for iot cloud backends
CN114666335A (en)DDS-based distributed system load balancing device
CN112925721A (en)Distributed system testing method and device
Malik et al.A measurement study of open source SDN layers in OpenStack under network perturbation
CN107634871B (en) Connectivity testing method, device and system
EP1816565A1 (en)Computer system and information processing method
CN111722917A (en) Resource scheduling method, device and device for performance testing task
CN108874659B (en)Test method, test system and server of digital currency computing equipment
CN112506729A (en)Fault simulation method and device
da Rosa Righi et al.Applying processes rescheduling over irregular bsp application
CN112398707B (en)Distributed automatic test management method, device, equipment and storage medium
CN118312437A (en)Determination method and device of test result, storage medium and electronic equipment
CN112968812A (en)Network performance testing method, device, equipment and storage medium
CN117278457A (en)Cloud desktop and cloud application concurrency test method and system of Linux cloud desktop platform

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20191022

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp