CN110083519A - Load test approach and system - Google Patents

Load test approach and system Download PDF

Info

Publication number
CN110083519A
CN110083519A CN201910365237.2A CN201910365237A CN110083519A CN 110083519 A CN110083519 A CN 110083519A CN 201910365237 A CN201910365237 A CN 201910365237A CN 110083519 A CN110083519 A CN 110083519A
Authority
CN
China
Prior art keywords
target machine
pressure
threshold value
input data
surveyed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910365237.2A
Other languages
Chinese (zh)
Inventor
姜玉玺
张文佳
李先华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicompay Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicompay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicompay Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910365237.2A priority Critical patent/CN110083519A/en
Publication of CN110083519A publication Critical patent/CN110083519A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3433Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

This application discloses a kind of load test approach and systems, this method comprises: monitor obtains the output data for being surveyed target machine by pressure, and judge whether the output data meets preset condition;If the output data meets the preset condition, loading controls determine the incremental precision of input data;Loading controls determine input data according to the incremental precision of the input data, and the input data is loaded into described pressed and surveys target machine, and the input data includes number of users.The working efficiency of load testing can be improved in the application, and pressure test sequence is finer, and test process is more accurate, and cost of labor is lower.

Description

Load test approach and system
Technical field
The invention belongs to software testing technology fields, and in particular to a kind of load test approach and system.
Background technique
It is that 1 number of users is first arranged that load testing general at present, which increases pressure mode, executes a test script and looks into See whether network communication is normal between pressure survey General controller and tested target machine, after confirming network-in-dialing and reporting an error without return, Set a relatively low number of users numerical value (such as 50).Test Engineer according to load testing return the result with it is expected Performance indicator comparison, is manually arranged bigger number of users numerical value by rule of thumb, and manual pressure sees that actual loading is tested step by step As a result with the difference of estimated performance index, performance level is evaluated for measurand.
Pressurization strategy is not smart enough in the prior art, lacks automation, needs to manually adjust number of users numerical value, great Liang Ren Work repetitive operation causes human cost high, and number of users magnitude is arranged by rule of thumb will lead to actual loading test result precision not Foot, can not accurately reflect the actual performance of software product.
Summary of the invention
The application is not smart enough for existing load testing pressurization strategy, lacks automation, needs to manually adjust user Quantity numerical value, human cost is high, and number of users magnitude is arranged by rule of thumb will lead to actual loading test result precision deficiency, can not Accurately the problem of the actual performance of reflection software product, a kind of load test approach and system are provided.
The application provides a kind of load test approach characterized by comprising
Monitor obtains the output data that target machine is surveyed by pressure, and judges whether the output data meets preset item Part;
If the output data meets the preset condition, loading controls determine the incremental precision of input data;
Loading controls determine input data according to the incremental precision of the input data, and the input data is loaded Target machine is surveyed by pressure to described, the input data includes number of users.
Optionally, the output data includes described by the quilt under the handling capacity of pressure survey target machine, pre-set user quantity The request-reply error rate that target machine is surveyed by pressure under the response time of pressure survey target machine and pre-set user quantity;
The preset condition specifically includes: the handling capacity for surveying target machine by pressure is less than first threshold, and described The response time for surveying target machine by pressure is less than second threshold, and institute under the pre-set user quantity under pre-set user quantity It states and third threshold value is less than by the request-reply error rate that pressure surveys target machine.
Optionally, the output data further include: the memory usage that target machine is surveyed by pressure, the method are also wrapped It includes:
Monitor judges the memory usage by pressure survey target machine whether less than the 4th threshold value, if it is not, then carrying out pre- It is alert, and generate load testing report.
Optionally, the output data further include: the CPU usage that target machine is surveyed by pressure, the method also includes:
Monitor judges the CPU usage by pressure survey target machine whether less than the 5th threshold value, if it is not, then carrying out pre- It is alert, and generate load testing report.
Optionally, the incremental precision of the input data is any positive integer in preset incremental accuracy rating, described Loading controls determine the incremental precision of input data, specifically include:
Loading controls calculate the first difference, described pre- of the handling capacity and the first threshold that target machine is surveyed by pressure If the second difference and the default use of the response time and the second threshold for being surveyed target machine by pressure under number of users The third difference of the request-reply error rate and the third threshold value that target machine is surveyed by pressure under amount amount;
Loading controls judge whether first difference is greater than the 6th threshold value, and whether second difference is greater than Seven threshold values, and whether the 5th difference is greater than the 7th threshold value;
If so, loading controls determine that the incremental precision of the input data is greater than the 8th threshold value;
If it is not, then loading controls determine the incremental precision of the input data less than the 9th threshold value.
The application also provides a kind of load testing system characterized by comprising
It is preset to judge whether the output data meets for obtaining the output data for being surveyed target machine by pressure for monitor Condition;
Loading controls, if meeting the preset condition for the output data, it is determined that input data is incremented by Precision;Input data is determined according to the incremental precision of the input data, and the input data is loaded into described pressed and is surveyed Target machine, the input data include number of users.
Optionally, the output data includes described by the quilt under the handling capacity of pressure survey target machine, pre-set user quantity The request-reply error rate that target machine is surveyed by pressure under the response time of pressure survey target machine and pre-set user quantity;
The preset condition specifically includes: the handling capacity for surveying target machine by pressure is less than first threshold, and described The response time for surveying target machine by pressure is less than second threshold, and institute under the pre-set user quantity under pre-set user quantity It states and third threshold value is less than by the request-reply error rate that pressure surveys target machine.
Optionally, the output data further include: the memory usage that target machine is surveyed by pressure, the monitor are also used In:
The memory usage by pressure survey target machine is judged whether less than the 4th threshold value, if it is not, then carrying out early warning, and raw It is reported at load testing.
Optionally, the output data further include: the CPU usage that target machine is surveyed by pressure, the monitor are also used In:
The CPU usage by pressure survey target machine is judged whether less than the 5th threshold value, if it is not, then carrying out early warning, and raw It is reported at load testing.
Optionally, the loading controls, are specifically used for:
Calculate the first difference, the pre-set user quantity of the handling capacity and the first threshold that target machine is surveyed by pressure Under it is described by pressure survey target machine response time and the second threshold the second difference and the pre-set user quantity under institute State the third difference of request-reply error rate and the third threshold value that target machine is surveyed by pressure;
Judge whether first difference is greater than the 6th threshold value, and whether second difference is greater than the 7th threshold value, and And whether the 5th difference is greater than the 7th threshold value;
If so, determining that the incremental precision of the input data is greater than the 8th threshold value;
If not, it is determined that the incremental precision of the input data is less than the 9th threshold value.
The working efficiency of load testing can be improved in the application, and Self-pressurizing agri is passed through compared to manually according to test result and practice It tests and increases stressed method, pressure test sequence is finer, and test process is more accurate, and cost of labor is lower.Test Engineer without On duty pressure survey need to be carried out, need to only configure the target of load testing, realizing that pressure test sequence is unattended can be commented by performance Grade target completes load testing, shows automation, intelligentized load testing solution.
Detailed description of the invention
Fig. 1 is a kind of flow chart for load test approach that the application first embodiment provides;
Fig. 2 is a kind of another flow chart for load test approach that the application first embodiment provides;
Fig. 3 is a kind of structural schematic diagram for load testing system that the application second embodiment provides;
Fig. 4 is a kind of another structural schematic diagram for load testing system that the application second embodiment provides.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawing and specific embodiment party Present invention is further described in detail for formula.
The application provides a kind of load test approach and system.Below in conjunction with the attached drawing of embodiment provided by the present application It is described in detail one by one.
A kind of load test approach that the application first embodiment provides is as follows:
The embodiment of the present application is realized based on load testing system, as shown in figure 3, load testing system includes: to monitor Device 1, loading controls 2, wherein
Monitor is compared by the output data that pressure surveys target machine with the bottleneck data being arranged in advance by collecting, and is being exported When bottleneck data are not completely covered in data, pressurization instruction is sent to loading controls, while by output data and bottleneck data Loading controls are synchronized to, dynamic improves number of users to increase pressure, gradually close to load testing target, i.e. bottleneck data.
Loading controls, the result returned according to monitor and pre-set bottleneck data comparison, according to comparing result It determines the incremental precision of number of users, and pressure is increased according to determining incremental precision automatically.
In a kind of possible embodiment, as shown in figure 4, it illustrates a kind of another structures of load testing system to show It is intended to, load testing system further include: pressure surveys General controller 3, surveys target machine 4 and performance parameter configurator 5 by pressure.
Pressure surveys General controller, for testing entire load testing system.Preset test script is executed, and is connect The input data that loading controls are sent is received, input data is sent to, target machine is surveyed by pressure.Input data herein can be Initial number of users, the increased number of users of each round loading controls after being also possible to.
Target machine is surveyed by pressure, is the object of load testing.Number of users is sent to, target machine is surveyed by pressure, to realize pressure Test.
Performance parameter configurator, the increasing accuracy rating certainly of setting bottleneck data, early-warning parameters and number of users.
As shown in Figure 1, it illustrates a kind of flow chart of load test approach provided by the embodiments of the present application, including it is following Step.
Step S101, monitor obtains the output data that target machine is surveyed by pressure, and judges whether the output data meets Preset condition, if so, thening follow the steps S102;If it is not, then process terminates.
It further include that the test script of load testing is imported into pressure to survey in General controller before step S101, then performance Parameter configuration device is pre-configured with the bottleneck parameter of load testing, the increasing accuracy rating certainly of threshold value of warning and number of users, and pressure is surveyed total Control device executes the test script imported in advance, request queue is added in the input data received, and input data is sent to Tested target machine, to carry out pressure survey for input data.Input data herein can be initial number of users, can also be with The increased number of users of each round loading controls after being.Initial number of users is 1.Monitor is from performance parameter configurator Middle acquisition bottleneck data and threshold value of warning.
It should be noted that the bottleneck data are performance grading, including throughput threshold (first threshold), 99% request Response time threshold value (second threshold), request-reply error rate threshold (third threshold value).Other ginsengs can also be arranged in performance grading Number, such as average request response time threshold value, are not construed as limiting herein.
The issued transaction number threshold value of the throughput threshold, that is, per second, for example, TPS: > 2000, indicate that throughput threshold is Issued transaction number per second is greater than 2000;99% request response time threshold value indicates the response of the 99%th user in request queue Time, for example, number of users 100, the response time of the 99th user;Request-reply error rate threshold is the mistake of processing task Accidentally rate, for example, 0%.
It is outstanding, good, qualified etc. that the performance rate can be set to, and the output number tested is being done to tested target machine When according to reaching bottleneck data, the grade of this load testing can be determined according to the performance rate of bottleneck data achieved.Example Such as, it is as follows that performance rate can be set: 1. grade: outstanding;TPS:>2000,99% response time:<0.2s, request are answered Answer error rate: 0%;2. grade: good;TPS :≤2000,99% response time: < 0.5s, error rate: 0%;3. grade: closing Lattice;TPS :≤500,99% response time: < 1.5s, error rate: < 0.1%.
In addition, performance parameter configurator can also be pre-configured with threshold value of warning, including memory usage threshold value (the 4th threshold Value) and CPU usage threshold value (the 5th threshold value), early warning is provided in tested target machine overload.The memory usage threshold value It can according to need sets itself with the CPU usage threshold value, be not construed as limiting herein, can be set to a biggish number, Such as memory usage threshold value is 80%, CPU usage threshold value is 70%.
Number of users from accuracy rating is increased, be the closed interval of a positive integer, such as [1,100], then number of users It can be arbitrary positive integer between 1 and 100 from precision is increased.
In step s101, monitor acquires tested target by keeping monitor process session with tested target machine The output data of machine, i.e., by the response time for being surveyed target machine by pressure under the handling capacity of pressure survey target machine, pre-set user quantity With the request-reply error rate that target machine is surveyed by pressure described under pre-set user quantity, by these collected output datas with from property The preset bottleneck data obtained in energy parameter configuration device compare, if output data has covered bottleneck data, terminate It tests and generates load testing report;Otherwise pressurization instruction is sent to loading controls, so that loading controls increase number of users Amount.It pressurizes to tested target machine, until in the output data of monitor acquisition whole covering performance parameter configuration devices Bottleneck data, terminate load testing simultaneously generate load testing report.
Preferably, covering herein refers to that i.e. preset condition specifically includes: the handling capacity that target machine is surveyed by pressure Less than first threshold, and under the pre-set user quantity it is described by pressure survey target machine response time be less than second threshold, and And the request-reply error rate for surveying target machine by pressure is less than third threshold value under the pre-set user quantity.
Preferably, monitor can also acquire the CPU usage and memory usage of tested target machine, join with from performance The threshold value of warning obtained in number configurator compares, and reaches pre- in the CPU usage and memory usage of tested target machine Early warning is issued when alert threshold value, is no longer tested.Monitor judges whether the memory usage for surveying target machine by pressure is less than 4th threshold value if it is not, then carrying out early warning, and generates load testing report.Monitor judges that the CPU for surveying target machine by pressure is accounted for With rate whether less than the 5th threshold value, if it is not, then carrying out early warning, and load testing report is generated.
Step S102, loading controls determine the incremental precision of input data.
Preferably, before the step S102, further includes: obtain the incremental essence of number of users from performance parameter configurator Spend range.
Preferably, the incremental precision of the input data is any positive integer in preset incremental accuracy rating, such as Fig. 2 Shown, the step S102, loading controls determine the incremental precision of input data, comprising:
Step S102-1, loading controls calculate the handling capacity and the first of the first threshold that target machine is surveyed by pressure Under difference, the pre-set user quantity it is described by pressure survey target machine response time and the second threshold the second difference and The third difference of the request-reply error rate and the third threshold value that target machine is surveyed by pressure under the pre-set user quantity.
Step S102-2, loading controls judge whether first difference is greater than the 6th threshold value, and described second poor Whether value is greater than the 7th threshold value, and whether the 5th difference is greater than the 8th threshold value, if so, executing step S201-3;If it is not, Execute step S201-4.
Step S102-3, loading controls determine that the incremental precision of the input data is greater than the 9th threshold value;
Step S102-4, loading controls determine the incremental precision of the input data less than the tenth threshold value.
In step s 102, the pressurization instruction that monitor is sent is received, according to the synchronous output data of monitor and bottleneck Data, judge whether the difference of output data and bottleneck data is greater than first threshold, that is, judge output data and bottleneck data are No difference is larger, and in output data and larger bottleneck data difference, the incremental precision that number of users is arranged is larger, such as 50, In output data and smaller bottleneck data difference, the incremental precision that number of users is arranged is smaller, such as 1.Meaning is to say, when defeated Out data increase automatically closer to performance rate number of users granularity it is finer.
Specifically, loading controls, which are calculated, surveys the handling capacity of target machine and the first difference of first threshold, default use by pressure It is surveyed under amount amount by pressure under the response time of target machine and the second difference and pre-set user quantity of second threshold and mesh is surveyed by pressure The request-reply error rate of mark machine and the third difference of third threshold value.
When the first difference be greater than the 6th threshold value, and the second difference be greater than the 7th threshold value, and the 5th difference be greater than the 8th When threshold value, judge that output data and bottleneck data difference are larger, the incremental precision that number of users is arranged is larger, that is, it is big to be incremented by precision In the 9th threshold value, the 9th threshold value is to be incremented by biggish value in accuracy rating.When above-mentioned condition is unsatisfactory for, judge output data and Bottleneck data difference is smaller, and the incremental precision that number of users is arranged is smaller, that is, is incremented by precision less than the tenth threshold value, the tenth threshold value is It is incremented by lesser value in accuracy rating.6th threshold value, the 7th threshold value and the 8th threshold value be threshold value corresponding with difference, generally compared with Big number, specific data can sets itself as required, be not construed as limiting herein.
Step S103, loading controls determine input data according to the incremental precision of the input data, and will be described defeated Enter data be loaded into it is described by pressure survey target machine.
In this step, loading controls determine input data according to the incremental precision of number of users, and pressure surveys General controller will Request queue is added in the number of users received, and the number of users is sent to tested target machine, to be directed to the input number According to carrying out pressure survey.The output data that target machine is surveyed by pressure is obtained in monitor, when judging that output data meets preset condition, Pressurization instruction is sent to loading controls, so that loading controls increase number of users again, realizes that circulation is incremented by number of users, When the output data of monitor acquisition is no longer complies with preset condition, terminate load testing, to the test result number of statistics It is recorded according to being collected, and generates load testing report.
This application provides a kind of method of load testing pressurization, the customized setting bottleneck threshold on performance parameter configurator It is worth (including throughput threshold value, 99% response time threshold value, request-reply error rate threshold), number of users is arranged increases precision certainly Test script is imported into pressure and surveyed in General controller by range, is pressed survey General controller to execute by test script design and is pressed survey, at the beginning of device data Beginningization is pressed since a number of users and is surveyed.Monitor is tested the output data of target machine by collecting, by above-mentioned setting Bottleneck threshold value increases the effect that number of users has reached pressurization automatically, increases the granularity of number of users automatically closer to bottleneck threshold value It is finer, ultimately generate load testing report.
The working efficiency of load testing can be improved in the application, and Self-pressurizing agri is passed through compared to manually according to test result and practice It tests and increases stressed method, pressure test sequence is finer, and test process is more accurate, and cost of labor is lower.Test Engineer without On duty pressure survey need to be carried out, need to only configure the target of load testing, realizing that pressure test sequence is unattended can be commented by performance Grade target completes load testing, shows automation, intelligentized load testing solution.
A kind of load testing system that the application second embodiment provides is as follows:
As shown in figure 3, it illustrates a kind of structural schematic diagrams of load testing system, comprising: monitor 1, pressurized control Device 2, wherein
It is preset to judge whether the output data meets for obtaining the output data for being surveyed target machine by pressure for monitor 1 Condition;
Loading controls 2, if meeting the preset condition for the output data, it is determined that input data is incremented by Precision;Input data is determined according to the incremental precision of the input data, and the input data is loaded into described pressed and is surveyed Target machine, the input data include number of users.
Preferably, the output data includes described by the quilt under the handling capacity of pressure survey target machine, pre-set user quantity The request-reply error rate that target machine is surveyed by pressure under the response time of pressure survey target machine and pre-set user quantity;
The preset condition specifically includes: the handling capacity for surveying target machine by pressure is less than first threshold, and described The response time for surveying target machine by pressure is less than second threshold, and institute under the pre-set user quantity under pre-set user quantity It states and third threshold value is less than by the request-reply error rate that pressure surveys target machine.
Preferably, the output data further include: the memory usage that target machine is surveyed by pressure, the monitor 1 is also For:
The memory usage by pressure survey target machine is judged whether less than the 4th threshold value, if it is not, then carrying out early warning, and raw It is reported at load testing.
Preferably, the output data further include: the CPU usage that target machine is surveyed by pressure, the monitor 1 are also used In:
The CPU usage by pressure survey target machine is judged whether less than the 5th threshold value, if it is not, then carrying out early warning, and raw It is reported at load testing.
Preferably, the loading controls 2, are specifically used for:
Calculate the first difference, the pre-set user quantity of the handling capacity and the first threshold that target machine is surveyed by pressure Under it is described by pressure survey target machine response time and the second threshold the second difference and the pre-set user quantity under institute State the third difference of request-reply error rate and the third threshold value that target machine is surveyed by pressure;
Judge whether first difference is greater than the 6th threshold value, and whether second difference is greater than the 7th threshold value, and And whether the 5th difference is greater than the 7th threshold value;
If so, determining that the incremental precision of the input data is greater than the 8th threshold value;
If not, it is determined that the incremental precision of the input data is less than the 9th threshold value.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.

