Data processing method and device for interface testing

A technology for data processing and interface testing, applied in the field of testing, can solve the problems of time-consuming, labor-intensive, low-efficiency, and extended testing time for parameter configuration, saving project time and labor costs, using simple and convenient tools, and increasing work deployment.

Pending Publication Date: 2021-12-17
BEIJING TONGBANGZHUOYI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Most of the tools for interface testing are convenient for testing the http interface, but there are no convenient tools for the JSF interface or the dubbo interface. Most of them require testers to write test codes, thus lengthening the test time
[0006] (2) The http interface test tool and the JSF interface test tool cannot be reused, there are many tools, the usability is not high, and the parameter configuration is time-consuming and laborious, and the efficiency is low
[0007] (3) Some current interface testing tools require testers to assemble parameters by themselves, which is difficult for some testers who often test black boxes, and some testers cannot quickly assemble parameters
[0008] Aiming at many technical problems existing in related technologies, effective solutions have not yet been provided

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
  • Data processing method and device for interface testing
  • Data processing method and device for interface testing
  • Data processing method and device for interface testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0061] figure 1 A data processing method for interface testing provided in the embodiment of the present application includes steps S1 to S5 as follows:

[0062] Step S1. Determine the interface to be tested that needs to be tested.

[0063] Specifically, the interface to be tested is an interface that needs to be tested. Optionally, ...

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 data processing method and device for interface testing. The method comprises the steps: determining a to-be-tested interface needing interface testing; generating a parameter template corresponding to the to-be-tested interface, wherein the parameter template comprises to-be-configured attribute information corresponding to attributes in the to-be-tested interface; acquiring configuration information for performing parameter value configuration on the to-be-configured attribute information; assigning the to-be-configured attribute information in the parameter template according to the configuration information to obtain a test file; and testing the to-be-tested interface according to the test file, and obtaining a test result. According to the method and the device, a tester does not need to write a test code, and only needs to configure the parameter value into the automatically generated parameter template, so that the parameter value can be automatically imported into the corresponding interface according to the test file, and the interface is tested; and therefore, the technical limitation on part of testers can be solved, the work allocation degree of the testers is increased, each tester can carry out interface testing, test simple and convenient, and the project time and labor cost are reduced.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a data processing method and device for interface testing. Background technique [0002] Testers cannot reuse parameters in testing different interfaces, which leads to cumbersome testing process and intensified regression tasks, and page test engineers cannot perform testing work because they are not familiar with interface testing, resulting in a waste of manpower. [0003] Generally, many interfaces are involved in each R&D process, and at the same time, there are a large number of test results, and the input parameters of each interface are different. However, most of the tests in the prior art are manually tested by testers, and many testers do not understand java technology. Therefore, the existing test methods require relatively high technical requirements for testers, and at the same time, when there are many parameters, it is time-consuming and laborious, resu...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3684
Inventor何冠琳
OwnerBEIJING TONGBANGZHUOYI TECH CO LTD