Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for interface testing based on http protocol

An http protocol and interface testing technology, applied in the network field, can solve the problems of difficult interface development and high requirements for interface developers, and achieve the effect of simplifying the testing process

Inactive Publication Date: 2019-03-05
FOUNDER BROADBAND NETWORK SERVICE
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] After the development of the server interface is completed, in order to be compatible with the correct use of various platforms, it is necessary to hope that the developers are proficient in all languages ​​and can write unit test cases in various languages. The requirements for interface developers are high, which makes interface development 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
  • A method and device for interface testing based on http protocol
  • A method and device for interface testing based on http protocol
  • A method and device for interface testing based on http protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0039] The embodiment of the present invention firstly provides a kind of interface testing method based on http protocol, including such as figure 1 Steps shown:

[0040] Step 101: According to the received first instruction, determine the target parameter among multiple test parameters stored in advance;

[0041] Step 102: According to the selected target parameters and the received second instruction, call the pre-stored parameter code and core code to encapsulate the http test request package;

[0042] Step 103: Send the http test request packet to the interface to be tested.

[0043] As can be seen from the above, the interface testing method based on the http protocol provided by the embodiment of the present invention overcomes the differences i...

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 provides an interface test method and device based on an http protocol. The method comprises: determining a target parameter from multiple pre-stored test parameters according to a received first instruction; invoking a pre-stored parameter code and core code to be packaged into an http test request packet according to the selected target parameter and the received second instruction; sending the http test request packet to an interface to be tested. The device comprises a target parameter determining module, a test request packet packaging module and a sending module. According to the method and the device, the http test processes of different platforms are simplified.

Description

technical field [0001] The invention relates to network technology, in particular to an interface testing method and device based on http protocol. Background technique [0002] Today is an era of the Internet, and all walks of life have been covered. Internet platforms include not only traditional platforms such as Windows, Linux, and Unix, but also emerging mobile terminal platforms such as Android, Ios, and Windows Phone. No matter what kind of platform, it is composed of front-end display and back-end business processing. The technologies used in the front display are different according to different platforms. For example, Android system is developed in Java language, Window Phone system is developed in C# language, Ios system is developed in Object-C language, Symbian system is developed in C++ language, and Blackberry system is developed in C++ language. C language or C++ language development, etc.; background business processing is relatively simple, and Java langu...

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): H04L29/08H04L12/26
CPCH04L43/08H04L43/50H04L67/02
Inventor 欧阳素珍
Owner FOUNDER BROADBAND NETWORK SERVICE