CN109165168A - A kind of method for testing pressure, device, equipment and medium - Google Patents
A kind of method for testing pressure, device, equipment and medium Download PDFInfo
- Publication number
- CN109165168A CN109165168A CN201811074197.8A CN201811074197A CN109165168A CN 109165168 A CN109165168 A CN 109165168A CN 201811074197 A CN201811074197 A CN 201811074197A CN 109165168 A CN109165168 A CN 109165168A
- Authority
- CN
- China
- Prior art keywords
- test
- request
- business
- pressure
- service request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Abstract
The invention discloses a kind of method for testing pressure, device, equipment and medium, the step of this method includes: to be received by the operation system run on line and respond service request;Wherein, the type of service request includes true request and test request;When determining the type of service request for test request, data resource needed for obtaining test request, and logic is executed according to service request corresponding business, business processing is carried out to data resource, generate processing result;Each processing result is counted, and generates pressure testing results.The object of pressure test is set to the operation system in normal work on line by this method, cost of labor needed for relative reduction pressure test.In addition, avoiding Reusability virtual test data due to often there is a large amount of truthful data resource in the operation system that runs on line, improving the stability of pressure test entirety.In addition, the present invention also provides a kind of pressure test device, equipment and medium, beneficial effect is same as above.
Description
Technical field
The present invention relates to system testing fields, more particularly to a kind of method for testing pressure, device, equipment and medium.
Background technique
Operation system constantly provides abundant and powerful function as the program run in server apparatus for user.
With the continuous development of computer networking technology, the quantity of the network user is being continuously increased, and then the network user is to operation system
The request of initiation causes the processing pressure of operation system to be gradually increased, therefore the job stability of operation system itself is current
This field emphasis of interest.
Pressure test is a kind of test method of established system stability, usually except system normal operation range into
Row, to investigate its function limit and hidden danger.Pressure test is to the operation system run in server for traditional meaning
The test of the application " pressure " of continuous initiating business request is the bottleneck by a determining operation system or cannot respond industry
The performance point of business request, to obtain the test for the maximum service rank that operation system can provide.Current pressure test is usually
Carried out in lower environment online, need first by operation system be configured to the consistent parameter that works on line, realized with this and tested under line
Operation system of operation system when can work on 1:1 line, and then the opposite accuracy for ensuring pressure test.But current
Method for testing pressure needs technical staff to configure in advance to huge operation system, due to service each in operation system
Between relationship it is intricate, cause technical staff to require a great deal of time the work understood in entire operation system between service
Make logical relation, can determine whether the operation system configured under line is consistent with the operation system to work on line in parameter,
Therefore cost of labor needed for current method for testing pressure is higher, also, due to being generated in the pressure test under line in advance
The stock number of virtual test data is limited, and when operation system handles test request, often Reusability virtual test data can
The stability that operation system overall work environment can be will lead to reduces.
It can be seen that a kind of method for testing pressure is provided, with cost of labor needed for relative reduction, and opposite raising pressure
The stability of integrated environment in test process is those skilled in the art's urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of method for testing pressure, device, equipment and media, with people needed for relative reduction
Work cost, and the opposite stability for improving integrated environment in pressure test sequence.
In order to solve the above technical problems, the present invention provides a kind of method for testing pressure, comprising:
It is received by the operation system run on line and responds service request;Wherein, the type of service request includes true
Request and test request;
When determining the type of service request for test request, data resource needed for obtaining test request, and according to industry
Business requests corresponding business to execute logic and carries out business processing to data resource, generates processing result;
Each processing result is counted, and generates pressure testing results.
Preferably, when determining the type of service request for test request, data resource needed for obtaining test request
Step specifically includes:
When there are when preset test badge, determine the type of service request for test request in service request;
Data resource needed for obtaining test request in the target database for being stored with virtual test data.
Preferably, the type of target database includes Mysql, mongoDB and Redis.
Preferably, logic is executed according to service request corresponding business and business processing is carried out to data resource specifically:
The mode for executing parameter is transmitted based on RPC service, logic is executed according to business, business processing is carried out to data resource.
Preferably, it executes parameter and first passes through bytecode enhancing processing in advance.
Preferably, when executing logic to data resource progress business processing according to the corresponding business of service request, the party
Method further comprises:
When business execute logic execute to call third-party platform content when, in normal state according to third-party platform
The data content returned generates the analogue data content of same content type;
Using analogue data content as returning the result for third-party platform is called, logic is executed to continue to execute business.
Preferably, after generating pressure testing results, this method further comprises:
When pressure testing results are more than default result threshold value, abnormal prompt is carried out to tester.
In addition, the present invention also provides a kind of pressure test devices, comprising:
Respond module on line receives for the operation system by running on line and responds service request;Wherein, business is asked
The type asked includes true request and test request;
Testing execution module, for obtaining needed for test request when determining the type of service request for test request
Data resource, and logic is executed according to service request corresponding business, business processing is carried out to data resource, generate processing result;
Result-generation module for counting to each processing result, and generates pressure testing results.
In addition, the present invention also provides a kind of pressure test equipments, comprising:
Memory, for storing computer program;
Processor is realized when for executing computer program such as the step of above-mentioned method for testing pressure.
In addition, being stored with meter on computer readable storage medium the present invention also provides a kind of computer readable storage medium
Calculation machine program is realized when computer program is executed by processor such as the step of above-mentioned method for testing pressure.
Method for testing pressure provided by the present invention, it is true by Client-initiated in response by the operation system run on line
On the basis of real request, the test request of simultaneously response pressure test is also received, and then when the type for determining service request is specially
When test request, obtain test request in requisition for data resource, and execute logic pair according to the corresponding business of test request
Data resource carries out business processing and is counted with generating processing result eventually by processing result, obtains operation system and exists
Integrality when response test is requested, and generate corresponding pressure testing results.The object of pressure test is set to by this method
On line in the operation system of normal work, there is no need to descend configuration and industry on line in environment online in order to carry out pressure test
The business consistent operation system of system parameter, and then avoid technical staff and require a great deal of time and understand entire operation system
Work-based logic relationship between middle service, can determine the operation system configured under line in parameter whether with work on line
Operation system unanimous circumstances, cost of labor needed for relative reduction pressure test.In addition, due to the business system run on line
Often there is a large amount of truthful data resource in system, therefore this method being capable of the data money that is able to use of relative increase pressure test
The quantity in source, it is opposite to avoid because of Reusability virtual test data, and lead to the stability of operation system overall work environment
The case where reduction, improves the stability of integrated environment in pressure test sequence.In addition, the present invention also provides a kind of pressure tests
Device, equipment and medium, beneficial effect are same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of method for testing pressure provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of pressure test device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other
Embodiment belongs to the scope of the present invention.
Core of the invention is to provide a kind of method for testing pressure, with cost of labor needed for relative reduction, and mentions relatively
The stability of integrated environment in high pressure test process.Another core of the invention is to provide a kind of pressure test device, equipment
And medium.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of flow chart of method for testing pressure provided in an embodiment of the present invention.Referring to FIG. 1, pressure test side
The specific steps of method include:
Step S10: it is received by the operation system run on line and responds service request.
Wherein, the type of service request includes true request and test request.
It should be noted that the operation system run on line refers to live network ring used by a user in this step
Border, after operation system is run on line, user can be to the operation system initiating business request.This step focuses on, industry
Business request is not limited only to the true request that real user is initiated, and further includes the test request generated by pressure test, also
It is to say, operation system is also responsive to test request on the basis of responding true request, and operation system provides services to the user and industry
The pressure test of business system carries out simultaneously.Test request in this step can be initiated by preset pressure test tool, and
For the accuracy of opposite guarantee pressure test, the operation of pressure test tool to operation system initiation test request should be frequent
And with certain amount scale, since the specific implementation for initiating test request to operation system by pressure test tool is thin
Section, is content known to those skilled in the art, therefore this will not be repeated here, in addition, the operation system in this step can be specific
It is electric business system, enterprise management system etc., does not do specific restriction herein.
Step S11: when determining the type of service request for test request, data resource needed for obtaining test request,
And logic is executed according to service request corresponding business, business processing is carried out to data resource, generate processing result.
It should be noted that this step is when determining service request is the corresponding test request of pressure test, to test
Request is responded, and obtains data resource required for test request, and then is held according to test request execution to data resource
The corresponding business processing of row.Data resource in this step can be in operation system and provide for the truthful data that real user uses
Source is also possible to be directed to pressure test and pre-generated virtual test data, specifically should according to the content of test request and
It is fixed.In addition, it is the set that operation system realizes operating procedure performed when corresponding function that the business in this step, which executes logic,
Since operation system is when realizing function, each operating procedure is often successively executed until business executes logic and terminates, therefore
Being also referred to as business in this field and executing logic is " service link ", since different business executes the operating procedure for including in logic not
Together, and in terms of the application does not also execute logic to business carry out related improvement, thus herein not to business execute logic into
Row is enumerated one by one.Test is asked in addition, the content of the processing result generated in this step can embody operation system itself
The executive condition asked, and then can be in the next steps according to the pressure bearing limit of test result statistical service system.
Step S12: each processing result is counted, and generates pressure testing results.
It is the statistics that the obtained processing result of each test request is responded and executed to operation system and is carried out in this step,
Since the content of processing result can embody operation system itself for the executive condition of test request, the emphasis of this step only exists
In requesting processing result generated to count operation system response test, pressure testing results are learned with this, and are counted
It is known when specific operation content is technical staff's progress pressure test in the process, it does not repeat them here.
Method for testing pressure provided by the present invention, it is true by Client-initiated in response by the operation system run on line
On the basis of real request, the test request of simultaneously response pressure test is also received, and then when the type for determining service request is specially
When test request, obtain test request in requisition for data resource, and execute logic pair according to the corresponding business of test request
Data resource carries out business processing and is counted with generating processing result eventually by processing result, obtains operation system and exists
Integrality when response test is requested, and generate corresponding pressure testing results.The object of pressure test is set to by this method
On line in the operation system of normal work, there is no need to descend configuration and industry on line in environment online in order to carry out pressure test
The business consistent operation system of system parameter, and then avoid technical staff and require a great deal of time and understand entire operation system
Work-based logic relationship between middle service, can determine the operation system configured under line in parameter whether with work on line
Operation system unanimous circumstances, cost of labor needed for relative reduction pressure test.In addition, due to the business system run on line
Often there is a large amount of truthful data resource in system, therefore this method being capable of the data money that is able to use of relative increase pressure test
The quantity in source, it is opposite to avoid because of Reusability virtual test data, and lead to the stability of operation system overall work environment
The case where reduction, improves the stability of integrated environment in pressure test sequence.
Embodiment two
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
As a preferred embodiment, obtaining test request when determining the type of service request for test request
The step of required data resource, specifically includes:
When there are when preset test badge, determine the type of service request for test request in service request;
Data resource needed for obtaining test request in the target database for being stored with virtual test data.
It should be noted that in the present embodiment, it is between test request and true request the difference is that test request
In be equipped with test badge in advance, the particular content of test badge can according to actual needs depending on, can be pressure test
Relevant configured parameter, be also possible to the ID generated at random number etc., it is not limited here.Test badge in test request can
To be configured in advance by message-oriented middleware, but such situation needs to establish to have between pressure test tool and operation system and disappear
It ceases middleware (MQ), so that message-oriented middleware can get service request at first, and then by message-oriented middleware according to business
The source of request determines whether the type of service request is test request, if it is, adding test badge in test request
Relevant field.Present embodiment is more efficiently convenient to determine whether test request according to whether there is or not test badges, improves
Pressure test overall execution efficiency.
In addition, the data resource that test request obtains is limited to virtual test data by present embodiment, due to the application
In operation system respond true request and test request simultaneously, therefore in the whole quantity of initiating of test request less than under line
Pressure test, so by test request only access virtual test data when, will not be due to calling virtual test data repeatedly
And lead to the unstable of system, on this basis, virtual test Dynamic data exchange is stored in target database by present embodiment,
Realize it is mutually isolated between virtual test data and truthful data resource, and then reach the pressure test in operation system with
Actual services respond mutually independent effect, since it is independent of each other, ensure that pressure test and actual services are rung respectively
Answer respective stability.
On the basis of the above embodiment, as a preferred embodiment, the type of target database includes
Mysql, mongoDB and Redis.
It should be noted that Mysql is a high-performance and relatively simple database, with some larger databases
It compares, the complexity of setting and management aspect for Mysql is lower.MongoDB database uses the storage of file structure
Mode, user can more easily obtain data by mongoDB database, and support the storage of Large Volume Data.
Redis is memory database, therefore has atomicity for the read-write operation of data, and whole efficiency is higher.User can basis
Whole use demand chooses above-mentioned database as target database, can also integrate using Mysql, mongoDB and
Redis is not specifically limited herein.
In addition, as a preferred embodiment, executing logic to data resource according to the corresponding business of service request
Carry out business processing specifically:
The mode for executing parameter is transmitted based on RPC service, logic is executed according to business, business processing is carried out to data resource.
It is that business is executed and transmitted between each step of logic it should be noted that the execution parameter in present embodiment
Procedure parameter.RPC (Remote Procedure Call) remote procedure call is that one kind passes through network from remote computer
Service is requested in program, the service without understanding underlying network technology.RPC can be established across various development tools and platform
Correspondence, when existing operation system provides RPC interface, new subsystem is just able to use the RPC interface
Carrying out integrated use with original operation system can between all modules since operation system is often more huge
Can there is a situation where that interface is incompatible, and present embodiment transmits the mode for executing parameter based on RPC service, is held according to business
Row logic carries out business processing to data resource, ensure that the compatibility between each logic unit of operation system.
The mode for executing parameter is transmitted based on RPC service, usually passes through ThreadLocal (a kind of ground wire of java
Journey object) it is transmitted, while for the transmitting failure of ThreadLocal in the case of multithreading and thread pool, or only initialize
Primary abnormal conditions, can be further using TransmittableThreadLocal (one of ThreadLocal of open source
Subclass is realized).In addition, the RPC service in present embodiment can be specially dubbo-RPC service.
On the basis of the above embodiment, as a preferred embodiment, execute parameter first passes through bytecode in advance
Enhancing processing.
It should be noted that bytecode enhancing refers to modifying to it after Java bytecode generates, enhancing it
Function, this mode, which is equivalent to, modifies to the binary file of application program.Present embodiment carries out word to parameter is executed
Code enhancing is saved, primarily to reducing redundant code, improves the service performance for executing parameter.
In addition, as a preferred embodiment, being provided when executing logic according to the corresponding business of service request to data
When source carries out business processing, this method further comprises:
When business execute logic execute to call third-party platform content when, in normal state according to third-party platform
The data content returned generates the analogue data content of same content type;
Using analogue data content as returning the result for third-party platform is called, logic is executed to continue to execute business.
In view of being executed in the relevant operation that may include access or calling to third-party platform in logic in business
Hold, but due to being pressure test and non-genuine using third-party platform, there is no need to really call third-party platform, this implementation
The data content that mode is returned in normal state according to third-party platform, generates in the analogue data of same content type
Hold, and returning the result to continue to execute business and execute logic as third-party platform, is equivalent to simulation and has carried out to third party
The calling of platform, it is therefore an objective to ensure that follow-up business executes the smooth execution of logic.
In addition, as a preferred embodiment, this method further comprises after generating pressure testing results:
When pressure testing results are more than default result threshold value, abnormal prompt is carried out to tester.
It is understood that abnormal prompt is carried out to tester when pressure testing results are more than default result threshold value,
Tester can be made more rapidly to learn that abnormal conditions occurs in pressure test, and then improve processing when abnormal conditions occur
Efficiency.
Embodiment three
Hereinbefore the embodiment of method for testing pressure is described in detail, the present invention also provides one kind and is somebody's turn to do
The corresponding pressure test device of method, since the embodiment of device part is corresponded to each other with the embodiment of method part, dress
Set part embodiment refer to method part embodiment description, wouldn't repeat here.
Fig. 2 is a kind of structure chart of pressure test device provided in an embodiment of the present invention.Pressure provided in an embodiment of the present invention
Force test device, comprising:
Respond module 10 on line receive for the operation system by running on line and respond service request;Wherein, business
The type of request includes true request and test request.
Testing execution module 11, for obtaining needed for test request when determining the type of service request for test request
Data resource, and logic is executed according to service request corresponding business, business processing is carried out to data resource, generate processing knot
Fruit.
Result-generation module 12 for counting to each processing result, and generates pressure testing results.
Pressure test device provided by the present invention, it is true by Client-initiated in response by the operation system run on line
On the basis of real request, the test request of simultaneously response pressure test is also received, and then when the type for determining service request is specially
When test request, obtain test request in requisition for data resource, and execute logic pair according to the corresponding business of test request
Data resource carries out business processing and is counted with generating processing result eventually by processing result, obtains operation system and exists
Integrality when response test is requested, and generate corresponding pressure testing results.The object of pressure test is set to by the present apparatus
On line in the operation system of normal work, there is no need to descend configuration and industry on line in environment online in order to carry out pressure test
The business consistent operation system of system parameter, and then avoid technical staff and require a great deal of time and understand entire operation system
Work-based logic relationship between middle service, can determine the operation system configured under line in parameter whether with work on line
Operation system unanimous circumstances, cost of labor needed for relative reduction pressure test.In addition, due to the business system run on line
Often there is a large amount of truthful data resource in system, therefore the present apparatus being capable of the data money that is able to use of relative increase pressure test
The quantity in source, it is opposite to avoid because of Reusability virtual test data, and lead to the stability of operation system overall work environment
The case where reduction, improves the stability of integrated environment in pressure test sequence.
Example IV
The present invention also provides a kind of pressure test equipments, comprising:
Memory, for storing computer program;
Processor is realized when for executing computer program such as the step of above-mentioned method for testing pressure.
Pressure test equipment provided by the present invention, it is true by Client-initiated in response by the operation system run on line
On the basis of real request, the test request of simultaneously response pressure test is also received, and then when the type for determining service request is specially
When test request, obtain test request in requisition for data resource, and execute logic pair according to the corresponding business of test request
Data resource carries out business processing and is counted with generating processing result eventually by processing result, obtains operation system and exists
Integrality when response test is requested, and generate corresponding pressure testing results.The object of pressure test is set to by this equipment
On line in the operation system of normal work, there is no need to descend configuration and industry on line in environment online in order to carry out pressure test
The business consistent operation system of system parameter, and then avoid technical staff and require a great deal of time and understand entire operation system
Work-based logic relationship between middle service, can determine the operation system configured under line in parameter whether with work on line
Operation system unanimous circumstances, cost of labor needed for relative reduction pressure test.In addition, due to the business system run on line
Often there is a large amount of truthful data resource in system, therefore this equipment being capable of the data money that is able to use of relative increase pressure test
The quantity in source, it is opposite to avoid because of Reusability virtual test data, and lead to the stability of operation system overall work environment
The case where reduction, improves the stability of integrated environment in pressure test sequence.
The present invention also provides a kind of computer readable storage medium, computer journey is stored on computer readable storage medium
Sequence is realized when computer program is executed by processor such as the step of above-mentioned method for testing pressure.
Computer readable storage medium provided by the present invention is sent out in response by user by the operation system run on line
On the basis of the true request risen, the test request of simultaneously response pressure test is also received, and then when the type for determining service request
Specially test request when, obtain test request in requisition for data resource, and executed according to the corresponding business of test request
Logic carries out business processing to data resource and is counted with generating processing result eventually by processing result, obtains business
Integrality of the system when response test is requested, and generate corresponding pressure testing results.This computer readable storage medium
The object of pressure test is set to the operation system in normal work on line, there is no need to online in order to carry out pressure test
Configuration and the consistent operation system of operation system parameter on line in lower environment, and then avoid technical staff and need to spend largely
Time understands the work-based logic relationship in entire operation system between service, can determine that the operation system configured under line is being joined
Whether with the operation system unanimous circumstances that work on line on number, cost of labor needed for relative reduction pressure test.In addition,
Due to often there is a large amount of truthful data resource, this computer readable storage medium energy in the operation system that runs on line
The quantity for the data resource that enough relative increase pressure tests are able to use, it is opposite to avoid because of Reusability virtual test data,
And the case where causing the stability of operation system overall work environment to reduce, improve the steady of integrated environment in pressure test sequence
It is qualitative.
A kind of method for testing pressure provided by the present invention, device, equipment and medium are described in detail above.It says
Each embodiment is described in a progressive manner in bright book, and the highlights of each of the examples are the differences with other embodiments
Place, the same or similar parts in each embodiment may refer to each other.For device, equipment disclosed in embodiment and medium
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, also
Can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the protection scope of the claims in the present invention
It is interior.
It should also be noted that, in the present specification, 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 the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (10)
1. a kind of method for testing pressure characterized by comprising
It is received by the operation system run on line and responds service request;Wherein, the type of the service request includes true
Request and test request;
When the type for determining the service request is the test request, data resource needed for obtaining the test request,
And logic is executed according to the service request corresponding business, business processing is carried out to the data resource, generate processing result;
Each processing result is counted, and generates pressure testing results.
2. the method according to claim 1, wherein described when the type for determining the service request is the survey
When examination request, the step of data resource needed for obtaining the test request, is specifically included:
When there are when preset test badge, determine that the type of the service request is that the test is asked in the service request
It asks;
The data resource needed for the test request is obtained in the target database for being stored with virtual test data.
3. according to the method described in claim 2, it is characterized in that, the type of the target database include Mysql,
MongoDB and Redis.
4. the method according to claim 1, wherein described patrol according to the corresponding business execution of the service request
It collects and business processing is carried out to the data resource specifically:
The mode for executing parameter is transmitted based on RPC service, logic is executed according to the business, business is carried out to the data resource
Processing.
5. according to the method described in claim 4, it is characterized in that, the execution parameter first passes through bytecode enhancing processing in advance.
6. the method according to claim 1, wherein being executed when described according to the corresponding business of the service request
When logic carries out business processing to the data resource, this method further comprises:
When the business execute logic execute to call third-party platform content when, according to the third-party platform in normal shape
The data content returned under state generates the analogue data content of same content type;
Using the analogue data content as returning the result for the third-party platform is called, executed with continuing to execute the business
Logic.
7. method described in -6 any one according to claim 1, which is characterized in that after the generation pressure testing results,
This method further comprises:
When the pressure testing results are more than default result threshold value, abnormal prompt is carried out to tester.
8. a kind of pressure test device characterized by comprising
Respond module on line receives for the operation system by running on line and responds service request;Wherein, the business is asked
The type asked includes true request and test request;
Testing execution module, for obtaining the test and asking when the type for determining the service request is the test request
Required data resource is sought, and logic is executed according to the service request corresponding business, the data resource is carried out at business
Reason generates processing result;
Result-generation module for counting to each processing result, and generates pressure testing results.
9. a kind of pressure test equipment characterized by comprising
Memory, for storing computer program;
Processor realizes method for testing pressure as described in any one of claim 1 to 7 when for executing the computer program
The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize method for testing pressure as described in any one of claim 1 to 7 when being executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811074197.8A CN109165168A (en) | 2018-09-14 | 2018-09-14 | A kind of method for testing pressure, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811074197.8A CN109165168A (en) | 2018-09-14 | 2018-09-14 | A kind of method for testing pressure, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109165168A true CN109165168A (en) | 2019-01-08 |
Family
ID=64879466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811074197.8A Pending CN109165168A (en) | 2018-09-14 | 2018-09-14 | A kind of method for testing pressure, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109165168A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871320A (en) * | 2019-01-21 | 2019-06-11 | 上海德启信息科技有限公司 | A kind of data processing method, device, application server and storage medium |
CN109976921A (en) * | 2019-02-25 | 2019-07-05 | 青岛迅隆信息科技有限责任公司 | RPC service or the specified consuming method and device of message, can storage medium and terminal |
CN110413594A (en) * | 2019-06-25 | 2019-11-05 | 苏州浪潮智能科技有限公司 | A kind of more example method for testing pressure of Redis and device |
CN110474820A (en) * | 2019-07-17 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Traffic playback method, device, electronic equipment |
CN110597722A (en) * | 2019-09-17 | 2019-12-20 | 深圳市及响科技有限公司 | Online debugging method for online development platform |
CN110750584A (en) * | 2019-09-18 | 2020-02-04 | 苏宁云计算有限公司 | Data management method and system |
CN110782211A (en) * | 2019-10-25 | 2020-02-11 | 上海燕汐软件信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111190784A (en) * | 2019-12-25 | 2020-05-22 | 中国建设银行股份有限公司 | Capacity pressure measuring method, system, device and storage medium suitable for production system |
CN111309570A (en) * | 2019-11-19 | 2020-06-19 | 天津网之易创新科技有限公司 | Pressure testing method, medium, device and computing equipment |
CN111309576A (en) * | 2020-02-18 | 2020-06-19 | 北京达佳互联信息技术有限公司 | Pressure testing method and device |
CN111464383A (en) * | 2020-03-30 | 2020-07-28 | 中国建设银行股份有限公司 | System capacity testing method and device based on production environment |
CN111488291A (en) * | 2020-06-24 | 2020-08-04 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, device and system for block chain network |
CN111756594A (en) * | 2019-03-29 | 2020-10-09 | 上海哔哩哔哩科技有限公司 | Control method of pressure test, computer device and computer readable storage medium |
CN112486838A (en) * | 2020-12-14 | 2021-03-12 | 广州品唯软件有限公司 | Interface testing method and device, computer equipment and storage medium |
CN112910724A (en) * | 2020-06-24 | 2021-06-04 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, device and system for block chain network |
CN113434384A (en) * | 2020-03-23 | 2021-09-24 | 北京京东振世信息技术有限公司 | Pressure testing method and device |
WO2021259131A1 (en) * | 2020-06-24 | 2021-12-30 | 支付宝(杭州)信息技术有限公司 | Pressure test method, apparatus, and system for block chain network |
CN114205273A (en) * | 2020-08-26 | 2022-03-18 | 腾讯科技(深圳)有限公司 | System testing method, device and equipment and computer storage medium |
CN116775313A (en) * | 2023-08-18 | 2023-09-19 | 浪潮(山东)计算机科技有限公司 | Resource allocation method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
CN106528400A (en) * | 2016-09-22 | 2017-03-22 | 深圳峰创智诚科技有限公司 | MOCK testing method and device |
CN106649117A (en) * | 2016-12-27 | 2017-05-10 | 广州唯品会信息科技有限公司 | Data providing method and system for software pressure test |
CN106708818A (en) * | 2015-07-17 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Pressure testing method and system |
US20180060220A1 (en) * | 2016-08-23 | 2018-03-01 | Linkedin Corporation | Fixture plugin for product automation |
CN108268372A (en) * | 2017-07-24 | 2018-07-10 | 深圳壹账通智能科技有限公司 | Mock test processing methods, device, storage medium and computer equipment |
CN108345535A (en) * | 2017-12-26 | 2018-07-31 | 阿里巴巴集团控股有限公司 | Mock test methods, device and equipment |
-
2018
- 2018-09-14 CN CN201811074197.8A patent/CN109165168A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
CN106708818A (en) * | 2015-07-17 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Pressure testing method and system |
US20180060220A1 (en) * | 2016-08-23 | 2018-03-01 | Linkedin Corporation | Fixture plugin for product automation |
CN106528400A (en) * | 2016-09-22 | 2017-03-22 | 深圳峰创智诚科技有限公司 | MOCK testing method and device |
CN106649117A (en) * | 2016-12-27 | 2017-05-10 | 广州唯品会信息科技有限公司 | Data providing method and system for software pressure test |
CN108268372A (en) * | 2017-07-24 | 2018-07-10 | 深圳壹账通智能科技有限公司 | Mock test processing methods, device, storage medium and computer equipment |
CN108345535A (en) * | 2017-12-26 | 2018-07-31 | 阿里巴巴集团控股有限公司 | Mock test methods, device and equipment |
Non-Patent Citations (3)
Title |
---|
国家税务总局教材编写组编: "《全国税务系统干部教育培训系列教材 信息技术 中级》", 31 March 2016, 中国税务出版社 * |
左刚: "基于JUnit框架的接口测试系统研究与实现", 《万方数据知识服务平台》 * |
郑天民: "《向技术管理者转型 软件开发人员跨越行业、技术、管理的转型思维与实践》", 31 October 2017, 九州出版社 * |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871320A (en) * | 2019-01-21 | 2019-06-11 | 上海德启信息科技有限公司 | A kind of data processing method, device, application server and storage medium |
CN109976921A (en) * | 2019-02-25 | 2019-07-05 | 青岛迅隆信息科技有限责任公司 | RPC service or the specified consuming method and device of message, can storage medium and terminal |
CN111756594A (en) * | 2019-03-29 | 2020-10-09 | 上海哔哩哔哩科技有限公司 | Control method of pressure test, computer device and computer readable storage medium |
CN111756594B (en) * | 2019-03-29 | 2022-04-15 | 上海哔哩哔哩科技有限公司 | Control method of pressure test, computer device and computer readable storage medium |
CN110413594A (en) * | 2019-06-25 | 2019-11-05 | 苏州浪潮智能科技有限公司 | A kind of more example method for testing pressure of Redis and device |
CN110474820A (en) * | 2019-07-17 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Traffic playback method, device, electronic equipment |
CN110474820B (en) * | 2019-07-17 | 2023-10-10 | 创新先进技术有限公司 | Flow playback method and device and electronic equipment |
CN110597722A (en) * | 2019-09-17 | 2019-12-20 | 深圳市及响科技有限公司 | Online debugging method for online development platform |
CN110750584A (en) * | 2019-09-18 | 2020-02-04 | 苏宁云计算有限公司 | Data management method and system |
CN110782211A (en) * | 2019-10-25 | 2020-02-11 | 上海燕汐软件信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111309570A (en) * | 2019-11-19 | 2020-06-19 | 天津网之易创新科技有限公司 | Pressure testing method, medium, device and computing equipment |
CN111190784A (en) * | 2019-12-25 | 2020-05-22 | 中国建设银行股份有限公司 | Capacity pressure measuring method, system, device and storage medium suitable for production system |
CN111309576A (en) * | 2020-02-18 | 2020-06-19 | 北京达佳互联信息技术有限公司 | Pressure testing method and device |
CN113434384B (en) * | 2020-03-23 | 2023-09-22 | 北京京东振世信息技术有限公司 | Pressure testing method and device |
CN113434384A (en) * | 2020-03-23 | 2021-09-24 | 北京京东振世信息技术有限公司 | Pressure testing method and device |
CN111464383A (en) * | 2020-03-30 | 2020-07-28 | 中国建设银行股份有限公司 | System capacity testing method and device based on production environment |
CN111488291A (en) * | 2020-06-24 | 2020-08-04 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, device and system for block chain network |
CN112910724A (en) * | 2020-06-24 | 2021-06-04 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, device and system for block chain network |
WO2021259131A1 (en) * | 2020-06-24 | 2021-12-30 | 支付宝(杭州)信息技术有限公司 | Pressure test method, apparatus, and system for block chain network |
WO2021259149A1 (en) * | 2020-06-24 | 2021-12-30 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, apparatus and system for blockchain network |
CN112910724B (en) * | 2020-06-24 | 2022-08-09 | 支付宝(杭州)信息技术有限公司 | Pressure testing method, device and system for block chain network |
CN114205273A (en) * | 2020-08-26 | 2022-03-18 | 腾讯科技(深圳)有限公司 | System testing method, device and equipment and computer storage medium |
CN114205273B (en) * | 2020-08-26 | 2023-09-15 | 腾讯科技(深圳)有限公司 | System test method, device and equipment and computer storage medium |
CN112486838A (en) * | 2020-12-14 | 2021-03-12 | 广州品唯软件有限公司 | Interface testing method and device, computer equipment and storage medium |
CN116775313A (en) * | 2023-08-18 | 2023-09-19 | 浪潮(山东)计算机科技有限公司 | Resource allocation method, device, equipment and medium |
CN116775313B (en) * | 2023-08-18 | 2023-12-08 | 浪潮(山东)计算机科技有限公司 | Resource allocation method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109165168A (en) | A kind of method for testing pressure, device, equipment and medium | |
CN106484610B (en) | A kind of Beta method and apparatus | |
US10116534B2 (en) | Systems and methods for WebSphere MQ performance metrics analysis | |
CN101882105A (en) | Method for testing response time of Web page under concurrent environment | |
AU2018271267B2 (en) | Robotic regression testing for smart devices | |
EP3964963A1 (en) | Method and apparatus for performing a stress test on a business system | |
CN105099801B (en) | The test system of information management system and test environment analogy method | |
US11550682B2 (en) | Synthetic system fault generation | |
CN111045911A (en) | Performance test method, performance test device, storage medium and electronic equipment | |
CN114564374A (en) | Operator performance evaluation method and device, electronic equipment and storage medium | |
CN107038120A (en) | A kind of method for testing software and equipment | |
CN112650676A (en) | Software testing method, device, equipment and storage medium | |
US9612944B2 (en) | Method and system for verifying scenario based test selection, execution and reporting | |
CN106095688A (en) | A kind of software performance testing method and device | |
CN107220165A (en) | The method and apparatus of pressure test on a kind of artificial line | |
CN110377519A (en) | Performance capability test method, device, equipment and the storage medium of big data system | |
CN113127356A (en) | Pressure measurement method and device, electronic equipment and storage medium | |
US20220038351A1 (en) | Identification of incident required resolution time | |
CN111949493A (en) | Inference application-based power consumption testing method and device for edge AI server | |
CN112231210A (en) | Test method, equipment and storage medium under network function virtualization environment | |
CN114968828B (en) | Performance test method, platform, equipment and storage medium for optimization algorithm | |
CN115952098A (en) | Performance test tuning scheme recommendation method and system | |
CN116257226A (en) | Data verification method and device, electronic equipment and storage medium | |
US9256700B1 (en) | Public service for emulation of application load based on synthetic data generation derived from preexisting models | |
CN103019927B (en) | A kind of performance test methods and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190108 |