CN109542777A - A kind of method for testing pressure, device and readable medium - Google Patents

A kind of method for testing pressure, device and readable medium Download PDF

Info

Publication number
CN109542777A
CN109542777A CN201811320843.4A CN201811320843A CN109542777A CN 109542777 A CN109542777 A CN 109542777A CN 201811320843 A CN201811320843 A CN 201811320843A CN 109542777 A CN109542777 A CN 109542777A
Authority
CN
China
Prior art keywords
analog subscriber
goal systems
information
adjustment
adjustment information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811320843.4A
Other languages
Chinese (zh)
Other versions
CN109542777B (en
Inventor
房汇智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201811320843.4A priority Critical patent/CN109542777B/en
Publication of CN109542777A publication Critical patent/CN109542777A/en
Application granted granted Critical
Publication of CN109542777B publication Critical patent/CN109542777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Fluid Pressure (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The embodiment of the present application provides a kind of method for testing pressure, device and readable medium.The described method includes: configuration information port corresponding with goal systems, obtain the received adjustment information of information port, according to adjustment information, it determines and tests the analog subscriber number that the goal systems needs to adjust, increase or reduce analog subscriber newly according to the analog subscriber number for needing to adjust, pressure test is carried out to goal systems, allow to state according to tested goal systems from trend pressure test tool feedback pressure regulatory demand, avoid artificial observation in pressure test sequence, the mechanism manually adjusted, improve the timeliness of adjustment pressure, and pressure test tool is not necessarily to midway due to manual configuration and restarts, it avoids and causes stress Immediate Stop when restarting, not the problem of not being inconsistent with actual operating state, it avoids mixed between the failure that unstable state caused by being restarted as pressure test tool and goal systems really occur Confuse problem.

Description

A kind of method for testing pressure, device and readable medium
Technical field
This application involves the field of test technology, more particularly to a kind of method for testing pressure, a kind of pressure test device, one Kind is used for device, a kind of machine readable media of pressure test.
Background technique
Pressure test is the hardware environment for simulating practical application and the system loading of user's use process, for a long time or is surpassed Test software is run to big load, to test the performance of system under test (SUT), such as reliability, stability.For example, one network of test Performance of the application program under different pressure scales.
The behavior of pressure test tool is inputted by simulation a large number of users, to detect the anti-loading ability of system under test (SUT), The quantity of analog subscriber determines pressure size.In pressure test, repeated multiple times adjustment analog subscriber number is needed.Existing scheme In, it when adjusting analog subscriber number, needs to stop pressure test tool, adjusts configuration file to suitable analog subscriber number, then weigh New starting pressure test tool.
In aforesaid operations, artificial observation and intervention are needed in pressure test sequence, to adjust pressure size, cost compared with It is high.In addition, manually adjusting the mode of configuration file, causes pressure test tool needs to be restarted, cause stress Immediate Stop, be tested System falls into idle state, does not meet actual operating state.At the same time, after adjustment, to re-establish system under test (SUT) and Connection, system under test (SUT) between compression tools and the connection between down-stream system need again to operating system application resource, can Unstable state can be brought to system under test (SUT), thus may cause system under test (SUT) unstable state and system under test (SUT) is really sent out Obscuring between raw failure, if frequently can also reduce very much the performance of system under test (SUT).
Summary of the invention
In view of the above problems, the embodiment of the present application proposes one kind and overcomes the above problem or at least be partially solved above-mentioned Method for testing pressure, pressure test device, the device for pressure test, machine readable media of problem, the embodiment of the present application Can be avoided artificial observation in pressure test sequence, the mechanism manually adjusted, improve adjustment pressure timeliness, avoid by Pressure test tool restarts the problem of causing.
To solve the above-mentioned problems, this application discloses a kind of method for testing pressure, comprising:
Configure information port corresponding with goal systems;The information port, for receiving the adjustment of the goal systems Information, the adjustment information are used to indicate increase load or reduce load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It adjusts newly-increased to analog subscriber number according to the needs or reduces analog subscriber, pressure is carried out to the goal systems Test.
Optionally, described to adjust newly-increased to analog subscriber number according to the needs or reduce analog subscriber, to the target System carries out pressure test
It is adjusted according to the needs and arrives analog subscriber number, initialized newly-increased analog subscriber, establish the newly-increased analog subscriber With the connection of goal systems, and to the goal systems send test request;
Alternatively, needing to adjust the analog subscriber to analog subscriber number stopping corresponding number according to described.
Optionally, start before goal systems transmission test request described, the method also includes:
Not used pressure test vocabulary is obtained, and is distributed to the newly-increased analog subscriber;
According to the pressure test vocabulary of distribution, the test request is generated for each newly-increased analog subscriber.
Optionally, the acquisition received adjustment information of information port includes:
The goal systems, which is received, by the information port needs to increase load or reduce the adjustment request of load, In, the adjustment request carries the load condition parameter of adjustment information and the goal systems for determining the adjustment information.
Optionally, described according to the adjustment information, it determines and tests the analog subscriber that the goal systems needs to adjust Number includes:
Obtain the corresponding default adjustment amount of the goal systems;
According to the adjustment information, default adjustment amount and present day analog number of users, the simulation for needing to adjust is determined Number of users;Wherein, the present day analog number of users includes the analog subscriber after preset analog subscriber number or last adjusting Number.
Optionally, the load condition parameter includes response time, processor occupancy ratio, EMS memory occupation ratio, task queue At least one of length;The adjustment information includes the load of the goal systems determined according to load condition parameter and preset threshold Cross re-mark or underload mark.
Optionally, it increases newly in the analog subscriber number adjusted according to the needs or reduces analog subscriber, to described After goal systems carries out pressure test, the method also includes:
The load condition parameter and corresponding adjustment information of the goal systems when display is with the test of each analog subscriber number.
The embodiment of the present application also discloses a kind of pressure test device, comprising:
Port configuration module, for configuring information port corresponding with goal systems;The information port, for receiving The adjustment information of goal systems is stated, the adjustment information is used to indicate increase load or reduces load;
Data obtaining module, for obtaining the received adjustment information of the information port;
Number of users determining module, for determining and testing what the goal systems needed to adjust according to the adjustment information Analog subscriber number;
Adjustment module, for adjusting newly-increased to analog subscriber number according to the needs or reducing analog subscriber, to the mesh Mark system carries out pressure test.
Optionally, the adjustment module includes:
Newly-increased submodule arrives analog subscriber number for adjusting according to the needs, initializes newly-increased analog subscriber, establishes institute The connection of newly-increased analog subscriber and goal systems is stated, and sends test request to the goal systems;
Alternatively, stopping submodule, for using according to the simulation for needing to adjust to analog subscriber number stopping corresponding number Family.
Optionally, described device further include:
Vocabulary obtains module, for starting to obtain and be not used before goal systems transmission test request described Pressure test vocabulary, and distribute to the newly-increased analog subscriber;
Generation module is requested, for the pressure test vocabulary according to distribution, generates the survey for each newly-increased analog subscriber Examination request.
Optionally, the data obtaining module includes:
Request receiving submodule needs increase to load or reduce for receiving the goal systems by the information port The adjustment request of load, wherein the adjustment request carries adjustment information and the target system for determining the adjustment information The load condition parameter of system.
Optionally, the number of users determining module includes:
Adjustment amount acquisition submodule, for obtaining the corresponding default adjustment amount of the goal systems;
Number of users determines submodule, for determining according to the adjustment information, default adjustment amount and present day analog number of users The analog subscriber number for needing to adjust;Wherein, the present day analog number of users includes preset analog subscriber number or upper one Analog subscriber number after secondary adjusting.
Optionally, the load condition parameter includes response time, processor occupancy ratio, EMS memory occupation ratio, task queue At least one of length;The adjustment information includes the load of the goal systems determined according to load condition parameter and preset threshold Cross re-mark or underload mark.
Optionally, described device further include:
Information display module, for increasing or reducing simulation use newly according to the analog subscriber number for needing to adjust described Family, after carrying out pressure test to the goal systems, the goal systems is negative when display is with the test of each analog subscriber number Carry state parameter and corresponding adjustment information.
The embodiment of the present application also discloses a kind of device for pressure test, include memory and one or More than one program, perhaps more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for performing the following operation that a above processor, which executes the one or more programs:
Configure information port corresponding with goal systems;The information port, for receiving the adjustment of the goal systems Information, the adjustment information are used to indicate increase load or reduce load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It increases or reduces analog subscriber newly according to the analog subscriber number for needing to adjust, the goal systems is pressed Power test.
Configure information port corresponding with goal systems;The information port, for receiving the adjustment of the goal systems Information, the adjustment information are used to indicate increase load or reduce load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It adjusts newly-increased to analog subscriber number according to the needs or reduces analog subscriber, pressure is carried out to the goal systems Test.
Optionally, described to adjust newly-increased to analog subscriber number according to the needs or reduce analog subscriber, to the target System carries out pressure test
It is adjusted according to the needs and arrives analog subscriber number, initialized newly-increased analog subscriber, establish the newly-increased analog subscriber With the connection of goal systems, and to the goal systems send test request;
Alternatively, needing to adjust the analog subscriber to analog subscriber number stopping corresponding number according to described.
Optionally, start before goal systems transmission test request described, the method also includes:
Not used pressure test vocabulary is obtained, and is distributed to the newly-increased analog subscriber;
According to the pressure test vocabulary of distribution, the test request is generated for each newly-increased analog subscriber.
Optionally, the acquisition received adjustment information of information port includes:
The goal systems, which is received, by the information port needs to increase load or reduce the adjustment request of load, In, the adjustment request carries the load condition parameter of adjustment information and the goal systems for determining the adjustment information.
Optionally, described according to the adjustment information, it determines and tests the analog subscriber that the goal systems needs to adjust Number includes:
Obtain the corresponding default adjustment amount of the goal systems;
According to the adjustment information, default adjustment amount and present day analog number of users, the simulation for needing to adjust is determined Number of users;Wherein, the present day analog number of users includes the analog subscriber after preset analog subscriber number or last adjusting Number.
Optionally, the load condition parameter includes response time, processor occupancy ratio, EMS memory occupation ratio, task queue At least one of length;The adjustment information includes the load of the goal systems determined according to load condition parameter and preset threshold Cross re-mark or underload mark.
Optionally, it increases newly in the analog subscriber number adjusted according to the needs or reduces analog subscriber, to described After goal systems carries out pressure test, the method also includes:
The load condition parameter and corresponding adjustment information of the goal systems when display is with the test of each analog subscriber number.
The embodiment of the present application also discloses a kind of machine readable media, is stored thereon with instruction, when by one or more When managing device execution, so that device executes such as above-mentioned method for testing pressure.
The embodiment of the present application includes the following advantages:
In conclusion, by configuring information port corresponding with goal systems, obtaining information terminal according to the embodiment of the present application The received adjustment information of mouth determines the analog subscriber number that the test goal systems needs to adjust, foundation according to adjustment information The analog subscriber number for needing to adjust is newly-increased or reduces analog subscriber, carries out pressure test to goal systems, allows to foundation The state of tested goal systems avoids people in pressure test sequence from trend pressure test tool feedback pressure regulatory demand Work observation, the mechanism manually adjusted improve the timeliness of adjustment pressure, and pressure test tool is not necessarily to due to manual configuration Midway restarts, and the problem of avoiding and cause stress Immediate Stop when restarting, be not inconsistent with actual operating state, avoids by pressing The confounding issues between failure that unstable state caused by power testing tool is restarted and goal systems really occur.
Detailed description of the invention
Fig. 1 shows a kind of step flow chart of method for testing pressure embodiment one of the application;
Fig. 2 shows a kind of step flow charts of method for testing pressure embodiment two of the application;
Fig. 3 shows a kind of structural block diagram of pressure test device embodiment of the application;
Fig. 4 is a kind of block diagram of device for pressure test shown according to an exemplary embodiment;
And Fig. 5 is the structural schematic diagram of server in some embodiments of the present invention.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
Referring to Fig.1, a kind of step flow chart of method for testing pressure embodiment one of the application is shown, specifically can wrap Include following steps:
Step 101, information port corresponding with goal systems is configured.
Goal systems includes the operation system etc. that runs on some service server of the weblication of website, APP, Or any other applicable system, the application to this with no restriction.Pressure test tool is carrying out pressure survey to goal systems When examination, in order to test the performance of measured target system under different pressures scale, need repeatedly to adjust the load of goal systems State.For this purpose, feedback element is established between measured target system and pressure test tool in the embodiment of the present application, so that can With the demand according to goal systems to adjustment load condition, automatically adjust to the test pressure for being sent to goal systems.
In the embodiment of the present application, after the starting of pressure test tool processes, information port corresponding with goal systems is configured, Information port is for receiving goal systems for the adjustment information of load condition.Adjustment information can be indicated to increase load or be reduced Load when goal systems needs to be adjusted load condition, generates adjustment information and feeds back to pressure by information port and survey Trial work tool, it is to need to increase load or need to reduce load that adjustment information, which can characterize goal systems,.For example, pressure test work After tool starting work, the http request that a specific listening port receives goal systems feedback is opened, this listening port exists It is not just rechanged after instrument start-up, while the port numbers appointed with goal systems are consistent, pressure test tool receives mesh Mark system presses the format of agreement and the http request signal of parameter, includes adjustment information in the http request.
Goal systems can determine the need for adjustment load condition according to the load condition parameter of itself, need to increase negative It carries or reduces load, so that adjustment information is generated, for example, goal systems can join according to load conditions such as average response times Whether number determination itself needs to carry out load condition adjustment.In general, when average response time is greater than preset threshold, explanation The load excessive of goal systems, it is desirable to reduce pressure test tool is to the test pressure of goal systems, then adjustment information can be used In indicating to need to reduce load, that is, pressure test tool is needed to reduce analog subscriber number;When average response time is less than default threshold When value, illustrate that the load of goal systems is too small, needs to increase pressure test tool to the test pressure of goal systems, then adjust letter Breath can be used to indicate that needs increase load, that is, pressure test tool is needed to increase analog subscriber number.
Step 102, the received adjustment information of the information port is obtained.
In the embodiment of the present application, the adjustment information that goal systems is sent is obtained from information port, implementation can To include: to receive the adjustment request that goal systems needs to adjust load condition by information port, wherein adjustment request can be taken It is without limitation with adjustment information or any other applicable implementation, the embodiment of the present application.
Step 103, it according to the adjustment information, determines and tests the analog subscriber number that the goal systems needs to adjust.
Pressure test is carried out to goal systems, analog subscriber is needed to send out test request to goal systems, more simulations is used Amount will generate bigger test pressure, and the load of goal systems also will increase, and fewer analog subscriber number will generate more Small test pressure, the load of goal systems can also reduce.In other words, when adjustment information indicates the load of goal systems Greatly, when needing to reduce, then the analog subscriber number of test target system needs to reduce, and when adjustment information indicates the negative of goal systems Carry too small, when needing to increase, then the analog subscriber number of test target system needs to increase.
In the embodiment of the present application, analog subscriber number refers to the analog subscriber number that test target system needs to adjust, i.e., The analog subscriber number for needing to increase to or be reduced to.According to adjustment information, the simulation that test target system needs to adjust is determined The implementation of number of users may include: to obtain the corresponding default adjustment amount of goal systems, according to adjustment information, default adjustment amount With present day analog number of users, the analog subscriber number for needing to adjust is determined.Wherein, it is corresponding with goal systems to preset adjustment amount, Since the scale and processing capacity of not homologous ray there can be very big difference, default adjustment can be configured for various systems Amount, default adjustment amount are referred to as adjusting step, i.e. the amplitude that is once adjusted of analog subscriber number.It can specifically include and appoint The applicable implementation that analog subscriber number is determined according to adjustment information of meaning, the embodiment of the present application are without limitation.
Wherein, present day analog number of users includes the analog subscriber number after preset analog subscriber number or last adjusting, After pressure test instrument start-up, default tests goal systems with preset analog subscriber number, at this time present day analog user Number is preset analog subscriber number, after analog subscriber number is adjusted, updates the current mould with the analog subscriber number after adjusting Quasi- number of users.
For example, adjusting step n (i.e. default adjustment amount) is arranged for goal systems in advance, it is assumed that adjustment information expression needs to increase Heavy load, it is determined that new analog subscriber number be equal to present day analog number of users add adjusting step n, it is assumed that adjustment information indicate Need to reduce load, it is determined that new analog subscriber number be equal to present day analog number of users subtract adjusting step n.
Step 104, it increases newly according to the analog subscriber number for needing to adjust or reduces analog subscriber, to the target system System carries out pressure test.
In the embodiment of the present application, according to analog subscriber number, when needing to increase analog subscriber, according to new analog subscriber Number determines the analog subscriber for needing newly to start, and is carried out using the analog subscriber and newly-increased analog subscriber of script to goal systems Pressure test;When needing to reduce analog subscriber, according to new analog subscriber number, determines the analog subscriber for needing to stop, stopping The test pressure that partial simulation user sends to goal systems.
It is worth noting that needing manually to be configured configuration file in existing scheme, causing stress testing tool is needed Restart to re-read configuration file, to change analog subscriber number, causes the pressure Immediate Stop to goal systems, target system The state of system can fall into idle state and actual operation situation is not inconsistent.And after establishing automatic feedback mechanism, it is not necessarily to manpower intervention Analog subscriber number is adjusted, pressure test tool can increase or reduce in real time analog subscriber newly.
In conclusion, by configuring information port corresponding with goal systems, obtaining information terminal according to the embodiment of the present application The received adjustment information of mouth determines the analog subscriber number that the test goal systems needs to adjust, foundation according to adjustment information The analog subscriber number for needing to adjust is newly-increased or reduces analog subscriber, carries out pressure test to goal systems, allows to foundation The state of tested goal systems avoids people in pressure test sequence from trend pressure test tool feedback pressure regulatory demand Work observation, the mechanism manually adjusted improve the timeliness of adjustment pressure, and pressure test tool is not necessarily to due to manual configuration Midway restarts, and the problem of avoiding and cause stress Immediate Stop when restarting, be not inconsistent with actual operating state, avoids by pressing The confounding issues between failure that unstable state caused by power testing tool is restarted and goal systems really occur.
Referring to Fig. 2, a kind of step flow chart of method for testing pressure embodiment two of the application is shown, specifically can wrap Include following steps:
Step 201, information port corresponding with goal systems is configured.
In the embodiment of the present application, the specific implementation of this step may refer to the description in previous embodiment, herein It does not repeat separately.
Step 202, the goal systems is received by the information port and needs to increase load or reduce the adjustment of load Request.
In the embodiment of the present application, adjustment request carries adjustment information and the goal systems for determining adjustment information Load condition parameter, wherein load condition parameter includes the index of various performance goal systems own load states, for example, most Nearly one minute response time, processor occupy ratio, EMS memory occupation than, etc. the queue length of waiting tasks etc. or other Any suitable parameter, the embodiment of the present application are without limitation.Goal systems can be generated according to load condition parameter and be adjusted Then information sends adjustment request to pressure test tool, load condition parameter is carried in adjustment request, for pressure load work Concrete condition when tool record or analysis goal systems need to be adjusted load condition, for example, display is with each analog subscriber The load condition parameter and corresponding adjustment information of goal systems when number test.
In the embodiment of the present application, adjustment request can be http request or any other application type encapsulation ask It asks, the embodiment of the present application is without limitation.Goal systems is when determining that itself needs to adjust load condition, to pressure test work Tool issues adjustment request, carries adjustment information and load condition parameter.
In the embodiment of the present application, optionally, load condition parameter includes the response time, processor occupies ratio, memory accounts for With more without limitation than at least one of, task queue length or any other applicable parameter, the embodiment of the present application. Adjustment information includes the overload mark or underload of the goal systems determined according to load condition parameter and preset threshold Mark, overload mark indicate that goal systems needs to reduce test pressure, and underload mark indicates that goal systems needs to increase Add test pressure, can specifically be determined according to load condition parameter and preset threshold, for example, a certain or several load condition ginsengs Number has been more than corresponding preset threshold respectively, then adjustment information is overload mark, alternatively, whole load condition parameters are not More than corresponding preset threshold, then adjustment information is underload mark.Goal systems can be specifically set according to actual needs The mode of overload mark or underload mark, the embodiment of the present application pair are determined according to load condition parameter and preset threshold This is with no restrictions.
Step 203, the corresponding default adjustment amount of the goal systems is obtained.
In the embodiment of the present application, default adjustment amount is set for goal systems in advance, to be adapted to the rule of goal systems Mould or processing capacity first obtain the corresponding default adjustment amount of goal systems before determining the analog subscriber number of goal systems.
Step 204, it according to the adjustment information, default adjustment amount and present day analog number of users, determines and described needs to adjust The analog subscriber number arrived.
In the embodiment of the present application, a kind of implementation of determining analog subscriber number includes: to determine mesh according to adjustment information Mark system is to need to increase or reduce analog subscriber number;If desired increase, then increase on the basis of present day analog number of users The analog subscriber number of default adjustment amount, obtains new analog subscriber number;If desired it reduces, then on the basis of present day analog number of users On subtract the analog subscriber number of default adjustment amount, obtain new analog subscriber number.
Step 205, it is thened follow the steps when determination needs to increase analog subscriber according to the analog subscriber number for needing to adjust 206;When determination needs to reduce analog subscriber, 207 are thened follow the steps.
Step 206, according to the analog subscriber number for needing to adjust, newly-increased analog subscriber is initialized, is established described new Increase the connection of analog subscriber and goal systems, and sends test request to the goal systems.
According to analog subscriber number, the quantity of newly-increased analog subscriber is determined, initial work is carried out to newly-increased analog subscriber, The connection of newly-increased analog subscriber and goal systems is established, and starts to send test request to goal systems, i.e., goal systems is applied Add test pressure.
In the embodiment of the present application, optionally, it before starting to send test request to the goal systems, can also wrap It includes: obtaining not used pressure test vocabulary, and distribute to newly-increased analog subscriber;It is each according to the pressure test vocabulary of distribution A newly-increased analog subscriber generates the test request.
It is worth noting that test request is generated according to pressure test vocabulary when carrying out pressure test, pressure is surveyed Trying vocabulary includes some parameters being specially arranged tested goal systems.In existing scheme, pressure test tool is restarted When, pressure test vocabulary can be from the beginning read again, cause the pressure test to goal systems can not be according to normal pressure test Sequence in vocabulary carries out, and due to from the beginning sending the behavior of test request according to pressure test vocabulary again, will lead to the last time The request being transmitted across, which repeats, issues goal systems, and goal systems is caused to receive asking of once receiving in a short time The case where asking, there is a problem of causing the cache hit situation of goal systems extremely high, do not meet goal systems actual motion belongs to In invalid test, the accuracy of pressure test is reduced.
In order to overcome the above problem, when testing vocabulary for newly-increased analog subscriber distribution pressure, it should take not used pressure Power test vocabulary is allocated, and according to the pressure test vocabulary of distribution, generates test request for each newly-increased analog subscriber, so that Calling program will not lose the service condition of current pressure test vocabulary because restarting, and solution pressure test tool, which is restarted, to be caused from the beginning to read Pressure power tests the problem of vocabulary, and then avoids the extremely high problem of goal systems cache hit rate.
Step 207, stop the analog subscriber of corresponding number according to the analog subscriber number for needing to adjust.
In the embodiment of the present application, according to the analog subscriber number for needing to adjust, the quantity of reduced analog subscriber is determined, The connection of interrupt unit analog subscriber and goal systems stops the test request sending to goal systems, i.e., subtracts to goal systems Pressure is tested less.
In addition, pressure test tool can also indicate pressure to the goal systems feedback adjustment situation for issuing adjustment request When testing tool adjusts analog subscriber number, success or abnormal situation, so that automation pressure test system updates pressure test The working condition of tool.
Step 208, it shows with the load condition parameter of the goal systems when test of each analog subscriber number and corresponding Adjustment information.
In the embodiment of the present application, adjustment information is not only carried in the adjustment request of goal systems, also carries load State parameter.Since the manually-operated set-up procedure feedback mechanism that is automated replaces, but to remain focus on adjustment negative by tester The concrete condition of load, when therefore, it is necessary to be tested under each analog subscriber number, the load condition parameter of displaying target system and right The adjustment information answered, to allow tester to understand the opportunity that adjustment occurs, goal systems thinks to need the reason of adjusting load, tool The information such as which kind of adjustment have occurred in which kind of pressure size of body.After realizing automation adjustment, it should save log and with graphical Interface export to tester.
In conclusion, by configuring information port corresponding with goal systems, passing through information terminal according to the embodiment of the present application Mouth receives the adjustment request that goal systems needs to adjust load condition, the corresponding default adjustment amount of goal systems is obtained, according to tune Whole information, default adjustment amount and present day analog number of users, determine the analog subscriber number for needing to adjust, allow to according to tested Goal systems state from trend pressure test tool feedback pressure regulatory demand, avoid in pressure test sequence and manually see It examines, the mechanism manually adjusted, improves the timeliness of adjustment pressure.
Further, by initializing newly-increased analog subscriber according to the analog subscriber number for needing to adjust, newly-increased simulation is established The connection of user and goal systems, and test request, or the analog subscriber number adjusted according to needs are sent to goal systems Stop the analog subscriber of corresponding number, so that pressure test tool is not necessarily to midway due to manual configuration and restarts, avoids weight The problem of causing stress Immediate Stop when opening, not being inconsistent with actual operating state avoids caused by being restarted as pressure test tool The confounding issues between failure that unstable state and goal systems really occur.
Further, by showing with the load condition parameter of goal systems when the test of each analog subscriber number and corresponding tune Whole information, convenient for the state of goal systems when the adjusting of tester's decompression force, and which kind of adjusting has occurred etc..
It should be noted that for simple description, therefore, it is stated as a series of movement is dynamic for embodiment of the method It combines, but those skilled in the art should understand that, the embodiment of the present application is not by the limit of described athletic performance sequence System, because some steps may be performed in other sequences or simultaneously according to the embodiment of the present application.Secondly, art technology Personnel also should be aware of, and the embodiments described in the specification are all preferred embodiments, and related athletic performance is simultaneously different It surely is necessary to the embodiment of the present application.
Referring to Fig. 3, a kind of structural block diagram of pressure test device embodiment of the application is shown, can specifically include:
Port configuration module 301, for configuring information port corresponding with goal systems;The information port, for connecing The adjustment information of the goal systems is received, the adjustment information is used to indicate increase load or reduces load;
Data obtaining module 302, for obtaining the received adjustment information of the information port;
Number of users determining module 303, for according to the adjustment information, determining that testing the goal systems needs adjusting to arrive Analog subscriber number;
Adjustment module 304, for adjusting newly-increased to analog subscriber number according to the needs or reducing analog subscriber, to described Goal systems carries out pressure test.
In the embodiment of the present application, optionally, the number of users determining module includes:
Adjustment amount acquisition submodule, for obtaining the corresponding default adjustment amount of the goal systems;
Number of users determines submodule, for determining according to the adjustment information, default adjustment amount and present day analog number of users The analog subscriber number for needing to adjust.
In the embodiment of the present application, optionally, the adjustment module includes:
Newly-increased submodule arrives analog subscriber number for adjusting according to the needs, initializes newly-increased analog subscriber, establishes institute The connection of newly-increased analog subscriber and goal systems is stated, and sends test request to the goal systems;
Alternatively, stopping submodule, for using according to the simulation for needing to adjust to analog subscriber number stopping corresponding number Family.
In the embodiment of the present application, optionally, described device further include:
Vocabulary obtains module, for starting to obtain and be not used before goal systems transmission test request described Pressure test vocabulary, and distribute to the newly-increased analog subscriber;
Generation module is requested, for the pressure test vocabulary according to distribution, generates the survey for each newly-increased analog subscriber Examination request.
In the embodiment of the present application, optionally, the data obtaining module includes:
Request receiving submodule needs increase to load or reduce for receiving the goal systems by the information port The adjustment request of load, wherein the adjustment request carries adjustment information and the target system for determining the adjustment information The load condition parameter of system.
In the embodiment of the present application, optionally, the load condition parameter include the response time, processor occupy than, it is interior Deposit at least one of occupancy ratio, task queue length;The adjustment information includes true according to load condition parameter and preset threshold The overload of fixed goal systems identifies or underload mark.
In the embodiment of the present application, optionally, described device further include:
Information display module, for increasing or reducing simulation use newly according to the analog subscriber number for needing to adjust described Family, after carrying out pressure test to the goal systems, the goal systems is negative when display is with the test of each analog subscriber number Carry state parameter and corresponding adjustment information.
In conclusion, by configuring information port corresponding with goal systems, obtaining information terminal according to the embodiment of the present application The received adjustment information of mouth determines the analog subscriber number that the test goal systems needs to adjust, foundation according to adjustment information The analog subscriber number for needing to adjust is newly-increased or reduces analog subscriber, carries out pressure test to goal systems, allows to foundation The state of tested goal systems avoids people in pressure test sequence from trend pressure test tool feedback pressure regulatory demand Work observation, the mechanism manually adjusted improve the timeliness of adjustment pressure, and pressure test tool is not necessarily to due to manual configuration Midway restarts, and the problem of avoiding and cause stress Immediate Stop when restarting, be not inconsistent with actual operating state, avoids by pressing The confounding issues between failure that unstable state caused by power testing tool is restarted and goal systems really occur.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Fig. 4 is a kind of block diagram of device 400 for pressure test shown according to an exemplary embodiment.For example, dress Setting 400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect and touched or the relevant duration and pressure of taxi operation with described.In some embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When equipment 400 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of equipment 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Fig. 5 is the structural schematic diagram of server in some embodiments of the present invention.The server 1900 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units (central processing Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900 Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device (intelligent terminal Or server) processor execute when, enable a device to execute a kind of method for testing pressure, which comprises
Configure information port corresponding with goal systems;The information port, for receiving the adjustment of the goal systems Information, the adjustment information are used to indicate increase load or reduce load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It adjusts newly-increased to analog subscriber number according to the needs or reduces analog subscriber, pressure is carried out to the goal systems Test.
Optionally, described to adjust newly-increased to analog subscriber number according to the needs or reduce analog subscriber, to the target System carries out pressure test
It is adjusted according to the needs and arrives analog subscriber number, initialized newly-increased analog subscriber, establish the newly-increased analog subscriber With the connection of goal systems, and to the goal systems send test request;
Alternatively, needing to adjust the analog subscriber to analog subscriber number stopping corresponding number according to described.
Optionally, start before goal systems transmission test request described, the method also includes:
Not used pressure test vocabulary is obtained, and is distributed to the newly-increased analog subscriber;
According to the pressure test vocabulary of distribution, the test request is generated for each newly-increased analog subscriber.
Optionally, the acquisition received adjustment information of information port includes:
The goal systems, which is received, by the information port needs to increase load or reduce the adjustment request of load, In, the adjustment request carries the load condition parameter of adjustment information and the goal systems for determining the adjustment information.
Optionally, described according to the adjustment information, it determines and tests the analog subscriber that the goal systems needs to adjust Number includes:
Obtain the corresponding default adjustment amount of the goal systems;
According to the adjustment information, default adjustment amount and present day analog number of users, the simulation for needing to adjust is determined Number of users;Wherein, the present day analog number of users includes the analog subscriber after preset analog subscriber number or last adjusting Number.
Optionally, the load condition parameter includes response time, processor occupancy ratio, EMS memory occupation ratio, task queue At least one of length;The adjustment information includes the load of the goal systems determined according to load condition parameter and preset threshold Cross re-mark or underload mark.
Optionally, it increases newly in the analog subscriber number adjusted according to the needs or reduces analog subscriber, to described After goal systems carries out pressure test, the method also includes:
The load condition parameter and corresponding adjustment information of the goal systems when display is with the test of each analog subscriber number.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
A kind of method for testing pressure provided herein, a kind of pressure test device, a kind of pressure that is used for are surveyed above The device of examination, a kind of machine readable media, are described in detail, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of method for testing pressure characterized by comprising
Configure information port corresponding with goal systems;The information port, for receiving the adjustment information of the goal systems, The adjustment information is used to indicate increase load or reduces load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It increases or reduces analog subscriber newly according to the analog subscriber number for needing to adjust, pressure survey is carried out to the goal systems Examination.
2. the method according to claim 1, wherein described new according to the analog subscriber number for needing to adjust Increase or reduce analog subscriber, carrying out pressure test to the goal systems includes:
It is adjusted according to the needs and arrives analog subscriber number, initialized newly-increased analog subscriber, establish the newly-increased analog subscriber and mesh The connection of mark system, and test request is sent to the goal systems;
Alternatively, needing to adjust the analog subscriber to analog subscriber number stopping corresponding number according to described.
3. according to the method described in claim 2, it is characterized in that, starting to send test request to the goal systems described Before, the method also includes:
Not used pressure test vocabulary is obtained, and is distributed to the newly-increased analog subscriber;
According to the pressure test vocabulary of distribution, the test request is generated for each newly-increased analog subscriber.
4. the method according to claim 1, wherein described obtain the received adjustment information packet of information port It includes:
The adjustment request of the goal systems is received by the information port, wherein the adjustment request carries adjustment letter The load condition parameter of breath and the goal systems for determining the adjustment information.
5. the method according to claim 1, wherein described according to the adjustment information, the determining test mesh Mark system needs the analog subscriber number that adjusts to include:
Obtain the corresponding default adjustment amount of the goal systems;
According to the adjustment information, default adjustment amount and present day analog number of users, the analog subscriber for needing to adjust is determined Number;Wherein, the present day analog number of users includes the analog subscriber number after preset analog subscriber number or last adjusting.
6. according to the method described in claim 4, it is characterized in that, the load condition parameter includes response time, processor Occupy at least one of ratio, EMS memory occupation ratio, task queue length;The adjustment information includes according to load condition parameter and pre- If the overload mark or underload mark of the goal systems that threshold value determines.
7. according to the method described in claim 4, it is characterized in that, described according to the analog subscriber number for needing to adjust Newly-increased or reduction analog subscriber, after carrying out pressure test to the goal systems, the method also includes:
The load condition parameter and corresponding adjustment information of the goal systems when display is with the test of each analog subscriber number.
8. a kind of pressure test device characterized by comprising
Port configuration module, for configuring information port corresponding with goal systems;The information port, for receiving the mesh The adjustment information of mark system, the adjustment information are used to indicate increase load or reduce load;
Data obtaining module, for obtaining the received adjustment information of the information port;
Number of users determining module, for determining and testing the simulation that the goal systems needs to adjust according to the adjustment information Number of users;
Adjustment module, for increasing newly according to the analog subscriber number for needing to adjust or reducing analog subscriber, to the target System carries out pressure test.
9. a kind of device for pressure test, which is characterized in that include memory and one or more than one journey Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them Executing the one or more programs includes the instruction for performing the following operation:
Configure information port corresponding with goal systems;The information port, for receiving the adjustment information of the goal systems, The adjustment information is used to indicate increase load or reduces load;
Obtain the received adjustment information of the information port;
According to the adjustment information, determines and test the analog subscriber number that the goal systems needs to adjust;
It increases or reduces analog subscriber newly according to the analog subscriber number for needing to adjust, pressure survey is carried out to the goal systems Examination.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held Method for testing pressure of the row as described in one or more in claim 1 to 7.
CN201811320843.4A 2018-11-07 2018-11-07 Pressure testing method and device and readable medium Active CN109542777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811320843.4A CN109542777B (en) 2018-11-07 2018-11-07 Pressure testing method and device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811320843.4A CN109542777B (en) 2018-11-07 2018-11-07 Pressure testing method and device and readable medium

Publications (2)

Publication Number Publication Date
CN109542777A true CN109542777A (en) 2019-03-29
CN109542777B CN109542777B (en) 2022-03-04

Family

ID=65845041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811320843.4A Active CN109542777B (en) 2018-11-07 2018-11-07 Pressure testing method and device and readable medium

Country Status (1)

Country Link
CN (1) CN109542777B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069375A (en) * 2019-05-07 2019-07-30 北京天际启游科技有限公司 A kind of method and relevant apparatus of pressure test
CN111414300A (en) * 2020-03-27 2020-07-14 北京字节跳动网络技术有限公司 Method and device for pressure test of server
CN111666194A (en) * 2020-05-21 2020-09-15 平安科技(深圳)有限公司 Pressurization parameter self-adaptive adjusting method and device, computer equipment and storage medium
CN111723015A (en) * 2020-06-24 2020-09-29 湖南快乐阳光互动娱乐传媒有限公司 Software testing method and device and electronic equipment
CN112749067A (en) * 2019-10-31 2021-05-04 北京京东尚科信息技术有限公司 System performance testing method and device, equipment and storage medium
CN113342588A (en) * 2021-08-05 2021-09-03 北京金堤科技有限公司 Method and device for carrying out pressure test on server based on dynamic adjustment load
CN113656161A (en) * 2021-08-17 2021-11-16 中正信评(深圳)技术服务有限公司 Method, device and system for scheduling pressure generation service in performance test

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523212A (en) * 2011-12-13 2012-06-27 北京天融信科技有限公司 Method and device capable of adjusting firewall system testing flow automatically
US20140180664A1 (en) * 2012-12-21 2014-06-26 Commvault Systems, Inc. Systems and methods for performance monitoring
CN104268082A (en) * 2014-09-26 2015-01-07 北京国双科技有限公司 Pressure test method and pressure test device for browser
CN104375914A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automatic testing method for internal pressure change of server
CN105183645A (en) * 2015-08-26 2015-12-23 中国电子科技集团公司第十四研究所 Reuse based design and implementation method for radar software testing
US20160342501A1 (en) * 2015-05-18 2016-11-24 Hcl Technologies Limited Accelerating Automated Testing
CN106250309A (en) * 2016-07-22 2016-12-21 浪潮电子信息产业股份有限公司 A kind of memory pressure change method of testing and device
CN107193743A (en) * 2017-05-25 2017-09-22 腾讯科技(深圳)有限公司 One kind application assessment method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523212A (en) * 2011-12-13 2012-06-27 北京天融信科技有限公司 Method and device capable of adjusting firewall system testing flow automatically
US20140180664A1 (en) * 2012-12-21 2014-06-26 Commvault Systems, Inc. Systems and methods for performance monitoring
CN104268082A (en) * 2014-09-26 2015-01-07 北京国双科技有限公司 Pressure test method and pressure test device for browser
CN104375914A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automatic testing method for internal pressure change of server
US20160342501A1 (en) * 2015-05-18 2016-11-24 Hcl Technologies Limited Accelerating Automated Testing
CN105183645A (en) * 2015-08-26 2015-12-23 中国电子科技集团公司第十四研究所 Reuse based design and implementation method for radar software testing
CN106250309A (en) * 2016-07-22 2016-12-21 浪潮电子信息产业股份有限公司 A kind of memory pressure change method of testing and device
CN107193743A (en) * 2017-05-25 2017-09-22 腾讯科技(深圳)有限公司 One kind application assessment method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
耿杰: "全链路压测平台(Quake)在美团中的实践", 《HTTPS://TECH.MEITUAN.COM/2018/09/27/QUAKE-INTRODUCTION.HTML》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069375A (en) * 2019-05-07 2019-07-30 北京天际启游科技有限公司 A kind of method and relevant apparatus of pressure test
CN112749067A (en) * 2019-10-31 2021-05-04 北京京东尚科信息技术有限公司 System performance testing method and device, equipment and storage medium
CN111414300A (en) * 2020-03-27 2020-07-14 北京字节跳动网络技术有限公司 Method and device for pressure test of server
CN111666194A (en) * 2020-05-21 2020-09-15 平安科技(深圳)有限公司 Pressurization parameter self-adaptive adjusting method and device, computer equipment and storage medium
CN111666194B (en) * 2020-05-21 2022-02-08 平安科技(深圳)有限公司 Pressurization parameter self-adaptive adjusting method and device, computer equipment and storage medium
CN111723015A (en) * 2020-06-24 2020-09-29 湖南快乐阳光互动娱乐传媒有限公司 Software testing method and device and electronic equipment
CN113342588A (en) * 2021-08-05 2021-09-03 北京金堤科技有限公司 Method and device for carrying out pressure test on server based on dynamic adjustment load
CN113656161A (en) * 2021-08-17 2021-11-16 中正信评(深圳)技术服务有限公司 Method, device and system for scheduling pressure generation service in performance test

Also Published As

Publication number Publication date
CN109542777B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN109542777A (en) A kind of method for testing pressure, device and readable medium
CN108268366B (en) Test case execution method and device
CN106528389B (en) Performance evaluation method and device for system fluency and terminal
EP2961148B1 (en) Method and device for obtaining voice service
CN107465841B (en) Fault information reporting method and terminal
CN108521609B (en) Determine the method, apparatus and terminal of pushing video type
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN106294168B (en) A kind of method and system carrying out Application testing
CN106250430A (en) The sort method of smart machine list and device
CN115527603A (en) Hard disk performance testing method, central control machine and testing machine
CN112346965B (en) Test case distribution method, device and storage medium
CN107678934A (en) Interim card index selection method and device
CN106502833B (en) Data backup method and device
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN105446854B (en) Consumption detection method, system and terminal
CN113868132A (en) Application program testing method and device, electronic equipment and storage medium
CN111722693B (en) Power consumption adjusting method and device, storage medium, server and terminal
CN108934025A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN114518959A (en) Distributed node resource load balancing method and device and electronic equipment
CN114780334A (en) Power consumption monitoring method, power consumption monitoring device and storage medium
EP3828716A1 (en) Method and apparatus for identifying electronic device, terminal device, and electronic device
CN114413437A (en) Parameter adjusting method and device for air conditioner compressor and storage medium
CN109947640B (en) Regression test-based core function coverage statistical method and device
CN112817844A (en) Background process residence test method, device, equipment and storage medium
CN110166797A (en) Video transcoding method, device, electronic equipment and storage medium

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