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

Method and device for testing service valves of service pipelines

A test configuration and business technology, applied in the computer field, can solve the problems of unreusable test data, poor maintainability, poor scalability, and inflexible business valve testing, so as to save data management costs, reduce duplication, and reduce workload. Effect

Active Publication Date: 2017-06-09
ALIBABA GRP HLDG LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The purpose of this application is to provide a business valve testing method and device for business pipelines to solve the problems in the prior art that the test data cannot be reused during the test process, the business valve test is not flexible, and the maintainability and scalability are poor.

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
  • Method and device for testing service valves of service pipelines
  • Method and device for testing service valves of service pipelines
  • Method and device for testing service valves of service pipelines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0055] One of the core ideas of this application is to independently write the various operation logics of the business pipeline in advance, for example, the logic of each business valve as a logic check point is first written independently, and then initialized to the system during the test, according to The test configuration file written by the user for the test case selects the business valve chain from each business valve to assemble the test business pipeline, then reads the test parameter file of the current test case, and runs each business valve in the test business pipeline in turn. In this process, you only need to edit the test data of each business valve, and there is a unified management sys...

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 application provides a testing method and device, which relate to the technical field of computers. The method includes: reading the configuration information of the business pipeline, and performing system initialization operations; the business pipeline refers to the business logic of long-process business, and the business pipeline includes a plurality of business valves as logic interception points; The first object for loading the request data and the second object for loading the returned result data to realize the circulation of test data; read the test configuration file for the current test case, and then assemble the test object by selecting the business valve chain Business pipeline; read the test parameter file for the current test case, and use the first object and the second object to run each business valve in the test business pipeline in turn; output the running results of each business valve in a customized presentation form. The test data in this application can be reused, which improves the flexibility, maintainability and scalability of the business valve test.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a testing method and device. Background technique [0002] As the complexity of network services increases, for certain applications, long-service applications appear, that is, applications that require many processing steps. For example, in the authorization application of a certain website, for the user's authorization request, more than 10 internal logic checks may be required before the authorization is granted to the user. In order to cope with this complex long business, the development uses the aspect-oriented programming idea, and the long business is regarded as a business pipeline, and each logic check defines a business valve to facilitate expansion and maintenance. Among them, the terms that may be used in this application are roughly defined as follows: [0003] Test case: refers to the use case (Test Case) in software testing; [0004] Business pipeli...

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
Inventor 庄娇艳阳际荣崔婧
Owner ALIBABA GRP HLDG LTD