Unlock instant, AI-driven research and patent intelligence for your innovation.

A connection method and device for a test environment

A test environment and connection method technology, applied in software testing/debugging, transmission systems, electrical components, etc., can solve the problem of only binding one test environment, and achieve the effect of saving the time waiting for configuration

Active Publication Date: 2021-03-12
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the embodiments of the present invention is to provide a test environment connection method and device, thereby overcoming the obstacle that one network address can only be bound to one test environment at the same time, and avoiding the need for developers to frequently connect to different test environments. The problem of configuring the binding relationship between the network address and the test environment on the test server saves time waiting for configuration

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
  • A connection method and device for a test environment
  • A connection method and device for a test environment
  • A connection method and device for a test environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a method for connecting a test environment according to the present invention, which may specifically include the following steps:

[0048] Step 101, obtain the binding relationship between at least one network address set for the client and the corresponding test environment.

[0049] Testing environment (Testing environment) refers to the description of the software and hardware environment on which the test runs, and any other software that interacts with the software under test, including drivers and modules, and may specifically include cloud servers for testing. The network address refers to the name that a node on the network has in the network, and is used to identify the electronic location of the device during data transmission, such as a domain name (Domain Name). The binding relationship between the network address and the test environment refers to the one-to-one correspondence b...

Embodiment 3

[0099] refer to image 3 , which shows a structural block diagram of an embodiment of a connection device of a test environment in the present invention, which may specifically include the following modules:

[0100] A binding relationship acquisition module 301, configured to acquire a binding relationship between at least one network address set for the client and a corresponding test environment;

[0101] An acquisition request receiving module 302, configured to receive an acquisition request for target data;

[0102] A network address identification module 303, configured to identify the target network address of the target data requested by the acquisition request;

[0103] The test environment connection module 304 is configured to determine the target binding relationship corresponding to the target network address according to the binding relationship, and connect to the target test environment corresponding to the target binding relationship to obtain target data. ...

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 method and device for connecting a test environment. The method includes: acquiring a binding relationship between at least one network address set for a client and a corresponding test environment, receiving an acquisition request for target data, and identifying the acquisition request The target network address of the requested target data, determine the target binding relationship corresponding to the target network address according to the binding relationship, and connect to the target test environment corresponding to the target binding relationship to obtain the target data, so that different clients can be set separately. Or change the binding relationship between the network address and the test environment, and then when different clients call the same network address, they can connect to different test environments at the same time, overcoming the obstacle that one network address can only be bound to one test environment at the same time, It avoids the problem of requiring developers to frequently configure the binding relationship between the network address and the test environment on the test server when connecting to different test environments, and saves time waiting for configuration.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a connection method and device for a testing environment. Background technique [0002] Testing environment (Testing environment) refers to the description of the software and hardware environment on which the test runs, and any other software that interacts with the software under test, including drivers and modules, and may specifically include cloud servers for testing. The front-end data of the mobile APP (Application, application program) comes from the back-end, and the back-end needs to call many cloud addresses to obtain data. During the development and testing process, the mobile terminal needs to obtain data through the cloud test environment connected to the cloud address to complete the function test. [0003] The inventor found through research that multiple front-end pages will call the same cloud address. After the cloud address is bound to the cloud test...

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 Patents(China)
IPC IPC(8): H04L29/12H04L29/08G06F11/36
Inventor 周志成
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD