CN106294094B - Test method, client, server and system of game server - Google Patents

Test method, client, server and system of game server Download PDF

Info

Publication number
CN106294094B
CN106294094B CN201510240495.XA CN201510240495A CN106294094B CN 106294094 B CN106294094 B CN 106294094B CN 201510240495 A CN201510240495 A CN 201510240495A CN 106294094 B CN106294094 B CN 106294094B
Authority
CN
China
Prior art keywords
game
protocol
test
client
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.)
Active
Application number
CN201510240495.XA
Other languages
Chinese (zh)
Other versions
CN106294094A (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.)
Tencent Technology Chengdu Co Ltd
Original Assignee
Tencent Technology Chengdu 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 Tencent Technology Chengdu Co Ltd filed Critical Tencent Technology Chengdu Co Ltd
Priority to CN201510240495.XA priority Critical patent/CN106294094B/en
Publication of CN106294094A publication Critical patent/CN106294094A/en
Application granted granted Critical
Publication of CN106294094B publication Critical patent/CN106294094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a testing method, a client, a server and a system of game servers.

Description

Test method, client, server and system of game server
Technical Field
The invention relates to the field of testing of computer systems, in particular to a testing method, a client, a server and a system of game servers.
Background
Fuzz testing is methods often used to detect software security holes by providing unexpected inputs to the target system and monitoring results of exceptions generally, fuzz testing involves the process of automatically or semi-automatically generating random data inputs into programs, and then monitoring program exceptions, such as crashes, assertion failures, etc., for test results and storage and display.
In the existing fuzzy test for the game server, because a game protocol structure cannot be obtained, the fuzzy test is only suitable for the independently researched and developed game application program, and the application range of the fuzzy test is limited. In addition, the fuzzy test adopts a completely random filling mode for game protocol data, because the game protocol contains a plurality of abnormal values, the game server needs to check the plurality of abnormal values to respond, and when the game server is down, the abnormal value which causes the game server to be down cannot be determined from the plurality of abnormal values, so that the test efficiency is low.
Disclosure of Invention
In view of this, the invention provides testing methods for game servers, clients, servers and systems, which can improve testing efficiency and accuracy.
The technical scheme of the invention is realized as follows:
the invention provides a testing method of game servers, wherein a testing server searches for a function of a protocol based on a game client and obtains a protocol basic structure of the protocol according to the function, the testing client executes the following processing each time testing is carried out, namely, the testing server pulls the protocol basic structure, a legal game protocol packet is generated according to the protocol basic structure, abnormal value filling is carried out on the generated legal game protocol packet, an abnormal game protocol packet is obtained, and the state of the game server is tested and obtained by sending the abnormal game protocol packet and the legal game protocol packet to the game server.
The invention also provides test clients, which comprise a pulling module, a generating module, an abnormal value filling module, a sending module, a receiving module and a judging module, wherein the test server searches and obtains the function of the protocol based on the game client and obtains the protocol basic structure of the protocol according to the function, the pulling module is used for pulling the protocol basic structure from the test server each time the test is carried out, the generating module is used for generating a legal game protocol packet according to the protocol basic structure pulled by the pulling module, the abnormal value filling module is used for carrying out abnormal value filling on the legal game protocol packet generated by the generating module to obtain an abnormal game protocol packet, the sending module is used for sending the abnormal game protocol packet and the legal game protocol packet to the game server, the receiving module is used for receiving the feedback of the game server, and the judging module is used for judging and obtaining the state of the game server according to the feedback received by the receiving module.
The invention also provides test servers, which comprise a search module used for searching and obtaining the function of the protocol based on the game client, an analysis module used for analyzing and obtaining the protocol basic structure of the protocol according to the function obtained by the search module, and a storage module used for storing the protocol basic structure obtained by the analysis module, wherein, during each test, the test client pulls the protocol basic structure from the test server, generates a legal game protocol packet according to the protocol basic structure, fills abnormal values in the legal game protocol packet to obtain an abnormal game protocol packet, and tests and obtains the state of the game server by sending the abnormal game protocol packet and the legal game protocol packet to the game server.
The invention also provides test systems, which comprise a game server, a test client and a test server, wherein the test server is used for searching and obtaining the function of the protocol based on the game client and obtaining the protocol infrastructure of the protocol according to the function, and the test client is used for pulling the protocol infrastructure from the test server, generating legal game protocol packets according to the protocol infrastructure, filling abnormal values in the generated legal game protocol packets to obtain abnormal game protocol packets, and sending the abnormal game protocol packets and the legal game protocol packets to the game server to test and obtain the state of the game server.
Compared with the prior art, the testing method provided by the invention is not only suitable for the independently researched and developed game program, but also suitable for the proxied third-party game program, can avoid the problem of low testing efficiency caused by randomly filling a plurality of abnormal values in the traditional test, can find the bug of the game server program more quickly, and improves the testing efficiency and accuracy.
Drawings
FIG. 1 is a schematic diagram of an implementation environment in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a testing method according to an embodiment of the present invention ;
FIG. 3 is a diagram illustrating a protocol infrastructure of a test method according to an embodiment ;
FIG. 4 is a flow chart illustrating a testing method according to another embodiment of the present invention ;
FIG. 5 is a schematic illustration of an implantation interface of a testing method according to an embodiment of the invention;
FIG. 6 is a diagram illustrating the contents of native protocol data of a testing method according to an embodiment of the present invention ;
FIG. 7 is a schematic diagram of an outlier profile of a test method according to an embodiment of the present invention;
FIG. 8 is a timing diagram of an embodiment of a test method;
FIG. 9 is a flowchart illustrating a testing method according to yet another embodiment of the invention ;
FIG. 10a is a schematic diagram of a user interface of a testing method according to an embodiment of the invention ;
FIG. 10b is a diagram illustrating a test execution interface of a test method according to an embodiment of the present invention;
FIG. 10c is a test result interface of a testing method according to an embodiment of the present invention;
FIG. 11 is a block diagram illustrating an apparatus of a test client according to an embodiment of the present invention;
FIG. 12 is a diagram illustrating an apparatus of a test client according to still another embodiment of the present invention ;
FIG. 13 is a diagram illustrating an apparatus configuration of a test client according to an embodiment ;
FIG. 14 is a block diagram illustrating an apparatus of a test server according to an embodiment of the present invention;
FIG. 15 is a block diagram illustrating an apparatus configuration of a test server according to an embodiment of the present invention;
FIG. 16 is a block diagram of a test system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
Fig. 1 is a schematic diagram of an implementation environment according to an embodiment of the invention. Referring to fig. 1, the test system includes: game server 101, game client 102, test client 103, and test server 104. The game server 101 and the game client 102 perform data interaction, and provide services such as network games for users. The game client 102 provides a graphical user interface for the user to perform input operations while playing various scenes, actions, special effects, etc. The functions of the game server 101 include enabling communication with the game client 102, authentication, data processing, and the like.
In addition, the test client 103 and the test server 104 perform data interaction to complete the test of the game server. The test client 103 injects its program into the game client 102 in an injection manner, so that the test client 103 can access all memory spaces of the game client 102, and is convenient for subsequently and directly calling related functions of the game client to complete test work such as sending game protocol packets. The test server 104 is used for storing relevant protocol data structures, protocol data, test results and the like.
In the present invention, the test server 104 may communicate with the test client 103 through a network, or may communicate locally with the test client 103.
The game client may be a separate game playing and inputting device, or any device with data calculation processing function, including but not limited to desktop computer, smart phone, palm computer, tablet computer, etc.
FIG. 2 is a schematic flow chart of a testing method according to an embodiment of the invention , referring to FIG. 2, the method includes:
step 201, the test server searches for a function of the protocol based on which the game client is obtained, and obtains a protocol infrastructure of the protocol according to the function.
In the embodiment, the test server obtains and stores the protocol infrastructure by parsing a function of the protocol on which the game client is based.
For example, the protocol raw structure may be derived from parameters of the protocol function (e.g., a prototype of the function) upon which the game client is based, and then the test server recursively parses the protocol raw structure into the protocol infrastructure with the script.
In the embodiment, the protocol on which the game client is based may be Transmission Control Protocol (TCP) or User Datagram Protocol (UDP). the game client defines or more functions according to the protocol on which the game client is based to perform the corresponding game function.
FIG. 3 is a diagram of a protocol infrastructure of a test method according to an embodiment , which includes an ID of a protocol function, a name of the protocol function, and a parsed protocol infrastructure, each protocol infrastructure includes or more basic data structures.
The test server stores the identification ID of the protocol function, the name of the protocol function and the resolved protocol infrastructure into a database so as to provide the protocol infrastructure for the test client during testing.
Each time the test client performs a test, the following steps 202, 203 and 204 are performed.
Step 202, the testing client pulls the protocol infrastructure from the testing server, and generates a legal game protocol packet according to the protocol infrastructure.
In the embodiment, the test client pulls the parsed protocol infrastructure from the test server, and constructs a corresponding buffer (buffer) for the protocol infrastructure in the memory, that is, constructs consecutive memory data blocks storing the protocol infrastructure in the memory.
And , the test client end pulls the original protocol data from the test server, and fills the buffer corresponding to the constructed protocol infrastructure with the original protocol data, thereby obtaining the legal game protocol packet.
And 203, the testing client fills abnormal values into the generated legal game protocol packet to obtain an abnormal game protocol packet.
And step 204, the test client sends the abnormal game protocol packet and the legal game protocol packet to the game server to test the state of the game server.
And after receiving the abnormal game protocol packet, the game server processes the abnormal game protocol packet. If the game server still can work normally after processing the abnormal game protocol packet, but does not respond, the test client can not know whether the state of the game server is abnormal or not. Therefore, the test client sends the abnormal game protocol packet to the game server, and also sends the legal game protocol packet, if the state is normal after the game server processes the abnormal game protocol packet, after receiving the legal game protocol packet, the test client feeds back a confirmation response corresponding to the legal game protocol packet, so that the test client knows the state of the game server.
In the embodiment of the invention, the function of the protocol based on the game client is obtained by searching the test server, the protocol infrastructure is obtained, so that the test method is not only suitable for the independently developed game program ( can obtain the game protocol source code) but also suitable for the proxied third-party game program (the game protocol source code can not be obtained generally), the protocol infrastructure is pulled from the test server by the test client, the legal game protocol packet is generated according to the protocol infrastructure, the abnormal value filling is carried out on the generated legal game protocol packet to obtain the abnormal game protocol packet, the abnormal game protocol packet and the legal game protocol packet are sent to the game server, the state of the game server is tested and obtained, the problem of low test efficiency caused by randomly filling a plurality of abnormal values in the traditional test can be avoided, the speed of the program bug of the game server is found more quickly, the test time is reduced, and the test efficiency is improved.
FIG. 4 is a flow chart illustrating a testing method according to another embodiment of the present invention ;
step 401, the testing client injects itself into the game client.
The injection is to load the program of the test client into the memory of the game client, so that the test client can access all memory spaces of the game client, and the relevant functions of the game client can be directly acquired when the test work is subsequently executed.
FIG. 5 is a schematic diagram of an injection interface 500 of a testing method according to an embodiment . referring to FIG. 5, in the injection interface 500, when an injection program is started, the relevant configuration will be completed in a start configuration window 501 according to the input of a user.
First, the user logs in to the game, then opens the injection program, displays the injection interface 500 and launches the configuration window 501. The user enters or selects a game process name at block 502 while the current version of the game process name selected by the user is displayed at block 503, thus identifying the game to be injected into the game client. The user either enters a Dynamic Link Library (DLL) file path of the program of the testing client to be injected in block 504 or locally selects the DLL file path of the program of the testing client by clicking on block 505, which also determines the program of the testing client to be injected. The user clicks on block 506 and initiates the injection process, thereby completing the test client to game client injection process.
Step 402, the testing client collects the native protocol data generated by the injected game client and uploads the native protocol data to the testing server. Here, the injected test client automatically collects the native protocol data generated during the game client's operation.
After step 401 is executed, the testing client can access all memory spaces of the game client, and can collect the native protocol data generated by the game client. The native protocol data may be TCP or UDP based data. The native protocol data may include native protocol request data, i.e., request data that the game client wishes to process from the game server, such as pulling friend information, creating a room, sending a chat message, etc.
Fig. 6 is a content diagram of native protocol data of a testing method according to an embodiment of the present invention, where the native protocol data includes a protocol function name and a basic data structure corresponding to the native protocol data, and a corresponding data type and value, the native protocol data shown in fig. 6 is a transaction requesting a game server to process an attack, and includes basic data structures such as an attack target serial number identifier, an attacker serial number identifier, an attack result, and an attack type.
In a particular application, where games include a number of protocols, the test client may collect the native protocols triggered during routine functional testing, upload those native protocol data to the test server, and store it in a database.
Step 403, the testing client obtains the public contracting function of the injected game client.
After step 401 is executed, the testing client can access all the memory space of the game client, and can obtain the public contracting function of the game client. The public contracting function refers to a function which is called by the game client when all game protocols are transmitted.
In the embodiment, the public package function of the game client can be obtained by reversely finding the public package function of the game client through the relevant file of the game client by using a debugging tool, for example, reversely analyzing a Program Database (PDB) file of the game client or an extensible markup language (XML) file of a protocol by using a program dynamic debugging (OD) tool so as to find the public package function of the game client.
Step 404, the test server searches and obtains all protocol functions of the game client according to the public package sending function of the game client, and obtains a protocol basic structure.
According to the method for obtaining the public contracting function of the game client in the step 403, the test server may also obtain the public contracting function of the game client in advance, and further search for all functions of the protocol based on which the game client is obtained.
In the embodiment, the test server may use an analysis tool to view the calling relationship of the public contracting function of the game client to obtain the function of the protocol on which the game client is based.
For example, the test server finds all functions of the protocol on which the game client is based by calling a disassembly static analysis (IDA) tool, using an Application Program Interface (API) in the IDA tool, to look at the calling relationship of the public outsourcing function of the game client.
Step 405, the test client pulls the protocol infrastructure from the test server and constructs a corresponding buffer in the memory.
And step 406, the test client pulls the native protocol data from the test server, and the native protocol data is used for filling the numerical value of the buffer corresponding to the constructed protocol infrastructure to obtain a legal game protocol packet.
After step 402 is performed, the test server has stored the native protocol data. Then, the test client end pulls the original protocol data from the test server, finds out the corresponding protocol basic structure according to the protocol function name in the original protocol data, and then initializes the buffer zone corresponding to the constructed protocol basic structure, namely, the original protocol data is filled into the buffer zone, and then the legal game protocol packet containing the corresponding protocol basic structure is obtained.
For example, if the protocol function name when the protocol function ID in fig. 3 is 2 is the same as the protocol function name shown in fig. 6, that is, "requestproject hit", then the test client fills the value of the basic data structure in fig. 6 into the buffer corresponding to the protocol basic structure with the protocol function ID of 2 in fig. 3, so as to obtain the legal game protocol packet with the protocol function of "requestproject hit".
Step 407, the testing client fills the abnormal value of the generated legal game protocol packet to obtain an abnormal game protocol packet.
And the test client reads the abnormal values in the abnormal value configuration file by taking the basic data structure as a unit, and fills the abnormal values in the legal game protocol packet to obtain the abnormal game protocol packet.
In the embodiment, an abnormal value configuration file is stored in the test client in advance, the abnormal value configuration file can be established by professional testers according to test experience, for example, boundary values, abnormal values and the like which are most prone to problems of a test program are mainly contained for different numerical value types, and the abnormal value configuration file is loaded through the process of injecting the test client into the game client in the step 401.
FIG. 7 is a schematic diagram of an abnormal value profile of a test method according to an embodiment of the present invention , referring to FIG. 7, various possible values of the corresponding abnormal value are listed for each basic data type, for example, for integer type (int) (corresponding to the basic data type ID of FIG. 7 being 1), there are abnormal values of 0, -1 (representing a negative value), 2147483647 (representing a boundary value), -2147483649 (representing a boundary value), etc. for string type (string) (corresponding to the basic data type ID of FIG. 7 being 10), the corresponding abnormal value values include a special character, a string length, a translation symbol, a Structured Query Language (SQL), etc.
When filling abnormal values, for or a plurality of basic data structures (as shown in fig. 3) contained in the protocol basic structure of each legal game protocol packet, the test client reads the abnormal values of the abnormal value configuration file according to the basic data type corresponding to the basic data structure by taking the basic data structure as a unit, fills the read abnormal values into the basic data structure to obtain abnormal game protocol packets, and then sequentially fills the abnormal values into each basic data structure one by one to generate a plurality of abnormal game protocol packets.
The th basic data structure "data length" shown in fig. 6 is short type, and the fourth basic data type in fig. 7 is short type, then abnormal values are read from the corresponding abnormal values as the value of the th basic data structure "data length" shown in fig. 6, thereby completing the filling of the abnormal values and converting the legal game protocol packet into the abnormal game protocol packet.
Step 408, the testing client calls a public packet sending function of the game client, sends an abnormal game protocol packet and a legal game protocol packet to the game server, and tests to obtain the state of the game server.
For example, the data register is an ECX register, which is an internal fixed counter of kinds of repeated prefix instructions and loop instructions, and the ECX register stores the address of the object where the public outsourcing function is located when the public outsourcing function is called.
Therefore, the public contracting function address of the game client is determined, the object of the game client responsible for processing contracting is also found, and the public contracting function of the game client can be called. Specifically, when calling, the parameter pointer indicating the packet sending content in the public packet sending function may point to the memory buffer where the game protocol packet constructed in step 405 is located, so that the operations of data processing, data encryption and the like may be performed on the abnormal game protocol packet and the valid game protocol packet according to the normal flow of the game client sending packet, and then the abnormal game protocol packet and the valid game protocol packet are sent to the game server.
If the test client does not receive any response within the preset time interval, indicating that the game server has errors or is down after processing the abnormal game protocol packet, the test client judges that the state of the game server is abnormal, and at the moment, the test client can determine a corresponding protocol function and a basic data structure according to the sent abnormal game protocol packet and respectively record the corresponding protocol function and the basic data structure as an abnormal protocol and an abnormal parameter in a test result.
By the embodiment of the invention, the test client is injected into the game client, so that the test client can access all memory spaces of the game client, collect the native protocol data generated by the injected game client, and conveniently call the public packet sending function of the game client for sending the abnormal game protocol packet and the legal game protocol packet, so that a tester does not need to realize series steps of simulating a login request, pulling character information, task information, map information and the like in a game login process before executing the test, the problem of complex work required before executing the test in the fuzzy test is solved, an automatic test scheme for keys of a game server is provided, the time cost and the labor cost of the test are reduced, and the test efficiency is improved.
In addition, when the abnormal game protocol package is generated, each abnormal game protocol package only has abnormal values, and after the game server receives the abnormal game protocol package, only the abnormal values need to be processed, so that the test time can be effectively reduced, and meanwhile, when the abnormal state of the game server is found, the abnormal function and the abnormal parameters which cause the abnormal state of the game server can be accurately positioned.
FIG. 8 is a timing diagram of a testing method according to an embodiment of the present invention, as described above, since the game server does not decide to give a feedback response to the game client after receiving an abnormal game protocol packet, a monitoring thread can be added to the testing client to send a legal game protocol packet to the server without interruption to request a feedback response from the game server, and referring to FIG. 8, the following steps are included:
step 801, the sending thread of the test client sends th abnormal game protocol packet to the game server.
Step 802, the monitoring thread of the test client sends a legal game protocol packet to the game server.
After sending the th exception game protocol package at step 801, the monitoring thread of the test client sends a legitimate game protocol package to the game server after th predetermined time interval, for example, the th predetermined time interval may be 50 ms.
In a specific application, the legal game protocol packet may be a game heartbeat packet, and kinds of are used for detecting a state data packet between a client and a server, wherein abnormal values are not contained, for example, according to a heartbeat packet mechanism in a TCP protocol, the legal game protocol packet has a heartbeat frequency (namely a predetermined period) of .
Step 803, the game server runs normally, and feeds back a confirmation response to the test client.
If the game server has processed the abnormal game protocol package and still can work normally, for example, there is no error or downtime, the game server will feed back a confirmation response corresponding to the legal game protocol package to the testing client after receiving the legal game protocol package.
For example, in a specific application, the game client sends a legal game protocol package to the game server to request for purchasing an item, the server returns a confirmation response indicating that the purchase is successful, and the game client provides the item requested for purchase to the game player for use after receiving the confirmation response indicating that the purchase is successful.
And step 804, after receiving the confirmation response fed back by the game server, the test client judges that the state of the game server is normal.
Step 805, the monitoring thread of the test client notifies the sending thread of the test client, and sends abnormal game protocol packages to the game server.
Step 806, the sending thread of the test client sends a second abnormal game protocol packet to the game server.
After receiving the notification sent by the monitoring thread of the test client, the sending thread of the test client can immediately send a second abnormal game protocol packet to the game server.
For example, in a specific application, the th abnormal game protocol packet may include a login protocol, the second abnormal game protocol packet may include a purchase prop protocol, and the th abnormal game protocol packet and the second abnormal game protocol packet contain different abnormal values.
Step 807, the monitoring thread of the testing client sends a legal game protocol package to the game server.
The monitoring thread of the test client can sequentially send a plurality of legal game protocol packets according to a preset period in the second preset time interval, and the legal game protocol packets sent each time can be the same. For example, the second predetermined time interval may be 5s, and the predetermined period may be 50 ms.
As shown in fig. 8, after the legal game protocol packet is sent to the game server in step 807a, if no feedback message from the game server is received in a predetermined period, the legal game protocol packet is continuously sent to the game server in step 807b according to the predetermined period, and the legal game protocol packet is sent in sequence.
Of course, the monitoring thread of the test client may only send legitimate game protocol packages within the predetermined time interval and then wait for feedback from the game server.
Step 808, if the feedback of the game server is not received within the preset time interval, the monitoring thread of the test client judges that the state of the game server is abnormal, and writes the test result into the test log.
The test result may include test time, server state, exception protocol and exception parameter included in the exception game protocol packet, and the like.
Step 809, the monitoring thread of the testing client sends a notification to the sending thread of the testing client, and informs the game server that the state is abnormal.
And step 810, uploading the test log to a test server by the monitoring thread of the test client.
Step 811, the test server stores the received test log.
In the embodiment of the invention, the monitoring thread is added in the test client, and after the sending thread of the test client sends the abnormal game protocol packet, the legal game protocol packet can be sent to the game server uninterruptedly. The state of the game server can be timely known through receiving the feedback of the game server to the legal game protocol packet, so that whether the game server is abnormal or not is effectively positioned, the problem finding capability of the test scheme is improved, and the test efficiency is improved.
FIG. 9 is a schematic flow chart of a testing method according to yet another embodiment of the present invention , referring to FIG. 9, the method includes the steps of:
step 900, providing a user operation interface and receiving an operation input by a user.
In steps 901 to 908 described below, the user input operation is received through the user operation interface provided in step 900, and the test procedure and the test result are displayed.
Step 901, injecting the testing client into the game client.
This step is the same as the description of step 401, and is not described again here.
Step 902, executing a game server test.
FIG. 10a is a schematic diagram of a user interface 1010 of the testing method according to the embodiment of the present invention, as shown in FIG. 10a, the user can click the execute test button 1011, and the testing client will automatically execute the operations described in the above steps 405 and 408, which will not be described herein again.
Additionally, in FIG. 10a, block 1012 shows a historical test log of the test server, including the number of test results collected, the time and results of the last test, and so on.
FIG. 10b is a diagram of a test execution interface 1020 of a test method according to an embodiment of the present invention, as shown in FIG. 10b, a block 1021 shows that a test is being executed, a block 1022 shows that a test protocol is being executed, i.e., a protocol function included in the exception protocol packet is sent, a block 1023 shows the number of tests that have been executed and the test time at that time, and a button 1024 pause and a button 1025 cancel are provided, wherein exception game protocol packets are sent and the status of the game server is counted as tests.
And step 903, displaying the test result, writing the test log in, and uploading the test log to a test server for storage.
And after the test is executed, providing a user interface and displaying the test result of the test. The test result may include the test time, the state (normal or abnormal) of the game server, and the test result such as the abnormal protocol and abnormal parameter included in the abnormal game protocol packet sent is recorded in the test log.
FIG. 10c is a schematic view of a test results interface 1030 of a test method according to an embodiment of the invention , as shown in FIG. 10c, details of the test results are shown at block 1037. As can be seen from this, the abnormal game protocol package that caused the server to be down is according to the abnormal protocol SendMotionItemBuy, and when the value of the "item ID" abnormal parameter equals-46982759 (i.e., the abnormal value populated at step 407), the server is caused to be down.
Step 904, look at the historical test log.
After the test is finished, a tester can check a recent test result through a historical test log. As shown in fig. 10c, a historical test log is displayed in block 1031, including test time 1032 and test results 1033.
Step 905, check whether the game server is tested to be abnormal. If yes, go to step 907; otherwise, step 906 is performed.
Step 906, displaying that the test is finished and the state of the game server is normal.
Step 907, choose to retest.
If the tester wishes to proceed to check for an abnormal test result, such as test time 10 months, 15 days, 11:30:13, test result "server down", as shown in FIG. 10c, then click detail 1034, and view the abnormal protocol and abnormal parameters at that time in block 1037.
In the embodiment, when retesting is performed, referring to fig. 8, the monitoring thread of the testing client need not send a legal game protocol packet, and only the abnormal game protocol packet that caused the game server to be abnormal before being sent by the sending thread of the testing client, i.e. the second abnormal game protocol packet, can reconfirm the state of the game server.
Of course, the user may also select button 1036 to close the interface without retesting.
And 908, displaying that the test is finished and finding that the game server is abnormal.
By selecting retesting, the tester determines again that the game server is abnormal, so that relevant measures can be taken to repair the game server.
In the embodiment of the invention, if the game server state is abnormal through testing, a user interface is provided for the tester, the test can be selected to be performed again according to the abnormal protocol, the abnormal parameters and the like, the state of the game server is relocated, the abnormal condition is reproduced, the function of accurately monitoring the game server abnormality is provided, the operation of the tester is convenient, and the test efficiency is improved.
FIG. 11 is a schematic diagram of an apparatus structure of a testing client 1100 according to an embodiment of the present invention, which includes a pull module 1110, a generation module 1120, an abnormal value filling module 1130, a sending module 1140, a receiving module 1150, and a determining module 1160, wherein the testing server searches for a function of a protocol based on which the game client is based, and obtains a protocol infrastructure of the protocol according to the function;
each time a test is performed:
a pull module 1110 for pulling a protocol infrastructure from a test server; the testing server searches for a function of a protocol based on which the game client is obtained, and obtains a protocol infrastructure of the protocol according to the function;
a generating module 1120, configured to generate a legal game protocol package according to the protocol infrastructure pulled by the pulling module 1110;
an abnormal value filling module 1130, configured to perform abnormal value filling on the legal game protocol packet generated by the generating module 1120, so as to obtain an abnormal game protocol packet;
a sending module 1140, configured to send the abnormal game protocol packet and the legal game protocol packet to the game server;
a receiving module 1150, configured to receive feedback of the game server; and a process for the preparation of a coating,
a judging module 1160, configured to judge a state of the game server according to the feedback received by the receiving module 1150.
Fig. 12 is a schematic diagram illustrating an apparatus structure of a testing client 1200 according to another embodiment , where the testing client 1200 is based on the testing client 1100 shown in fig. 11, and further includes:
an injection module 1210, configured to inject the test client 1100 into a game client;
a collecting module 1220 for collecting native protocol data generated by the game client injected by the injecting module 1210;
accordingly, the sending module 1140 is further for uploading the native protocol data collected by the collecting module 1220 to the test server;
a pull module 1110, further for pulling native protocol data from the test server;
the generating module 1120 is configured to fill the protocol infrastructure according to the native protocol data pulled by the pulling module 1110, so as to obtain a legal game protocol packet.
In the embodiment, the test client 1200 shown in fig. 12 further includes:
a constructing module 1230, configured to construct a corresponding buffer for the protocol infrastructure pulled by the pulling module 1110 in the memory;
accordingly, the pull module 1110, at step , is configured to pull native protocol data from the test server;
the generating module 1120 is configured to perform numerical filling on the buffer constructed by the constructing module 1230 according to the native protocol data pulled by the pulling module 1110, so as to obtain a legal game protocol packet.
In , the receiving module 1150 is used to receive the feedback sent by the game server in response to the received legal game protocol package;
a judging module 1160, configured to, according to the feedback received by the receiving module 1150, if a confirmation response corresponding to a legal game protocol packet is received from the game server within a predetermined time interval, judge that the state of the game server is normal, otherwise, judge that the state of the game server is abnormal.
In the embodiment, the test client 1200 shown in fig. 12 further includes:
an interface module 1240, configured to provide a user operation interface and receive an operation input by a user;
the injection module 1210 is used for responding to user operation, and determining a game process name and a file path of a test client; and injecting the test client into the game client according to the game process name and the file path of the test client.
In the embodiment, the test client 1200 shown in fig. 12 further includes:
an interface module 1240, configured to provide a user operation interface and receive an operation input by a user;
a retest module 1250 configured to retest at least times in response to the user operation if the determination module 1160 determines that the state of the game server is abnormal.
Fig. 13 is a schematic diagram of an apparatus configuration of a test client 1300 according to an embodiment of the present invention , the test client 1300 may include a processor 1310, a memory 1320, a port 1330, and a bus 1340, the processor 1310 and the memory 1320 being interconnected by the bus 1340, the processor 1310 may receive and transmit data through the port 1330, wherein,
processor 1310 is configured to execute modules of machine-readable instructions stored in memory 1320.
Memory 1320 stores modules of machine-readable instructions executable by processor 1310. The processor 1310 may execute instruction modules including: a pulling module 1321, a generating module 1322, an abnormal value padding module 1323, a sending module 1324, a receiving module 1325, and a determining module 1326. Wherein the content of the first and second substances,
the pulling module 1321, when executed by the processor 1310, may be: pulling a protocol infrastructure from a test server; the testing server searches for a function of a protocol based on which the game client is obtained, and obtains a protocol infrastructure of the protocol according to the function;
the generation module 1322 when executed by the processor 1310 may be: generating a legal game protocol package according to the protocol infrastructure pulled by the pulling module 1321;
the outlier population module 1323, when executed by the processor 1310, may be: filling abnormal values into the legal game protocol packet generated by the generation module 1322 to obtain an abnormal game protocol packet;
the sending module 1324 when executed by the processor 1310 may be: sending an abnormal game protocol packet and a legal game protocol packet to a game server;
the receiving module 1325, when executed by the processor 1310, may be: receiving feedback from the game server; and a process for the preparation of a coating,
the determination module 1326, when executed by the processor 1310, may be: the state of the game server is determined based on the feedback received by the receiving module 1325.
In the embodiment, the memory 1320 may store modules of instructions executable by the processor 1310 that further include an injection module 1327, a collection module 1328, a construction module 1329, an interface module 1301, and a retest module 1302, wherein,
the injection module 1327, when executed by the processor 1310, may be: injecting the testing client 1300 into the game client;
the collection module 1328, when executed by the processor 1310, may be: collect native protocol data generated by the game client injected by the injection module 1327;
the constructing module 1329, when executed by the processor 1310, may be: constructing a corresponding buffer area for a protocol basic structure pulled by the pulling module 1321 in the memory;
the interface module 1301, when executed by the processor 1310, may be: providing a user operation interface and receiving operation input by a user;
the retest module 1302, when executed by the processor 1310, may be configured to retest at least times in response to the user action if the determination module 1326 determines that the state of the game server is abnormal.
It can thus be seen that the modules of instructions stored in the memory 1320, when executed by the processor 1310, may perform the various functions of the pull module 1321, the generate module 1322, the outlier population module 1323, the send module 1324, the receive module 1325, the determine module 1326, the inject module 1327, the collect module 1328, the build module 1329, and the retest module 1301 of the various embodiments described above.
FIG. 14 is a block diagram illustrating an apparatus of a test server 1400 according to an embodiment of the present invention, the test server 1400 includes:
a searching module 1410, configured to search for a function that obtains a protocol based on the game client;
the analysis module 1420 is configured to analyze the obtained protocol infrastructure of the protocol according to the function obtained by the search module 1410;
a storage module 1430, configured to store the protocol infrastructure obtained by the parsing module 1420;
during each test, the test client pulls the protocol infrastructure from the test server 1400, generates a legal game protocol packet according to the protocol infrastructure, performs exception value filling on the legal game protocol packet to obtain an abnormal game protocol packet, and tests to obtain the state of the game server by sending the abnormal game protocol packet and the legal game protocol packet to the game server.
In the embodiment, the lookup module 1410 is used to look at the calling relationship of the public offering function of the game client using the analysis tool to find the function.
In the embodiment, the storage module 1430 is further for storing native protocol data generated by the game client;
the test client pulls the native protocol data from the test server 1400, and fills the protocol infrastructure according to the native protocol data to obtain a legal game protocol packet.
In the above device embodiment, the specific method for each module and unit to implement its own function is described in the method embodiment, and is not described herein again.
In addition, the functional modules in the embodiments of the present invention may be integrated into processing units, or each module may exist alone physically, or two or more modules are integrated into units.
Fig. 15 is a block diagram illustrating an apparatus of a test server 1500 according to an embodiment of the invention . the test server 1500 may include a processor 1510, a memory 1520, a port 1530, and a bus 1540, the processor 1510 and the memory 1520 being interconnected via the bus 1540, the processor 1510 being capable of receiving and transmitting data via the port 1530, wherein,
the processor 1510 is configured to execute modules of machine-readable instructions stored by the memory 1520.
The memory 1520 stores modules of machine-readable instructions executable by the processor 1510. The processor 1510 can execute instruction modules including: a lookup module 1521, a parsing module 1522 and a storage module 1523. Wherein the content of the first and second substances,
the lookup module 1521, when executed by the processor 1510, may be: searching and obtaining a function of a protocol based on the game client;
the parsing module 1522 when executed by the processor 1510 may be: analyzing and obtaining a protocol basic structure of the protocol according to the function obtained by the searching module 1521;
the storage module 1523, when executed by the processor 1510, may be: storing the protocol infrastructure obtained by the parsing module 1522;
during each test, the test client pulls the protocol infrastructure from the test server 1500, generates a legal game protocol packet according to the protocol infrastructure, performs exception value filling on the legal game protocol packet to obtain an abnormal game protocol packet, and tests to obtain the state of the game server by sending the abnormal game protocol packet and the legal game protocol packet to the game server.
It can thus be seen that the various functions of the lookup module 1521, the parsing module 1522 and the storage module 1523 in the various embodiments described above may be implemented when instruction modules stored in the memory 1520 are executed by the processor 1510.
Fig. 16 is a schematic diagram of a test system 1600 according to an embodiment . the test system 1600 includes a game server 1610, a game client 1620, a test client 1630, and a test server 1640, wherein,
the test server 1640 is used for searching for a function of the protocol based on which the game client is obtained and obtaining a protocol infrastructure of the protocol according to the function;
the test client 1630 is configured to, each time a test is performed, pull the protocol infrastructure from the test server, generate a valid game protocol packet according to the protocol infrastructure, perform exception value filling on the generated valid game protocol packet to obtain an exception game protocol packet, and send the exception game protocol packet and the valid game protocol packet to the game server 1610 to obtain a state of the game server through the test.
In the embodiment, the test client 1630 further injects itself into the game client 1620;
a game client 1620 for loading the injected test client 1630;
the test client 1630 collects native protocol data generated by the game client 1620 injected with the test client 1630, uploads the native protocol data to the test server 1640, pulls the native protocol data from the test server 1640, and fills the protocol infrastructure according to the native protocol data to obtain a legal game protocol packet.
Among other things, the testing client 1630 may include the various modules shown in FIG. 12, and the testing server 1640 may include the various modules shown in FIG. 14.
The following description is only made of operations involving interaction between the game server 1610, the game client 1620, the test client 1630, and the test server 1640. Only the modules of the testing client 1630 and the testing server 1640 that are relevant to the interaction are shown in fig. 16, as follows:
an injection module 1210 for injecting the test client 1630 into the game client 1620;
a sending module 1140, configured to send the abnormal game protocol packet and the legal game protocol packet to the game server 1610;
a sending module 1140, step , for uploading the native protocol data collected by the collecting module 1220 to the testing server 1640 and storing in the storage module 1430;
a receiving module 1150, configured to receive feedback sent by the game server 1610 in response to the received legal game protocol packet;
the pull module 1110, step , is used to pull native protocol data from the storage module 1430 in the test server 1640.
In the above system embodiment, the specific method for each module and unit to implement its own function is described in the method embodiment, and is not described herein again.
It is to be understood that each of the embodiments of the present invention can be implemented by a data processing program executed by a data processing device such as a computer, it is obvious that the data processing program constitutes the present invention, and in addition, it is general that the data processing program stored in storage media is executed by directly reading out the program from the storage media or by installing or copying the program into a storage device (such as a hard disk and or an internal memory) of the data processing device.
Accordingly, the present invention also discloses storage media having stored therein data processing programs for performing any of the embodiments of the above-described methods of the present invention.
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 made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (21)

  1. The test method of game server of 1, kinds is characterized in that the test server searches for the function of the protocol based on the game client and obtains the protocol basic structure of the protocol according to the function, the test client executes the following processing each time it tests:
    pulling the protocol infrastructure from the test server, and generating a legal game protocol packet according to the protocol infrastructure;
    filling abnormal values into the generated legal game protocol packet to obtain an abnormal game protocol packet; and a process for the preparation of a coating,
    testing to obtain the state of the game server by sending the abnormal game protocol packet and the legal game protocol packet to the game server; the game server processes the abnormal game protocol packet, if the state is normal after the game server processes the abnormal game protocol packet, the game server feeds back a confirmation corresponding to the legal game protocol packet to the test client after receiving the legal game protocol packet, so that the test client can know the state of the game server.
  2. 2. The method of claim 1, wherein the test server finding a function of a protocol upon which a game client is based and obtaining the protocol infrastructure for the protocol from the function comprises:
    the test server searches and obtains the function according to the public package sending function of the game client, and the protocol basic structure is obtained by analyzing the function of the game client.
  3. 3. The method of claim 1, further comprising:
    the test client side injects a self program into the game client side;
    the testing client collects the native protocol data generated by the injected game client and uploads the native protocol data to the testing server;
    wherein the test client pulls the protocol infrastructure from the test server and generates a legal game protocol package according to the protocol infrastructure, comprising:
    and the test client pulls the native protocol data from the test server, and fills the protocol infrastructure according to the native protocol data to obtain the legal game protocol packet.
  4. 4. The method of claim 1, further comprising:
    the test client constructs a corresponding buffer area for the protocol basic structure in the memory;
    the test client pulls the protocol infrastructure from the test server, and generating a legal game protocol package according to the protocol infrastructure includes:
    and the test client pulls the native protocol data from the test server, and fills the buffer corresponding to the protocol infrastructure according to the native protocol data to obtain the legal game protocol packet.
  5. 5. The method of claim 1, wherein the protocol infrastructure comprises or more infrastructure data structures;
    the testing client fills abnormal values in the generated legal game protocol packet to obtain an abnormal game protocol packet, and the abnormal game protocol packet comprises the following steps:
    and the test client reads abnormal values in the abnormal value configuration file by taking the basic data structure as a unit, and fills the abnormal values in the legal game protocol packet to obtain the abnormal game protocol packet.
  6. 6. The method of claim 1, wherein said testing the status of the game server by sending the abnormal game protocol package and the legitimate game protocol package to the game server comprises:
    if a confirmation response corresponding to the legal game protocol packet fed back by the game server is received within a preset time interval, judging that the state of the game server is normal; otherwise, judging the state of the game server to be abnormal.
  7. 7. The method of claim 1, wherein the testing client sending the legitimate game protocol package to the game server comprises:
    and the test client sequentially sends a plurality of legal game protocol packets to the game server.
  8. 8. The method of claim 1, further comprising:
    the test client side injects a self program into the game client side;
    wherein the sending, by the test client, the abnormal game protocol packet to the game server includes:
    and the test client points a parameter pointer representing the packet sending content in the public packet sending function of the game client to a buffer area corresponding to the protocol infrastructure by calling the public packet sending function of the game client.
  9. 9. The method of claim 3 or 8, wherein the test client injecting a self program into the game client comprises:
    responding to user operation, determining a game process name and a file path of the test client;
    and injecting the program of the test client into the game client according to the game process name and the file path of the test client.
  10. 10. The method of claim 6, wherein if the testing client determines that the state of the game server is abnormal, the method further comprises the testing client responding to user operation and performing at least times of testing again.
  11. The testing client sides 11 and are characterized by comprising a pulling module, a generating module, an abnormal value filling module, a sending module, a receiving module and a judging module, wherein a testing server searches and obtains a function of a protocol based on a game client side and obtains a protocol infrastructure of the protocol according to the function;
    each time a test is performed:
    the pull module is used for pulling a protocol infrastructure from the test server;
    the generating module is used for generating a legal game protocol packet according to the protocol infrastructure pulled by the pulling module;
    the abnormal value filling module is used for filling abnormal values into the legal game protocol packet generated by the generating module to obtain an abnormal game protocol packet;
    the sending module is used for sending the abnormal game protocol packet and the legal game protocol packet to a game server;
    the receiving module is used for receiving the feedback of the game server; and a process for the preparation of a coating,
    the judging module is used for judging to obtain the state of the game server according to the feedback received by the receiving module; the game server processes the abnormal game protocol packet, if the state is normal after the game server processes the abnormal game protocol packet, the game server feeds back a confirmation corresponding to the legal game protocol packet to the test client after receiving the legal game protocol packet, so that the test client can know the state of the game server.
  12. 12. The test client of claim 11, further comprising:
    the injection module is used for injecting the self program of the test client into the game client;
    a collection module to collect native protocol data generated by the game client injected with the test client;
    the sending module, further , is configured to upload the native protocol data collected by the collecting module to the testing server;
    the pull module, further , is to pull the native protocol data from the test server;
    and the generating module is used for filling the protocol infrastructure according to the native protocol data pulled by the pulling module to obtain the legal game protocol packet.
  13. 13. The test client of claim 11, further comprising:
    a constructing module, configured to construct a corresponding buffer area for the protocol infrastructure pulled by the pulling module in a memory;
    the pull module, further , is configured to pull native protocol data from the test server;
    the generating module is used for filling the buffer area constructed by the constructing module with numerical values according to the native protocol data pulled by the pulling module to obtain the legal game protocol packet.
  14. 14. The test client according to claim 11,
    the receiving module is used for receiving feedback sent by the game server in response to the received legal game protocol packet;
    and the judging module is used for judging that the state of the game server is normal if a confirmation response corresponding to the legal game protocol packet fed back by the game server is received within a preset time interval according to the feedback received by the receiving module, and otherwise, judging that the state of the game server is abnormal.
  15. 15. The test client of claim 12, further comprising: the interface module is used for providing a user operation interface and receiving the operation input by the user;
    the injection module is used for responding to user operation and determining a game process name and a file path of the test client; and injecting the program of the test client into the game client according to the game process name and the file path of the test client.
  16. 16. The test client of claim 14, further comprising:
    the interface module is used for providing a user operation interface and receiving the operation input by the user;
    and the retesting module is used for responding to the user operation and retesting for at least times if the state of the game server is judged to be abnormal by the judging module.
  17. The test server of claim , comprising:
    the searching module is used for searching and obtaining a function of a protocol based on the game client;
    the analysis module is used for analyzing and obtaining the protocol infrastructure of the protocol according to the function obtained by the search module;
    the storage module is used for storing the protocol infrastructure obtained by the analysis module;
    the method comprises the steps that during each test, a test client pulls a protocol infrastructure from a test server, generates a legal game protocol packet according to the protocol infrastructure, fills abnormal values in the legal game protocol packet to obtain an abnormal game protocol packet, and sends the abnormal game protocol packet and the legal game protocol packet to a game server to test and obtain the state of the game server; the game server processes the abnormal game protocol packet, if the state is normal after the game server processes the abnormal game protocol packet, the game server feeds back a confirmation corresponding to the legal game protocol packet to the test client after receiving the legal game protocol packet, so that the test client can know the state of the game server.
  18. 18. The test server of claim 17, wherein the lookup module is configured to find the function using an analysis tool to view a call relationship of a public contracting function of the game client.
  19. 19. The test server of claim 17, wherein the storage module, further , is to store native protocol data generated by the game client;
    and the test client pulls the native protocol data from the test server, and fills the protocol infrastructure according to the native protocol data to obtain the legal game protocol packet.
  20. 20, kinds of test system, which is characterized in that it includes game server, test client and test server,
    the test server is used for searching and obtaining a function of a protocol based on the game client and obtaining a protocol infrastructure of the protocol according to the function;
    the test client is used for pulling the protocol infrastructure from the test server, generating a legal game protocol packet according to the protocol infrastructure, filling abnormal values into the generated legal game protocol packet to obtain an abnormal game protocol packet, and sending the abnormal game protocol packet and the legal game protocol packet to the game server to test the state of the game server; the game server processes the abnormal game protocol packet, if the state is normal after the game server processes the abnormal game protocol packet, the game server feeds back a confirmation corresponding to the legal game protocol packet to the test client after receiving the legal game protocol packet, so that the test client can know the state of the game server.
  21. 21. The test system of claim 20,
    the testing client proceeds to step to inject its own program into the game client;
    the game client is used for loading the injected test client;
    the test client collects native protocol data generated by the game client injected with the test client, uploads the native protocol data to the test server, pulls the native protocol data from the test server, and fills the protocol infrastructure according to the native protocol data to obtain the legal game protocol packet.
