Method and device for stress testing
A pressure test and pressure technology, applied in software testing/debugging, etc., can solve problems such as exhaustion of network card throughput, difficulty in meeting high test pressure requirements, difficulty in reaching the limit of physical network card, etc., to meet high test pressure effect of demand
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] When forming a pressure tool, first configure the pressure file, which is the data source of the pressure tool, and in the embodiment of the present invention is a constructed binary data package. The content format of the stress file is very simple, and each unit is composed of data packet size information and binary data packets. The stress file shields the difference of the data packets. If the first 4 bytes of each unit are set as the data packet size information, the stress tool can first read the first 4 bytes to determine the data when sending the data packets during the subsequent stress test. Packet size, and then read the data packet and send it to the program under test. This is true for each data packet.
[0043] When the user conducts a stress test, he first needs to customize the stress tool, that is, set user-defined parameters, including: the destination address corresponding to the program under test (usually ip address and port, some private protocols ...
Embodiment 2
[0070] figure 2 The structure diagram of the stress test device provided for the second embodiment of the present invention, when forming the stress test device, first configure the stress file, which is the data source of the stress tool, and in the embodiment of the present invention is the constructed binary data package . The content format of the stress file is very simple, and each unit is composed of data packet size information and binary data packets. like figure 2 As shown, the device may include: a preprocessing unit 200 , an initialization unit 201 , a connection setting unit 202 , a statistical unit 203 , a sending pressure unit 204 and a receiving analysis thread 205 .
[0071] The preprocessing unit 200 is used to limit the number of open file handles, and add at least one of terminal line hangup, interrupt process, software termination signal and core file termination process signal to the signal that triggers forced exit or abnormal exit.
[0072] Since t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com