Pressure measurement script generation method and device based on automatic package capture, equipment and medium

A script generation and automatic technology, applied in program control devices, program control design, error detection/correction, etc., can solve problems such as low writing efficiency and high professional requirements for script writers, so as to improve generation efficiency and reduce generation difficulty. Effect

Pending Publication Date: 2022-03-25
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a pressure test script generation method, device, computer equipment and storage medium based on automatic packet capture, aiming to solve the problem of manually writing JMeter scripts with reference to API documents in the prior art, not only for script writers Professional requirements are high, and writing efficiency is low

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
  • Pressure measurement script generation method and device based on automatic package capture, equipment and medium
  • Pressure measurement script generation method and device based on automatic package capture, equipment and medium
  • Pressure measurement script generation method and device based on automatic package capture, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0029] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an artificial intelligence and pressure testing technology, and provides a pressure testing script generation method, device, equipment and medium based on automatic package capture, and the method comprises the steps: firstly configuring first pressure testing plug-in data and second pressure testing plug-in data, and if it is determined that development document data of a to-be-tested object is not a null value, determining that the development document data of the to-be-tested object is a null value; carrying out keyword and value extraction on the API document data to form first request body sample data, and carrying out script conversion and generation on the first request body sample data according to the first pressure measurement plug-in data and the second pressure measurement plug-in data in sequence to obtain a first conversion script; and finally, performing a pressure test on the to-be-tested object based on the first conversion script to obtain a first pressure test result. The main conversion generation work of the first conversion script is concentrated in the plug-in corresponding to the first pressure measurement plug-in data, and compared with the mode that the main conversion generation work of the first conversion script is concentrated in the plug-in corresponding to the second pressure measurement plug-in data, the script generation difficulty is reduced, and the generation efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of pressure testing for R&D management, in particular to a method, device, computer equipment and storage medium for generating a pressure testing script based on automatic packet capture. Background technique [0002] The construction of the stress test script for the overall business scenario of the system is the most basic and time-consuming step for testers to perform performance testing, which is related to the adequacy of the test and the coverage of the business scenario. [0003] JMeter scripts (a test script in xml format) are commonly used for stress testing. Currently, there are many ways to generate JMeter scripts, such as manual writing with reference to API documents, badboy recording (badboy is also a script recording tool) and proxy recording. If you directly use the method of manually writing JMeter scripts (such as manually writing according to the API documentation), not only the p...

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/34G06F11/36G06F9/445
CPCG06F11/3466G06F11/3688G06F11/3692G06F9/44526
Inventor 肖敏
Owner CHINA PING AN LIFE INSURANCE CO LTD
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