Interface automatic test method and device, computer equipment and storage medium

A technology for automated testing and interface testing, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as many conflicts, shared files, and long links, achieve rapid coverage, improve work efficiency, The effect of saving time and cost

Active Publication Date: 2021-02-23
深圳市云网万店科技有限公司
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above-mentioned implementation method is relatively complicated, there are many shared files, and there are many conflicts, which makes the maintenance cost of testers relatively high, and the link is relatively long, and the execution time of each test case is long, which cannot adapt to the current rapid iteration version. Automated testing, when it comes to emergency versions, especially when the underlying code transformation or upgrade needs to release a new version, cannot meet the needs of quickly and accurately calling the existing query interface to achieve rapid coverage of the main business process, and if there is a query in the test The interface is not covered, and there may be situations like circular reference ($ref) that make the front end unrecognizable

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0043] The new version may add new business, if the new business involves calling the existing query interface, for example, in the order query scenario, the new business in the new version needs to call the distributed remote call for querying the new business order Service (specifically, the distributed remote call service can be called by calling the order query interface of the remote service platform. The precondition for realizing the call is that both the caller and the called party have registered the called system and interface information on the remote service platform. ), then b...

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 relates to an automatic interface testing method and device, computer equipment and a storage medium.The method comprises the steps of obtaining input parameter information related to all to-be-tested interfaces from a specified database, and generating an interface test script according to the input parameter information related to all the to-be-tested interfaces; executing the interface test script to call all to-be-tested interfaces; and obtaining all the return messages received after calling all the to-be-tested interfaces, and performing test result analysis according to all the received return messages to obtain test results of all the to-be-tested interfaces. The embodiment of the invention can adapt to the automatic test of the current quick iterative version, and can quickly and accurately call the existing query interface to realize the quick coverage of the service main process when an emergency version, particularly a new version required to be published forbottom layer code transformation or upgrading, is involved.

Description

technical field [0001] The present application relates to the technical field of interface testing, in particular to an interface automatic testing method, device, computer equipment and storage medium. Background technique [0002] When it comes to urgent versions, especially when the underlying code transformation or upgrade requires the release of a new version, it is necessary to quickly and accurately cover the distributed remote call (RPC) service that needs to be called in the test, so as to analyze the impact of the changes of the new version on the existing interface influences. [0003] From the perspective of the existing automation implementation of the middle-end order query interface, the existing query interface SAT automation (SAT full name: Suning Automation Tester, which is an automated testing tool independently developed by Suning) starts from the upstream order receiving link, according to The types of orders are different, different variables (constant...

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/368G06F11/3688
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