Supercharge Your Innovation With Domain-Expert AI Agents!

A method and system for local precompilation and debugging of gatling pressure test scripts

A debugging method and a technology for debugging a system, applied in the computer field, can solve problems such as the inability to discover script potential errors in time, pressure measurement flow calculation, etc.

Active Publication Date: 2021-10-01
杭州有赞科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the pressure test, the technology provided by the present invention is used to compile the Gatling pressure test script locally and then publish it to the pressure test server after passing it, so as to overcome the potential errors in the script that cannot be found in time in the prior art and the defects that affect the actual pressure test flow calculation

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
  • A method and system for local precompilation and debugging of gatling pressure test scripts
  • A method and system for local precompilation and debugging of gatling pressure test scripts
  • A method and system for local precompilation and debugging of gatling pressure test scripts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The above and other technical features and advantages of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them.

[0044] see figure 1 , Embodiment 1 of the present invention provides a Gatling pressure test script local precompiled debugging method, including the following steps:

[0045] S100. Construct the Gatling pressure test script project, and put all script source code files in the same script project;

[0046] S200, adding the official source code Jar package provided by Gatling to the project class library of the Gatling stress test script project, as a dependency of a third-party library, to form a Gatling stress test component;

[0047] S300. Use the Gatling stress testing component to call the script in the source code Jar package to perform stress testing.

[0048] Such as figure 2...

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 discloses a Gatling pressure test script local precompilation and debugging method and system, wherein the method constructs a Gatling pressure test script project, introduces the startup Jar package provided by Gatling into the project class library of the Gatling pressure test script project, and uses Gatling The stress test component invokes the scripts in the source Jar package for stress test, thus realizing local debugging and compiling Gatling stress test script files. Further, after the debugging is successful, the gatling-script.jar executable Jar package can be released to all stress test servers with one click through the release deployment system, so as to avoid manual release on each stress test server.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for local precompilation and debugging of a Gatling pressure test script. Background technique [0002] Gatling (server performance testing tool) is an open source HTTP (Hypertext Transfer Protocol)-based stress testing tool, which can simultaneously simulate the requests of millions of users to visit a certain website URL (web address) concurrently, so as to achieve the website. Purpose of scenario stress testing. For example, the panic buying scenario of a shopping website includes business logic links such as product viewing, purchase, order placement, and payment, and the pressure test of the entire link can be implemented in one script. In terms of use, it needs to use the Scala language to write the corresponding pressure test script. The simple one can be the pressure test of a single URL, and the more complicated one can be the pressure test...

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 Patents(China)
IPC IPC(8): G06F11/36G06F8/41
CPCG06F8/41G06F11/3624
Inventor 罗鹏
Owner 杭州有赞科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More