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

WAF rule automatic test method and system, storage medium and terminal equipment

An automatic test system and automatic test technology, applied in the transmission system, software test/debugging, error detection/correction, etc., can solve the problems of poor test accuracy and low test efficiency, and achieve realistic user traffic, higher test efficiency and test Effects of Accuracy, Optimum Test Efficiency and Test Accuracy

Pending Publication Date: 2021-11-16
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, the present invention provides a WAF rule automatic testing method, system, storage medium and terminal equipment, which can effectively solve the problems of low test efficiency and poor test accuracy when manually testing WAF rules.

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
  • WAF rule automatic test method and system, storage medium and terminal equipment
  • WAF rule automatic test method and system, storage medium and terminal equipment
  • WAF rule automatic test method and system, storage medium and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways different from those described here, and those skilled in the art can make similar improvements without departing from the connotation of the present invention, so the present invention is not limited by the specific implementations disclosed below.

[0057] Such as figure 1 with figure 2 As shown, it is a WAF rule automatic testing method proposed in Embodiment 1 of the present invention, and the specific technical solution includes the following steps:

[0058] S110: Add a default HTTP request value and a thread group to the J...

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 provides a WAF rule automatic testing method and system, a storage medium and terminal equipment, and belongs to the technical field of software testing. The method comprises the following steps: adding an HTTP request default value and a thread group in a JMeter test tool, adding an HTTP request in a thread of the thread group, and obtaining an attack request for attacking a Web service; setting a CVS data file in the JMeter test tool, and performing parameterization setting on the attack request through the CVS data file; setting an assertion component in the course group, and judging whether all assertion information of the assertion component is successfully asserted or not; if yes, it is judged that the WAF rule use case corresponding to the HTTP request is executed successfully. According to the method, the attack request parameters for testing can be sent in a combined mode and set in a variable mode, the problem that a large amount of time needs to be consumed for troubleshooting due to the fact that testers are afraid of making mistakes every time when the testers write the test parameters can be avoided, and thus the method has better testing efficiency and testing accuracy compared with a traditional WAF rule testing method.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a WAF rule automatic testing method, system, storage medium and terminal equipment. Background technique [0002] Apache JMeter is a Java-based testing tool developed by the Apache organization; it is used for stress testing software and was originally designed for web application testing, but later expanded to other testing areas. JMeter can be used for static and dynamic tests, such as Java applets, databases, FTP servers, etc., and can be used to simulate huge loads on servers, networks or objects, test their strength and analyze overall performance under different pressures. Additionally, JMeter enables functional regression testing of applications by creating scripts with assertions to verify that the program returns the expected results. For maximum flexibility, JMeter allows the use of regular expressions to create assertions. With the rapid development of the I...

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 Applications(China)
IPC IPC(8): G06F11/36H04L29/06H04L29/08
CPCG06F11/3688H04L67/02H04L63/0209
Inventor 陈胜凯范渊
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
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