Supercharge Your Innovation With Domain-Expert AI Agents!

Parameter replacement test method and device

A technology of parameter replacement and test method, which is applied in the computer field, can solve the problems of time-consuming manual test parameter replacement logic, inability to guarantee test coverage, long regression test time, etc., to shorten regression test time, improve test efficiency, and eliminate influence Effect

Inactive Publication Date: 2019-02-12
ALIBABA (CHINA) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, manual testing of parameter replacement logic is time-consuming, cannot guarantee test coverage, and regression testing takes a long time

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
  • Parameter replacement test method and device
  • Parameter replacement test method and device
  • Parameter replacement test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 A flowchart showing a parameter substitution testing method according to an embodiment of the present invention. Such as figure 1 As shown, this parameter replaces the test method, mainly including:

[0062] Step 101, obtaining at least one parameter request link including the macro parameter to be replaced;

[0063] Step 102, according to the parameter replacement logic, respectively perform parameter replacement on the macro parameters included in each parameter request link, and obtain each parameter return link including the replaced parameters;

[0064] Step 103, comparing the replacement parameters included in the return link of each parameter with the preset parameter corresponding to the parameter replacement logic, to obtain the replacement result corresponding to the return link of each parameter;

[0065] Step 104, according to the replacement results corresponding to the links returned by the parameters, determine whether the parameter replacem...

Embodiment 2

[0101] Figure 8 A structural block diagram of a parameter replacement testing device according to another embodiment of the present invention is shown. Such as Figure 8 As shown, the parameter replacement test device mainly includes: an acquisition module 11, configured to acquire at least one parameter request link including the macro parameter to be replaced. The replacement module 13 is connected with the acquisition module 11, and is used to perform parameter replacement on the macro parameters included in each parameter request link according to the parameter replacement logic, so as to obtain each parameter return link including the replaced parameters. The comparison module 15 is connected with the replacement module 13, and is used to compare the replacement parameters included in the return link of each parameter with the preset parameter corresponding to the parameter replacement logic, and obtain the replacement result corresponding to the return link of each par...

Embodiment 3

[0110] Figure 12 A structural block diagram of a parameter replacement testing device according to another embodiment of the present invention is shown. The parameter replacement testing device 1100 may be a host server with computing capability, a personal computer PC, or a portable portable computer or terminal, etc. The specific embodiments of the present invention do not limit the specific implementation of the computing nodes.

[0111] The parameter replacement testing device 1100 includes a processor (processor) 1110 , a communication interface (Communications Interface) 1120 , a memory (memory) 1130 and a bus 1140 . Wherein, the processor 1110 , the communication interface 1120 , and the memory 1130 communicate with each other through the bus 1140 .

[0112] The communication interface 1120 is used for communicating with network devices, where the network devices include, for example, a virtual machine management center, shared storage, and the like.

[0113] The pr...

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 relates to a parameter replacing test method and device. The parameter replacing test method comprises the following steps of obtaining at least one parameter request link including macroparameters to be replaced; according to a parameter replacing logic, respectively performing parameter replacement on the macroparameters included in each parameter request link to obtain each parameter return link including a replacing parameter; comparing the replacing parameter included in each parameter return link with a preset parameter corresponding to the parameter replacing logic to obtain a replacing result corresponding to each parameter return link; determining whether the parameter replacing logic can normally operate or not according to the replacing result corresponding to each parameter return link. The parameter replacing test method provided by the embodiment of the invention has the advantage that the test efficiency of the parameter replacing logic can be improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a parameter replacement testing method and device. Background technique [0002] In the process of interaction between the advertising delivery system and the third-party DSP (Demand-Side Platform, Demand-Side Platform) system, in order to facilitate statistical data, the DSP system sends a request to the advertising delivery system after receiving the advertisement delivery request sent by the advertising delivery system. Send a link including the macro parameters to be replaced. After the advertisement delivery system replaces the macro parameters, it sends the link including the replaced parameters to the DSP system. [0003] Currently, manual testing is usually used to test parameter replacement logic. The staff triggers a third party such as a DSP system to send a link including macro parameters to be replaced, and after the parameter replacement is completed, the staff checks whe...

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): G06F11/36
CPCG06F11/3688
Inventor 李璇赵粲柳亚政周盛董亚卫潘柏宇王冀
Owner ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More