Socket-based server load test method and system

A technology of load testing and server, applied in the field of computer and network, can solve problems such as short interval

Active Publication Date: 2016-12-07
BEIJING AMAZGAME AGE INTERNET TECH CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, multiple virtual clients generated in the same client device actually access the server sequentially according to a certain sequence, but the interval between before and after is very short, achieving the effect of approximately simultaneous access, not the real simultaneous access to the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Socket-based server load test method and system
  • Socket-based server load test method and system
  • Socket-based server load test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the technical principles, features, and technical effects of the technical solution of the present application clearer, the technical solution of the present application will be described in detail below in conjunction with specific embodiments.

[0050] The embodiment of the application takes a massively multiplayer online role-playing game (MMORPG) system as an example to illustrate the solution of the application. The scope of application of this application is not limited to online game systems, but can also be applied to other client-server network systems.

[0051] The server load test system based on the Socket protocol provided by the embodiment of the application is such as figure 1 As shown, it mainly includes: a network engine module 101, a load test tool script module 102, a load test process management module 103, and a load test data monitoring module 104. The functions of each module are as follows:

[0052] Network engine module 101: used to c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a socket-based server load test system. The system comprises a network engine module, a load test tool script module, a load test management module and a load test data monitoring module, wherein the network engine module is used for providing socket-based interface functions for test scripts to compile test cases: establishing connection with a tested server, sending a message to the tested server or receiving a message from the server, and providing various operation functions of virtual users; the load test tool script module is used for calling the interface functions provided by the network engine module, and combining the operations of the virtual users to obtain test cases which comprise a specific test logic; the load test management module is used for realizing a load test operation process, simulating a plurality of virtual clients through a multi-thread mechanism to execute the test cases so as to achieve the aim of concurrent test; and the load test data monitoring module is used for monitoring overall performance data of the tested server and / or performance data of a certain specific service process of the tested server. The invention furthermore discloses a socket-based server load test method.

Description

Technical field [0001] This application relates to the field of computer and network technology, and in particular to a method and system for server load testing based on sockets. Background technique [0002] Load stress test is to test the number of concurrent users, running time, and data volume that the system can withstand under certain constraints to determine the maximum load pressure that the system can withstand. By testing the performance of the system under resource overload conditions, to find design errors or verify the load capacity of the system. In this kind of test, the test subject will be made to undertake different workloads to evaluate and evaluate the performance behavior of the test subject under different workload conditions and the ability to continue normal operation. [0003] For a server-client system, it is usually necessary to test the maximum number of concurrent users that the server can carry. In the prior art, the load test of the server usually ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 张丙鹏
Owner BEIJING AMAZGAME AGE INTERNET TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products