Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Simulation server response method and system

A technology for simulating servers and simulating responses, which is applied in instruments, electrical digital data processing, computing, etc. It can solve the problems of unstable back-end program services, untestable front-end programs, and delays in front-end test progress, so as to reduce the delay of test progress , convenient simulation response, fast configuration effect

Active Publication Date: 2017-05-17
上海品顺信息科技有限公司
View PDF12 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of the computer software industry, software projects are becoming larger and larger, and the division of labor is becoming more and more detailed. Because the actual progress of each branch of the project is different, sometimes the front-end program has reached the testing stage, and some supporting back-end programs cannot provide corresponding information. service, or when the service of the back-end program is unstable, the front-end program cannot be tested according to the schedule, which delays the progress of the front-end test; at the same time, in some solutions, the form of hard coding is used to decide whether to Call the background service, but because of the complexity of the business logic and the constant change of the progress of the background service, the maintenance of this method is too complicated

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
  • Simulation server response method and system
  • Simulation server response method and system
  • Simulation server response method and system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0099] Please refer to Figure 7 , based on the first embodiment of the simulated server response system of the present invention, in the second embodiment of the simulated server response system of the present invention, the setting module includes:

[0100] The creation unit 11 is configured to provide the first visualization window, and the first visualization window is used to receive the newly created interception rule;

[0101] The first receiving unit 12 is configured to receive the newly created interception rule, and save the newly created interception rule as the preset interception rule.

[0102] The input information in the first visualization window includes: the IP address of the terminal to be intercepted, the domain name of the target server to be intercepted, the fields included in the address of the interception request, and preset response information after interception. By using the form, users can quickly create interception rules on the premise of prompt i...

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 simulation server response method. The simulation server response method comprises the steps of setting a preset interception rule according to information obtained by a first visualization window; receiving a request of a terminal for a target server; judging whether the request is matched with the preset interception rule or not; if yes, responding to the terminal according to the preset interception rule; if not, transparently transmitting the request into the target server. The invention further discloses a simulation server response system. By providing a visualization window for a user, the user directly accesses a page so that the preset interception rule can be set, accordingly the simulation response is conveniently conducted, preset data is provided for a front end, and test schedule delay caused by external system factors is reduced; meanwhile, visualization operation is simple, the user only needs to pay attention to a request matching rule without paying attention to other details, a simulation server can be rapidly configured, and the configuration of a background service program for providing services for front-end testing is simplified.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and system for simulating server response. Background technique [0002] With the development of the computer software industry, software projects are becoming larger and larger, and the division of labor is becoming more and more detailed. Because the actual progress of each branch of the project is different, sometimes the front-end program has reached the testing stage, and some supporting back-end programs cannot provide corresponding information. service, or when the service of the back-end program is unstable, the front-end program cannot be tested according to the schedule, which delays the progress of the front-end test; at the same time, in some solutions, the form of hard coding is used to decide whether to Call the background service, but because of the complexity of the business logic and the constantly changing progress of the background service, th...

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): G06F11/36
CPCG06F11/3664G06F11/3672
Inventor 陈洋
Owner 上海品顺信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products