Application program test method and system
An application and testing method technology, applied in transmission systems, digital transmission systems, electrical components, etc., to solve problems affecting application test coverage and test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] The application program testing method provided by the embodiment of the present invention is an improvement to the MOCK message testing based on http (Hyper Text Transfer Protocol, hypertext transfer protocol) or https (Hyper Text Transfer Protocol over SecureSocket Layer) protocol. figure 1 It is a schematic flowchart of the first application program testing method provided by the embodiment of the present invention. like figure 1 As shown, the application test methods include:
[0049] In step S101, the proxy server uses Fiddler tool to receive the test request message, parses and judges the source of the test request message.
[0050] Specifically, the Fiddler tool is installed on the proxy server, and there are two sources of the test request message, one is from the client to be tested, and the other is from the intermediate server.
[0051] Step S102, if the above-mentioned source is the client to be tested, redirect and forward the test request message to the ...
Embodiment 2
[0096] image 3 A schematic diagram of the first data flow of the application program testing system provided by the embodiment of the present invention is shown. see image 3 , the application program testing system includes a proxy server 200, an intermediate server 300 and a test client 100 respectively connected to the proxy server.
[0097] The proxy server is used to receive the test request message by using the Fiddler tool, parse and determine the source of the test request message; if the source is the client to be tested, redirect the test request message to the intermediate server.
[0098] The intermediate server is used for parsing the test request message to obtain the interface path; traversing the configuration database, and when a simulated message matching the interface path is found, the simulated message is sent to the proxy server as a response message.
[0099] The proxy server is also used to return the response message to the client under test through...
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