Interface test method and device, and computer device

An interface testing and interface technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of high error rate, high writing cost, low testing efficiency, etc., to improve writing efficiency, improve testing efficiency and accuracy, The effect of reducing the writing error rate

Active Publication Date: 2019-03-15
BANK OF CHINA
View PDF4 Cites 14 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

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0055] The inventor found that the current test interface relies on test tools such as postman, soupUI, etc., and the tester is required to master the specific use method of the test tool. After the test tool is installed in the computer equipment, the test can be used to implement interface testing. Training costs are high.

[0056] Moreover, after existing test tools create test cases, testers manually write complete request messages and return messages, and have strict requirements on the message format, which leads to a relatively high rate of writing errors in relatively complex interfaces and reduces Improve the accuracy and efficiency of the test interface. In addition, since each test script written cannot be reused, it will lead to different test combinations for the same interface to be tested, such as regression test and smoke test, in the existing interface test. Corresponding test scripts cause redundancy in test scripts, leading to higher writing costs.

[0057] 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

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