Reverse agent test system and method

A technology of reverse proxy and test method, applied in the Internet field, can solve the problems of long test process, inability to guarantee the reverse proxy server, and difficulty in simulating the http request and response environment, so as to reduce the test time and improve The effect of testing efficiency

Active Publication Date: 2014-05-14
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, various http requests and corresponding services on the web server need to be constructed manually by testers, so the testing process of the existing reverse proxy takes a long time, and it is difficult to simulate the real http request and response environment. Even if all the test cases on the reverse proxy server can pass the inspection, there is no guarantee that the reverse proxy server can work normally online, resulting in the failure of the web server to provide normal services externally.

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
  • Reverse agent test system and method
  • Reverse agent test system and method
  • Reverse agent test system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The basic idea of ​​the present invention is: the request loading processor sends the pre-generated http request to the reverse proxy server; the reverse proxy server forwards the received http request to the response playback processor, and receives the response playback processing The pre-recorded response information returned by the server after receiving the http request, forwards the response information to the request loading processor; the request loading processor combines the response information received from the reverse proxy server with the local The preset response information is compared, and the test result of the reverse proxy server is obtained according to the comparison result.

[0059] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0060] The present invention provides a te...

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 provides a reverse agent test method. The method comprises: a request loading processor sending an http request generated in advance to a reverse agent server; the reverse agent server forwarding the received http request to a response playback processor, receiving returned response information which is recorded in advance after the response playback processor receives the http request, and forwarding the response information to the request loading processor; and the request loading processor making a comparison between the response information received from the reverse agent server and locally preset response information, and obtaining a test result of the reverse agent processor according to a comparison result. The invention also provides a reverse agent testing system. According to the technical scheme provided by the invention, the function testing of a reverse agent server can be efficiently realized.

Description

【Technical field】 [0001] The invention relates to testing technology in the Internet field, in particular to a reverse proxy testing method and system. 【Background technique】 [0002] Reverse proxy refers to the use of a reverse proxy server to receive a connection request on the Internet, then forward the request to a server on the internal network, and return the result obtained from the server to the client requesting a connection on the Internet. Reverse proxy is widely used in major Internet, mainly used for traffic statistics, traffic forwarding and seven-layer attack defense. [0003] At present, different clients, such as mobile phones, computers, tablets, etc., need to be used in the testing process of the reverse proxy to send different types of http requests to the reverse proxy server. Service to test whether the reverse proxy server is working properly. Among them, various http requests and corresponding services on the web server need to be constructed manual...

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): H04L29/08H04L12/24
Inventor 刘勇李云鹏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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