Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A socket-based server load testing method and system

A technology of load testing and servers, which is applied in the field of computers and networks, and can solve problems such as short intervals

Active Publication Date: 2019-02-12
BEIJING AMAZGAME AGE INTERNET TECH CO LTD
View PDF5 Cites 5 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
  • A socket-based server load testing method and system
  • A socket-based server load testing method and system
  • A socket-based server load testing 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] In the embodiment of the present application, a massively multiplayer online role-playing game (MMORPG) system is taken as an example to describe the solution of the present application. The scope of application of the present application is not limited to the network game system, and can also be applied to network systems with other client-server architectures.

[0051] The server load testing system based on the Socket protocol provided by the embodiment of the present application is as follows: 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...

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] The present application relates to the field of computer and network technologies, and in particular to a socket-based server load testing method and system. Background technique [0002] The load stress test is to test the number of concurrent users, running time, and data volume that the system can withstand under certain constraints, so as to determine the maximum load pressure that the system can withstand. By testing the performance of the system under resource overload conditions, it is possible to find design errors or verify the load capacity of the system. In this test, the test object will be subjected to different workloads to evaluate and evaluate the performance behavior of the test object under different workload conditions, as well as 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 ...

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products