Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for acquiring dummy data, equipment and storage medium

A technology for data and acquisition modules, applied in the computer field, which can solve problems such as charging

Pending Publication Date: 2022-03-25
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Among the traditional software for simulating data, Fiddler can only run on the Windows platform. Charles is implemented based on Java. Although it can run on all mainstream desktop systems, it is charged.

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
  • Method and device for acquiring dummy data, equipment and storage medium
  • Method and device for acquiring dummy data, equipment and storage medium
  • Method and device for acquiring dummy data, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] Such as figure 1 As shown, according to the first aspect of the present disclosure, a method for obtaining dummy data is provided, including:

[0036] S101: Obtain the first request sent by the front-end page of the browser; the request is the user's demand for obtaining back-end data. During the development or testing process, due to various circumstances, the...

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 a method and device for obtaining dummy data, equipment and a storage medium, and relates to the field of computers, in particular to a test method and device. According to the specific implementation scheme, the method for obtaining the dummy data comprises the steps that a first request sent by a browser front-end page is obtained; analyzing the first request, and obtaining a server address of an interface with dummy data in the first request; in response to a browser session of the browser, configuring a corresponding relationship between the server address and a dummy address for storing the dummy data, rewriting the first request, and changing the server address in the first request into the dummy address; and the browser obtains the dummy data from the dummy address. Based on the technical scheme of the invention, the front end can conveniently acquire the data by utilizing the method without being influenced by the development progress of the rear end, so that the development and test efficiency of the front end is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular to methods and devices for front-end development and testing. Background technique [0002] Among the traditional software for simulating data, Fiddler can only run on the Windows platform, while Charles is implemented based on Java. Although it can run on all mainstream desktop systems, it is charged. Contents of the invention [0003] The present disclosure provides a method, device, equipment and storage medium for acquiring dummy data. According to a first aspect of the present disclosure, there is provided a method for obtaining dummy data, including: [0004] Obtain the first request sent by the front-end page of the browser; [0005] Analyzing the first request to obtain the server address of the interface with dummy data in the first request; [0006] In response to the browser session of the browser configuring the corresponding relationship between the serv...

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): G06F9/455G06F16/958
CPCG06F9/45529G06F16/958
Inventor 郭嘉文
Owner BEIJING BAIDU NETCOM SCI & TECH 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