CN109542777B - Pressure testing method and device and readable medium - Google Patents

Pressure testing method and device and readable medium Download PDF

Info

Publication number
CN109542777B
CN109542777B CN201811320843.4A CN201811320843A CN109542777B CN 109542777 B CN109542777 B CN 109542777B CN 201811320843 A CN201811320843 A CN 201811320843A CN 109542777 B CN109542777 B CN 109542777B
Authority
CN
China
Prior art keywords
target system
users
adjustment
simulation
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.)
Active
Application number
CN201811320843.4A
Other languages
Chinese (zh)
Other versions
CN109542777A (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/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 application provides a pressure testing method, a pressure testing device and a readable medium. The method comprises the following steps: the method comprises the steps of configuring an information port corresponding to a target system, obtaining adjustment information received by the information port, determining and testing the number of simulation users required to be adjusted by the target system according to the adjustment information, increasing or reducing the number of the simulation users according to the number of the simulation users required to be adjusted, and carrying out pressure test on the target system, so that the pressure adjustment requirement can be automatically fed back to a pressure test tool according to the state of the tested target system, manual observation and manual adjustment mechanisms in the pressure test process are avoided, the timeliness of pressure adjustment is improved, the pressure test tool does not need to be restarted midway due to manual configuration, the problem that pressure is instantly stopped when being restarted and does not conform to the actual operation condition is avoided, and the problem of confusion between an unstable state caused by restarting of the pressure test tool and a fault really occurring to the target system is avoided.

Description

Pressure testing method and device and readable medium
Technical Field
The present disclosure relates to the field of testing technologies, and in particular, to a pressure testing method, a pressure testing apparatus, and a machine-readable medium.
Background
The pressure test is to simulate the software and hardware environment of practical application and the system load of the user in the using process, and run the test software for a long time or with an ultra-large load to test the performance of the tested system, such as reliability, stability and the like. For example, a web application is tested for performance at different stress scales.
The behavior of the pressure testing tool is to test the load resistance of the system under test by simulating a large number of user inputs, the number of simulated users determining the amount of pressure. In the pressure test, the number of the analog users needs to be adjusted repeatedly. In the existing scheme, when the number of the simulation users is adjusted, the pressure testing tool needs to be stopped, the configuration file is adjusted to the number of the suitable simulation users, and then the pressure testing tool is restarted.
In the operation, manual observation and intervention are needed in the pressure testing process to adjust the pressure, so that the cost is high. In addition, the mode of manually adjusting the configuration file causes that the pressure testing tool needs to be restarted, so that the pressure is instantly terminated, the tested system is in an idle state, and the actual operation condition is not met. Meanwhile, after the adjustment is completed, to reestablish the connection between the system under test and the pressure tool and the connection between the system under test and the downstream system, resources need to be applied to the operating system again, which may bring an unstable state to the system under test, thereby possibly causing confusion between the unstable state of the system under test and the real fault of the system under test, and if the resource is too frequent, the performance of the system under test may be reduced.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a pressure testing method, a pressure testing apparatus, an apparatus for pressure testing, and a machine readable medium, which overcome the above problems or at least partially solve the above problems.
In order to solve the above problem, the present application discloses a pressure testing method, including:
configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
and adjusting the number of the simulation users to increase or decrease the number of the simulation users according to the requirement, and carrying out pressure test on the target system.
Optionally, the adjusting the number of the analog users to increase or decrease the number of the analog users according to the requirement includes:
initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system;
or regulating the number of the simulation users to stop the corresponding number of the simulation users according to the requirement.
Optionally, before the starting sending the test request to the target system, the method further includes:
acquiring an unused pressure test word list, and distributing the unused pressure test word list to the newly added simulation user;
and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
Optionally, the obtaining the adjustment information received by the information port includes:
and receiving an adjustment request of the target system, which requires to increase or decrease the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system for determining the adjustment information.
Optionally, the determining, according to the adjustment information, the number of analog users to which the target system needs to be adjusted includes:
acquiring a preset adjustment amount corresponding to the target system;
determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
Optionally, the load state parameter includes at least one of response time, processor occupancy ratio, memory occupancy ratio, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
Optionally, after the pressure test is performed on the target system by increasing or decreasing the number of the simulated users adjusted according to the requirement, the method further includes:
and displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested.
The embodiment of the application also discloses a pressure test device, includes:
the port configuration module is used for configuring an information port corresponding to the target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
the information acquisition module is used for acquiring the adjustment information received by the information port;
the user number determining module is used for determining the number of the simulated users to which the target system needs to be adjusted in the test process according to the adjusting information;
and the adjusting module is used for adjusting the number of the simulation users to increase or decrease the number of the simulation users according to the requirement and carrying out pressure test on the target system.
Optionally, the adjusting module comprises:
the newly-added sub-module is used for adjusting the number of the analog users according to the requirement, initializing the newly-added analog users, establishing the connection between the newly-added analog users and a target system, and sending a test request to the target system;
or, the stopping submodule is used for regulating the number of the simulated users to stop the corresponding number of the simulated users according to the requirement.
Optionally, the apparatus further comprises:
a word list obtaining module, configured to obtain an unused pressure test word list before the test request is sent to the target system, and allocate the unused pressure test word list to the new simulation user;
and the request generation module is used for generating the test request for each newly added simulation user according to the distributed pressure test word list.
Optionally, the information obtaining module includes:
and the request receiving submodule is used for receiving an adjustment request of the target system, which needs to increase or reduce the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system used for determining the adjustment information.
Optionally, the user number determining module includes:
the adjustment quantity obtaining submodule is used for obtaining a preset adjustment quantity corresponding to the target system;
the user number determining submodule is used for determining the number of the analog users needing to be adjusted according to the adjusting information, the preset adjusting quantity and the current number of the analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
Optionally, the load state parameter includes at least one of response time, processor occupancy ratio, memory occupancy ratio, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
Optionally, the apparatus further comprises:
and the information display module is used for displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested according to the new increase or decrease of the number of the simulated users which are adjusted according to the requirement after the pressure test is carried out on the target system.
Also disclosed in an embodiment of the present application is an apparatus for stress testing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors comprise instructions for:
configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
and increasing or decreasing the number of the simulation users according to the number of the simulation users needing to be adjusted, and carrying out pressure test on the target system.
Configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
and adjusting the number of the simulation users to increase or decrease the number of the simulation users according to the requirement, and carrying out pressure test on the target system.
Optionally, the adjusting the number of the analog users to increase or decrease the number of the analog users according to the requirement includes:
initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system;
or regulating the number of the simulation users to stop the corresponding number of the simulation users according to the requirement.
Optionally, before the starting sending the test request to the target system, the method further includes:
acquiring an unused pressure test word list, and distributing the unused pressure test word list to the newly added simulation user;
and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
Optionally, the obtaining the adjustment information received by the information port includes:
and receiving an adjustment request of the target system, which requires to increase or decrease the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system for determining the adjustment information.
Optionally, the determining, according to the adjustment information, the number of analog users to which the target system needs to be adjusted includes:
acquiring a preset adjustment amount corresponding to the target system;
determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
Optionally, the load state parameter includes at least one of response time, processor occupancy ratio, memory occupancy ratio, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
Optionally, after the pressure test is performed on the target system by increasing or decreasing the number of the simulated users adjusted according to the requirement, the method further includes:
and displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested.
Embodiments of the present application also disclose a machine-readable medium having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform a stress testing method as described above.
The embodiment of the application has the following advantages:
in summary, according to the embodiments of the present application, the adjustment information received by the information port is obtained by configuring the information port corresponding to the target system, determining the number of analog users required to be adjusted for testing the target system according to the adjustment information, increasing or decreasing the number of analog users according to the number of the analog users required to be adjusted, the pressure test is carried out on the target system, so that the pressure regulation requirement can be automatically fed back to the pressure test tool according to the state of the target system to be tested, the mechanism of manual observation and manual regulation in the pressure test process is avoided, the timeliness of pressure regulation is improved, and the pressure testing tool does not need to be restarted midway due to manual configuration, thereby avoiding the pressure instant termination caused by restarting, the problem of inconsistent with the actual operation condition avoids the confusion problem between the unstable state caused by the restart of the pressure testing tool and the real fault of the target system.
Drawings
FIG. 1 is a flow chart illustrating the steps of a first embodiment of a pressure testing method of the present application;
FIG. 2 is a flow chart illustrating the steps of a second embodiment of a pressure testing method of the present application;
FIG. 3 is a block diagram illustrating the structure of an embodiment of a pressure testing device of the present application;
FIG. 4 is a block diagram illustrating an apparatus for stress testing in accordance with an exemplary embodiment;
FIG. 5 is a block diagram of a server in some embodiments of the invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of a first embodiment of a pressure testing method according to the present application is shown, which may specifically include the following steps:
step 101, configuring an information port corresponding to a target system.
The target system includes a web application program of a website, a service system running on a certain service server of the APP, or any other suitable system, which is not limited in this application. When the pressure test tool performs a pressure test on a target system, the load state of the target system needs to be adjusted many times in order to test the performance of the target system under test under different pressure scales. Therefore, in the embodiment of the application, a feedback link is established between the tested target system and the pressure testing tool, so that the testing pressure sent to the target system can be automatically adjusted according to the requirement of the target system on load state adjustment.
In the embodiment of the application, after the process of the pressure test tool is started, an information port corresponding to the target system is configured, and the information port is used for receiving the adjustment information of the target system on the load state. The adjustment information can indicate the increase of the load or the decrease of the load, when the target system needs to adjust the load state, the adjustment information is generated and fed back to the pressure testing tool through the information port, and the adjustment information can represent whether the target system needs to increase the load or decrease the load. For example, after the pressure testing tool starts to work, a specific monitoring port is opened to receive an http request fed back by the target system, the monitoring port is not changed after the tool starts, and is consistent with a port number agreed by the target system, the pressure testing tool receives an http request signal of the target system according to an agreed format and parameters, and the http request includes adjustment information.
The target system may determine whether the load state needs to be adjusted, and whether the load needs to be increased or decreased, according to the load state parameter of the target system itself, so as to generate adjustment information. Generally, when the average response time is greater than a preset threshold, it is indicated that the load of the target system is too large, and the test pressure of the pressure test tool on the target system needs to be reduced, then the adjustment information may be used to indicate that the load needs to be reduced, that is, the number of analog users needs to be reduced by the pressure test tool; when the average response time is smaller than the preset threshold, it is indicated that the load of the target system is too small, and the test pressure of the pressure test tool on the target system needs to be increased, and then the adjustment information can be used for indicating that the load needs to be increased, that is, the number of the simulation users needs to be increased by the pressure test tool.
Step 102, obtaining the adjustment information received by the information port.
In this embodiment of the present application, the adjustment information sent by the target system is obtained from the information port, and the implementation manner of the adjustment information may include: an adjustment request that a target system needs to adjust a load state is received through an information port, where the adjustment request may carry adjustment information, or any other suitable implementation manner, and the embodiment of the present application does not limit this.
And 103, determining the number of the analog users to be adjusted for testing the target system according to the adjustment information.
When the target system is subjected to pressure testing, a simulation user needs to send a test request to the target system, the greater the number of simulation users, the greater the test pressure is generated, the load of the target system is increased, the smaller the number of simulation users, the smaller the test pressure is generated, and the load of the target system is reduced. That is, when the adjustment information indicates that the load of the target system is excessively large and needs to be reduced, the number of analog users of the test target system needs to be reduced, and when the adjustment information indicates that the load of the target system is excessively small and needs to be increased, the number of analog users of the test target system needs to be increased.
In the embodiment of the present application, the number of analog users refers to the number of analog users to which the test target system needs to adjust, that is, the number of analog users to which the test target system needs to be increased or decreased. According to the adjustment information, the implementation manner of determining the number of analog users to which the test target system needs to be adjusted may include: and acquiring a preset adjustment amount corresponding to the target system, and determining the number of the analog users to be adjusted according to the adjustment information, the preset adjustment amount and the current number of the analog users. The preset adjustment amount corresponds to a target system, and because the scales and processing capacities of different systems can be greatly different, the preset adjustment amount can be set for various systems, and the preset adjustment amount can also be called an adjustment step length, that is, the amplitude of once adjustment of the number of analog users is obtained. The method may specifically include any suitable implementation manner for determining the number of analog users according to the adjustment information, which is not limited in this embodiment of the application.
The current simulation user number comprises a preset simulation user number or a simulation user number after last adjustment, the pressure testing tool is started, the target system is tested by default according to the preset simulation user number, the current simulation user number is the preset simulation user number at the moment, and after adjustment occurs to the simulation user number, the current simulation user number can be updated according to the adjusted simulation user number.
For example, an adjustment step n (i.e., a preset adjustment amount) is set in advance for the target system, and if the adjustment information indicates that the load needs to be increased, the determined number of new analog users is equal to the current number of analog users plus the adjustment step n, and if the adjustment information indicates that the load needs to be decreased, the determined number of new analog users is equal to the current number of analog users minus the adjustment step n.
And step 104, increasing or decreasing the number of the simulation users according to the number of the simulation users needing to be adjusted, and carrying out pressure test on the target system.
In the embodiment of the application, according to the number of the simulation users, when the number of the simulation users needs to be increased, the simulation users needing to be newly started are determined according to the number of the new simulation users, and the original simulation users and the newly added simulation users are utilized to perform pressure test on a target system; when the number of the simulation users needs to be reduced, the simulation users needing to be stopped are determined according to the number of the new simulation users, and the test pressure sent to the target system by part of the simulation users is stopped.
It should be noted that, in the existing solution, the configuration file needs to be manually set, so that the pressure testing tool needs to be restarted to re-read the configuration file to change the number of the simulated users, so that the pressure on the target system is instantly terminated, and the state of the target system falls into an idle state, which is inconsistent with the actual operation condition. After the automatic feedback mechanism is established, the number of the simulation users is adjusted without manual intervention, and the simulation users can be newly increased or reduced in real time by the pressure testing tool.
In summary, according to the embodiments of the present application, the adjustment information received by the information port is obtained by configuring the information port corresponding to the target system, determining the number of analog users required to be adjusted for testing the target system according to the adjustment information, increasing or decreasing the number of analog users according to the number of the analog users required to be adjusted, the pressure test is carried out on the target system, so that the pressure regulation requirement can be automatically fed back to the pressure test tool according to the state of the target system to be tested, the mechanism of manual observation and manual regulation in the pressure test process is avoided, the timeliness of pressure regulation is improved, and the pressure testing tool does not need to be restarted midway due to manual configuration, thereby avoiding the pressure instant termination caused by restarting, the problem of inconsistent with the actual operation condition avoids the confusion problem between the unstable state caused by the restart of the pressure testing tool and the real fault of the target system.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of the pressure testing method of the present application is shown, which may specifically include the following steps:
step 201, configuring an information port corresponding to a target system.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
Step 202, receiving an adjustment request that the target system needs to increase the load or decrease the load through the information port.
In this embodiment of the present application, the adjustment request carries adjustment information and a load status parameter of the target system for determining the adjustment information, where the load status parameter includes various indexes representing a load status of the target system itself, such as a response time of a last minute, a processor occupancy ratio, a memory occupancy ratio, a queue length of a waiting task, and the like, or any other suitable parameters, which is not limited in this embodiment of the present application. The target system can generate adjustment information according to the load state parameters, and then sends an adjustment request to the pressure testing tool, wherein the adjustment request carries the load state parameters, so that the pressure testing tool can record or analyze specific conditions when the load state of the target system needs to be adjusted, for example, the load state parameters of the target system and corresponding adjustment information when testing by using various simulated users are displayed.
In this embodiment of the present application, the adjustment request may be an http request or a request encapsulated by any other suitable type, which is not limited in this embodiment of the present application. And when determining that the load state of the target system needs to be adjusted, the target system sends an adjustment request to the pressure testing tool, and the adjustment request carries adjustment information and load state parameters.
In this embodiment of the present application, optionally, the load status parameter includes at least one of a response time, a processor occupancy ratio, a memory occupancy ratio, and a task queue length, or any other suitable parameter, which is not limited in this embodiment of the present application. The adjustment information includes an overweight identifier or an overweight identifier of the target system determined according to the load state parameters and a preset threshold, the overweight identifier indicates that the target system needs to reduce the test pressure, the overweight identifier indicates that the target system needs to increase the test pressure, and the adjustment information can be specifically determined according to the load state parameters and the preset threshold, for example, if one or more load state parameters respectively exceed the corresponding preset thresholds, the adjustment information is the overweight identifier, or if all the load state parameters do not exceed the corresponding preset thresholds, the adjustment information is the overweight identifier. Specifically, a mode that the target system determines the too-heavy load identifier or the too-light load identifier according to the load state parameter and the preset threshold value may be set according to actual needs, which is not limited in the embodiment of the present application.
Step 203, obtaining a preset adjustment amount corresponding to the target system.
In the embodiment of the application, a preset adjustment amount is set for the target system in advance to adapt to the scale or the processing capacity of the target system, and before the number of the simulated users of the target system is determined, the preset adjustment amount corresponding to the target system is obtained.
And 204, determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users.
In an embodiment of the present application, an implementation manner for determining the number of analog users includes: determining whether the number of the analog users needs to be increased or decreased by the target system according to the adjustment information; if the number of the analog users needs to be increased, increasing the number of the analog users with preset adjustment quantity on the basis of the current number of the analog users to obtain a new number of the analog users; if the number of the analog users needs to be reduced, the number of the analog users with preset adjustment quantity is subtracted from the number of the current analog users, and a new number of the analog users is obtained.
Step 205, according to the number of the simulation users needing to be adjusted, when the simulation users needing to be added are determined, step 206 is executed; when it is determined that the simulated user needs to be reduced, step 207 is performed.
And step 206, initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system.
And determining the number of the newly added simulation users according to the number of the simulation users, initializing the newly added simulation users, establishing connection between the newly added simulation users and the target system, and starting to send a test request to the target system, namely applying test pressure to the target system.
In this embodiment of the present application, optionally, before starting to send a test request to the target system, the method may further include: acquiring an unused pressure test word list, and distributing the unused pressure test word list to a newly added simulation user; and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
It should be noted that, when performing the stress test, the test request is generated according to a stress test vocabulary, which includes some parameters specifically set for testing the target system. In the existing scheme, when the pressure testing tool is restarted, the pressure testing vocabulary is read from the head again, so that the pressure testing on the target system cannot be performed according to the sequence in the normal pressure testing vocabulary, and due to the action of sending the testing request from the head again according to the pressure testing vocabulary, the last sent request is repeatedly sent to the target system, so that the target system receives the received request in a short time, the problem of high cache hit condition of the target system is caused, the condition of actual operation of the target system is not met, the invalid testing is realized, and the accuracy of the pressure testing is reduced.
In order to overcome the problems, when the pressure test vocabulary is distributed to the newly added simulation users, unused pressure test vocabulary is taken to be distributed, and test requests are generated for the newly added simulation users according to the distributed pressure test vocabulary, so that the use condition of the current pressure test vocabulary is not lost due to restarting of a program, the problem that the pressure test vocabulary is read from the head due to restarting of a pressure test tool is solved, and the problem that the target system cache hit rate is abnormally high is further avoided.
And step 207, stopping the simulation users with the corresponding number according to the number of the simulation users needing to be adjusted.
In the embodiment of the application, the reduced number of the simulation users is determined according to the number of the simulation users needing to be adjusted, the connection between part of the simulation users and the target system is interrupted, and the test request sent to the target system is stopped, namely the test pressure is reduced for the target system.
In addition, the pressure testing tool can also feed back the adjustment condition to a target system which sends out an adjustment request, and the condition of success or abnormity is marked when the pressure testing tool adjusts the number of the simulation users, so that an automatic pressure testing system can update the working state of the pressure testing tool.
And 208, displaying the load state parameters of the target system and corresponding adjustment information when testing by using the number of the simulated users.
In the embodiment of the present application, the adjustment request of the target system not only carries the adjustment information, but also carries the load status parameter. Because the manual adjustment step is replaced by an automatic feedback mechanism, but the tester still pays attention to the specific situation of load adjustment, therefore, when testing is required under the number of each analog user, the load state parameters and the corresponding adjustment information of the target system are displayed, so that the tester can know the adjustment time, the reason for load adjustment required by the target system, and the specific adjustment of the pressure and the like. After the automatic adjustment is realized, the log should be saved and outputted to the tester through a graphical interface.
In summary, according to the embodiment of the present application, an information port corresponding to a target system is configured, an adjustment request for adjusting a load state of the target system is received through the information port, a preset adjustment amount corresponding to the target system is obtained, and a number of analog users to be adjusted is determined according to the adjustment information, the preset adjustment amount and a current number of analog users, so that a pressure adjustment requirement can be automatically fed back to a pressure testing tool according to a state of the target system to be tested, a mechanism of manual observation and manual adjustment in a pressure testing process is avoided, and timeliness of adjusting pressure is improved.
Furthermore, the newly added simulation users are initialized according to the number of the simulation users needing to be adjusted, the connection between the newly added simulation users and the target system is established, the test request is sent to the target system, or the corresponding number of the simulation users is stopped according to the number of the simulation users needing to be adjusted, so that the pressure testing tool does not need to be restarted midway due to manual configuration, the problems that the pressure is instantly stopped when the pressure testing tool is restarted and is inconsistent with the actual running condition are avoided, and the confusion problem between the unstable state caused by the restarting of the pressure testing tool and the real fault of the target system is avoided.
Furthermore, by displaying the load state parameters of the target system and the corresponding adjustment information during the test with each simulated user number, the tester can conveniently know the state of the target system during pressure adjustment, and what kind of adjustment occurs.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the embodiment of the present application is not limited by the described sequence of motion actions, because some steps may be performed in other sequences or simultaneously according to the embodiment of the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are preferred and that the motions described are not necessarily required for the embodiments of the present application.
Referring to fig. 3, a block diagram of a pressure testing apparatus according to an embodiment of the present application is shown, which may specifically include:
a port configuration module 301, configured to configure an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
an information obtaining module 302, configured to obtain adjustment information received by the information port;
a user number determining module 303, configured to determine, according to the adjustment information, a number of analog users to be adjusted for testing the target system;
and the adjusting module 304 is configured to adjust the number of the analog users to increase or decrease the number of the analog users according to the requirement, and perform a pressure test on the target system.
In this embodiment of the application, optionally, the user number determining module includes:
the adjustment quantity obtaining submodule is used for obtaining a preset adjustment quantity corresponding to the target system;
and the user number determining submodule is used for determining the number of the analog users needing to be adjusted according to the adjusting information, the preset adjusting amount and the current analog user number.
In this embodiment of the present application, optionally, the adjusting module includes:
the newly-added sub-module is used for adjusting the number of the analog users according to the requirement, initializing the newly-added analog users, establishing the connection between the newly-added analog users and a target system, and sending a test request to the target system;
or, the stopping submodule is used for regulating the number of the simulated users to stop the corresponding number of the simulated users according to the requirement.
In this embodiment of the present application, optionally, the apparatus further includes:
a word list obtaining module, configured to obtain an unused pressure test word list before the test request is sent to the target system, and allocate the unused pressure test word list to the new simulation user;
and the request generation module is used for generating the test request for each newly added simulation user according to the distributed pressure test word list.
In this embodiment of the application, optionally, the information obtaining module includes:
and the request receiving submodule is used for receiving an adjustment request of the target system, which needs to increase or reduce the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system used for determining the adjustment information.
In this embodiment of the present application, optionally, the load status parameter includes at least one of response time, processor occupancy ratio, memory occupancy ratio, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
In this embodiment of the present application, optionally, the apparatus further includes:
and the information display module is used for displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested according to the new increase or decrease of the number of the simulated users which are adjusted according to the requirement after the pressure test is carried out on the target system.
In summary, according to the embodiments of the present application, the adjustment information received by the information port is obtained by configuring the information port corresponding to the target system, determining the number of analog users required to be adjusted for testing the target system according to the adjustment information, increasing or decreasing the number of analog users according to the number of the analog users required to be adjusted, the pressure test is carried out on the target system, so that the pressure regulation requirement can be automatically fed back to the pressure test tool according to the state of the target system to be tested, the mechanism of manual observation and manual regulation in the pressure test process is avoided, the timeliness of pressure regulation is improved, and the pressure testing tool does not need to be restarted midway due to manual configuration, thereby avoiding the pressure instant termination caused by restarting, the problem of inconsistent with the actual operation condition avoids the confusion problem between the unstable state caused by the restart of the pressure testing tool and the real fault of the target system.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 4 is a block diagram illustrating an apparatus 400 for stress testing according to an exemplary embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 5 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (smart terminal or server), enable the apparatus to perform a stress testing method, the method comprising:
configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
and adjusting the number of the simulation users to increase or decrease the number of the simulation users according to the requirement, and carrying out pressure test on the target system.
Optionally, the adjusting the number of the analog users to increase or decrease the number of the analog users according to the requirement includes:
initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system;
or regulating the number of the simulation users to stop the corresponding number of the simulation users according to the requirement.
Optionally, before the starting sending the test request to the target system, the method further includes:
acquiring an unused pressure test word list, and distributing the unused pressure test word list to the newly added simulation user;
and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
Optionally, the obtaining the adjustment information received by the information port includes:
and receiving an adjustment request of the target system, which requires to increase or decrease the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system for determining the adjustment information.
Optionally, the determining, according to the adjustment information, the number of analog users to which the target system needs to be adjusted includes:
acquiring a preset adjustment amount corresponding to the target system;
determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
Optionally, the load state parameter includes at least one of response time, processor occupancy ratio, memory occupancy ratio, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
Optionally, after the pressure test is performed on the target system by increasing or decreasing the number of the simulated users adjusted according to the requirement, the method further includes:
and displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The pressure testing method, the pressure testing device, the device for pressure testing and the machine readable medium provided by the present application are introduced in detail, and specific examples are applied in the present application to explain the principle and the implementation of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (19)

1. A pressure testing method, comprising:
configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
increasing or decreasing simulation users according to the number of the simulation users needing to be adjusted, and carrying out pressure test on the target system;
increasing or decreasing the number of the simulation users according to the number of the simulation users needing to be adjusted, wherein the step of performing the pressure test on the target system comprises the following steps:
initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system;
before starting to send a test request to the target system, the method further comprises:
acquiring an unused pressure test word list, and distributing the unused pressure test word list to the newly added simulation user;
and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
2. The method of claim 1, wherein the increasing or decreasing of the number of simulation users according to the simulation user number required to be adjusted comprises:
and regulating the number of the simulation users to stop the simulation users with the corresponding number according to the requirement.
3. The method of claim 1, wherein obtaining the adjustment information received by the information port comprises:
and receiving an adjustment request of the target system through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system for determining the adjustment information.
4. The method of claim 1, wherein determining, according to the adjustment information, a number of analog users to which the target system needs to be adjusted for testing comprises:
acquiring a preset adjustment amount corresponding to the target system;
determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
5. The method of claim 3, wherein the load state parameters include at least one of response time, processor occupancy, memory occupancy, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
6. The method according to claim 3, wherein after the simulated users are increased or decreased according to the required number of the simulated users to perform stress test on the target system, the method further comprises:
and displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested.
7. A pressure testing device, comprising:
the port configuration module is used for configuring an information port corresponding to the target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
the information acquisition module is used for acquiring the adjustment information received by the information port;
the user number determining module is used for determining the number of the simulated users to which the target system needs to be adjusted in the test process according to the adjusting information;
the adjusting module is used for increasing or decreasing the number of the simulation users according to the number of the simulation users needing to be adjusted and carrying out pressure test on the target system;
the adjustment module includes:
the newly-added sub-module is used for adjusting the number of the analog users according to the requirement, initializing the newly-added analog users, establishing the connection between the newly-added analog users and a target system, and sending a test request to the target system;
the device further comprises:
the vocabulary acquisition module is used for acquiring an unused pressure test vocabulary before a test request is sent to the target system, and distributing the unused pressure test vocabulary to the newly added simulation user;
and the request generation module is used for generating the test request for each newly added simulation user according to the distributed pressure test word list.
8. The apparatus of claim 7, wherein the adjustment module comprises:
and the stopping submodule is used for regulating the number of the simulated users to stop the corresponding number of the simulated users according to the requirement.
9. The apparatus of claim 7, wherein the information obtaining module comprises:
and the request receiving submodule is used for receiving an adjustment request of the target system, which needs to increase or reduce the load, through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system used for determining the adjustment information.
10. The apparatus of claim 7, wherein the user number determining module comprises:
the adjustment quantity obtaining submodule is used for obtaining a preset adjustment quantity corresponding to the target system;
the user number determining submodule is used for determining the number of the analog users needing to be adjusted according to the adjusting information, the preset adjusting quantity and the current number of the analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
11. The apparatus of claim 9, wherein the load state parameters comprise at least one of response time, processor occupancy, memory occupancy, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
12. The apparatus of claim 9, further comprising:
and the information display module is used for displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested according to the new increase or decrease of the number of the simulated users which are adjusted according to the requirement after the pressure test is carried out on the target system.
13. An apparatus for stress testing comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
configuring an information port corresponding to a target system; the information port is used for receiving adjustment information of the target system, and the adjustment information is used for indicating to increase the load or decrease the load;
acquiring adjustment information received by the information port;
determining the number of the simulated users to which the target system needs to be adjusted according to the adjustment information;
increasing or decreasing simulation users according to the number of the simulation users needing to be adjusted, and carrying out pressure test on the target system;
increasing or decreasing the number of the simulation users according to the number of the simulation users needing to be adjusted, wherein the step of performing the pressure test on the target system comprises the following steps:
initializing a new simulation user according to the number of the simulation users needing to be adjusted, establishing connection between the new simulation user and a target system, and sending a test request to the target system;
before starting to send a test request to the target system, the apparatus further comprises:
acquiring an unused pressure test word list, and distributing the unused pressure test word list to the newly added simulation user;
and generating the test request for each newly added simulation user according to the distributed pressure test vocabulary.
14. The apparatus of claim 13, wherein the increasing or decreasing of the number of simulation users according to the simulation user number required to be adjusted comprises:
and regulating the number of the simulation users to stop the simulation users with the corresponding number according to the requirement.
15. The apparatus of claim 13, wherein the obtaining the adjustment information received by the information port comprises:
and receiving an adjustment request of the target system through the information port, wherein the adjustment request carries adjustment information and a load state parameter of the target system for determining the adjustment information.
16. The apparatus of claim 13, wherein the determining, according to the adjustment information, the number of analog users to which the test of the target system needs to be adjusted comprises:
acquiring a preset adjustment amount corresponding to the target system;
determining the number of the analog users needing to be adjusted according to the adjustment information, a preset adjustment amount and the number of the current analog users; the current analog user number comprises a preset analog user number or an analog user number after last adjustment.
17. The apparatus of claim 15, wherein the load state parameters comprise at least one of response time, processor occupancy, memory occupancy, and task queue length; the adjustment information comprises an overload identifier or an overload identifier of the target system, which is determined according to the load state parameter and a preset threshold value.
18. The apparatus of claim 15, wherein after the simulated users are increased or decreased according to the required number of simulated users to perform stress test on the target system, the apparatus further comprises:
and displaying the load state parameters of the target system and corresponding adjustment information when the number of the simulated users is tested.
19. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform a stress testing method as recited in one or more of claims 1-6.
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 CN109542777A (en) 2019-03-29
CN109542777B true 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)

