CN105207844A - Method for testing server stability and system thereof - Google Patents
Method for testing server stability and system thereof Download PDFInfo
- Publication number
- CN105207844A CN105207844A CN201510564794.9A CN201510564794A CN105207844A CN 105207844 A CN105207844 A CN 105207844A CN 201510564794 A CN201510564794 A CN 201510564794A CN 105207844 A CN105207844 A CN 105207844A
- Authority
- CN
- China
- Prior art keywords
- test
- server
- control server
- stability
- pressure testing
- 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.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a method for testing server stability. The method comprises the steps that a control server performs parameter configuration according to user input; the preset number of pressure testing machines are accessed to the control server in parallel, and the control server allocates IP addresses for all the pressure testing machines; a standardized test type is selected in the control server, and a test strategy is defined; and the control server schedules the corresponding test programs according to the test type and the test strategy and tests stability of the tested server by utilizing the pressure testing machines. According to the method, pressure testing can be simply and accurately performed on the server so that performance stability of the server can be guaranteed. The invention also discloses a system for testing server stability.
Description
Technical field
The present invention relates to server test field, particularly a kind of method and system of testing server stability.
Background technology
Along with the continuous expansion of product scale and improving constantly of complexity, product is faced with a large amount of concurrent users and business computing, and therefore the performance of product is more and more subject to attention in the industry.In this case, the automatic pressure test performed in order to verification system performance becomes particularly important.Pressure test is not the performance index of isolated each software and hardware of test, but will be combined with software application system, business scenario that is virtually reality like reality as far as possible, and when traffic carrying capacity peaks, each server CPU, internal memory, whether network has problem.How simple, realize easily server stress test, Deterministic service device stability is those skilled in the art's technical issues that need to address.
Summary of the invention
The object of this invention is to provide a kind of method of testing server stability, the method can be simple, realizes the pressure test to server quickly, Deterministic service device stability; Another object of the present invention is to provide a kind of system of testing server stability.
For solving the problems of the technologies described above, the invention provides a kind of method of testing server stability, comprising:
Control Server carries out parameter configuration according to user's input;
Be linked into described Control Server by parallel for the pressure testing machine of predetermined number, and described Control Server is pressure testing machine distributing IP address described in each;
The test-types of choice criteria in described Control Server, and define Test Strategy;
Described Control Server, according to described test-types and described Test Strategy, calls corresponding test program, utilizes the stability of described pressure testing machine to tested server to test.
Wherein, Control Server carries out parameter configuration comprise according to user's input:
Control Server carries out network parameter configuration according to user's input, and has OracleVM operation sequence in described Control Server.
Wherein, define Test Strategy to comprise:
Definition measurement scope, testing time and test mode.
Wherein, call corresponding test program, utilize the stability of described pressure testing machine to tested server to test and also comprise:
Real-time display test run progress, the state information of each pressure node and test data.
Wherein, also comprise:
Generate the stability test report of tested server.
The invention provides a kind of system of testing server stability, comprising:
Control Server; The pressure testing machine be connected with described Control Server; The tested server be connected with described Control Server;
Wherein, described Control Server, for carrying out parameter configuration according to user's input; The described pressure testing machine of parallel access predetermined number; For pressure testing machine distributing IP address described in each; The test-types of choice criteria, and define Test Strategy; And according to described test-types and described Test Strategy, call corresponding test program, utilize the stability of described pressure testing machine to tested server to test.
Wherein, in described Control Server, there is OracleVM operation sequence.
Wherein, described Control Server is also in real time display test run progress, the state information of each pressure node and test data.
Wherein, described Control Server also for: generate tested server stability test report.
The method of testing server stability provided by the present invention comprises: Control Server carries out parameter configuration according to user's input; Be linked into described Control Server by parallel for the pressure testing machine of predetermined number, and described Control Server is pressure testing machine distributing IP address described in each; The test-types of choice criteria in described Control Server, and define Test Strategy; Described Control Server, according to described test-types and described Test Strategy, calls corresponding test program, utilizes the stability of described pressure testing machine to tested server to test.
The present invention utilizes a Control Server as domain server, and it can see the running status of pressure test in test process, is convenient to Analysis server pressure testing results; The result of test can provide server in whole test process, whether can bear pressure testing machine institute applied pressure, has well with reference to effect for Analysis server stability.This system makes full use of the feature of the pressure test of server, simultaneously in conjunction with the support of Control Server as domain server, and the simplification that the system achieving testing server stability is disposed and standardization.The method and system can be simple, carry out pressure test accurately to server, the stability of Deterministic service device.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of the method for the testing server stability that Fig. 1 provides for the embodiment of the present invention;
The structured flowchart of the system of the testing server stability that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Core of the present invention is to provide a kind of method of testing server stability, and the method can be simple, realizes the pressure test to server quickly, Deterministic service device stability; Another core of the present invention is to provide a kind of system of testing server stability.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the flow chart of the method for the testing server stability that Fig. 1 provides for the embodiment of the present invention; The method can comprise:
Step s100, Control Server carry out parameter configuration according to user's input;
Wherein, such as, configure the network parameters such as the assignable address field of DHCP of Control Server, and the setting of the level categories carrying out pressure test according to user's actual need etc.It can be the stability test based on OracleVM, the OracleVM operation sequence system of its unified configuration Control Server close beta IP address and standard enterprise version testing server, the feature of the pressure test of server can be made full use of, simultaneously in conjunction with the support of Control Server, the simplification that the pressure testing system achieving server is disposed and standardization.
Wherein, preferably, Control Server carries out parameter configuration can comprise according to user's input:
Control Server carries out network parameter configuration according to user's input, and has OracleVM operation sequence in described Control Server.First, according to measurement scope reasonable disposition Control Server, controller management end to be installed on Control Server that OracleVM operation sequence system being linked into configures as management end, configure territory service, the network parameters such as the assignable address field of DHCP are set.
Step s110, be linked into described Control Server by parallel for the pressure testing machine of predetermined number, and described Control Server is pressure testing machine distributing IP address described in each;
Wherein, the pressure testing machine of predetermined number is chosen according to the grade of the scale of the actual test of user and the pressure test of tested server, and be linked into described Control Server by parallel for the pressure testing machine of predetermined number, and described Control Server is pressure testing machine distributing IP address described in each.
The number of such as pressure testing machine is 3,3 virtual pressure testing machines are linked on the Control Server that configures, DHCPserver can be obtained by Control Server and distribute the IP address defined, each pressure testing machine can access one or more network interface card, can be linked on the special Control Server of test as required, obtain test private ip address, the managing I P of non-test can certainly be retained.
Step s120, in described Control Server the test-types of choice criteria, and define Test Strategy;
Step s130, described Control Server, according to described test-types and described Test Strategy, call corresponding test program, utilize the stability of described pressure testing machine to tested server to test.
Wherein, when testing, the test-types of management end choice criteria in Control Server, and define Test Strategy, wherein, Test Strategy can comprise: measurement scope, testing time and test mode.The pressure testing machine that option and installment is good.
Wherein, another testing tool can also be run while certain testing tool of operation in said method and namely carry out multiple test-types simultaneously.Improve testing efficiency.
Based on technique scheme, the method for the testing server stability that the embodiment of the present invention provides can based on the stability test of OracleVM; Namely use a Control Server, and dispose OracleVM management software program, the standard OracleVM test environment of pressure testing machine and tested server composition.
Using Control Server as test center's node, and dispose the software administration end of testing software OracleVM, by test pressure machine accessing control server, can propagation pressure test machine quantity, extra pressure testing machine is directly disposed access control server.Tested server only need install corresponding operating system and directly can be linked in test network and carry out pressure test, and configured by the management end of the OracleVM in Control Server, pressure test is carried out to tested server, analyzes and evaluate the stability that server can bear.The method can be simple, realizes the pressure test to server quickly, Deterministic service device stability.
Based on technique scheme, wherein call corresponding test program, utilizing described pressure testing machine to carry out test to the stability of tested server can also comprise:
Real-time display test run progress, the state information of each pressure node and test data.
Wherein, the management end in Control Server can see the operation progress of real-time test data and the various states of each pressure node, the information such as test data, convenient understanding test real-time status.Improve testing efficiency.
Based on each embodiment above-mentioned, each embodiment can also comprise:
Generate the stability test report of tested server.
Wherein, generate test report and can facilitate checking of technical staff, also can time of saving technique personnel, technical staff can unnecessaryly be kept before test machine in real time.Therefore, technical staff can be facilitated to carry out the regulation and control of time, such as, before coming off duty, set testing server constancy system, make it at night also can continuous firing.Technical staff can judge the performance of tested server at second day according to the technical report generated.
Based on technique scheme, the method of the testing server stability that the embodiment of the present invention provides, in whole implementation procedure, by the pressure test to server, energy Validity Test goes out the stability of server, decreases the cost of server, simultaneously, the method favorable expandability, can need to increase or reduce pressure testing machine according to test; The test macro of the method is powerful, and multiple pressure test is available; Test height is controlled, measurement scope, testing time, Test Strategy height adjustable; Real-time display test case, and have final test to report, adaptability is extensive.
Embodiments provide the method for testing server stability, can pass through said method can be simple, realizes the pressure test to server quickly, Deterministic service device stability.
Be introduced the system of the testing server stability that the embodiment of the present invention provides below, the system of testing server stability described below can mutual corresponding reference with the method for above-described testing server stability.
Please refer to Fig. 2, the structured flowchart of the system of the testing server stability that Fig. 2 provides for the embodiment of the present invention; This system can comprise:
Control Server 100; The pressure testing machine 200 be connected with described Control Server; The tested server 300 be connected with described Control Server;
Wherein, described Control Server 100, for carrying out parameter configuration according to user's input; The described pressure testing machine 200 of parallel access predetermined number; For pressure testing machine described in each 200 distributing IP address; The test-types of choice criteria, and define Test Strategy; And according to described test-types and described Test Strategy, call corresponding test program, utilize the stability of described pressure testing machine 200 to tested server 300 to test.
Wherein, in described Control Server 100, there is OracleVM operation sequence.
Wherein, in said system, can also display be had, for showing test run progress in real time, the state information of each pressure node and test data.Such as optional, this display may reside in described Control Server 100, for showing test run progress in real time, and the state information of each pressure node and test data.
Optionally, described Control Server 100 also for: generate tested server stability test report.
Based on technique scheme, the system of the testing server stability that the embodiment of the present invention provides is in whole implementation procedure, by the pressure test to server, energy Validity Test goes out the stability of server, decrease the cost of server, meanwhile, the favorable expandability of system, can need to increase or reduce pressure testing machine according to test; Test macro is powerful, and multiple pressure test is available; Test height is controlled, measurement scope, testing time, Test Strategy height adjustable; Real-time display test case, and have final test to report, adaptability is extensive.
Method and system based on each embodiment above-mentioned have the following advantages in actual applications:
1, stability aspect: under the state keeping high performance pressure, carry out 10 hours with first-class long-time testing fatigue to investigate the stability of system.
2, testing efficiency aspect: make full use of hardware resource, testing efficiency is high.Another testing tool can be run while certain testing tool of operation, also can think deeply new method of testing when one side runs certain testing tool or design new test case, a large amount of test case can be assigned on each machine and run simultaneously, thus save a large amount of time.Also a large amount of system testings and regression test can be arranged into night and operation at weekend, raising the efficiency like this, as being ready to by all test scripts that will run before leaving offices, and starting testing tool, working in second day just can take test result.
3, human resources aspect: reduce testing cost, saves human resources.When pressure test, if manual mode, just needing a large amount of manpowers to go to verify old function stable in a large number, by utilizing this pressure test technology, as long as a people is just passable, a large amount of human resources can be saved.
4, precision aspect: the accuracy and precision improving product test.
In specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above the method and system of testing server stability provided by the present invention are described in detail.Apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also carry out some improvement and modification to the present invention, these improve and modify and also fall in the protection range of the claims in the present invention.
Claims (9)
1. a method for testing server stability, is characterized in that, comprising:
Control Server carries out parameter configuration according to user's input;
Be linked into described Control Server by parallel for the pressure testing machine of predetermined number, and described Control Server is pressure testing machine distributing IP address described in each;
The test-types of choice criteria in described Control Server, and define Test Strategy;
Described Control Server, according to described test-types and described Test Strategy, calls corresponding test program, utilizes the stability of described pressure testing machine to tested server to test.
2. the method for claim 1, is characterized in that, Control Server carries out parameter configuration according to user's input and comprises:
Control Server carries out network parameter configuration according to user's input, and has OracleVM operation sequence in described Control Server.
3. the method for claim 1, is characterized in that, definition Test Strategy comprises:
Definition measurement scope, testing time and test mode.
4. the method for claim 1, is characterized in that, calls corresponding test program, utilizes the stability of described pressure testing machine to tested server to test and also comprises:
Real-time display test run progress, the state information of each pressure node and test data.
5. the method as described in any one of Claims 1-4, is characterized in that, also comprises:
Generate the stability test report of tested server.
6. a system for testing server stability, is characterized in that, comprising:
Control Server; The pressure testing machine be connected with described Control Server; The tested server be connected with described Control Server;
Wherein, described Control Server, for carrying out parameter configuration according to user's input; The described pressure testing machine of parallel access predetermined number; For pressure testing machine distributing IP address described in each; The test-types of choice criteria, and define Test Strategy; And according to described test-types and described Test Strategy, call corresponding test program, utilize the stability of described pressure testing machine to tested server to test.
7. system as claimed in claim 6, is characterized in that having OracleVM operation sequence in described Control Server.
8. system as claimed in claim 7, is characterized in that, described Control Server is also for the progress of display test run in real time, the state information of each pressure node and test data.
9. the system as described in any one of claim 6 to 8, is characterized in that, described Control Server also for: generate tested server stability test report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510564794.9A CN105207844A (en) | 2015-09-07 | 2015-09-07 | Method for testing server stability and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510564794.9A CN105207844A (en) | 2015-09-07 | 2015-09-07 | Method for testing server stability and system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105207844A true CN105207844A (en) | 2015-12-30 |
Family
ID=54955295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510564794.9A Pending CN105207844A (en) | 2015-09-07 | 2015-09-07 | Method for testing server stability and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105207844A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375140A (en) * | 2016-08-22 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Pressure testing method and device |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN106933709A (en) * | 2015-12-31 | 2017-07-07 | 北京金山云网络技术有限公司 | A kind of method of testing and device |
CN107347013A (en) * | 2016-05-04 | 2017-11-14 | 网宿科技股份有限公司 | A kind of network measure method, system and measuring machine based on strategy |
CN108243070A (en) * | 2016-12-23 | 2018-07-03 | 中国移动通信有限公司研究院 | A kind of test method, control node and pressure node |
CN109246125A (en) * | 2018-10-09 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of Host Security condition evaluation system |
CN109450743A (en) * | 2019-01-24 | 2019-03-08 | 紫光云数科技有限公司 | Platform of internet of things pressure testing system, method, apparatus and server |
CN109522199A (en) * | 2018-11-30 | 2019-03-26 | 网易(杭州)网络有限公司 | Game region method for testing pressure, device, system and storage medium |
CN111367734A (en) * | 2020-02-28 | 2020-07-03 | 上海御渡半导体科技有限公司 | Method for carrying out pressure test in testing machine |
CN113300900A (en) * | 2020-06-28 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Method, device and system for testing service on cloud and method and device for testing container |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130118641A (en) * | 2012-04-20 | 2013-10-30 | 엘에스산전 주식회사 | Remote meter reading method and apparatus by using sub master |
CN104461804A (en) * | 2014-12-29 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Server stability test method based on VSphere test software |
CN104850492A (en) * | 2015-04-24 | 2015-08-19 | 浪潮集团有限公司 | Test method of server pressure on basis of Windows |
-
2015
- 2015-09-07 CN CN201510564794.9A patent/CN105207844A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130118641A (en) * | 2012-04-20 | 2013-10-30 | 엘에스산전 주식회사 | Remote meter reading method and apparatus by using sub master |
CN104461804A (en) * | 2014-12-29 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Server stability test method based on VSphere test software |
CN104850492A (en) * | 2015-04-24 | 2015-08-19 | 浪潮集团有限公司 | Test method of server pressure on basis of Windows |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933709A (en) * | 2015-12-31 | 2017-07-07 | 北京金山云网络技术有限公司 | A kind of method of testing and device |
CN106933709B (en) * | 2015-12-31 | 2020-07-24 | 北京金山云网络技术有限公司 | Test method and device |
CN107347013B (en) * | 2016-05-04 | 2020-07-07 | 网宿科技股份有限公司 | Network measurement method, system and measuring machine based on strategy |
CN107347013A (en) * | 2016-05-04 | 2017-11-14 | 网宿科技股份有限公司 | A kind of network measure method, system and measuring machine based on strategy |
CN106375140A (en) * | 2016-08-22 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Pressure testing method and device |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN108243070A (en) * | 2016-12-23 | 2018-07-03 | 中国移动通信有限公司研究院 | A kind of test method, control node and pressure node |
CN108243070B (en) * | 2016-12-23 | 2020-01-31 | 中国移动通信有限公司研究院 | test methods, control node and pressure node |
CN109246125A (en) * | 2018-10-09 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of Host Security condition evaluation system |
CN109522199A (en) * | 2018-11-30 | 2019-03-26 | 网易(杭州)网络有限公司 | Game region method for testing pressure, device, system and storage medium |
CN109450743A (en) * | 2019-01-24 | 2019-03-08 | 紫光云数科技有限公司 | Platform of internet of things pressure testing system, method, apparatus and server |
WO2020151483A1 (en) * | 2019-01-24 | 2020-07-30 | 紫光云数科技有限公司 | Stress testing system for internet-of-things platform, method, device, and server |
CN111367734A (en) * | 2020-02-28 | 2020-07-03 | 上海御渡半导体科技有限公司 | Method for carrying out pressure test in testing machine |
CN113300900A (en) * | 2020-06-28 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Method, device and system for testing service on cloud and method and device for testing container |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105207844A (en) | Method for testing server stability and system thereof | |
Gao et al. | Testing as a service (TaaS) on clouds | |
US9552231B2 (en) | Client classification-based dynamic allocation of computing infrastructure resources | |
CN109995677B (en) | Resource allocation method, device and storage medium | |
US9836332B2 (en) | Software defined SaaS platform | |
CN102750602B (en) | A kind of cloud platform isomery Integrative resource management system | |
CA2838569A1 (en) | A system, method and apparatus for determining virtual machine performance | |
US20130282354A1 (en) | Generating load scenarios based on real user behavior | |
CN104360878A (en) | Method and device for deploying application software | |
Heinrich et al. | Integrating run-time observations and design component models for cloud system analysis | |
Gao et al. | Saas testing on clouds-issues, challenges and needs | |
CN107566214B (en) | Performance test method and device | |
ATE546781T1 (en) | CONTROLLING THE ALLOCATION OF RESOURCES FOR BACKUP OPERATIONS | |
US9135259B2 (en) | Multi-tenancy storage node | |
CN105426298A (en) | ADB (Android debug bridge)-based software test method and system | |
US20140215271A1 (en) | Allocating test capacity from cloud systems | |
CN104133773A (en) | Server stability testing method based on windows | |
CN104461804A (en) | Server stability test method based on VSphere test software | |
CN107341103B (en) | Software compatibility testing method and system | |
CN104850492A (en) | Test method of server pressure on basis of Windows | |
CN103970663A (en) | Method for simulating physical devices | |
US10666515B2 (en) | Control of activities executed by endpoints based on conditions involving aggregated parameters | |
CN104572467A (en) | Method for testing performance of virtual platform database of server | |
CN105389254A (en) | System and method for verifying compatibility of server and Oracle Linux system | |
CN106484458A (en) | A kind of open software warehouse management system and its management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151230 |
|
RJ01 | Rejection of invention patent application after publication |