Server stress testing method and device

A pressure test and server technology, applied in the Internet field, can solve problems such as low efficiency, inability to obtain test results, and interference of test results

Active Publication Date: 2015-12-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing stress testing methods, several test request samples are prepared in advance to obtain a test request sample set, and then the test request samples are randomly extracted from the test request sample set by concurrent threads to send test requests to the server. The thread may send the same test request to the server. At this time, if the server has a cache, it will use the data in the cache to respond to the test request, which will interfere with the test results.
[0004] On the other hand, the existing stress testing tools cannot obtain specific test results after testing. For example, when the test results are unsuccessful, it cannot specifically reflect which request is unsuccessful. At this time, the management personnel need to Checking the access log on the server side is very inefficient

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
  • Server stress testing method and device
  • Server stress testing method and device
  • Server stress testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] The tested server mentioned in the embodiment of the present invention may be a website server, an online map background server, etc., which may need to receive a large number of concurrent requests from users at the same time. The subject of performing the stress test on the server may be the server stress test apparatus proposed in the embodiment of the present invention, which may be implemented in any network device.

[0022] figure 1 It is a schematic ...

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 embodiment of the invention discloses a server stress testing method which comprises the following steps that (1) a test sample queue reads multiple preset test request samples, wherein each of the test request samples carries different resource identifies of a tested server, (2) multiple concurrent threads extract different request samples from the sample request queue and sends testing requests to the tested server according to the extracted test request samples, (3) the multiple concurrent threads obtain the testing results of the testing requests and associate the testing results and the resource identifies of the tested server and stores the testing results. The embodiment of the invention also discloses a server stress testing device. By using the server stress testing method and the server stress testing device, the detailed testing result of the stress test of the server can be obtained.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a server stress testing method and device. Background technique [0002] With the rapid development of Internet technology, the requirements for server performance and stability are getting higher and higher. Therefore, it is often necessary to perform stress tests on servers to collect server performance indicators and the processing speed of network requests. There are many existing tools for stress testing in the background, such as: HTTP_LOAD, AB (ApacheBenchmark), etc., all of which can perform background stress testing. [0003] In the existing stress testing methods, several test request samples are prepared in advance to obtain a test request sample set, and then the test request samples are randomly extracted from the test request sample set by concurrent threads to send test requests to the server. The thread may send the same test request to the server. At this t...

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): H04L12/26G06F11/30H04L29/08G06F9/46
Inventor 张萍萍
Owner TENCENT TECH (SHENZHEN) 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