CN201510240495.XA 2015-05-13 2015-05-13 Test method, client, server and system of game server Active CN106294094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510240495.XA CN106294094B (en) 2015-05-13 2015-05-13 Test method, client, server and system of game server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510240495.XA CN106294094B (en) 2015-05-13 2015-05-13 Test method, client, server and system of game server

Publications (2)

Publication Number Publication Date
CN106294094A CN106294094A (en) 2017-01-04
CN106294094B true CN106294094B (en) 2020-01-31

Family

ID=57631634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510240495.XA Active CN106294094B (en) 2015-05-13 2015-05-13 Test method, client, server and system of game server

Country Status (1)

Country Link
CN (1) CN106294094B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815150B (en) * 2017-01-19 2020-02-07 网易(杭州)网络有限公司 Server-side interface test system and method
CN106874197B (en) * 2017-02-08 2020-05-05 网易(杭州)网络有限公司 Test method and device
CN106909510B (en) * 2017-03-02 2020-11-24 腾讯科技(深圳)有限公司 Method for obtaining test case and server
CN107154929A (en) * 2017-03-31 2017-09-12 武汉斗鱼网络科技有限公司 The method of testing and device of a kind of live software
CN109992467B (en) * 2017-12-29 2023-04-18 天津亚克互动科技有限公司 Method and system for analyzing data generated by interactive application
CN109388569B (en) * 2018-10-08 2022-03-25 金蝶软件(中国)有限公司 Method for remotely detecting environmental anomaly of client, test server and storage medium
CN109522146A (en) * 2018-11-15 2019-03-26 腾讯音乐娱乐科技(深圳)有限公司 The method, apparatus and storage medium of abnormality test are carried out to client
CN109547291A (en) * 2018-12-06 2019-03-29 珠海西山居移动游戏科技有限公司 A kind of method and device of quick positioning high frequency bandwidth consumption
CN110263853B (en) * 2019-06-20 2023-05-23 杭州睿琪软件有限公司 Method and device for checking state of manual client by using error sample
CN110489332B (en) * 2019-07-19 2023-09-08 珠海金山数字网络科技有限公司 Method and system for filling test numerical value
CN110354493B (en) * 2019-08-22 2022-03-01 腾讯科技(深圳)有限公司 Access control method, device, server and storage medium
CN112948232A (en) * 2019-12-10 2021-06-11 腾讯科技(深圳)有限公司 Game protocol testing method and device, electronic equipment and storage medium
CN111309620A (en) * 2020-02-24 2020-06-19 腾讯科技(成都)有限公司 Game protocol testing method and device, electronic equipment and storage medium
CN113765862B (en) * 2020-06-05 2024-02-09 腾讯科技(成都)有限公司 Game protocol testing method, device, equipment and computer readable storage medium
CN113630295B (en) * 2021-08-17 2022-12-06 网易(杭州)网络有限公司 Protocol testing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369227A (en) * 2008-06-16 2009-02-18 腾讯数码(深圳)有限公司 Game virtual machine and game development system and method implemented by the same
CN104102799A (en) * 2013-04-01 2014-10-15 腾讯科技(深圳)有限公司 Test method and test device for game data
CN104268082A (en) * 2014-09-26 2015-01-07 北京国双科技有限公司 Pressure test method and pressure test device for browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7184415B2 (en) * 2001-12-07 2007-02-27 Telefonaktiebolaget Lm Ericsson (Publ) Service access system and method in a telecommunications network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369227A (en) * 2008-06-16 2009-02-18 腾讯数码(深圳)有限公司 Game virtual machine and game development system and method implemented by the same
CN104102799A (en) * 2013-04-01 2014-10-15 腾讯科技(深圳)有限公司 Test method and test device for game data
CN104268082A (en) * 2014-09-26 2015-01-07 北京国双科技有限公司 Pressure test method and pressure test device for browser