Claims (10)

1. a kind of load test approach characterized by comprising
Monitor obtains the output data that target machine is surveyed by pressure, and judges whether the output data meets preset condition;
If the output data meets the preset condition, loading controls determine the incremental precision of input data;
Loading controls determine input data according to the incremental precision of the input data, and the input data is loaded into institute It states and target machine is surveyed by pressure, the input data includes number of users.
2. load test approach according to claim 1, which is characterized in that the output data includes described by pressure survey mesh Under the handling capacity of mark machine, pre-set user quantity it is described by pressure survey target machine response time and pre-set user quantity under described pressed Survey the request-reply error rate of target machine;
The preset condition specifically includes: the handling capacity for surveying target machine by pressure is less than first threshold, and described default The response time for surveying target machine by pressure is less than second threshold, and the quilt under the pre-set user quantity under number of users The request-reply error rate that pressure surveys target machine is less than third threshold value.
3. load test approach according to claim 1, which is characterized in that the output data further include: described to be pressed The memory usage for surveying target machine, the method also includes:
Monitor judge it is described whether the memory usage of target machine is surveyed less than the 4th threshold value by pressure, if it is not, then carry out early warning, and Generate load testing report.
4. load test approach according to claim 1, which is characterized in that the output data further include: described to be pressed The CPU usage for surveying target machine, the method also includes:
Monitor judge it is described whether the CPU usage of target machine is surveyed less than the 5th threshold value by pressure, if it is not, then carry out early warning, and Generate load testing report.
5. load test approach according to claim 1, which is characterized in that the incremental precision of the input data is default Incremental accuracy rating in any positive integer, the loading controls determine the incremental precision of input data, specifically include:
Loading controls calculate the first difference, the default use of the handling capacity and the first threshold that target machine is surveyed by pressure The second difference and the pre-set user number of the response time and the second threshold that target machine is surveyed by pressure under amount amount The third difference of the request-reply error rate and the third threshold value that target machine is surveyed by pressure under amount;
Loading controls judge whether first difference is greater than the 6th threshold value, and whether second difference is greater than the 7th threshold Value, and whether the 5th difference is greater than the 8th threshold value;
If so, loading controls determine that the incremental precision of the input data is greater than the 9th threshold value;
If it is not, then loading controls determine the incremental precision of the input data less than the tenth threshold value.
6. a kind of load testing system characterized by comprising
Monitor judges whether the output data meets preset condition for obtaining the output data for being surveyed target machine by pressure;
Loading controls, if meeting the preset condition for the output data, it is determined that the incremental precision of input data; Input data is determined according to the incremental precision of the input data, and the input data is loaded into described pressed and surveys target Machine, the input data include number of users.
7. load testing system according to claim 6, which is characterized in that the output data includes described by pressure survey mesh Under the handling capacity of mark machine, pre-set user quantity it is described by pressure survey target machine response time and pre-set user quantity under described pressed Survey the request-reply error rate of target machine;
The preset condition specifically includes: the handling capacity for surveying target machine by pressure is less than first threshold, and described default The response time for surveying target machine by pressure is less than second threshold, and the quilt under the pre-set user quantity under number of users The request-reply error rate that pressure surveys target machine is less than third threshold value.
8. load testing system according to claim 6, which is characterized in that the output data further include: described to be pressed The memory usage of target machine is surveyed, the monitor is also used to:
Judge that the memory usage for surveying target machine by pressure whether less than the 4th threshold value, if it is not, then carrying out early warning, and generates negative Carry test report.
9. load testing system according to claim 6, which is characterized in that the output data further include: described to be pressed The CPU usage of target machine is surveyed, the monitor is also used to:
Judge that the CPU usage for surveying target machine by pressure whether less than the 5th threshold value, if it is not, then carrying out early warning, and generates negative Carry test report.
10. load testing system according to claim 7, which is characterized in that the loading controls are specifically used for:
It calculates described by institute under the first difference of the handling capacity of pressure survey target machine and the first threshold, the pre-set user quantity It states and is surveyed the quilt under the response time of target machine and the second difference and the pre-set user quantity of the second threshold by pressure Pressure surveys the request-reply error rate of target machine and the third difference of the third threshold value;
Judge whether first difference is greater than the 6th threshold value, and whether second difference is greater than the 7th threshold value, and institute State whether the 5th difference is greater than the 7th threshold value;
If so, determining that the incremental precision of the input data is greater than the 8th threshold value;
If not, it is determined that the incremental precision of the input data is less than the 9th threshold value.
CN201910365237.2A 2019-04-30 2019-04-30 Load test approach and system Pending CN110083519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910365237.2A CN110083519A (en) 2019-04-30 2019-04-30 Load test approach and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910365237.2A CN110083519A (en) 2019-04-30 2019-04-30 Load test approach and system

