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

Automated testing method for RESTful Webservice interface based on robot Framework

An automated testing and interface technology, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of reducing workload, improving regression testing efficiency, and obtaining results accurately and quickly

Inactive Publication Date: 2018-09-25
EISOO SOFTWARE
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] There is no research on automated testing of RESTful Webservice interfaces 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
  • Automated testing method for RESTful Webservice interface based on robot Framework
  • Automated testing method for RESTful Webservice interface based on robot Framework
  • Automated testing method for RESTful Webservice interface based on robot Framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is carried out on the premise of the technical solution of the present invention, and detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0033] Such as Figure 1-Figure 2 As shown, the present embodiment provides a RESTfulWebservice interface automated testing method based on the Robot Framework, the method glues the test case, the test library and the system under test through the Robot Framework test framework, and the test library calls the test tool or directly communicates with the system under test Interaction, realize the automated testing of the RESTful Webservice interface, and use less manpower to complete the automated regression testing of the RESTful Webservice interface faster. The method specifically 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 relates to an automated RESTful Webservice interface test method achieved on the basis of a Robot Framework. According to the method, an automated test on a RESTful Webservice interface is achieved through testing framework (Robot Framework) bonding testing cases, a test library and a tested system. The method specifically comprises the following steps that 1, the test cases are designed, wherein each test case contains test data, an expected result and one or more user key words; 2, the key words are called layer by layer in the test framework (Robot Framework) according to the test cases, and interaction with the tested system is finally achieved through Python library key works for interaction, wherein interaction comprises the steps of sending an HTTP request to the tested system and receiving a returned value of the tested system; 3, the Python library key words for inspection are defined, the returned value is inspected through the defined Python library key words, and then the automated test is achieved. Compared with the prior art, the automated test method has the advantages that the work load is reduced, and the test reliability is high.

Description

technical field [0001] The invention belongs to the technical field of software testing, and relates to an automatic testing method, in particular to a robot framework-based automatic testing method for a RESTful Web service interface. Background technique [0002] As the IT environment continues to change, the functions of the data backup and recovery system are becoming more and more complex. Testing a backup and recovery system with increasing functions has become a huge project. How to use less manpower and complete the test faster It is a huge challenge. [0003] The traditional testing method is to use the manual testing method to operate the product through the WEB interface for testing. Popular automated testing tools in the industry, such as QTP, are not suitable for products with frequent page changes. Since no suitable automatic testing method has been found in the prior art, a large number of personnel are required to manually perform regression testing for eac...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 黄亚楠
Owner EISOO SOFTWARE
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