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

Active Publication Date: 2014-12-10
SHANGHAI HANDPAL INFORMATION TECH SERVICE
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a new service interface data simulation method and system to solve the technical problem that the front-end needs to wait for the de

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
  • Service interface data simulation method and system
  • Service interface data simulation method and system
  • Service interface data simulation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] One, figure 1 It is a schematic diagram of the process of providing data simulation methods. In order to solve the functional deficiencies of data acquisition in the current development model or the complex defects of simulation software, the specific steps of the simulation method include:

[0033] 1. Edit the configuration file, including json, text, html three types, the content of the configuration file includes:

[0034] Request information (request), including: request method (including: get, post), response parameter types to be sent (types are divided into: Json, text, html), request parameters and parameter values, and URI addresses, such as: URI: / game99 / loadGameDetailByCode.do,

[0035] Among them, URL = the address of the web monitoring server: port number + URI +? + request parameters and parameter values, for example: URL: http: / / 127.0.0.1:8888 / game99 / loadGameDetailByCode.do?gameCode=25 ;

[0036] Response information (response): return result status and return...

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 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.

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455
Inventor 王勇
Owner SHANGHAI HANDPAL INFORMATION TECH SERVICE
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