Method and system for carrying out stress test on server

A stress test and server technology, applied in the field of testing, can solve the problems of consuming a lot of human resources, unable to get the consistency of response messages, etc., to achieve the effects of true test results, reduced workload, and wide coverage

Active Publication Date: 2013-12-04
LINKTECH NAVI TECH
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that the existing solution needs to consume a lot of human resources, and can only count the test resul

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
  • Method and system for carrying out stress test on server
  • Method and system for carrying out stress test on server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the embodiments and accompanying drawings.

[0018] An Internet server is a server on the Internet that provides users with certain business services. Each Internet server is accessed by a large number of users every day, including access from any place in the world at any time through any network. It is customary to visit these servers, and its complexity and completeness of coverage are stronger than the internal stress test of the server; and the access information is recorded in the server's access log file, and the access information includes the access request and the corresponding Respond to the message. The access log file is used to record the access information of the user accessing the server, including access requests and corresponding response messages.

[0019] Based on the acc...

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 provides a method and system for carrying out a stress test on a server. The method comprises the steps of obtaining an access log file from the server to be tested, reading an access request from the access log file, sending an access request to the server to be tested, receiving a response message returned from the server to be tested after the access request is processed, reading a response message corresponding to the access request from the access log file, comparing whether the read response message and the received response message are the same, and recording the comparison result. According to the scheme, the workload of the stress test can be reduced, and the test result about consistency of the response message can be obtained.

Description

technical field [0001] The invention relates to the testing field, in particular to a method and system for stress testing a server. Background technique [0002] The pace of Internet development is very fast. A large number of versions of services are often launched within a day, and each service is served by its own server. How to quickly perform stress tests on these servers is a thorny problem encountered in the testing of Internet companies. Stress testing is a test that imitates the user to initiate a large number of access requests to the server and then obtain the server's response. [0003] Existing methods for stress testing servers must be completed through manual testing, all of which need to go through the complete process of formulating test plans, writing test cases, executing test cases, and writing test reports. In this process, different test cases need to be written for different servers to be tested, which requires a lot of work, and the execution of tes...

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
IPC IPC(8): H04L12/26
Inventor 封晓静
Owner LINKTECH NAVI TECH
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