An automatic file verification method

A verification method and document technology, applied in electrical components, software testing/debugging, program code conversion, etc., can solve problems such as the inability to meet the details and accuracy of bank settlement messages, achieve flexible and diverse configuration methods, and improve production efficiency.

Active Publication Date: 2021-06-04
浙江保融科技股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such requirements can meet the daily interface test automation requirements, but cannot meet the high precision of message details required by bank settlement

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
  • An automatic file verification method
  • An automatic file verification method
  • An automatic file verification method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Bank files generally have two formats, namely, the format of specifying the length of each parameter field according to the byte length and the format of using || to separate parameters. We will refer to these two formats as "byte length format" later. " and "Double Vertical Separator Format".

[0055] When conducting joint debugging with the bank’s open interface on a daily basis, we generally need to rely on the interface documents provided by the bank to manually compare fields one by one in a very detailed manner.

[0056] Usually when the amount of data is relatively large and the bank transfers tens of thousands of data, we need to compare these details (such as byte length and field content) manually or with some text tools such as notepad++, even some document comparison tools cannot It fully meets the requirements of byte length comparison. Using this invention only requires you to establish your own custom template to meet your requirements for comparing byte ...

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 discloses an automatic file verification method. The present invention first stipulates the interface document protocol, and determines the file format; secondly, judges according to the preset flag value, if the bank settlement transaction belongs to the message type, enter the message type verification; if the bank settlement transaction belongs to the file type , enter to check the file type. The present invention can automatically parse the file content according to the file template field, and convert it into a common json format. Quickly check whether the comparison result meets expectations according to the preset verification expression. The configuration method of the file template can be set flexibly and diversely, and can be personalized according to the file structure, parameter sequence, parameter length, parameter number, and parameter specific value.

Description

technical field [0001] The invention is an automatic file checking method applied in the software test automation framework application platform. Background technique [0002] The existing open source interface automation framework usually only stays in the interface request communication, and the communication with the server is normal, and the json format request sent correspondingly has a corresponding return. [0003] Existing automation framework verification schemes use the most commonly written assertions to verify the return parameters, such as judging whether there is a "hello" field in the return parameters, if it exists, the use case is judged to pass, and if it does not exist, the use case verification fails. Such requirements can meet the daily interface test automation requirements, but cannot meet the high precision of message details required by bank settlement. [0004] The system of the present invention covers all the open source automation framework func...

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 Patents(China)
IPC IPC(8): G06F11/36G06F8/41H04L29/06
CPCG06F8/42G06F11/3688G06F11/3692H04L69/22
Inventor 单炎辰胡剑剑陈汉源
Owner 浙江保融科技股份有限公司
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