Front-end test method and device, computer equipment and storage medium

A test method and test device technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as front-end test blocking, achieve the effect of speeding up the test process and improving the effectiveness of the test

Pending Publication Date: 2021-04-09
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiment of the present application is to propose a front-end test method, device, computer equipment and storage medium to solve the problem of front-end test being blocked

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
  • Front-end test method and device, computer equipment and storage medium
  • Front-end test method and device, computer equipment and storage medium
  • Front-end test method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the application; the terms used herein in the description of the application are only to describe specific embodiments The purpose is not to limit the present application; the terms "comprising" and "having" and any variations thereof in the specification and claims of the present application and the description of the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.

[0045] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrenc...

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 belongs to the field of research and development testing, and relates to a front-end test method and device, computer equipment and a storage medium. The method comprises the steps: receiving a testing instruction to generate a data request, wherein thedata request comprises a to-be-tested interface and an input parameter; reading a preset mock environment identifier according to the to-be-tested interface, and when the identifier is a first identifier, reading the mock environment address, wherein the mock environment is a preset server for storing interface simulation data, and a preset corresponding relationship is formed between the interface simulation data and the input parameters; sending the data request to the mock environment according to the mock environment address; and receiving interface simulation data corresponding to the input parameter returned by the mock environment in response to the data request. By presetting the interface simulation data corresponding to the input parameters and returning the corresponding interface simulation data according to the different input parameters, the real scene is simulated, the test effectiveness is improved, the front-end test can still be carried out when the rear-end server is abnormal, and the test process is accelerated.

Description

technical field [0001] The present application relates to the technical field of research and development testing, and in particular to a front-end testing method, device, computer equipment and storage medium. Background technique [0002] Most software development projects adopt the method of separating the front and back ends to speed up the project development cycle. When the development code is deployed to the test environment and enters the testing process, the page display depends on the back-end server interface, and the back-end server will call other System interface and data. Once other systems are abnormal, the back-end server cannot return data normally, or the back-end server itself is abnormal, which will also cause the interface to fail to return, affect the page display, and block the front-end test process. Contents of the invention [0003] The purpose of the embodiments of the present application is to provide a front-end testing method, device, comput...

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 PINGAN PUHUI ENTERPRISE MANAGEMENT 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