HTTP interface dynamic parameter test method with test strategy automatic configuration

A test strategy and parameter test technology, applied in the Internet field, can solve problems such as difficult test coverage of dirty data, test omissions or deviations, insufficient test coverage, etc., and achieve the effect of improving test coverage, increasing automation, and automatically determining test scope

Inactive Publication Date: 2019-04-02
武汉风行在线技术有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Aiming at the technical problems existing in the prior art, the present invention provides an HTTP interface dynamic parameter testing method with automated test strategy configuration, which can simultaneously solve the problems of insuff

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
  • HTTP interface dynamic parameter test method with test strategy automatic configuration
  • HTTP interface dynamic parameter test method with test strategy automatic configuration
  • HTTP interface dynamic parameter test method with test strategy automatic configuration

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0031] The principles and features of the present invention will be described below with reference to the accompanying drawings. The examples cited are only used to explain the present invention, not to limit the scope of the present invention.

[0032] This embodiment provides an HTTP interface dynamic parameter test method for automated configuration of test strategies, which solves the problem of insufficient test coverage caused by parameter curing, easy failure of parameters, difficulty in test coverage for dirty data, and inaccurate evaluation of the impact range during code changes. To achieve the goal of improving test coverage, test efficiency and accuracy, including the following steps:

[0033] Step 1: Build the association table of interface and code file.

[0034] The change of one file may affect multiple interfaces, so the file and interface have a one-to-many relationship. For projects with simple structure, the association table can be established manually; for proj...

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 an HTTP interface dynamic parameter test method with test strategy automatic configuration, which mainly comprises the following steps of 1 setting a test strategy configuration module, and constructing an incidence relation table of an interface and a code file; 2 executing a test strategy configuration module, and positioning an interface needing to be tested in the current round; and 3 circularly testing each interface in the to-be-tested interface list by using a random parameter selection method; wherein in the execution process, a multi-thread concurrent mechanism is used for improving the test execution efficiency, and through repeated, uninterrupted and long-time random parameter selection test, the coverage rate of the dirty data fault tolerance test is improved; and 4 obtaining a test result. Therefore, the problems of insufficient test coverage, easy failure of parameters, low dirty data coverage rate, test omission or deviation caused by inaccurateevaluation of an influence range during code change and the like are solved, and the purposes of improving the test data coverage rate, the test efficiency and the accuracy are achieved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an HTTP interface dynamic parameter testing method for automatic configuration of testing strategies. Background technique [0002] With the rapid development of the Internet field, HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), as the most widely used network protocol on the Internet, is particularly important. In the process of application, its interface test is a crucial part. [0003] Currently, there are many methods for testing the http interface, but there are several common problems. [0004] First of all, the main testing methods in the current prior art are often based on basic theories such as equivalence classes and boundary values. The equivalence class division method needs to divide all possible input data of the program into several equivalence classes, and then from each part Select representative data as test cases for reasonable classif...

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/3684G06F11/3688G06F11/3692
Inventor 谢博钒
Owner 武汉风行在线技术有限公司
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