Supercharge Your Innovation With Domain-Expert AI Agents!

Interface mock test method, device and equipment based on information security and storage medium

A technology of information security and testing methods, applied in the field of computer software testing, can solve problems such as certain requirements for coding ability, achieve the effect of lowering the threshold of use and improving the efficiency of use

Pending Publication Date: 2019-04-19
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there are many mock tools available in the industry, but these mock tools only support mocks of a certain calling method, and each tool only calls mocks based on services of a certain language platform, and only supports single-segment services. Mock, so it can only support simple mocks in the development stage, and cannot meet the requirements of complex integration tests. At the same time, it also has certain requirements for coding capabilities and has a certain threshold for use

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 mock test method, device and equipment based on information security and storage medium
  • Interface mock test method, device and equipment based on information security and storage medium
  • Interface mock test method, device and equipment based on information security and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The terms "comprising" and "having" and any variations thereof in the specification and claims of the present application and the above drawings are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.

[0049] It should be noted that the words "upper", "lower", "upper end", "lower end", "bottom" and "top end...

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 discloses an interface mock testing method based on information security, and relates to the technical field of computer software testing. The invention discloses an interface mock test method based on information security. The method comprises the following steps: receiving a first test request; Responding to the first test request, calling a preset strategy template, and obtaining a first interface address according to an interface request mode and an interface data type; Calling a preset interface parameter template for matching, and obtaining a second interface address corresponding to the first interface address; And obtaining a return parameter matched with the entry parameter of the test request according to the second interface address. The embodiment of the invention discloses an interface mock test method based on information security. The problem that an existing mock tool is simple and cannot support a mock of a complex calling relation is solved, the purpose that one tool conducts calling of multiple services, multiple interface parameter forms and calling of interface types in multiple language frameworks is achieved, the use thresholdis lowered, and the use efficiency is improved.

Description

technical field [0001] The embodiment of the present application relates to the technical field of computer software testing, in particular to an interface mock testing method, device, equipment and storage medium based on information security. Background technique [0002] Developers need to test the developed unit during the software development process or after the development is completed, so as to find errors in time and repair them in time to ensure the correctness and stability of the developed program. For example, when making online payment, there is a service process of calling banks and other payment channels for payment, but in the process of testing by actual testers, the real bank interface cannot be called for every test, so the mock of the interface is required (simulated ) service for mock testing. In the test, the system interface test is mainly used to detect the interaction points between the system and the outside of the system and between various subsy...

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/3696
Inventor 杨雨晨
Owner PING AN TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More