Method and device for testing pressure
A stress testing and stress technology, applied in the direction of software testing/debugging, etc., can solve problems such as difficult to exhaust the throughput of network cards, difficult to meet high test pressure requirements, difficult to reach the limit of physical network cards, 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 device structure diagram of the stress test provided by the second embodiment of the present invention, when forming the stress test device, first configure a pressure file, the pressure file 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 pressure file is very simple, and each unit consists of packet size information and binary data packets. like figure 2 As shown, the apparatus may include: a preprocessing unit 200 , an initialization unit 201 , a connection setting unit 202 , a statistics unit 203 , a sending pressure unit 204 and a receiving analysis thread 205 .
[0071] The preprocessing unit 200 is configured to open the limit on the number of file handles, and add at least one of terminal line hang-up, interrupt process, software termination signal and establishment core file termination process signal to the signal triggering forced exit or ...
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