CN115022203B - Pressure testing method and device - Google Patents
Pressure testing method and device Download PDFInfo
- Publication number
- CN115022203B CN115022203B CN202210769032.2A CN202210769032A CN115022203B CN 115022203 B CN115022203 B CN 115022203B CN 202210769032 A CN202210769032 A CN 202210769032A CN 115022203 B CN115022203 B CN 115022203B
- Authority
- CN
- China
- Prior art keywords
- flow
- press
- tested server
- flow files
- files
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 80
- 238000000034 method Methods 0.000 claims abstract description 53
- 238000010998 test method Methods 0.000 claims abstract description 19
- 238000012544 monitoring process Methods 0.000 claims description 214
- 238000012886 linear function Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 10
- 238000011056 performance test Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 6
- 230000001105 regulatory effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Debugging And Monitoring (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses a pressure testing method and device, and belongs to the field of server testing. The method comprises the following steps: sending a flow file to a press machine, and acquiring the CPU utilization rate corresponding to a tested server; judging whether the tested server works in a linear area according to the linear relation between the CPU utilization rate of the tested server and the quantity of concurrent flow files, and the quantity of the flow files and the CPU utilization rate, and performing linear or nonlinear flow file adjustment to enable the quantity of the flow files finally sent to the press to cause the increment of the CPU utilization rate of the tested server to be the preset increment of the utilization rate; and recording the number of the flow files as a test result when the CPU utilization rate of the tested server reaches the utilization rate threshold value, and terminating the execution of the pressure test method. By implementing the pressure testing method and device disclosed by the invention, the automation of the server pressure testing process is achieved, the labor and time cost is saved, and the accurate testing result is obtained.
Description
Technical Field
The invention relates to the technical field of server testing, in particular to a pressure testing method and device.
Background
Before the equipment is put into use or before the load reaches the limit, the server pressure test is performed to know parameters such as reliability, performance bottleneck and the like of the server system, so that the reliability and stability of the server system are improved, and downtime phenomenon and loss caused by the downtime phenomenon in the running process of the system are reduced.
For OSP services (Open Service Platform, i.e., open service platform), single machine performance tests are largely divided into two categories: (1) The bottleneck exploration class is used for obtaining a QPS index (Queries Per Second, namely the number of inquiry requests per second) or a TPS index (Transactions Per Second, namely the number of transactions processed per second) of the OSP service in a performance bottleneck state by simulating a high concurrency scene; (2) scene comparison: under different scenes (such as different basic configurations, different code versions and the like), concurrent flow (QPS/TPS) is respectively applied to the same OSP service, so that CPU utilization rate of a Linux server where the OSP service corresponding to the different scenes is located reaches an infinitely close state, and the concurrent flow of each scene is the scene performance index of the OSP service. Both types of performance tests require defining a CPU utilization threshold (e.g., bottleneck exploration class tests typically define CPU utilization of no more than 70%, scene comparison typically define CPU utilization of no more than 50%), and concurrent traffic is tested in the event that CPU utilization approaches but does not exceed the threshold.
Currently, to measure the QPS indicator of an OSP service, JMeter concurrent request capability is typically employed to put pressure on the OSP service. JMeter concurrent request capability is minimally adjusted to 1 thread granularity, whereas a1 thread pressure change in a high performance OSP service performance test may result in more than 1000 QPS pressure changes and CPU utilization changes exceeding 2%. It can be seen that the manner of controlling the applied pressure by controlling the number of threads is too coarse to obtain accurate performance test results. On the other hand, in order to apply concurrent traffic of different sizes to enable the Linux server where the OSP service is located to reach the specified CPU usage, performance testers are often required to sequentially execute the following operations: and adjusting JMeter the concurrency quantity, starting test, monitoring and stopping, and adjusting JMeter the concurrency quantity according to the monitored CPU utilization rate to start a new performance test until the CPU utilization rate of the Linux server where the OSP service is located reaches an expected target. The whole process usually needs to be circularly debugged for a plurality of times, and the single performance test takes a long time, so that the workload of the test is huge. Therefore, there is a need for a method for automating a testing process to accurately and automatically test a server with small granularity of pressure index adjustment.
Disclosure of Invention
In order to solve the problems of the prior art, the embodiment of the invention provides a pressure testing method and device, which are used for solving the problems that the pressure testing process of a server in the prior art needs repeated cyclic debugging by manpower, the time for single performance testing is long, and the testing workload is huge.
In order to solve one or more of the above technical problems, the technical solution adopted by the present invention is as follows:
in a first aspect, a pressure testing method is provided and applied to a control end, and the method includes:
In the first monitoring period of the current adjustment period, sending flow files with the number of Q N,1 to a press, and acquiring CPU utilization rate U N,1 of a tested server responding to the press according to the flow files with the number of Q N,1 and sending a flow request to the tested server from a monitoring end; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
Judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
and adjusting the quantity of the flow files sent to the press according to a preset rule.
Further, adjusting the number of flow files sent to the press according to the preset rule includes:
If the result of judging whether the tested server works in the linear region is yes, sending flow files with the quantity of Q N to the press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server for responding to the concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
If the result of judging whether the tested server works in the linear region is 'no', starting to adjust the quantity of flow files sent to the press machine from the next monitoring period, so that the quantity of the flow files finally sent to the press machine in the current adjusting period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow requests of the press machine to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
If so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
Further, the method also comprises the following steps: acquiring a linear relation between the CPU utilization rate U of a tested server and the quantity Q of flow files;
The obtaining of the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files comprises the following steps:
Acquiring the CPU no-load utilization rate U 0 of the server to be tested from a monitoring end;
Transmitting a first number Q T of flow files to the press;
CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the number of Q T is obtained from a monitoring end;
And obtaining the linear function relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent requests according to Q T,UT and U 0.
Further, starting to adjust the number of flow files sent to the press from the next monitoring period, so that the number of flow files finally sent to the press in the current adjusting period causes the measured server to respond to the CPU utilization rate increment of the concurrent flow request of the press to the measured server according to the number of flow files as the preset utilization rate increment delta U, which comprises the following steps:
acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
In each monitoring period, acquiring CPU utilization rate delta U N,i of a tested server responding to a flow request sent by a press machine to the tested server according to a flow file with the quantity of Q N,1 from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
If yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
If not, judging whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not in the current monitoring period; if yes, repeatedly executing the first formula and the second formula until the current monitoring period is judged, wherein the result of whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U is negative;
If not, the number of the flow files sent to the press is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press in the previous monitoring period.
Further, in the current adjustment period, if the current monitoring period is judged, the measured server responds to whether the number of continuous monitoring periods of whether the CPU utilization increment delta U N,i of the measured server for concurrent flow requests to the measured server according to the flow file with the number of Q N,1 is larger than delta U exceeds the preset number, and in the next monitoring period, according to a third formula,
A third formula: a N,i+1=AN,i -0.1
The adjustable coefficient a N,i+1 is updated.
Further, when the adjustable coefficient a N,i =0.1, if it is determined that the current monitoring period, the measured server responds to whether the CPU usage increment Δu N,i of the pressure machine for concurrent flow requests to the measured server according to the number of flow files is greater than Δu, and if yes, the number of flow files sent to the pressure machine is increased one by one based on the number Q N-1 of flow files sent to the pressure machine in the last adjustment period, and the number of flow files sent to the pressure machine in the corresponding monitoring period is obtained.
In a second aspect, a pressure testing method is provided, applied to a press, the method comprising:
The method comprises the steps that flow files with the number of first number Q T sent by a receiving control end are received, and flow requests are sent to a tested server according to the flow files with the number of first number Q T;
And in the corresponding monitoring period of the corresponding adjustment period, receiving the flow files with the quantity of Q N,i sent by the control terminal, and sending a flow request to the tested server according to the flow files with the quantity of Q N,i.
In a third aspect, a pressure testing method is provided, applied to a monitoring end, and the method includes:
Acquiring the CPU no-load utilization rate U 0 of the tested server;
Obtaining CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the quantity of Q T;
And in the corresponding monitoring period of the corresponding adjustment period, the CPU utilization rate U N,i of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,i is obtained.
In a fourth aspect, a pressure testing method is provided, the method comprising:
the control end sends flow files with the number of Q N,1 to the press in the first monitoring period of the current adjusting period;
The method comprises the steps that in the first monitoring period of a current adjustment period, a press receives flow files with the number of Q N,1 sent by a control end, and sends a flow request to a tested server according to the flow files with the number of Q N,1;
The monitoring end obtains CPU utilization rate U N,1 of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,1 in the first monitoring period of the current adjustment period; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The control end judges whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
adjusting the quantity of flow files sent to a press according to a preset rule;
The method specifically comprises the following steps:
if yes, the control end sends flow files with the number of Q N to the press machine in the remaining monitoring period of the current adjustment period, and obtains CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the number of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
if not, the control end starts to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjusting period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
The method comprises the steps that a press receives flow files with the number of Q N,i sent by a control end in a corresponding monitoring period of a corresponding adjustment period, and sends a flow request to a tested server according to the flow files with the number of Q N,i;
The monitoring end obtains CPU utilization rate U N,i of the tested server responding to concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i in the corresponding monitoring period of the corresponding adjustment period;
judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
If so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
In a fifth aspect, a pressure testing apparatus is provided, applied to a control end, the apparatus including:
The system comprises a pressure probing module, a linear judging module and a flow adjusting module;
The pressure probing module is used for sending the flow files with the quantity of Q N,1 to the press machine in the first monitoring period of the current adjustment period, and acquiring the CPU utilization rate U N,1 of the tested server responding to the flow requests sent by the press machine to the tested server according to the flow files with the quantity of Q N,1 from the monitoring end; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The linear judging module is used for judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
the flow adjustment module is used for adjusting the quantity of flow files sent to the press according to a preset rule;
The method specifically comprises the following steps:
The linear adjustment sub-module is used for sending the flow files with the quantity of Q N to the press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the quantity of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
The nonlinear adjustment sub-module is used for starting to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjustment period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
the termination judging sub-module is used for judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
and the result acquisition sub-module is used for increasing the number of the flow files one by one based on the number Q N-1 of the flow files in the previous adjustment period until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, recording the number Q N of the flow files as a test result Q R and terminating the execution of the pressure test method.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
1. By implementing the pressure testing method and device disclosed by the invention, the automation of the server pressure testing process is achieved, and the labor and time cost is saved;
2. And acquiring an accurate server pressure test result through fine control of the concurrent request granularity.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a pressure testing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a pressure testing apparatus according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some examples of the present invention, not all examples. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, technical or scientific terms used in this disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in this disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Likewise, the terms "a," "an," or "the" and similar terms do not denote a limitation of quantity, but rather denote the presence of at least one. The numerals in the drawings of the specification merely denote distinction of respective functional components or modules, and do not denote logical relationships between the components or modules. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Note that in the drawings, the same reference numerals are given to constituent parts having substantially the same or similar structures and functions, and repeated description thereof will be omitted.
Aiming at the problems that in the prior art, the pressure test of a server needs to be manually and repeatedly debugged, the time consumption of single performance test is long, the workload of the test is huge, and the labor and time cost is seriously consumed; the embodiment of the invention discloses a pressure testing method and a device, which aim to achieve automation of a server pressure testing process and save labor and time cost; and fine control on the granularity of concurrent requests is realized, so that the effect of improving the measurement accuracy is achieved. The specific technical scheme is as follows:
In one embodiment, as shown in fig. 1, a pressure testing method is applied to a control end, and includes:
Step S1-1: in the first monitoring period of the current adjustment period, sending flow files with the number of Q N,1 to a press, and acquiring CPU utilization rate U N,1 of a tested server responding to the press according to the flow files with the number of Q N,1 and sending a flow request to the tested server from a monitoring end; wherein Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files that are finally sent to the press in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files that are finally added to the press in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files.
The method for setting the number of monitoring periods is as follows: in one adjustment period, the number of flow files sent to the press can be acquired through the set monitoring period number. In particular, in the adjustment stage of steps S1-31', since the usage rate of the CPU of the measured server and the flow rate file sent to the press are in a nonlinear relationship, the number of flow rate files needs to be adjusted multiple times, so that the number of monitoring periods included in one adjustment period must be such that, in the present adjustment period, the flow rate file for increasing the usage rate U of the CPU of the measured server by the preset usage rate increment Δu can be obtained through the set number of monitoring periods.
Whether or not different numbers of monitoring cycles are set in the two stages of steps S1-31 and steps S1-31' is not limited by the present invention.
Step S1-2: and judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to the concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files.
The change of the CPU usage rate U of the tested server directly determines the quantity of concurrent requests sent to the tested server by the press, wherein the concurrent requests can be QPS (query rate per second, queries Per Second) or TPS (transaction number per second, transactions Per Second) or other requests which need to be processed by the tested server. Because of the corresponding relation between the quantity of the flow files and the quantity of the concurrent requests, the quantity of the concurrent requests can be set by setting the quantity of the flow files. In other words, there is a conversion relationship between the number of flow files and the number of concurrent requests. Therefore, the number of concurrent requests sent by the press to the tested server can be obtained through conversion by counting the number Q of flow files. The conversion relation between the two is not limited in the present invention.
Step S1-3: and adjusting the quantity of the flow files sent to the press according to a preset rule.
The method specifically comprises the following steps:
Step S1-31: if yes, sending flow files with the number of Q N to the press in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server responding to the concurrent flow requests of the press to the tested server according to the flow files with the number of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate of the current adjustment period relative to the CPU utilization rate of the last adjustment period.
Q N represents the number of flow files sent to the press in the Nth adjustment period, and N is a natural number. The steps S1-31 are suitable for the adjustment stage of the linear relation between the quantity Q of the flow files and the CPU utilization rate U of the tested server. The preset usage increment deltau is typically set to 1%.
In the adjustment stage of the linear relation between the quantity Q of the flow files and the utilization rate U of the CPU of the tested server, each adjustment period can be obtained through the steps S1-31, so that the utilization rate of the CPU of the tested server is increased by 1% by the quantity Q N of the flow files which are sent to the press. Typically the flow file number Q N is directly obtained from a linear function.
Step S1-31': if not, the quantity of flow files sent to the press is regulated from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current regulating period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be the preset utilization rate increment delta U.
The step S1-31' is suitable for the adjustment stage of nonlinear relation between the quantity Q of flow files and the CPU utilization rate U of the tested server, and the adjustment aims at: and acquiring the number of corresponding flow files sent to the press and enabling the CPU utilization rate U of the tested server to be increased by 1%.
Step S1-32: judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value.
In the bottleneck test, the usage threshold is typically set to 70%. Can also be set according to actual needs. Other values may be set in other test items, and are not limited in this disclosure. Steps S1 to 32 describe the judgment condition for terminating execution of the pressure test method described above.
Step S1-33: if so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
The steps S1-33 describe the technical means for obtaining accurate pressure values after the pressure test method is terminated. That is, based on the number of flow files Q N-1 in the previous adjustment period, the number of flow files is increased one by one until the CPU usage of the server under test reaches the usage threshold, and the number of flow files Q N is recorded as the test result Q R. It will be appreciated that the number of current adjustment period flow files obtained by the technical means described in steps S1-31' will cause the CPU usage U of the server under test to exceed the usage threshold. In order to obtain the test result of the number of flow files that finally satisfies the usage threshold, small granularity adjustment is required for the number of flow files.
Preferably, the traffic file adjustment granularity should be refined to vary the number of concurrent requests from one to the next. The method can be realized by JMeter tools and matching with the current limiting means such as a cask algorithm or a token cask algorithm, and the like, and the invention is not limited.
The pressure test method further comprises the following steps:
Step S1-0: acquiring a linear relation between the CPU utilization rate U of a tested server and the quantity Q of flow files;
specifically, the obtaining the linear relation between the CPU usage rate U of the tested server and the number Q of concurrent traffic files includes:
Step S1-01: acquiring the CPU no-load utilization rate U 0 of the server to be tested from a monitoring end;
step S1-02: transmitting a first number Q T of flow files to the press;
This step is to probe the linear relation between the number of flow files sent to the press and the CPU usage rate of the server under test, and the first number may be set to 10 or 100, etc., and the present invention is not limited thereto.
Step S1-03: CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the number of Q T is obtained from a monitoring end;
Step S1-04: and obtaining the linear function relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent requests according to Q T,UT and U 0.
The linear function relationship is represented by the following formula:
Step S1-31': starting to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjusting period causes the measured server to respond to the CPU utilization rate increment of the concurrent flow request of the press to the measured server according to the quantity of the sent flow files as a preset utilization rate increment delta U, and the method specifically comprises the following steps:
Step S1-311': acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
steps S1-312': in each monitoring period, acquiring CPU utilization rate delta U N,i of a tested server responding to a flow request sent by a press machine to the tested server according to a flow file with the quantity of Q N,1 from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
Steps S1-313': if yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
Steps S1-313": if not, judging whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not in the current monitoring period; if yes, repeatedly executing the first formula and the second formula until the current monitoring period is judged, wherein the result of whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U is negative;
steps S1-314": if not, the number of the flow files sent to the press is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press in the previous monitoring period.
Further, steps S1-3131' are included: in the current adjustment period, if the current monitoring period is judged, the tested server responds to whether the number of continuous monitoring periods of whether the CPU utilization rate increment delta U N,i of the tested server for concurrent flow requests of the tested server according to the flow files with the number of Q N,1 is larger than delta U is yes exceeds the preset number, in the next monitoring period according to a third formula,
A third formula: a N,i+1=AN,i -0.1
The adjustable coefficient a N,i+1 is obtained.
The adjustment process is expedited by steps S1-3131 ".
Further, when the adjustable coefficient a N,i =0.1, if it is determined that the current monitoring period, the measured server responds to whether the CPU usage increment Δu N,i of the pressure machine for concurrent flow requests to the measured server according to the number of flow files is greater than Δu, and if yes, the number of flow files sent to the pressure machine is increased one by one based on the number Q N-1 of flow files sent to the pressure machine in the last adjustment period, and the number of flow files sent to the pressure machine in the corresponding monitoring period is obtained.
Described herein is another termination condition of the above-described pressure test method. That is, the termination condition applicable when the usage setting value is excessively high is preset. It will be appreciated that this termination condition means that when a small number of concurrent requests are followed, and thus the CPU utilization of the server under test fluctuates greatly, the test should be terminated and the corresponding test results obtained.
In another embodiment, a pressure testing method is applied to a press and includes:
Step S2-1: the method comprises the steps that flow files with the number of first number Q T sent by a receiving control end are received, and flow requests are sent to a tested server according to the flow files with the number of first number Q T;
Step S2-2: and in the corresponding monitoring period of the corresponding adjustment period, receiving the flow files with the quantity of Q N,i sent by the control terminal, and sending a flow request to the tested server according to the flow files with the quantity of Q N,i.
In another embodiment, a pressure testing method is applied to a monitoring end, and the method includes:
Step S3-1: acquiring the CPU no-load utilization rate U 0 of the tested server;
Step S3-2: obtaining CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the quantity of Q T;
Step S3-3: and in the corresponding monitoring period of the corresponding adjustment period, the CPU utilization rate U N,i of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,i is obtained.
In another embodiment, a pressure testing method includes:
Step S4-1: the control end sends flow files with the number of Q N,1 to the press in the first monitoring period of the current adjusting period;
Step S4-2: the method comprises the steps that in the first monitoring period of a current adjustment period, a press receives flow files with the number of Q N,1 sent by a control end, and sends a flow request to a tested server according to the flow files with the number of Q N,1;
Step S4-3: the monitoring end obtains CPU utilization rate U N,1 of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,1 in the first monitoring period of the current adjustment period; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
Step S4-4: the control end judges whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
Step S4-5: adjusting the quantity of flow files sent to a press according to a preset rule;
The method specifically comprises the following steps:
step S4-51: if yes, the control end sends flow files with the number of Q N to the press machine in the remaining monitoring period of the current adjustment period, and obtains CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the number of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
step S4-52: if not, the control end starts to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjusting period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
Step S4-53: the method comprises the steps that a press receives flow files with the number of Q N,i sent by a control end in a corresponding monitoring period of a corresponding adjustment period, and sends a flow request to a tested server according to the flow files with the number of Q N,i;
Step S4-54: the monitoring end obtains CPU utilization rate U N,i of the tested server responding to concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i in the corresponding monitoring period of the corresponding adjustment period;
Step S4-55: judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
Step S4-56: if so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
In another embodiment, as shown in fig. 2, a pressure testing apparatus is applied to a control end, and includes: the system comprises a pressure probing module, a linear judging module and a flow adjusting module;
The pressure probing module is used for sending the flow files with the quantity of Q N,1 to the press machine in the first monitoring period of the current adjustment period, and acquiring the CPU utilization rate U N,1 of the tested server responding to the flow requests sent by the press machine to the tested server according to the flow files with the quantity of Q N,1 from the monitoring end; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The linear judging module is used for judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
the flow adjustment module is used for adjusting the quantity of flow files sent to the press according to a preset rule;
The linear adjustment sub-module is used for sending the flow files with the quantity of Q N to the press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the quantity of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
The nonlinear adjustment sub-module is used for starting to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjustment period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
the termination judging sub-module is used for judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
and the result acquisition sub-module is used for increasing the number of the flow files one by one based on the number Q N-1 of the flow files in the previous adjustment period until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, recording the number Q N of the flow files as a test result Q R and terminating the execution of the pressure test method.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present invention, which is not described herein.
Example 1
In one embodiment, as shown in fig. 1, a pressure testing method is applied to a control end, and includes:
Step S1-0: acquiring a linear relation between the CPU utilization rate U of a tested server and the quantity Q of flow files;
specifically, the obtaining the linear relation between the CPU usage rate U of the tested server and the number Q of concurrent traffic files includes:
Step S1-01: acquiring the CPU no-load utilization rate U 0 of the server to be tested from a monitoring end;
step S1-02: transmitting a first number Q T of flow files to the press;
This step is to probe the linear relation between the number of flow files sent to the press and the CPU usage rate of the server under test, and the first number may be set to 10 or 100, etc., and the present invention is not limited thereto.
Step S1-03: CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the number of Q T is obtained from a monitoring end;
Step S1-04: and obtaining the linear function relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent requests according to Q T,UT and U 0.
The linear function relationship is represented by the following formula:
Step S1-1: in the first monitoring period of the current adjustment period, sending flow files with the number of Q N,1 to a press, and acquiring CPU utilization rate U N,1 of a tested server responding to the press according to the flow files with the number of Q N,1 and sending a flow request to the tested server from a monitoring end; wherein Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files that are finally sent to the press in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files that are finally added to the press in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files.
The method for setting the number of monitoring periods is as follows: in one adjustment period, the number of flow files sent to the press can be acquired through the set monitoring period number. In particular, in the adjustment stage of steps S1-31', since the usage rate of the CPU of the measured server and the flow rate file sent to the press are in a nonlinear relationship, the number of flow rate files needs to be adjusted multiple times, so that the number of monitoring periods included in one adjustment period must be such that, in the present adjustment period, the flow rate file for increasing the usage rate U of the CPU of the measured server by the preset usage rate increment Δu can be obtained through the set number of monitoring periods.
Whether or not different numbers of monitoring cycles are set in the two stages of steps S1-31 and steps S1-31' is not limited by the present invention.
Step S1-2: and judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to the concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files.
The change of the CPU usage rate U of the tested server directly determines the quantity of concurrent requests sent to the tested server by the press, wherein the concurrent requests can be QPS (query rate per second, queries Per Second) or TPS (transaction number per second, transactions Per Second) or other requests which need to be processed by the tested server. Because of the corresponding relation between the quantity of the flow files and the quantity of the concurrent requests, the quantity of the concurrent requests can be set by setting the quantity of the flow files. In other words, there is a conversion relationship between the number of flow files and the number of concurrent requests. Therefore, the number of concurrent requests sent by the press to the tested server can be obtained through conversion by counting the number Q of flow files. The conversion relation between the two is not limited in the present invention.
Step S1-3: and adjusting the quantity of the flow files sent to the press according to a preset rule.
The method specifically comprises the following steps:
Step S1-31: if the result of judging whether the tested server works in the linear region is yes, sending flow files with the quantity of Q N to the press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server for responding to the concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate of the current adjustment period relative to the CPU utilization rate of the last adjustment period.
Q N represents the number of flow files sent to the press in the Nth adjustment period, and N is a natural number. The steps S1-31 are suitable for the adjustment stage of the linear relation between the quantity Q of the flow files and the CPU utilization rate U of the tested server. The preset usage increment deltau is typically set to 1%.
In the adjustment stage of the linear relation between the quantity Q of the flow files and the utilization rate U of the CPU of the tested server, each adjustment period can be obtained through the steps S1-31, so that the utilization rate of the CPU of the tested server is increased by 1% by the quantity Q N of the flow files which are sent to the press. Typically the flow file number Q N is directly obtained from a linear function.
Step S1-31': if the result of judging whether the tested server works in the linear region is 'no', the quantity of flow files sent to the press machine is regulated from the next monitoring period, so that the quantity of the flow files finally sent to the press machine in the current regulating period causes the CPU utilization rate increment of the tested server responding to the concurrent flow requests of the press machine to the tested server according to the quantity of the sent flow files to be the preset utilization rate increment delta U.
The step S1-31' is suitable for the adjustment stage of nonlinear relation between the quantity Q of flow files and the CPU utilization rate U of the tested server, and the adjustment aims at: and acquiring the number of corresponding flow files sent to the press and enabling the CPU utilization rate U of the tested server to be increased by 1%. Comprising the following steps:
Step S1-311': acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
steps S1-312': in each monitoring period, acquiring CPU utilization rate delta U N,i of a tested server responding to a flow request sent by a press machine to the tested server according to a flow file with the quantity of Q N,1 from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
Steps S1-313': if yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
Steps S1-313": if not, judging whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not in the current monitoring period; if yes, repeatedly executing the first formula and the second formula until the current monitoring period is judged, wherein the result of whether the CPU utilization increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U is negative;
Further comprising the steps of S1-3131': in the current adjustment period, if the current monitoring period is judged, the tested server responds to whether the number of continuous monitoring periods of whether the CPU utilization rate increment delta U N,i of the tested server for concurrent flow requests of the tested server according to the flow files with the number of Q N,1 is larger than delta U is yes exceeds the preset number, in the next monitoring period according to a third formula,
A third formula: a N,i+1=AN,i -0.1
The adjustable coefficient a N,i+1 is obtained.
The adjustment process is expedited by steps S1-3131 ".
Further, when the adjustable coefficient a N,i =0.1, if it is determined that the current monitoring period, the measured server responds to whether the CPU usage increment Δu N,i of the pressure machine for concurrent flow requests to the measured server according to the number of flow files is greater than Δu, and if yes, the number of flow files sent to the pressure machine is increased one by one based on the number Q N-1 of flow files sent to the pressure machine in the last adjustment period, and the number of flow files sent to the pressure machine in the corresponding monitoring period is obtained.
Described herein is another termination condition of the above-described pressure test method. That is, the termination condition applicable when the usage setting value is excessively high is preset. It will be appreciated that this termination condition means that when a small number of concurrent requests are followed, and thus the CPU utilization of the server under test fluctuates greatly, the test should be terminated and the corresponding test results obtained.
Steps S1-314": if not, the number of the flow files sent to the press is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press in the previous monitoring period.
Step S1-32: judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value.
In the bottleneck test, the usage threshold is typically set to 70%. Can also be set according to actual needs. Other values may be set in other test items, and are not limited in this disclosure. Steps S1 to 32 describe the judgment condition for terminating execution of the pressure test method described above.
Step S1-33: if so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
The steps S1-33 describe the technical means for obtaining accurate pressure values after the pressure test method is terminated. That is, based on the number of flow files Q N-1 in the previous adjustment period, the number of flow files is increased one by one until the CPU usage of the server under test reaches the usage threshold, and the number of flow files Q N is recorded as the test result Q R. It will be appreciated that the number of current adjustment period flow files obtained by the technical means described in steps S1-31' will cause the CPU usage U of the server under test to exceed the usage threshold. In order to obtain the test result of the number of flow files that finally satisfies the usage threshold, small granularity adjustment is required for the number of flow files.
Preferably, the traffic file adjustment granularity should be refined to vary the number of concurrent requests from one to the next. The method is realized by JMeter tools and matching with a barrel algorithm.
Example two
A pressure testing method is applied to a press and comprises the following steps:
Step S2-1: the method comprises the steps that flow files with the number of first number Q T sent by a receiving control end are received, and flow requests are sent to a tested server according to the flow files with the number of first number Q T;
Step S2-2: and in the corresponding monitoring period of the corresponding adjustment period, receiving the flow files with the quantity of Q N,i sent by the control terminal, and sending a flow request to the tested server according to the flow files with the quantity of Q N,i.
Example III
The pressure testing method is applied to a monitoring end and comprises the following steps:
Step S3-1: acquiring the CPU no-load utilization rate U 0 of the tested server;
Step S3-2: obtaining CPU utilization rate U T of a tested server responding to a flow request sent by a press to the tested server according to a flow file with the quantity of Q T;
Step S3-3: and in the corresponding monitoring period of the corresponding adjustment period, the CPU utilization rate U N,i of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,i is obtained.
Example IV
A method of pressure testing, comprising:
Step S4-1: the control end sends flow files with the number of Q N,1 to the press in the first monitoring period of the current adjusting period;
Step S4-2: the method comprises the steps that in the first monitoring period of a current adjustment period, a press receives flow files with the number of Q N,1 sent by a control end, and sends a flow request to a tested server according to the flow files with the number of Q N,1;
Step S4-3: the monitoring end obtains CPU utilization rate U N,1 of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,1 in the first monitoring period of the current adjustment period; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
Step S4-4: the control end judges whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
Step S4-5: adjusting the quantity of flow files sent to a press according to a preset rule;
The method specifically comprises the following steps:
step S4-51: if yes, the control end sends flow files with the number of Q N to the press machine in the remaining monitoring period of the current adjustment period, and obtains CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the number of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
step S4-52: if not, the control end starts to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjusting period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
Step S4-53: the method comprises the steps that a press receives flow files with the number of Q N,i sent by a control end in a corresponding monitoring period of a corresponding adjustment period, and sends a flow request to a tested server according to the flow files with the number of Q N,i;
Step S4-54: the monitoring end obtains CPU utilization rate U N,i of the tested server responding to concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i in the corresponding monitoring period of the corresponding adjustment period;
Step S4-55: judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
Step S4-56: if so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
Example five
As shown in fig. 2, a pressure testing device, applied to a control end, includes: the system comprises a pressure probing module, a linear judging module and a flow adjusting module;
The pressure probing module is used for sending the flow files with the quantity of Q N,1 to the press machine in the first monitoring period of the current adjustment period, and acquiring the CPU utilization rate U N,1 of the tested server responding to the flow requests sent by the press machine to the tested server according to the flow files with the quantity of Q N,1 from the monitoring end; wherein, Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files finally sent to the press machine in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files finally sent to the press machine in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The linear judging module is used for judging whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
the flow adjustment module is used for adjusting the quantity of flow files sent to the press according to a preset rule;
The method specifically comprises the following steps:
The linear adjustment sub-module is used for sending the flow files with the quantity of Q N to the press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow files with the quantity of Q N from the monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
The nonlinear adjustment sub-module is used for starting to adjust the quantity of flow files sent to the press from the next monitoring period, so that the quantity of the flow files finally sent to the press in the current adjustment period causes the CPU utilization rate increment of the tested server for responding to the concurrent flow request of the press to the tested server according to the quantity of the sent flow files to be a preset utilization rate increment delta U;
the termination judging sub-module is used for judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
and the result acquisition sub-module is used for increasing the number of the flow files one by one based on the number Q N-1 of the flow files in the previous adjustment period until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, recording the number Q N of the flow files as a test result Q R and terminating the execution of the pressure test method.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program loaded on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or from memory, or from ROM. The above-described functions defined in the method of the embodiment of the present application are performed when the computer program is executed by an external processor.
It should be noted that, the computer readable medium of the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in embodiments of the present application, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (Radio Frequency), and the like, or any suitable combination thereof.
The computer readable medium may be contained in the server; or may exist alone without being assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring a frame rate of an application on the terminal in response to detecting that a peripheral mode of the terminal is not activated; when the frame rate meets the screen-extinguishing condition, judging whether a user is acquiring screen information of the terminal; and controlling the screen to enter an immediate dimming mode in response to the judgment result that the user does not acquire the screen information of the terminal.
Computer program code for carrying out operations for embodiments of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing has outlined rather broadly the more detailed description of the application in order that the detailed description of the application that follows may be better understood, and in order that the present principles and embodiments may be better understood; also, it is within the scope of the present application to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the application.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims (9)
1. A pressure testing method applied to a control end, the method comprising:
In the first monitoring period of the current adjustment period, sending flow files with the number of Q N,1 to a press, and acquiring CPU utilization rate U N,1 of a tested server responding to the press according to the flow files with the number of Q N,1 and sending a flow request to the tested server from a monitoring end; wherein Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files that are finally sent to the press in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files that are finally added to the press in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
Judging whether a tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of a press machine to the tested server according to the quantity Q N,1 of the flow files;
Adjusting the quantity of flow files sent to a press according to a preset rule; the adjusting the number of the flow files sent to the press according to the preset rule comprises the following steps:
In response to a "no" result of determining whether the tested server is operating in the linear region, adjusting the number of flow files sent to the press from the next monitoring period, so that the number of flow files finally sent to the press in the current adjusting period causes the CPU utilization increment of the tested server in response to the concurrent flow requests of the press to the tested server according to the number of the sent flow files to be a preset utilization increment Δu, including:
acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
In each monitoring period, acquiring CPU utilization rate U N,i of the tested server responding to the flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
If yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
If not, judging the current monitoring period, and judging whether the CPU utilization rate increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not;
If the current monitoring period is the current monitoring period, if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is yes, repeating the first formula and the second formula until the current monitoring period is judged, and if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is no;
If the current monitoring period is the current, the measured server responds to whether the CPU usage increment delta U N,i of the flow files with the quantity of Q N,i is larger than the delta U, if not, the number of the flow files sent to the press machine is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press machine in the last monitoring period.
2. The method according to claim 1, wherein the adjusting the number of flow files sent to the press according to the preset rule further comprises:
If the result of judging whether the tested server works in the linear region is yes, sending flow files with the quantity of Q N to a press machine in the remaining monitoring period of the current adjustment period, and acquiring CPU utilization rate U N of the tested server for responding to the concurrent flow requests of the press machine to the tested server according to the flow files with the quantity of Q N from a monitoring end, so that the CPU utilization rate increment of the tested server in the current adjustment period is a preset utilization rate increment delta U; the measured server CPU utilization rate increment represents the increment of the CPU utilization rate in the current adjustment period relative to the CPU utilization rate in the last adjustment period;
judging whether the CPU utilization rate of the tested server in the current adjustment period is larger than a utilization rate threshold value;
If so, based on the number Q N-1 of the flow files in the previous adjustment period, the number of the flow files is increased one by one until the CPU utilization rate of the tested server responding to the flow files reaches the utilization rate threshold value, the number Q N of the flow files is recorded as a test result Q R, and the execution of the pressure test method is terminated.
3. A method of testing pressure according to claim 1 or 2, further comprising, prior to: acquiring a linear relation between the CPU utilization rate U of a tested server and the quantity Q of flow files;
The obtaining the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files comprises the following steps:
Acquiring the CPU no-load utilization rate U 0 of the tested server from a monitoring end;
Transmitting a first number Q T of flow files to the press;
acquiring CPU utilization rate U T of the tested server, which responds to the tested server and sends a flow request to the tested server according to the flow files with the quantity of Q T from a monitoring end;
And obtaining the linear function relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent requests according to Q T,UT and U 0.
4. The method according to claim 1, wherein in the current adjustment period, if the current monitoring period is determined, the measured server responds to whether the number of consecutive monitoring periods of whether the CPU usage increment Δu N,i of the press concurrent with the flow request to the measured server according to the flow file with the number Q N,i is greater than Δu is yes exceeds a preset number, and in the next monitoring period, according to a third formula,
A third formula: a N,i+1=AN,i -0.1
The adjustable coefficient a N,i+1 is updated.
5. The method according to claim 4, wherein when the adjustable coefficient a N,i =0.1, if it is determined that the current monitoring period is the current monitoring period, the server to be tested responds to whether the CPU usage increment Δu N,i of the concurrent flow request of the press machine to the server to be tested according to the number of flow files is greater than Δu, and if so, the number of flow files sent to the press machine is increased one by one based on the number Q N-1 of flow files sent to the press machine in the last adjustment period, and the number of flow files sent to the press machine in the corresponding monitoring period is obtained.
6. A pressure testing method applied to a press, the method comprising:
Receiving flow files with the number of the first number Q T sent by a control terminal, and sending a flow request to a tested server according to the flow files with the number of the first number Q T;
In the corresponding monitoring period of the corresponding adjustment period, the receiving control end sends the flow files with the quantity of Q N,i according to the pressure testing method of any one of claims 1-5, and sends the flow requests to the tested server according to the flow files with the quantity of Q N,i.
7. A pressure testing method applied to a monitoring end, the method comprising:
Acquiring the CPU no-load utilization rate U 0 of the tested server;
Acquiring a CPU utilization rate U T of the tested server responding to the flow request sent by the press machine according to the quantity Q T to the tested server according to the flow file;
And in the corresponding monitoring period of the corresponding adjustment period, the CPU utilization rate U N,i of the tested server responding to the concurrent flow request of the press machine to the tested server according to the flow file with the quantity of Q N,i is obtained.
8. A method of pressure testing, the method comprising:
the control end sends flow files with the number of Q N,1 to the press in the first monitoring period of the current adjusting period;
The method comprises the steps that in the first monitoring period of a current adjustment period, a press receives flow files with the number of Q N,1 sent by a control end, and sends a flow request to a tested server according to the flow files with the number of Q N,1;
The monitoring end obtains CPU utilization rate U N,1 of a tested server responding to concurrent flow requests of a press machine to the tested server according to the flow files with the quantity of Q N,1 in the first monitoring period of the current adjustment period; wherein Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files that are finally sent to the press in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files that are finally added to the press in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The control end judges whether the tested server works in a linear region according to the linear relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
Adjusting the quantity of flow files sent to a press according to a preset rule; the adjusting the number of the flow files sent to the press according to the preset rule comprises the following steps:
In response to a "no" result of determining whether the tested server is operating in the linear region, adjusting the number of flow files sent to the press from the next monitoring period, so that the number of flow files finally sent to the press in the current adjusting period causes the CPU utilization increment of the tested server in response to the concurrent flow requests of the press to the tested server according to the number of the sent flow files to be a preset utilization increment Δu, including:
acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
In each monitoring period, acquiring CPU utilization rate U N,i of the tested server responding to the flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
If yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
If not, judging the current monitoring period, and judging whether the CPU utilization rate increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not;
If the current monitoring period is the current monitoring period, if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is yes, repeating the first formula and the second formula until the current monitoring period is judged, and if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is no;
If the current monitoring period is the current, the measured server responds to whether the CPU usage increment delta U N,i of the flow files with the quantity of Q N,i is larger than the delta U, if not, the number of the flow files sent to the press machine is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press machine in the last monitoring period.
9. A pressure testing device for a control terminal, the device comprising: the system comprises a pressure probing module, a linear judging module and a flow adjusting module;
The pressure probing module is used for sending flow files with the number of Q N,1 to the press machine in the first monitoring period of the current adjustment period, and acquiring CPU utilization rate U N,1 of the tested server responding to the flow requests of the press machine according to the flow files with the number of Q N,1 from the monitoring end; wherein Q N,1=QN-1+ΔQN-1,QN-1 represents the number of flow files that are finally sent to the press in the last adjustment period, Δq N-1=QN-1-QN-2 represents the number of flow files that are finally added to the press in the last adjustment period, 1 adjustment period includes n monitoring periods, n is a natural number, and the number of concurrent flow requests corresponds to the number of flow files;
The linearity judging module is used for judging whether the tested server works in a linearity region according to the linearity relation between the CPU utilization rate U of the tested server and the quantity Q of concurrent flow files, and the quantity Q N,1 of the flow files and the CPU utilization rate U N,1 of the tested server responding to concurrent flow requests of the press machine to the tested server according to the quantity Q N,1 of the flow files;
the flow adjustment module is used for adjusting the number of flow files sent to the press according to a preset rule; the adjusting the number of the flow files sent to the press according to the preset rule comprises the following steps:
In response to a "no" result of determining whether the tested server is operating in the linear region, adjusting the number of flow files sent to the press from the next monitoring period, so that the number of flow files finally sent to the press in the current adjusting period causes the CPU utilization increment of the tested server in response to the concurrent flow requests of the press to the tested server according to the number of the sent flow files to be a preset utilization increment Δu, including:
acquiring the quantity of flow files sent to the press machine in a corresponding monitoring period according to a first formula and a second formula;
A first formula: q N,i+1=QN-1+ΔQN,i+1
A second formula:
wherein i is a natural number and represents an ith monitoring period in the current adjustment period;
ΔU N,i represents the measured server CPU usage increment monitored in the ith monitoring period in the nth adjustment period;
Δq N,i represents the number of flow files sent to the press during the nth adjustment period, the ith monitoring period;
Q N-1 represents the number of flow files finally sent to the press in the N-1 adjustment period;
a N,i = 1.0,0.9,0.8, … …,0.1, representing an adjustable coefficient;
In each monitoring period, acquiring CPU utilization rate U N,i of the tested server responding to the flow requests of the press machine to the tested server according to the flow files with the quantity of Q N,i from a monitoring end, and judging whether the CPU utilization rate increment delta U N,i of the tested server in the current monitoring period is equal to delta U or not;
If yes, taking the quantity Q N,i of the flow files sent to the press in the current monitoring period as the quantity of the flow files finally sent to the press in the current adjusting period, and recording the quantity of the flow files finally sent to the press in the current adjusting period;
If not, judging the current monitoring period, and judging whether the CPU utilization rate increment delta U N,i of the tested server responding to the flow file with the quantity of Q N,i is larger than delta U or not;
If the current monitoring period is the current monitoring period, if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is yes, repeating the first formula and the second formula until the current monitoring period is judged, and if the result of the CPU usage increment DeltaU N,i of the tested server responding to the flow file with the number of Q N,i is larger than DeltaU is no;
If the current monitoring period is the current, the measured server responds to whether the CPU usage increment delta U N,i of the flow files with the quantity of Q N,i is larger than the delta U, if not, the number of the flow files sent to the press machine is increased one by one on the basis of the number Q N,i-1 of the flow files sent to the press machine in the last monitoring period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210769032.2A CN115022203B (en) | 2022-06-30 | 2022-06-30 | Pressure testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210769032.2A CN115022203B (en) | 2022-06-30 | 2022-06-30 | Pressure testing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115022203A CN115022203A (en) | 2022-09-06 |
CN115022203B true CN115022203B (en) | 2024-05-07 |
Family
ID=83078026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210769032.2A Active CN115022203B (en) | 2022-06-30 | 2022-06-30 | Pressure testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115022203B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116130076B (en) * | 2023-04-04 | 2023-06-20 | 山东新蓝海科技股份有限公司 | Medical equipment information management system based on cloud platform |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187848A (en) * | 2015-08-18 | 2015-12-23 | 浪潮软件集团有限公司 | Content distribution network system and method |
CN106649057A (en) * | 2015-10-28 | 2017-05-10 | 北京国双科技有限公司 | Method and device for testing server pressure |
CN109426593A (en) * | 2017-08-24 | 2019-03-05 | 北京京东尚科信息技术有限公司 | The method and apparatus of automatic evaluation system performance |
WO2020238345A1 (en) * | 2019-05-31 | 2020-12-03 | 深圳前海微众银行股份有限公司 | Pressure test method, device, system, apparatus, and computer readable storage medium |
CN112506751A (en) * | 2020-11-27 | 2021-03-16 | 浪潮电子信息产业股份有限公司 | Method, device, equipment and medium for contrast test of overall performance of server |
CN114416512A (en) * | 2022-01-25 | 2022-04-29 | 中国工商银行股份有限公司 | Test method, test device, electronic equipment and computer storage medium |
-
2022
- 2022-06-30 CN CN202210769032.2A patent/CN115022203B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187848A (en) * | 2015-08-18 | 2015-12-23 | 浪潮软件集团有限公司 | Content distribution network system and method |
CN106649057A (en) * | 2015-10-28 | 2017-05-10 | 北京国双科技有限公司 | Method and device for testing server pressure |
CN109426593A (en) * | 2017-08-24 | 2019-03-05 | 北京京东尚科信息技术有限公司 | The method and apparatus of automatic evaluation system performance |
WO2020238345A1 (en) * | 2019-05-31 | 2020-12-03 | 深圳前海微众银行股份有限公司 | Pressure test method, device, system, apparatus, and computer readable storage medium |
CN112506751A (en) * | 2020-11-27 | 2021-03-16 | 浪潮电子信息产业股份有限公司 | Method, device, equipment and medium for contrast test of overall performance of server |
CN114416512A (en) * | 2022-01-25 | 2022-04-29 | 中国工商银行股份有限公司 | Test method, test device, electronic equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115022203A (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dinda | Online prediction of the running time of tasks | |
US7568028B2 (en) | Bottleneck detection system, measurement object server, bottleneck detection method and program | |
CN115022203B (en) | Pressure testing method and device | |
US6775825B1 (en) | Common software application definition for resource management | |
JPWO2005017736A1 (en) | System and program for detecting bottleneck in disk array device | |
CN110780990A (en) | Performance detection method, performance detection device, server and storage medium | |
CN109857633B (en) | Task computing power estimation method and device and storage medium | |
CN111708670A (en) | Method and device for determining task time parameters in real-time operating system and vehicle | |
CN111581192A (en) | Method, device, equipment and medium for managing important sensitive parameters of nuclear power plant reactor | |
CN114924965A (en) | Performance prediction system for software development based on Internet | |
CN114608678A (en) | Water meter calibration method and device based on pulse method | |
CN110334118A (en) | Data query method and device | |
CN116682479A (en) | Method and system for testing enterprise-level solid state disk time delay index | |
CN115290165A (en) | Detection method, system and device of ultrasonic water meter | |
CN114416441A (en) | Real-time database automatic testing method and system, electronic equipment and storage medium | |
US8881156B2 (en) | Apportioning summarized metrics based on unsummarized metrics in a computing system | |
CN113765157B (en) | Power generation unit frequency modulation performance measuring and calculating method and system suitable for frequency modulation auxiliary service market | |
CN113610123B (en) | Multi-source heterogeneous data fusion method and system based on Internet of things | |
CN112710915B (en) | Method, device, electronic equipment and computer storage medium for monitoring power equipment | |
CN115080614B (en) | Monitoring data processing method, system, electronic equipment and storage medium | |
CN115290798B (en) | Stability performance monitoring method and terminal of transformer oil chromatographic online monitoring device | |
CN118277223B (en) | Server performance evaluation method, electronic device, storage medium and product | |
CN113609659B (en) | Method, device and equipment for determining evaporation loss determination test conditions | |
CN114885231B (en) | Communication protocol self-adaptive signal acquisition method, system, terminal and medium | |
CN114138578B (en) | Server testing method and 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 |