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 the problems of shortening development time and time waste, and achieve the effects of shortening development time, convenient configuration, and simplifying the development process
CN104199725AActive Publication Date: 2014-12-10SHANGHAI HANDPAL INFORMATION TECH SERVICE

Patent Information

Authority / Receiving Office
CN ยท China
Current Assignee / Owner
SHANGHAI HANDPAL INFORMATION TECH SERVICE
Publication Date
2014-12-10

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 specifically relates to a service interface data simulation method and system. Background technique

[0002] The existing software system development process usually involves docking with external website data interfaces, as well as data interaction between front-end systems and back-end systems, etc. The definition of some interfaces and the return of data require development and definition of various tasks. Since the return of the front-end page data needs to depend on the back-end service interface, when the back-end service interface is not developed, the front-end display page needs to display the page effect and can only be done in other ways, 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, method (1) When developing the program, the front-end page needs to rely on the back-end s...

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