Publications (1)

Publication Number Publication Date
CN110083519A true CN110083519A (en) 2019-08-02

Family

ID=67418404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910365237.2A Pending CN110083519A (en) 2019-04-30 2019-04-30 Load test approach and system

Country Status (1)

Country Link
CN (1) CN110083519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113436670A (en) * 2020-03-23 2021-09-24 美商矽成积体电路股份有限公司 Memory detection method and memory detection system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364344A (en) * 2008-06-27 2009-02-11 北京工业大学 Road network limitation capacity determining method based on pressure test
US20120311128A1 (en) * 2011-05-31 2012-12-06 Pechanec Jiri Performance testing in a cloud environment
CN108376112A (en) * 2018-02-09 2018-08-07 腾讯科技(深圳)有限公司 Method for testing pressure, device and readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364344A (en) * 2008-06-27 2009-02-11 北京工业大学 Road network limitation capacity determining method based on pressure test
US20120311128A1 (en) * 2011-05-31 2012-12-06 Pechanec Jiri Performance testing in a cloud environment
CN108376112A (en) * 2018-02-09 2018-08-07 腾讯科技(深圳)有限公司 Method for testing pressure, device and readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113436670A (en) * 2020-03-23 2021-09-24 美商矽成积体电路股份有限公司 Memory detection method and memory detection system
CN113436670B (en) * 2020-03-23 2024-03-26 美商矽成积体电路股份有限公司 Memory detection method and memory detection system

