Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automated API test method

A technology of automated testing and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of improving efficiency

Inactive Publication Date: 2018-02-09
SUZHOU LANGDONG NET TEC CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem mainly solved by the present invention is to provide an API automated testing method, which solves the problems in traditional automated testing, improves the efficiency of the entire test development process, and the test results are more likely to expose API bugs

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
  • Automated API test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] Such as figure 1 As shown, embodiments of the present invention include:

[0025] An API automated testing method, comprising:

[0026] s1, obtain the iterative requirements of a Scrum process, such as adding new APIs, adjusting existing API input parameters, adding output items, etc.;

[0027] s2. Review iteration requirements to determine whether existing API test cases need to be adjusted;

[0028] s3, if the API test case needs to be adjusted, determine the adjustment range of the API test case accordin...

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 automated API test method. The method includes: s1, acquiring iteration requirements of a Scrum process; s2, evaluating the iteration requirements, and determining whether existing API test cases need to be adjusted; s3, determining an API test case adjustment range according to the iteration requirements if the API test cases need to be adjusted, and otherwise, executing step s5; s4, mechanically applying the API test cases to a test case template file to generate a new test document; s5, importing the test document to a test framework to execute tests and output atest report; and s6, submitting the test document after execution to a test library for saving. Through the above-mentioned manner, the automated API test method provided by the invention solves problems in traditional automated tests, improves efficiency of an entire test development process, and enables a test result to more liable to expose API bugs.

Description

technical field [0001] The invention relates to the field of software testing, in particular to an API automatic testing method. Background technique [0002] In an agile iteration, the addition and modification of requirements often bring a lot of workload. How to ensure the quality of the back-end API is related to whether the entire product can be released normally. Traditional manual testing cannot guarantee timely verification of all API changes in an iterative cycle. With the frequent deployment of backends, the traditional method of manually verifying APIs has long been abandoned; traditional automated interface testing has a single verification point , Relying on testing tools, unable to handle various test scenarios, unable to find problems such as BUG in a timely and effective manner, real BUG is often submerged in a sea of ​​errors. Contents of the invention [0003] The technical problem mainly solved by the present invention is to provide an API automatic te...

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/3684G06F11/3688
Inventor 李俊
Owner SUZHOU LANGDONG NET TEC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products