Server stress testing method, device and apparatus and storage medium
A stress test and server technology, applied in the server field, can solve the problems of inaccurate stress test values, time-consuming and labor-intensive, and low test efficiency, achieving the effect of strong practicability, ensuring development cycle, and high degree of automation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Please refer to figure 1 , the present embodiment provides a kind of server pressure test method, after preparing test environment (after installing Linux system, download test program, automatic test program is added in the Linux system start-up file / etc / rc.local), execute test, The specific steps of the test method are as follows:
[0037] S1. Configure test variables through command parameters, and store the command parameters in a configuration file.
[0038] S2. Perform a stress test on the server according to the configuration file to obtain performance data of the server.
[0039] S3. Write the performance data measured in S2 into a log file.
[0040] S4. Read the number of times the stress test in S3 has been executed from the log file.
[0041] S5. Judging whether the number of times of execution meets the total number of tests configured in the command parameter: if the number of times of execution is equal to the total number of tests configured in the comma...
Embodiment 2
[0043] Please refer to figure 2 , the present embodiment provides a kind of server pressure test method, after preparing test environment (after installing Linux system, download test program, automatic test program is added in the Linux system start-up file / etc / rc.local), execute test, The specific steps of the test method are as follows:
[0044] S1. Configure test variables through command parameters, that is, configure the total number of tests, power-on / off mode, and reset pressure, and store the command parameters in a configuration file.
[0045] S2. Restart or switch the server according to the switch mode in the configuration file; after the restarted or restarted server enters the system, perform a stress test on the server according to the reset pressure variable in the command parameter to obtain the performance data of the server.
[0046] S3. Write the performance data measured in S2 into a log file.
[0047] S4. Read the number of times the stress test in S3 ...
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