Automatic file verification method

A verification method and file technology, which is applied in the direction of electrical components, software testing/debugging, program code conversion, etc., can solve the problems that cannot meet the detailed accuracy of bank settlement messages, and achieve the effect of flexible and diverse configuration methods

Active Publication Date: 2020-10-16
浙江保融科技股份有限公司
View PDF10 Cites 2 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
  • Automatic file verification method
  • Automatic file verification method
  • 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 method comprises the steps of firstly appointing an interface document protocol and determining a file format; secondly, making judgment according to a preset flag bit numerical value, and if the bank settlement transaction business belongs to a message type, entering message type verification; and if the bank settlement transaction business belongs to a file type, performing file type verification. According to the method, the file content can be automatically analyzed according to the file template field and converted into ageneral json format; whether a result meets expectation or not can be judged through comparison according to a preset check expression; and the file template can be configured in flexible and diversemethods, and personalized configuration can be carried out according to a file structure, a parameter sequence, a parameter length, a parameter number and specific values of parameters.

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 Applications(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