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

Interface testing method and device

A test method and interface technology, applied in the computer field, can solve the problems of high labor cost and time cost, inconvenience, etc.

Active Publication Date: 2020-01-10
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] In the above process, the connection between the third-party platform and the marketing platform needs to be tested, and the testers of the marketing platform need to use a real mobile phone to access the test page before triggering the subsequent process, which is inconvenient
Moreover, the records of interactive operations are scattered and recorded in the logs. If users want to view the test results, they need to view a large number of logs to know the results of the test, which requires high labor and time costs.

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
  • Interface testing method and device
  • Interface testing method and device
  • Interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0102] refer to figure 2 , which shows a flow chart of the steps of an interface docking testing method according to an embodiment of the present invention, which may specifically include the following steps:

[0103] Step 110, configure the first test information for the test system; the first test information includes: the access address of the first interface corresponding to the first server, the callback address of the second interface called back by the first server, and the device identification information; the second interface is an interface of the test system;

[0104] In the embodiment of the present application, a test system can be set up based on the web front-end mpv (Model View Controller, which is a model (model)-view (view)-controller (controller)) framework. In this test system, the setting and online system A log subscription subsystem and log recording subsystem with consistent functions, and then build a shell script to realize the automatic and standa...

Embodiment 2

[0119] refer to Figure 3A , which shows a flow chart of the steps of an interface docking testing method according to an embodiment of the present invention, which may specifically include the following steps:

[0120] Step 210, after receiving the configuration request sent by the test terminal, return a configuration page to the test terminal, so that the user can configure the first test information in the configuration page;

[0121] In this embodiment of the application, the user can use the test terminal to access the test system, and send a configuration request to the server where the test system is located.

[0122] refer to Figure 3B , shows an example of a page where a test terminal initiates a configuration request. After the user accesses the test system, the test system returns to the test terminal Figure 3B , and then the user clicks the button S11 "+ Add test simulation click" on the page, and then the configuration request can be sent to the test system....

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 provides an interface docking test method and device, and relates to the technical field of computers. The method comprises the following steps: configuring first testinformation for a test system; wherein the first test information comprises an access address of a first interface corresponding to a first server, a callback address of a second interface called backby the first server, and equipment identification information; wherein the second interface is an interface of the test system; receiving a test execution instruction for the first test information;simulating a user terminal according to the equipment identification information, performing interactive operation on the first interface based on the access address, and notifying the callback address to the first server through the first interface; receiving an interactive operation of the first server on the second interface based on the callback address; and recording the result of the interactive operation based on the equipment identification information. According to the embodiment of the invention, the butt joint of the interface can be quickly tested, and the cost is saved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an interface testing method and an interface testing device. Background technique [0002] With the development of the Internet, different platforms are also cooperating. For example, third-party platform A is the display party of advertising content, marketing platform B is the party of advertising content, and marketing platform B needs to place advertising content on the page of third-party platform A. , then the marketing platform B and the third-party platform A may need to connect the interface between the two. And marketing platform B may cooperate with multiple third-party platforms A, then platform B needs to connect with multiple third-party platforms A. [0003] In the prior art, the user connects the online system of platform B with the API (Application Program Interface, Application Program Interface) of each platform A for manual testing. Such as figure 1 , whi...

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/3664
Inventor 李波
Owner BEIJING QIHOO TECH CO LTD