Test method, device, apparatus, and storage medium
A test method and variable technology, applied in the field of testing, can solve the problems of increasing the test cycle and test difficulty, raising the test threshold of testers, etc., and achieve the effect of shortening the test cycle, reducing the test difficulty and lowering the test threshold.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a schematic flow chart of a test method in Embodiment 1 of the present invention. This embodiment is applicable to the situation where a performance test platform is used to perform a stress test on a server or other electronic equipment, the method is executed by a testing device, the device is implemented by software and / or hardware, and is specifically configured in the electronic device.
[0028] Among them, the performance testing platform simulates user behavior through script code, and generates large-scale concurrent thread calls through the stress engine of the performance testing platform, thereby achieving the effect of simulating tens of millions of user behaviors. Among them, the performance testing platform can be a secondary development platform based on the open source NGrinder stress testing platform.
[0029] Such as figure 1 The test methods shown include:
[0030] S110. Obtain the pressure measurement link and the variable to be par...
Embodiment 2
[0045] figure 2 It is a schematic flow chart of a test method in Embodiment 2 of the present invention. The embodiments of the present invention are optimized on the basis of the technical solutions of the foregoing embodiments.
[0046]Further, the variables to be parameterized include user-defined variables and / or context-related variables. Correspondingly, after the operation "obtain the pressure test link and the variable to be parameterized inputted by the user", add "the variable of the variable to be parameterized The identifier and the variable value corresponding to the variable identifier are stored in the thread container corresponding to the current thread", so as to realize the isolated storage of the variable to be parameterized and reduce the coupling of parameterization.
[0047] Further, after the operation "store the variable identifier of the variable to be parameterized and the variable value corresponding to the variable identifier in the thread containe...
Embodiment 3
[0065] image 3 It is a schematic flow chart of a test method in Embodiment 3 of the present invention. In this embodiment, additional optimization is performed on the basis of the technical solutions of the foregoing embodiments.
[0066] Further, the variable to be parameterized includes a function variable, and correspondingly, "determine at least one objective function based on the variable identification of the variable to be parameterized, and abstract the at least one objective function into a general function component"; correspondingly , replacing the operation "splicing the stress test link and the variable to be parameterized to obtain an initial key string" with "splicing the stress test link and the at least one objective function to obtain an initial key string", To enrich the types of variables to be parameterized, expand the usage scenarios of parameterization.
[0067] S310. Obtain the pressure measurement link and the variables to be parameterized input by ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com