MOCK test method, device and equipment

A test method and a test request technology, applied in the test field, can solve problems that affect the completion progress of platform application projects, and achieve the effects of improving test efficiency, ensuring test efficiency, and ensuring completion progress

Pending Publication Date: 2019-10-22
KOUBEI SHANGHAI INFORMATION TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, this application provides a MOCK testing method, device and equipment, the main purpose of which is to solve the current application scenarios of platform application testing external applications, which can only be simulated through oral communication and unit testing through existing testing methods Test, end-to-end test acceptance cannot be carried out, which will affect the completion progress of the platform application project

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
  • MOCK test method, device and equipment
  • MOCK test method, device and equipment
  • MOCK test method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] Hereinafter, the present application will be described in detail with reference to the drawings and embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0067] At present, through existing testing methods, if the application under test is relatively a black-box scenario, it will be difficult to obtain the scene request results of the corresponding end of the application under test, and thus cannot perform end-to-end test acceptance. In order to solve this problem, this embodiment provides a MOCK test method, such as figure 1 As shown, the method includes:

[0068] 101. Send a test request for the application under test.

[0069] Wherein, the test request carries request attribute information of the target login user. Different login users correspond to one of the application scenarios for testing the application under test. That is, each log...

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 discloses an MOCK test method and device and equipment, relates to the technical field of tests, and can perform end-to-end test acceptance when a platform application tests an application scene of an external application, thereby ensuring the test efficiency of a platform application project. The method comprises: sending a test request for a tested application, wherein the test request carries request attribute information of a target login user, and different login users respectively and correspondingly test one application scene of the tested application; receiving an MOCK object matched according to the request attribute information; and according to the MOCK object, realizing a link MOCK test of a target application scene tested corresponding to the target login user. The method, device and equipment are suitable for MOCK testing.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a MOCK testing method, device and equipment. Background technique [0002] The platform application needs to cooperate with the external application. When the user obtains the electronic certificate of the specific service of the external application in the platform application, the platform application needs to request the external application through the gateway and then request the issuance of the coupon. After success, the user's platform application will receive the certificate issued by the external application. coupon code. In this way, the user can redeem the corresponding service of the external application through the coupon code. [0003] Because there are many uncertainties in the interaction between the platform application and the external application system, the platform application system needs to formulate different strategies for these uncertainties. ...

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/3688
Inventor 韦韬
Owner KOUBEI SHANGHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products