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

Automatic test method and device for Http interface, storage medium and electronic equipment

A technology for automated testing and interfaces, applied in the fields of Http interface automated testing devices, electronic equipment, Http interface automated testing, and computer-readable storage media, can solve problems such as increased testing difficulty, reduce testing difficulty, reduce the amount of coding, and improve credibility effect

Pending Publication Date: 2020-06-05
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The object of the present invention is to provide a kind of Http interface automatic testing method, Http interface automatic testing device, computer-readable storage medium and electronic equipment, and then at least to a certain extent overcome the need for a large number of codings caused by the limitations and defects of related technologies. Issues that make testing more difficult

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
  • Automatic test method and device for Http interface, storage medium and electronic equipment
  • Automatic test method and device for Http interface, storage medium and electronic equipment
  • Automatic test method and device for Http interface, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or descr...

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 embodiment of the invention relates to an automatic testing method and device for an Http interface, and belongs to the technical field of interface testing, and the method comprises the steps: configuring a keyword input rule, and receiving a test case, inputted according to the keyword input rule, of a to-be-tested Http interface, wherein the test case comprises to-be-queried data and Http expected response data; sending an Http request including the test case to a server, and receiving Http response data generated according to a query result after the server queries the to-be-queried data in response to the Http request; and verifying whether the Http expected response data is consistent with the Http response data or not to obtain a first verification result, and judging whether the Http interface to be tested passes the test or not according to the first verification result. According to the method, the coding amount is reduced, the test difficulty is reduced, and the test efficiency is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of automated testing, and in particular, relate to an automated testing method for an Http interface, an automated testing device for an Http interface, a computer-readable storage medium, and electronic equipment. Background technique [0002] In Web software engineering, the network API (Application Programming Interface, Application Programming Interface) interface test is a very important test link. Whether the Response is correct, and whether the data is correctly dropped into the database. [0003] With the development of network technology, the current web system is becoming more and more complex, and there are more and more situations where there are dependencies between network API interfaces (for example, part of the return value of the first interface is the parameter of the second interface) , and more and more data falls into multiple tables in multiple databases when call...

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/3688G06F11/3692
Inventor 李秀华王世环
Owner BEIJING JINGDONG SHANGKE 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