Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 insufficient test coverage, easy failure of parameters, and difficult test coverage of dirty data caused by parameter curing. And problems such as test omissions or deviations caused by inaccurate assessment of the scope of influence when code changes

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

Embodiment Construction

[0031] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0032] This embodiment provides an HTTP interface dynamic parameter testing method for automatic configuration of test strategies, which solves the problem of insufficient test coverage caused by parameter solidification, easy failure of parameters, difficulty in test coverage of dirty data, and inaccurate evaluation of the scope of influence caused by code changes. To solve problems such as test omissions or deviations, to achieve the purpose of improving test coverage, test efficiency and accuracy, including the following steps:

[0033] Step 1: Construct the interface and code file association relationship table.

[0034] The change of a file may affect multiple interfaces, so the relationship between files and i...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products