A service interface data simulation method and system

A data simulation and service interface technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve problems such as shortening development time and waste of time, and achieve the effect of shortening development time, convenient configuration, and simplifying development process
CN104199725BActive Publication Date: 2017-12-22SHANGHAI HANDPAL INFORMATION TECH SERVICE

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI HANDPAL INFORMATION TECH SERVICE
Publication Date
2017-12-22

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention belongs to the technical field of software data interaction, and relates to a service interface data simulation method and system. The method comprises the following steps: editing configuration files; according to URL in the corresponding configuration file, inputting URL in the web browser address bar to simulate a HTTP request; identifying the received URL request by a web monitoring server and conducting matching analysis on the URL request together with the URL in the read configuration file; judging whether the number of parameters of the configuration file is equal to or smaller than the number of parameters of the URL request or not and whether the parameter values are the same or not; feeding back processed results to the web browser and displaying the results by the web browser. The service interface data simulation system, provided by the invention, comprises all unit modules configured in the steps of the method; the service interface data simulation method and the service interface data simulation system can be both used for mobile development, front-end development and simulation of a whole web server and can shorten development time and simplify development procedures; developers can change simulation requests in real time to obtain simulation of different response data.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the technical field of software development data interaction, and in particular relates to a service interface data simulation method and system. Background technique

[0002] The development process of the existing software system usually involves the connection with the data interface of the external website, the data interaction between the front-end system and the back-end system, etc., the definition of some interfaces and the return of data, all kinds of work need to be developed and defined. Since the return of front-end page data depends on the back-end service interface, when the back-end service interface has not been developed, the front-end display page needs to display the page effect and can only be completed by other methods, such as: (1) Through the page Write dead data on it, and display it through rigid page data; (2) By simulating data in JS. However, in method (1) during program development, the front-end p...

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