Terminal test method and proxy server

A proxy server and terminal testing technology, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problem of high test complexity and achieve the effect of reducing test complexity

Active Publication Date: 2016-03-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Embodiments of the present invention provide a terminal testing method and a proxy server to at least solve the technical problem of high test complexity caused by configuring the mapping relationship between the corresponding domain name and IP address for each network environment on the terminal

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
  • Terminal test method and proxy server
  • Terminal test method and proxy server
  • Terminal test method and proxy server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to the embodiment of the present invention, a method embodiment that can be executed by the device embodiment of the present application is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0032] According to an embodiment of the present invention, a terminal testing method is provided. Optionally, in this embodiment, the above terminal testing method can be applied to figure 1 In the hardware environment formed by the terminal 101, the proxy server 102, the first application server 103 and the second application server 104 as shown. Such as figure 1 As shown, the terminal 101 is connected to the proxy server 102 through the network, and the proxy...

Embodiment 2

[0090] According to the embodiment of the present invention, there is also provided a proxy server for implementing the above terminal testing method, the proxy server is mainly used to execute the terminal testing method provided in the above content of the embodiment of the present invention, the following is provided in the embodiment of the present invention Proxy server for specific introduction:

[0091] Figure 5 is a schematic diagram of a proxy server according to an embodiment of the present invention. As shown in the figure, the proxy server includes: a receiving unit 10 , a first acquiring unit 30 and a sending unit 50 .

[0092] The receiving unit 10 is configured to receive a request message for accessing an application server sent by a terminal, wherein the request message includes: a first identification and a second identification, the first identification is used to indicate the IP address and the first port of the application server, the first The port is ...

Embodiment 3

[0135] According to an embodiment of the present invention, a proxy server for implementing the above terminal testing method is also provided, such as Figure 6 As shown, the proxy server mainly includes a processor 601, a device interface 602, a network interface 603, and a memory 604, wherein:

[0136] The device interface 602 is used to connect to the terminal, the network interface 603 is used to connect to the application server, and the memory 604 is used to store program codes for executing the above terminal testing method.

[0137] Processor 601 is mainly used to perform the following operations:

[0138] The processor 601 is configured to receive a request message for accessing the application server sent by the terminal, where the request message includes: a first identifier and a second identifier, the first identifier is used to indicate the IP address and the first port of the application server, and the second The identification is used to indicate the second ...

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 terminal test method and a proxy server. The method includes: the proxy server receives a request message used for having access to an application server and sent by a terminal, the request information comprises a first mark and a second mark, the first mark is used for indicating an IP address and a first port of the application server, the second mark is used for indicating a second port of the proxy server, the proxy server obtains the first mark and the second mark from the request message, and the proxy server sends request data of the request message to the first port of the application server whose address is the IP address via the second port indicated by the second mark. According to the method, the technical problem of high test complexity caused by the mapping relation between a domain name and the IP address configured corresponding to each network environment of the terminal is solved.

Description

technical field [0001] The invention relates to the field of application program testing, in particular to a terminal testing method and a proxy server. Background technique [0002] Before the terminal application is put into use, it needs to be tested to ensure the safe and stable operation of the terminal application during use. From development to launch, terminal applications need to go through different network environments for application testing. For example, in the development phase, a development environment is required for testing, in the testing phase, a test environment is required for testing, and in the experience phase, an experience environment is required for testing. [0003] In order to ensure that the terminal application program can run stably in each network environment, the test is performed when the terminal application program is in each of the above-mentioned network environments, which requires network environment switching. When testing the netw...

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
Inventor 胡鹏于维军
Owner TENCENT TECH (SHENZHEN) 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