Reconfigurable testing pile service method and system

A technology for configuration testing and test piles, applied in the computer field, can solve the problems of manual loading, complicated process of adding interceptors, complicated management, etc., to achieve the effects of controllable changes, real-time configuration changes, and easy management.

Active Publication Date: 2016-06-29
深圳市分期乐网络科技有限公司 +1
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a method and system for configurable test stub service to solve the technical problems in the prior art that the process of adding an interceptor to the calling server is complicated, and manual loading and management are 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
  • Reconfigurable testing pile service method and system
  • Reconfigurable testing pile service method and system
  • Reconfigurable testing pile service method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a flow chart of a method for configuring a test stub service provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of intercepting and processing the service request sent by the client. The method for configurable test stub service provided in this embodiment can be executed by a system for configurable test stub service, and the system can be implemented by software and / or hardware, and integrated into a corresponding terminal device. Such as figure 1 As shown, the method includes:

[0025] S110. Invoke the server to acquire the service request of the hypertext transfer protocol sent by the client, and generate a corresponding invocation request according to the service request.

[0026] Exemplarily, the client may be a terminal device held by the customer, such as a desktop computer, a notebook computer, a tablet computer, a mobile phone, and the like. Clients can display HTML content of web servers or file sys...

Embodiment 2

[0036] figure 2 It is a flow chart of a method for configuring a test stub service provided by Embodiment 2 of the present invention. Based on the first embodiment, this embodiment modifies the configuration file of the calling server, and optimizes sending the calling request to the test stub server according to the modified configuration file. refer to figure 2 , the method includes:

[0037] S210, invoking the server to acquire the service request of the hypertext transfer protocol sent by the client, and generating a corresponding invocation request according to the service request.

[0038] S220. The invoking server acquires an IP address addition instruction.

[0039] Exemplarily, the call server to obtain the IP address addition instruction may be to obtain the IP address addition instruction issued by the call server, or to obtain the IP address addition instruction issued by other devices that interact with the call server for data. The other devices are preferab...

Embodiment 3

[0047] image 3 It is a flow chart of the test stub server outputting the configuration result to the calling server in the method for configuring the test stub service provided by the third embodiment of the present invention. In this embodiment, on the basis of the first embodiment, the test stub server receives the invocation request sent by the invocation server, and outputs a corresponding configuration result to the invocation server according to the invocation request to optimize the steps. Such as image 3 As shown, the output configuration results of the test stub server in the method of configuring the test stub service to the calling server include:

[0048] S310. The test stub server receives the invocation request sent by the invocation server.

[0049] Exemplarily, the test stub server can receive all invocation requests sent by at least one invocation server in real time.

[0050] S320. The test stub server checks whether there is a configuration related to t...

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 present invention discloses a reconfigurable testing pile service method and system The method comprises the steps that an invoke server acquires a service request, which is sent by a client, of a Hypertext Transfer Protocol, and generates a corresponding calling request according to the service request; the invoke server modifies a configuration file, and sends the calling request to a testing pile server according to a modified configuration file; and the invoke server receives a configuration result that is fed back by the testing pile server and corresponds to the calling request, and generates a corresponding service result according to the configuration result and transfers the service result to the client. The method and system disclosed by the present invention are capable of solving the technical problems that the process where the invoke server is provided with an interceptor is complex, and manual loading and management are complex in the prior art.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for configurable test stub services. Background technique [0002] Hypertext Transfer Protocol (HyperTextTransferProtocol, HTTP) is the most widely used network protocol on the Internet. All WWW documents must comply with this standard. HTTP is a standard for client and server requests and responses. The client side is the end user and the server side is the website. Usually, an HTTP client initiates a request to establish a Transmission Control Protocol (Transmission Control Protocol, TCP) connection to a designated port on the server. The server side listens to the request sent by the client on the specified port. Once the connection request is received, the server (to the client) sends back a status line, such as "HTTP / 1.1200 OK", and a response message, which may be the requested file, an error message, or some other information. [0003] No...

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): H04L12/26H04L29/08
CPCH04L43/0817H04L43/50H04L67/02
Inventor 王枫周晓廷
Owner 深圳市分期乐网络科技有限公司
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