Similar Documents

Publication Publication Date Title
CN107015892A (en) A kind of method for testing pressure, device and system
CN103019942B (en) Method and system for automatically testing applications to be tested based on android system
CN109408399B (en) Calculation power estimation method, device, equipment and storage medium
CN105790801B (en) The pairing test method and test device of a kind of electronic equipment and bluetooth equipment
CN111157820B (en) Charging pile testing method, device and system, storage medium and processor
US20130006569A1 (en) Control policy adjusting apparatus, method of adjusting control policy, and program
CN110083519A (en) Load test approach and system
CN104935446B (en) The network quality appraisal procedure and device excavated based on confidence level
CN101246444A (en) Module testing method and system
CN103037239A (en) System and method for testing receiving performance of digital video receiving terminal
CN104106245A (en) Managing network connection for use by plurality of application program processes
CN106201810A (en) A kind of method of testing, device
CN110488188A (en) The three-dimensional healthy method for quantitatively evaluating of unit based on dynamic threshold
JP5545087B2 (en) Distributed control system test execution management device
CN107396392A (en) Radio-frequency indicator testing method, device, equipment and the storage medium of WAP
CN103577290A (en) Test script playback rhythm control method and system
CN109144840A (en) A kind of test method, device and its equipment
KR20150067488A (en) Method for evaluating smart-grid strategy
CN110113089A (en) WiFi device, the control method of WiFi wireless product, device and storage medium
CN109815067A (en) Method for testing pressure, device, computer equipment and computer readable storage medium
CN106250298B (en) A kind of test method and device
CN106371419B (en) The diagnostic device and diagnostic method of operation for monitoring control loop
CN112887171B (en) Response rate testing method and device of electric energy meter operating system and computer equipment
CN107332682B (en) A kind of measurement method and device of service rate
CN107238754B (en) Method and device for detecting electric quantity

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190802

RJ01 Rejection of invention patent application after publication