Families Citing this family (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
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
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
CN113342588B (en) * 2021-08-05 2021-11-19 北京金堤科技有限公司 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 (4)

* 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
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 changes of server
CN106250309A (en) * 2016-07-22 2016-12-21 浪潮电子信息产业股份有限公司 A kind of memory pressure change method of testing and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10379988B2 (en) * 2012-12-21 2019-08-13 Commvault Systems, Inc. Systems and methods for performance monitoring
IN2015DE01395A (en) * 2015-05-18 2015-06-26 Hcl Technologies Ltd
CN105183645B (en) * 2015-08-26 2018-07-20 中国电子科技集团公司第十四研究所 A method of the Radar Software test design based on multiplexing and realization
CN107193743B (en) * 2017-05-25 2022-05-10 腾讯科技(深圳)有限公司 Application evaluation method and device, computer equipment and storage medium

Patent Citations (4)

* 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
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 changes of server
CN106250309A (en) * 2016-07-22 2016-12-21 浪潮电子信息产业股份有限公司 A kind of memory pressure change method of testing and device

Also Published As

Publication number Publication date
CN109542777A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109542777B (en) Pressure testing method and device and readable medium
CN110611829B (en) Video preloading method and device, electronic equipment and storage medium
CN105338409B (en) Network video preloading method and device
CN106528389B (en) Performance evaluation method and device for system fluency and terminal
CN110502444B (en) Testing method and testing device for image processing algorithm
CN110781080B (en) Program debugging method and device and storage medium
CN107562500B (en) Debugging device, method and equipment
CN111966410A (en) Startup processing method and device, electronic equipment and storage medium
CN111198706A (en) Method for updating system function, apparatus for updating system function and storage medium
CN106909481B (en) Interface test method, interface test device and electronic equipment
CN107239307B (en) Version updating information display method and device
CN112685269A (en) Data acquisition method and device, electronic equipment and storage medium
CN112395192A (en) Information processing method and device
CN109491655B (en) Input event processing method and device
EP3179433A1 (en) Information pushing method and device
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN110968492A (en) Information processing method and device, and storage medium
CN106535147B (en) Communication signal processing method and device
CN111596980B (en) Information processing method and device
CN112817844A (en) Background process residence test method, device, equipment and storage medium
CN109948012B (en) Serial number generation method and device and storage medium
CN110502714B (en) Information detection method and device, electronic equipment and storage medium
CN112131104A (en) Test data distribution method and device, electronic equipment and storage medium
CN106776204B (en) Method and device for determining power consumption application

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