Method and system for simulating data through MOCK
A technology for simulating data and data requests, applied in software design and other directions, can solve problems such as low development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] Such as figure 1 as well as image 3 As shown, the embodiment of this specification provides a method for simulating data through MOCK, including:
[0017] S101. The software client sends a data request to the MOCK client program. The software client is the client of the developed software system, and the MOCK client program can be embedded in the software client as a dependent library.
[0018] S102. The MOCK client program adds corresponding parameters to the interface address of the MOCK server program according to the data request, and sends a request to the MOCK server program according to the address after adding the parameters. Among them, the MOCK server program is set on the server, and multiple MOCK files that can be modified in real time are stored on the server, and simulation data for a dedicated request is stored in one MOCK file.
[0019] In this embodiment, the parameters include a first parameter and a second parameter. The MOCK server program can m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


