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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com