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

REST API interface software automatic test method

A technology for automated testing and interface software, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as poor readability and low efficiency of software testing, and improve efficiency, reliability and scalability , the effect of improving scalability

Inactive Publication Date: 2020-09-18
GUANGDONG CYBERWAY INFORMATION TECH CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a REST API interface software automated testing method to solve the technical problems of low software testing efficiency and poor readability in the prior art

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
  • REST API interface software automatic test method
  • REST API interface software automatic test method
  • REST API interface software automatic test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Embodiment 1: a kind of REST API interface software automatic testing method, such as Figure 1-3 shown, including the following steps:

[0042] S1. Use the Python language to build a general tool library for REST API interface software automation testing and upload it to the Git warehouse. The Python language is easy to learn, free and open source, and has high scalability. It also has a wealth of third-party libraries, which is very convenient to use. The general class library It is a class library environment (programming environment and or operating environment) supported by a specific programming language on various platforms. Specifically, in the present invention, java general class library can be used. There are java general class libraries applicable to the present invention in the prior art Library, REST API interface software automation test general tool class library can read and write Excel files, HTTP request processing, security and authentication, JASON ...

Embodiment 2

[0065] Embodiment 2: In S43 of the embodiment 1, the REST API interface software automation test case includes n, and n is a natural number greater than 2. Normally, there will not be only one REST API interface software automation test case. Different modules and the same module will require 2 or more REST API interface software automation test cases to test the test cases to ensure that the possibility of problems in the test software is as small as possible and the coverage that meets user needs is as wide as possible .

[0066] Described step S43 specifically comprises:

[0067] S431. Automatically number n REST API interface software automation test cases. The number of numbers is a natural number. The number of each REST API interface software automation test case is different. The minimum value of the number is 1, and the maximum value is n, that is, n REST API interface software automation test cases are numbered 1, 2, 3...n;

[0068] S432, automatically obtain the R...

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 the technical field of automatic data processing, in particular to a REST API interface software automatic test method, which comprises the steps of S1, establishing a REST API interface software automatic test general tool class library; S2, establishing an REST API interface software automatic test case in an Excel format; S3, constructing an REST API interface softwareautomatic test request; and S4, constructing an automatic arrangement task by utilizing an integration tool. The technical problems that in the prior art, when personnel writing test cases through Postman manual test software and testers use the test cases, habits are inconsistent, readability is poor, non-automatic test efficiency is low, and when scripts are written for software testing, the testers need to have high changing ability are solved.

Description

technical field [0001] The invention relates to the technical field of automatic data processing, in particular to an automatic testing method for REST API interface software. Background technique [0002] Software testing is an important part of the software life cycle, and its purpose is to find out various defects in the software with the least amount of time and manpower. At present, for some released software, after adding some new functions or fixing some defects of the previous version, a new version needs to be released, and new function testing and original function regression testing are also required. Due to the short iteration cycle of some software, testers need to complete the test of new functions in a short period of time to verify whether they meet the standard requirements. At the same time, they also need to perform regression tests on the original functions to ensure that the use of the original functions will not be affected. Therefore, testers need to ...

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): G06F11/36
CPCG06F11/3684
Inventor 吴肖峻刘勇勤钟茂连
Owner GUANGDONG CYBERWAY INFORMATION TECH 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