Interface testing method, device and computer equipment

An interface testing and interface technology, applied in the direction of digital transmission system, data exchange network, electrical components, etc., can solve the problems of low test efficiency, error rate and high writing cost

Active Publication Date: 2020-10-27
BANK OF CHINA
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides an interface testing method, device and computer equipment, which solves the technical problems that the existing interface testing needs to be combined for each test, and a complete test script is written, the error rate and writing cost are high, and the testing efficiency is low.

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
  • Interface testing method, device and computer equipment
  • Interface testing method, device and computer equipment
  • Interface testing method, device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The inventors have found that all rely on test tools such as postman and soupUI when testing the interface at present, and testers are required to master the specific methods of use of the test tool. After the test tool is installed in the computer equipment, the test can be used to realize the interface test. Training costs are high.

[0056]Moreover, after the existing test tools create test cases, testers manually write complete request messages and return messages, and the message format is strict, resulting in a relatively complex interface, the writing error rate is high, reducing The accuracy and efficiency of the test interface are improved. In addition, because each test script written cannot be reused, when the existing interface is tested, the same interface to be tested is written in different test combinations, such as regression test and smoke test. The corresponding test scripts make the test scripts redundant, resulting in higher writing costs.

[0057...

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 provides an interface test method and device, and a computer device. In the embodiment, a test case set is arranged, and test data of each test case is recorded in a test script file; when one test case is performed for interface test, a field and test data for interface test can be read directly from the test script file, a test message is generated automatically, and a tester doesnot need to write a complete test message by hands according to a strict message requirement, so that writing error rates are reduced, and writing efficiency is improved; in addition, content of returned messages can be verified automatically by using expected returned message data of pre-stored corresponding test cases, and the tester does not need to check returned messages, so that test efficiency and accuracy are improved. Further, the tester does not need to learn to use a test tool, and only needs to know the use of software of the format to which the test script file belongs, so that training cost for testers is lowered.

Description

technical field [0001] The present invention relates to the technical field of testing, and more specifically relates to an interface testing method, device and computer equipment. Background technique [0002] Interface testing is a test for testing system component interfaces. It is mainly used to detect the interaction points between external systems and internal subsystems, focusing on the inspection of data exchange, transmission and control management processes, as well as the interaction between systems. Logical dependencies, etc. [0003] In practical application, since the front-end and back-end calls of the test project are mainly based on the interface of the http protocol, the current test interface mainly relies on the test tool to simulate the sending and receiving of the http request. For different test combinations of the interfaces to be tested, the required complete test scripts are written separately. The cost of writing is high, and the error rate is hig...

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): H04L12/26
CPCH04L43/50
Inventor 吕珊珊
Owner 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