Method and device for extracting generated data of regression test or pressure test

A pressure test and regression test technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as data extraction limited by machine memory, automatic exit, software and hardware limitations, etc., to avoid Memory overflow, ensure completeness, avoid incomplete effects

Active Publication Date: 2020-11-17
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Second, for scenarios with large transaction volume and long capture time, the captured single-packet file may reach several gigabytes
The Wireshark script reads the entire packet file into the memory and then parses it, so the data extraction of large files is limited by the machine memory; when the file exceeds the memory limit, Wireshark will automatically exit
This problem has been recorded on the Wireshark official website (https: / / wiki.wireshark.org / KnownBugs / OutOfMemory). The solution given by Wireshark is to increase physical memory and virtual memory, but these methods are limited by the hardware and software of the device.
[0007] Third, for the second problem, the size of a single packet file captured by Tcpdump can be limited, but there is a problem similar to the first point: if there are TCP fragments, different fragments of the same TCP session may exist in different package file, the extracted application layer data is still not necessarily complete data

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 device for extracting generated data of regression test or pressure test
  • Method and device for extracting generated data of regression test or pressure test
  • Method and device for extracting generated data of regression test or pressure test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] 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, and the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0069] The principle and spirit of the present invention will be explained in detail below with reference to several representative embodiments of the present invention.

[0070] Although the present invention provides method operation steps or device structures as shown in the following embodiments or accompanying drawings, more or less operation steps or module units may be included in the method or device based on conventional or creative work . In ...

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

Provided are a method and device for extracting generated data of a regression test or a pressure test in the technical field of information security. The method comprises the following steps of acquiring plurality of packet files by capturing packets of data to be extracted; analyzing each packet file to obtain analyzed data and parameters on a plurality of zone bits; and finally, extracting application layer data corresponding to each session from the analyzed data in combination with the plurality of flag bits. Compared with extraction of a single packet file, memory overflow caused by one-time loading of a large file by Wirespark is avoided, meanwhile, the start point and the end point of each session can be anchored through the zone bit, the integrity of application layer data of eachsession can be guaranteed, complete application layer data can be extracted, and the problem that a TCP layer is fragmented to cause incompleteness is avoided.

Description

technical field [0001] The invention relates to the technical field of data extraction, in particular to a method and device for extracting generated data of a regression test or a stress test. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] One of the current regression test / stress test data generation methods is to use Tcpdump to capture network packets in the production environment and save them as packet files (single), parse the packet files through Wireshark scripts (tshark, pyshark, etc.), and extract from a single TCP packet Application layer data, transformed and used as test data. [0004] There are 3 problems with the above method: [0005] First, when the application layer data exceeds the TCP MSS (MaximumSegmentSize maximum segment length, generally 1460 bytes)...

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): G06F11/36
CPCG06F11/3684
Inventor 林嘉文吴洁胡文涛张敏娇
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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