Also Published As

Publication number Publication date
CN106294094A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106294094B (en) Test method, client, server and system of game server
CN105099811B (en) Interface testing method and device
CN108595329B (en) Application testing method and device and computer storage medium
US9118549B2 (en) Systems and methods for context management
EP2596427B1 (en) Measuring actual end user performance and availability of web applications
US20060235947A1 (en) Methods and apparatus for performing diagnostics of web applications and services
US10250632B2 (en) Web service testing
CN109815119B (en) APP link channel testing method and device
CN110196809B (en) Interface testing method and device
US11809882B2 (en) Interface calling method and apparatus, and computer-readable storage medium
EP2877953A1 (en) Determining application vulnerabilities
CN109426611A (en) A kind of method for testing software and device
CN111309620A (en) Game protocol testing method and device, electronic equipment and storage medium
CN110532182B (en) Automatic testing method and device for virtualization platform
CN110543429A (en) Test case debugging method and device and storage medium
KR20150025106A (en) Verification apparatus, terminal device, system, method and computer-readable medium for monitoring of application verification result
US10242199B2 (en) Application test using attack suggestions
CN107562619A (en) A kind of automatic traversal control method and terminal based on neuron models
US20090240987A1 (en) Test amplification for datacenter applications via model checking
CN111522749A (en) Page testing method and device, readable storage medium and electronic equipment
WO2022155685A1 (en) Web attack simulator
CN112671615A (en) Method, system and storage medium for collecting operation behavior data of front-end user
CN112559348A (en) Test analysis method, system, equipment and medium based on jacoco
CN112199229A (en) Data processing method, device, equipment and storage medium
CN110890997A (en) Network delay measuring method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant