CN113722240A - Stability testing method and system for linux operating system management platform - Google Patents

Stability testing method and system for linux operating system management platform Download PDF

Info

Publication number
CN113722240A
CN113722240A CN202111285558.5A CN202111285558A CN113722240A CN 113722240 A CN113722240 A CN 113722240A CN 202111285558 A CN202111285558 A CN 202111285558A CN 113722240 A CN113722240 A CN 113722240A
Authority
CN
China
Prior art keywords
test
management platform
request
data
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111285558.5A
Other languages
Chinese (zh)
Other versions
CN113722240B (en
Inventor
董琦
李金丽
辛伟瑶
左佳
杨婧婕
刘丁瑶
母晓慧
陈吉兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kirin Software Co Ltd
Original Assignee
Kirin Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kirin Software Co Ltd filed Critical Kirin Software Co Ltd
Priority to CN202111285558.5A priority Critical patent/CN113722240B/en
Publication of CN113722240A publication Critical patent/CN113722240A/en
Application granted granted Critical
Publication of CN113722240B publication Critical patent/CN113722240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The application discloses a stability testing method and system for a linux operating system management platform, wherein data are transmitted through a network of the management platform by capturing, third-party software is not required to be called, the problem that system hidden danger is easily caused when interface parameters are obtained through the third-party software is avoided, and the operating process of a tester is greatly simplified; the stability test script is automatically generated by self-defining and modifying the corresponding configuration parameters, the test script is rich in capacity, various and reliable stability test data including high concurrency tests, external pressure tests and fatigue tests are provided for the management platform of the computer operating system, and the influence on the normal operation of other load applications of the client side due to the high concurrency tasks of the management platform in practical application can be greatly avoided through the stability tests.

Description

Stability testing method and system for linux operating system management platform
Technical Field
The application relates to the technical field of stability testing of a linux system, in particular to a stability testing method and system of a linux operating system management platform.
Background
With the development of computer operating systems, system software is continuously updated, meanwhile, bugs are easily generated on the specific implementation of hardware, software and protocols or system security strategies, and the system security is threatened, so that the bug patch package is particularly important to be updated in time, and some computer operating system management platforms are developed. The platform generally comprises a front end and a back end, and the service type mainly comprises a single service end to a plurality of client ends, namely a cluster server. By acquiring the operating system version and the software package version of the client, retrieving the information items of all versions of the patch package and the adaptive operating system list of the software in the management platform database, the patch package upgrading of the system bug or the installation of the software package is realized.
In actual use, a management platform often needs to execute patch upgrade tasks for tens of thousands or even hundreds of thousands of clients, and if various abnormal states occur when the management platform bears a large load, serious problems such as downtime of the management platform, system application suspension and the like can be directly caused. Meanwhile, if the client runs a large amount of high-load applications, part of system resources may be occupied when receiving a high concurrent task request, which affects the originally running applications of the client and causes the applications to run in a stuck state.
Therefore, before the management platform is put into use, stability testing needs to be performed on the management platform and the client so as to ensure normal operation of the management platform. However, there is no effective method or testing tool available at present, which can implement an automatic stability test in all aspects and provide reliable test data of various parameters of the CPU load, the memory usage, the network bandwidth usage, and the like of the test object.
Disclosure of Invention
The embodiment of the application provides a stability test method and system for a linux operating system management platform, which can realize all-around automatic stability test and provide reliable test data of a test object.
In view of this, the first aspect of the present application provides a method for testing stability of a linux operating system management platform, including the following steps:
s1, the operating system management platform executes specific function operation, wherein the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout;
s2, capturing network transmission data of the management platform when executing specific function operation, and acquiring request information and response information;
s3, checking whether the request is successful, judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, storing the data analyzed according to the request information and the response information, and if the response is unsuccessful or the returned data is incorrect, re-requesting;
s4, parameterizing the stored data, taking a request process as a test step, taking response data as an expected result, setting configuration parameter variables of the test request, and generating a test case;
and S5, modifying the test conditions and the test environment by setting the test custom parameters, generating and executing the test tasks, collecting the test data and outputting the data analysis result.
Optionally, the data storage parsed according to the request information and the response information includes: and analyzing the request mode, the request parameter, the parameter type and the response result data according to the called request address, and storing the request address, the request mode, the request parameter, the parameter type and the response result.
Optionally, the set test customization parameters include the number of concurrent users, the number of target clients, and the number of patch packages, and the executing of the test task includes the following steps: and sending a plurality of login requests to the management platform, simulating the condition that a plurality of users log in the management platform at the same time, making login response by the management platform, returning login response data, collecting and analyzing the data of the CPU, the memory and the network bandwidth of the service end of the management platform at the moment, and outputting a data analysis result.
Optionally, after receiving the multi-user login request, the management platform performs batch issuing of the vulnerability patch packages.
Optionally, before the test task is executed, pressurizing the client CPU by a pressurizing program, so that the utilization rate of the client CPU reaches a set value and fluctuates around the set value within a preset time; and in the process of executing the test task, monitoring the client state in real time, stopping the test when monitoring that the application state of the client is abnormal or the CPU of the client exceeds the upper limit of the fluctuation of the set value, and waiting for the test to be finished if the application state is normal and the CPU of the client does not reach the upper limit.
Optionally, the manner of pressurizing the client CPU by the pressurizing program is to pressurize the client CPU by the CPUlimit tool in combination with the dead-cycle script running.
Optionally, the set test self-defined parameters include a request address, a user name, a Password and set fatigue time, after the parameters are set, a plurality of simple controllers are used for executing a test task, the simple controllers are single controllers corresponding to all functions of the platform, whether the fatigue test time reaches the set time or not is judged, and if the fatigue test time reaches the set time, the test is finished, and a test result is stored; if not, the fatigue test is continuously executed.
Optionally, when collecting the test data, selecting the management platform or the client as the monitored end through the host parameter, opening ports at the monitoring end and the monitored end, linking the monitoring template with the monitored end through the ports, where the monitoring template includes three templates, i.e., a CPU, an internal memory, and a network, and the monitoring end obtains the data of the monitored end in real time.
Optionally, the network data transmission mode is to send a Post, Get, or Put request and receive return data through an http protocol.
The second aspect of the present application provides a stability testing system for a linux operating system management platform, comprising:
the execution module is used for executing specific function operation, and the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout;
the network data capturing module is used for capturing network transmission data of the management platform when the specific function operation is executed by the operating system management platform, and acquiring request information and response information;
the verification module is used for verifying whether the request is successful or not and judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, the data analyzed according to the request information and the response information is stored, and if the response is unsuccessful or the returned data is incorrect, the request is carried out again;
the data storage module is used for storing data analyzed according to the request information and the response information, and generating and storing a test case after setting a configuration parameter variable of the test request;
the stability testing module is used for modifying the testing conditions and the testing environment by setting the testing custom parameters, generating a testing task and then executing the testing task;
and the performance monitoring module is used for pressurizing a client CPU, simulating the client to run high-load application, and monitoring the CPU load, the memory use condition and the network bandwidth of the management platform or the client.
According to the technical scheme, the embodiment of the application has the following advantages:
according to the stability testing method and system for the linux operating system management platform, data are transmitted through the network of the management platform in a grabbing mode, third-party software does not need to be called, the problem that system hidden danger is easily caused when interface parameters are obtained through the third-party software is solved, and the operation process of a tester is greatly simplified; the stability test script is automatically generated by self-defining and modifying the corresponding configuration parameters, the test script is rich in capacity, various and reliable stability test data including high concurrency tests, external pressure tests and fatigue tests are provided for the linux computer operating system management platform, and the influence on the normal operation of other load applications of the client side due to the high concurrency tasks of the management platform in the practical application can be greatly avoided through the stability tests.
Drawings
In order to express the technical scheme of the embodiment of the invention more clearly, the drawings used for describing the embodiment will be briefly introduced below, and obviously, the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a stability testing method in an embodiment of the present invention;
FIG. 2 is a flow chart of a high concurrency task stability test according to an embodiment of the present invention;
FIG. 3 is a process of testing the stability of the management platform under the condition of simulating external pressure according to the embodiment of the present invention;
FIG. 4 is a flowchart of a fatigue test according to an embodiment of the present invention;
fig. 5 is a flow chart of monitoring CPU, memory, and network data in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an embodiment of the present invention provides a stability testing method for a linux operating system management platform, including the following steps:
and S1, the operating system management platform executes specific function operation, wherein the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout.
And S2, capturing network transmission data of the management platform when the specific function operation is executed, and acquiring request information and response information.
S3, checking whether the request is successful, judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, storing the data analyzed according to the request information and the response information, and if the response is unsuccessful or the returned data is incorrect, re-requesting. The data storage analyzed according to the request information and the response information comprises: and analyzing the request mode, the request parameter, the parameter type and the response result data according to the called request address, and storing the request address, the request mode, the request parameter, the parameter type and the response result. The request address is specifically a request address URL.
And S4, parameterizing the stored data, taking the request process as a test step, setting configuration parameter variables of the test request by taking the response data as an expected result, and generating a test case. The test case may include stability testing during operations such as client registration, patch upgrade, configuration issue, client logout, and the like, such as stability testing of a high concurrent task, stability testing of a management platform under external pressure, fatigue testing, and the like.
And S5, modifying the test conditions and the test environment by setting the test custom parameters, generating and executing the test tasks, collecting the test data and outputting the data analysis result.
In the embodiment, a platform test request address, a request mode, a request parameter, a parameter type and a response result are obtained by capturing network transmission data of a management platform. Specifically, the management platform page is opened in the browser to execute functional operations including client registration, patch upgrade, configuration issue, client logout and the like, front-end and back-end data transmission is realized through requests of get, post and the like of an http protocol, whether the request is correct is verified, the default request success state value is 200, and if the request is mistakenly returned to 404, 500 and the like, the http request is carried out again. And checking the correctness of the response returned data in json format. And if the response is unsuccessful or the result data format is incorrect, the http request is carried out again. When the request is successful and the returned data is correct, analyzing the request mode, the request parameters, the parameter types and the response result data according to the called request address URL, and storing the request address URL, the request mode, the request parameters, the parameter types and the response result. And simultaneously saving the file generated by the http request, wherein the data is saved to generate a general functional test case by setting variables so as to carry out stability test subsequently. Taking a request process as a test step, taking response data as an expected result, parameterizing successfully and correctly requested stored data, manually setting configuration parameter variables of the test request, such as management platform IP, token information, login information, issued configuration name, configuration value, patch package name, client ID, paging information and the like, responding to result assertion variables, and generating single function test cases of user login, client registration, patch upgrade, configuration issue, client logout and the like. Stability test tasks are generated by setting test custom parameters including a login interface http default value, a login user concurrency number, a target client number, a patch package number and the like, and then stability of a computer operating system management platform is tested when client registration, patch upgrading, configuration issuing, client logout and the like are performed.
The present solution is described in detail below with reference to specific test types.
Test example 1
Referring to fig. 2, a stability test can be performed according to various functions of the management platform, where a high concurrent task scenario test is an important basis for evaluating the stability of the management platform, the high concurrent task test includes multi-user concurrent and multi-user multi-task concurrent tests, and monitoring and collection of CPU usage, memory usage, and network bandwidth data information in the high concurrent task scenario of the management platform are achieved in the test process, and data processing is performed on the collected information, and a corresponding data analysis result is output.
The method comprises the following specific steps:
selecting a test case, and calling stored interface data according to the test case, wherein the interface data is data analyzed according to the request information and the response information and comprises a request address, a request mode, a request parameter, a parameter type and json data of a response result. Adding a plurality of account numbers into a platform database before testing, modifying a login request address of a management platform according to actual conditions, and setting login information of a plurality of users, wherein the login information comprises user names and passwords.
And step two, modifying the test custom parameters, modifying target client IP (the number is more than 200) which issues the test task, wherein the target client IP is managed to the management platform, and setting the number (about 100M) of issued vulnerability patch packages to generate the test task.
And step three, operating the test tool to execute the multi-user login test, sending a plurality of login requests to the management platform to simulate the condition that multiple users log in the management platform at the same time, and returning login response data to the test tool by the management platform. At the moment, a monitoring mechanism is triggered, the data of the CPU, the memory and the network bandwidth of the management platform server in the process are collected and analyzed, and a data analysis result is output. Meanwhile, the interface access management platform is accessed, whether the functions of all modules of the platform are normal or not is checked, and whether the background service is in a breakdown condition or not is checked.
And the optional step four, running the testing tool to execute multi-user multi-task high-concurrency testing, simulating the condition that multiple users log in the management platform at the same time, and issuing the vulnerability patch packages in batches. And triggering a monitoring mechanism, collecting and analyzing data of the server CPU, the memory and the network bandwidth in the process, outputting a data analysis result, simultaneously entering an interface access management platform, and checking whether the functions of each module of the platform are normal or not and whether the background service is in a breakdown condition or not.
Test example 2
Referring to fig. 3, in the management platform stability test process under the external pressure condition, CPU pressurization is realized by combining a CPUlimit tool with a dead cycle script, and the condition that leak patch packets are issued in batches after the CPU of the client system is pressurized is simulated, so that the purpose of testing the management platform stability is achieved. In the process, the key application state of the client is monitored, and meanwhile, the data of the CPU use condition, the memory use condition and the network bandwidth of the client system are recorded, and the data are also important indexes for measuring the stability of the management platform. The method for testing the stability of the management platform in the external pressure scene comprises the following steps:
step one, calling the stored interface data.
And step two, modifying test user-defined parameters, including http login request parameters of the management platform to be tested, namely the Web address, the Username and the Passsword of the management platform, setting the concurrency number of test tasks, for example, carrying out batch upgrading of vulnerability patches, and issuing 100 patch packages of about 100M to the client.
And step three, setting a set value of the CPU utilization rate of the client and the fluctuation range of the CPU utilization rate, and pressurizing the client by using the stability testing system. For example, the client CPU utilization setting is set to 80%, waiting for a period of time, and observing the surge.
And step four, when the CPU utilization rate reaches a set value, such as the CPU utilization rate reaches 80%, and the CPU utilization rate is kept fluctuating within the range of 70% -90% within a preset time length and is not greatly increased any more, jumping out of a CPU utilization rate judgment flow, simultaneously triggering a stability test flow, executing a test task (such as vulnerability patch upgrading and the like), checking whether the test task can be normally executed, and monitoring the CPU utilization rate of a client and the running state of a key application in real time in the process. Wherein the preset time is a period of time set by a person in the field. And stopping the test when the state of a certain monitored application of the client is abnormal or the CPU of the client exceeds the upper limit of the fluctuation of the set value. And if the monitoring application state is normal and the CPU does not reach the upper limit value, waiting for the test to be completed. And finally, collecting test data and outputting a data analysis result, wherein the data analysis result comprises a CPU utilization ratio oscillogram, test starting and ending time, a memory and network bandwidth data in the test process.
Test example 3
Referring to fig. 4, when the fatigue test is performed by using the embodiment, the fatigue test is performed by setting the test customized parameters in combination with the management platform to evaluate the stability of the platform, and the scene is applicable to various server management platforms, such as the platform of huashi cloud, and has an irreplaceable effect on ensuring the stable operation of the server management platform.
The fatigue test firstly sets http login request parameters of a management platform to be tested, then carries out a process test through a plurality of simple controllers, covers all functions of the platform, takes a silver river kylin upgrading management platform independently developed by kylin software company Limited as an example, covers the functions including client registration, patch upgrading, configuration issuing and client logout, and carries out 24h 8 fatigue test uninterruptedly so as to test the stability of the management platform. The method comprises the following specific steps:
setting http login request parameters of a management platform to be tested, wherein the http login request parameters comprise four parameters of a request address, a user name, a Password and set fatigue time;
secondly, performing flow test operation of a plurality of simple controllers, describing by taking a simple controller registered in one test system as an example, and performing post request by using a registers interface to store response data; acquiring system registration states, OK, ERROR and Pending by using a GET request;
step three, judging whether the fatigue test time reaches 24 x 8h, if so, finishing the test, and storing the test result; if not, the fatigue test is continuously executed.
Test example 4
Referring to fig. 5, the CPU, the memory, and the network data monitoring process, the testing method can monitor the CPU load, the memory usage, and the network bandwidth data of the management platform and the managed client. The method comprises the following specific steps:
step one, the test tool selects a monitored end through a host parameter, the monitored end can be a management platform or a client, and ports are opened at the monitoring end and the monitored end.
And step two, the monitored end links the test tool monitoring template, which comprises three templates of a CPU, an internal memory and a network.
And step three, acquiring the test data of the monitored end in real time.
According to the stability testing method for the linux operating system management platform, the network transmission data of the management platform is captured, third-party software does not need to be called, the problem that system hidden danger is easily caused when interface parameters are obtained through the third-party software is solved, and the operation process of a tester is greatly simplified; the stability test script is automatically generated by self-defining and modifying the corresponding configuration parameters, the test script is rich in capacity, various and reliable stability test data including high concurrency tests, external pressure tests and fatigue tests are provided for a domestic computer operating system management platform, and the influence on the normal operation of other load applications of a client side due to the high concurrency tasks of the management platform in practical application can be greatly avoided through the stability tests.
The method supports high-concurrency multi-scenario testing, improves the concurrency quantity of the testing scripts by modifying the self-defined testing parameters, accurately tests the stability of the platform and improves the testing efficiency.
The method can simulate the condition that other high-load applications run on the client, and apply external pressure to the client, specifically, the CPU utilization rate of the client can be controlled to be close to a certain set value, then a corresponding test script is executed, and in the test process, the running state of the key applications of the client and the condition of the CPU utilization rate are monitored simultaneously, so that a reliable test basis is provided for the management platform to run and use in an actual service scene, and the problem that the management platform cannot normally manage and control due to sudden high load of the client is avoided.
The interface and the performance can be integrated together to perform stability test by combining the functions of the management platform, the test time is 24h by 8, the setting of custom parameters is supported, the test script is executed circularly, and the expandability is strong. Through fatigue testing, the stability of the platform is evaluated, and irreplaceable effect on guaranteeing the stable operation of the management platform is achieved.
The scheme for monitoring the CPU load, the memory use condition and the network bandwidth data in the stability test process can be provided, and test data analysis can be performed, wherein the test data analysis comprises test time, the average value, the maximum value, the minimum value and the moment of occurrence of the maximum value of each monitoring index.
The second aspect of the present application provides a stability testing system for a linux operating system management platform, comprising:
the execution module is used for executing specific function operation, and the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout;
the network data capturing module is used for capturing network transmission data of the management platform when the specific function operation is executed by the operating system management platform, and acquiring request information and response information;
the verification module is used for verifying whether the request is successful or not and judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, the data analyzed according to the request information and the response information is stored, and if the response is unsuccessful or the returned data is incorrect, the request is carried out again;
the data storage module is used for storing data analyzed according to the request information and the response information, and generating and storing a test case after setting a configuration parameter variable of the test request;
the stability testing module is used for modifying the testing conditions and the testing environment by setting the testing custom parameters, generating a testing task and then executing the testing task;
and the performance monitoring module is used for pressurizing a client CPU, simulating the client to run high-load application, and monitoring the CPU load, the memory use condition and the network bandwidth of the management platform or the client.
The working principle and effect of the stability testing system of this embodiment refer to the stability testing method, which is not described herein again.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A stability test method for a linux operating system management platform is characterized by comprising the following steps:
s1, the operating system management platform executes specific function operation, wherein the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout;
s2, capturing network transmission data of the management platform when executing specific function operation, and acquiring request information and response information;
s3, checking whether the request is successful, judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, storing the data analyzed according to the request information and the response information, and if the response is unsuccessful or the returned data is incorrect, re-requesting;
s4, parameterizing the stored data, taking a request process as a test step, taking response data as an expected result, setting configuration parameter variables of the test request, and generating a test case;
and S5, modifying the test conditions and the test environment by setting the test custom parameters, generating and executing the test tasks, collecting the test data and outputting the data analysis result.
2. The method for testing the stability of the linux operating system management platform according to claim 1, wherein the data storage parsed according to the request information and the response information comprises:
and analyzing the request mode, the request parameter, the parameter type and the response result data according to the called request address, and storing the request address, the request mode, the request parameter, the parameter type and the response result.
3. The method for testing the stability of the linux operating system management platform according to claim 1, wherein the set test customization parameters include the number of concurrent login users, the number of target clients and the number of patch packages, and the executing of the test task includes the following steps: and sending a plurality of login requests to the management platform, simulating the condition that a plurality of users log in the management platform at the same time, making login response by the management platform, returning login response data, collecting and analyzing the data of the CPU, the memory and the network bandwidth of the service end of the management platform at the moment, and outputting a data analysis result.
4. The stability testing method for the linux operating system management platform as claimed in claim 3, wherein the management platform performs batch issuing of the vulnerability patch packages after receiving the multi-user login request.
5. The stability testing method of the linux operating system management platform of claim 1, wherein before the testing task is executed, a client CPU is pressurized through a pressurizing program, so that the utilization rate of the client CPU reaches a set value and fluctuates up and down around the set value within a preset time period; and in the process of executing the test task, monitoring the client state in real time, stopping the test when monitoring that the application state of the client is abnormal or the CPU of the client exceeds the upper limit of the fluctuation of the set value, and waiting for the test to be finished if the application state is normal and the CPU of the client does not reach the upper limit.
6. The method for testing the stability of the linux operating system management platform according to claim 5, wherein the manner of pressurizing the client CPU through the pressurizing program is to pressurize the client CPU through a CPUlimit tool in combination with a dead-cycle script operation.
7. The stability testing method of the linux operating system management platform according to claim 1, wherein the set test customization parameters include a request address, a user name, a Password and set fatigue time, the test task is executed through a plurality of simple controllers after the parameters are set, the simple controllers are single controllers corresponding to each function of the platform, whether the fatigue test time reaches the set time is judged, and if yes, the test is finished, and the test result is stored; if not, the fatigue test is continuously executed.
8. The stability testing method for the linux operating system management platform as claimed in claim 1, wherein when the test data is collected, the management platform or the client is selected as a monitored end through a host parameter, ports are opened at the monitoring end and the monitored end, the monitored end is linked with a monitoring template through the ports, the monitoring template comprises three templates of a CPU (central processing unit), a memory and a network, and the monitoring end acquires the data of the monitored end in real time.
9. The method for testing the stability of the linux operating system management platform according to claim 1, wherein the network transmission data is transmitted in a manner that a Post, Get or Put request is sent and return data is received through an http protocol.
10. A stability test system of a linux operating system management platform is characterized by comprising:
the execution module is used for executing specific function operation, and the specific function comprises any one or combination of a plurality of client registration, patch upgrading, configuration issuing and client logout;
the network data capturing module is used for capturing network transmission data of the management platform when the specific function operation is executed by the operating system management platform, and acquiring request information and response information;
the verification module is used for verifying whether the request is successful or not and judging the correctness of the data returned by the request response, if the request is successful and the returned data is correct, the data analyzed according to the request information and the response information is stored, and if the response is unsuccessful or the returned data is incorrect, the request is carried out again;
the data storage module is used for storing data analyzed according to the request information and the response information, and generating and storing a test case after setting a configuration parameter variable of the test request;
the stability testing module is used for modifying the testing conditions and the testing environment by setting the testing custom parameters, generating a testing task and then executing the testing task;
and the performance monitoring module is used for pressurizing a client CPU, simulating the client to run high-load application, and monitoring the CPU load, the memory use condition and the network bandwidth of the management platform or the client.
CN202111285558.5A 2021-11-02 2021-11-02 Stability testing method and system for linux operating system management platform Active CN113722240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111285558.5A CN113722240B (en) 2021-11-02 2021-11-02 Stability testing method and system for linux operating system management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111285558.5A CN113722240B (en) 2021-11-02 2021-11-02 Stability testing method and system for linux operating system management platform

Publications (2)

Publication Number Publication Date
CN113722240A true CN113722240A (en) 2021-11-30
CN113722240B CN113722240B (en) 2022-02-01

Family

ID=78686379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111285558.5A Active CN113722240B (en) 2021-11-02 2021-11-02 Stability testing method and system for linux operating system management platform

Country Status (1)

Country Link
CN (1) CN113722240B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116303101A (en) * 2023-05-19 2023-06-23 建信金融科技有限责任公司 Test case generation method, device and equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140235179A1 (en) * 2013-02-18 2014-08-21 Airometric Wireless Inc. Performance evaluation of services and applications on devices in live wireless environments
CN104133773A (en) * 2014-08-18 2014-11-05 浪潮电子信息产业股份有限公司 Server stability testing method based on windows
CN106649057A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Method and device for testing server pressure
CN108319547A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 Method for generating test case, device and system
CN110968468A (en) * 2019-12-18 2020-04-07 广州唯品会信息科技有限公司 Pressure testing method, terminal device and computer storage medium
CN111147322A (en) * 2019-12-13 2020-05-12 中盈优创资讯科技有限公司 Test system and method for micro service architecture of 5G core network
CN111290896A (en) * 2020-02-12 2020-06-16 广州酷狗计算机科技有限公司 Server pressure testing method, device, equipment and medium
CN112699040A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Pressure testing method, device, equipment and computer readable storage medium
CN112948256A (en) * 2021-03-24 2021-06-11 北京大米科技有限公司 Client program testing method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140235179A1 (en) * 2013-02-18 2014-08-21 Airometric Wireless Inc. Performance evaluation of services and applications on devices in live wireless environments
CN104133773A (en) * 2014-08-18 2014-11-05 浪潮电子信息产业股份有限公司 Server stability testing method based on windows
CN106649057A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Method and device for testing server pressure
CN108319547A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 Method for generating test case, device and system
CN111147322A (en) * 2019-12-13 2020-05-12 中盈优创资讯科技有限公司 Test system and method for micro service architecture of 5G core network
CN110968468A (en) * 2019-12-18 2020-04-07 广州唯品会信息科技有限公司 Pressure testing method, terminal device and computer storage medium
CN111290896A (en) * 2020-02-12 2020-06-16 广州酷狗计算机科技有限公司 Server pressure testing method, device, equipment and medium
CN112699040A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Pressure testing method, device, equipment and computer readable storage medium
CN112948256A (en) * 2021-03-24 2021-06-11 北京大米科技有限公司 Client program testing method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116303101A (en) * 2023-05-19 2023-06-23 建信金融科技有限责任公司 Test case generation method, device and equipment
CN116303101B (en) * 2023-05-19 2023-08-15 建信金融科技有限责任公司 Test case generation method, device and equipment

Also Published As

Publication number Publication date
CN113722240B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN115686540B (en) RPA control method and system based on Hongmong system
US20210326196A1 (en) A remediation system to prevent incompatible program module installation in an information processing system
CN110119350B (en) Software development kit testing method, device and equipment and computer storage medium
US20180357143A1 (en) Testing computing devices
CN113760704A (en) Web UI (user interface) testing method, device, equipment and storage medium
GB2418755A (en) Error handling using a structured state tear down
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN110647471A (en) Interface test case generation method, electronic device and storage medium
CN110659198A (en) Application program test case execution method and device and software test system
CN112650676A (en) Software testing method, device, equipment and storage medium
CN113722240B (en) Stability testing method and system for linux operating system management platform
CN113778879A (en) Fuzzy test method and device for interface
CN114064465A (en) Stability testing method based on Linux cloud platform
CN112583663B (en) Automatic network performance testing method based on domestic operating system
CN105550103B (en) A kind of automated testing method based on self-defined test script
CN112269697B (en) Equipment storage performance testing method, system and related device
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN116383025A (en) Performance test method, device, equipment and medium based on Jmeter
CN116302989A (en) Pressure testing method and system, storage medium and computer equipment
CN115454856A (en) Multi-application security detection method, device, medium and electronic equipment
CN111949548B (en) Automatic unauthorized penetration testing method and storage device
CN114385498A (en) Performance test method, system, computer equipment and readable storage medium
CN114385258A (en) Automatic testing method and device, electronic equipment and storage medium
CN111639022A (en) Transaction testing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant