A script generation method, device and storage medium

By obtaining and processing script generation information, determining replacement parameters and modifying template information, the time and labor problems of manually writing stress test scripts in the Jmeter performance test platform are solved, and the ability to quickly generate specified scripts is realized.

CN114416528BActive Publication Date: 2025-03-28ZHEJIANG BAIYING TECH CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202111566052.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2025-03-28
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

When conducting Jmeter secondary development to create a performance test platform, stress test scripts are required. The existing methods rely on manual writing, which is time-consuming and labor-intensive. Different test scripts are required when facing different objects.

Method used

By obtaining script generation information, including framework information and component information, determining template information corresponding to component information, determining replacement parameters based on script generation information, modifying template information, obtaining data information, and combining data information and framework information to generate a specified script.

Benefits of technology

It realizes the rapid generation of specified scripts, which reduces the time and labor of manual writing, and can quickly generate corresponding test scripts based on different objects.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

An embodiment of the present invention discloses a script generation method, which includes obtaining script generation information, wherein the script generation information includes framework information and component information corresponding to the framework information; the script generation information is used to indicate generation of a specified script; template information corresponding to the component information is determined according to the component information; replacement parameters corresponding to the specified script are determined according to the script generation information; the template information is modified according to the replacement parameters to obtain data information corresponding to the component information; and the data information and the framework information are used to generate a specified script.
Need to check novelty before this filing date? Find Prior Art