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.
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
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.
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.
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.