CN109726102A - Flow pressure test method and device - Google Patents
Flow pressure test method and device Download PDFInfo
- Publication number
- CN109726102A CN109726102A CN201810455018.9A CN201810455018A CN109726102A CN 109726102 A CN109726102 A CN 109726102A CN 201810455018 A CN201810455018 A CN 201810455018A CN 109726102 A CN109726102 A CN 109726102A
- Authority
- CN
- China
- Prior art keywords
- journey
- association
- thread
- test
- pressure test
- 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
Abstract
The application proposes a kind of flow pressure test method and device, and it includes target pressure value in test request that wherein method, which includes: to obtain pressure test request,;Creation and the matched association's journey of target pressure value, wherein N number of association's journey operates in a thread, N is the positive integer greater than 1;By assisting journey, sends and request to system under test (SUT).This method not only reduces cost cost, also meets the high concurrent amount demand of pressure test, improve the test effect of pressure flow, improve the usage experience of user by creating multiple association's journeys on a thread.
Description
Technical field
This application involves field of computer technology more particularly to a kind of flow pressure test method and devices.
Background technique
Currently, pressure test is constantly to apply stressed test to system under test (SUT), by the work for determining a system
Bottleneck or the performance point that cannot be carried, the rank test for the maximum service pressure that acquisition system is capable of providing, or setting
It can guarantee the validation test of job stability in time cycle.Such as a Web site is tested under a large amount of load, when
The response of appearance system is unsuccessfully etc..
In the related technology, it usually realizes and pressure test is carried out to system under test (SUT) by establishing synchronizing thread model.Its
In, the foundation of synchronizing thread model usually generates a process in an operating system, and generates several threads by process.When
When carrying out pressure test request, an idle thread is obtained from several threads and generates new request using the thread.But
The quantity of thread is limited by device memory, such as the equipment of a 2G, can only at most start 2048 threads, then simulating
Ten thousand concurrent request more than 200 then needs 1000 equipment.Therefore it has been recognised by the inventors that by establishing synchronizing thread model to tested system
System carries out pressure test, concurrency at high cost, but also being not easily accomplished big is not only spent, so that test effect is bad.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the application is to propose that a kind of flow pressure test method, this method pass through at one
Multiple association's journeys are created on thread, not only reduce cost cost, are also met the high concurrent amount demand of pressure test, are improved pressure
The test effect of force flow amount improves the usage experience of user.
Second purpose of the application is to propose a kind of flow pressure test device.
The third purpose of the application is to propose a kind of flow pressure test device.
The 4th purpose of the application is to propose a kind of computer readable storage medium.
In order to achieve the above object, the application first aspect embodiment proposes a kind of flow pressure test method, this method packet
It includes:
Pressure test request is obtained, includes target pressure value in the test request;
Creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a thread, N is greater than 1
Positive integer;
By association's journey, sends and request to system under test (SUT).
In flow pressure test method provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, cost cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect improves the usage experience of user.
In addition, the flow pressure test method that the above embodiments of the present application propose can also have following additional technology special
Sign:
In one embodiment of the application, after the transmission request to system under test (SUT), further includes:
In the runing time section of per thread, however, it is determined that first association's journey in the process of implementation, generates I/O operation, then records
The contextual information of current stack;
Start and run second association's journey, wherein second association's journey and first association journey operate in identical thread.
In another embodiment of the application, after the contextual information for recording current stack, further includes:
When getting the I/O operation return value of first association journey, the thread for being currently at operating status is determined;
According to the contextual information of the current stack, restore described in execution in any thread for being currently at operating status
First association's journey.
In another embodiment of the application, after the transmission request to system under test (SUT), further includes:
According to the operational process of association's journey, the flow pressure test result of the system under test (SUT) is determined.
In another embodiment of the application, the creation and the matched association's journey of the target pressure value, comprising:
Creation and the matched association's journey of the target pressure value at least two-server.
In order to achieve the above object, the application second aspect embodiment proposes a kind of flow pressure test device, comprising:
Module is obtained, includes target pressure value in the test request for obtaining pressure test request;
Creation module, for creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a thread
In, N is the positive integer greater than 1;
Sending module, for sending and requesting to system under test (SUT) by association's journey.
In flow pressure test device provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, cost cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect improves the usage experience of user.
In addition, the flow pressure test device that the above embodiments of the present application propose can also have following additional technology special
Sign:
In one embodiment of the application, after the sending module, further includes:
Logging modle, in the runing time section of per thread, however, it is determined that first association's journey in the process of implementation, generates
I/O operation then records the contextual information of current stack;
Starting module, for starting and running second association's journey, wherein second association journey and it is described first assist journey operate in it is identical
Thread in.
In another embodiment of the application, after the logging modle, further includes:
First determining module, for when getting the I/O operation return value of first association journey, determination to be currently at fortune
The thread of row state;
Recovery module, for the contextual information according to the current stack, in any thread for being currently at operating status
Middle recovery executes first association journey.
In another embodiment of the application, after the sending module, further includes:
Second determining module determines that the flow pressure of the system under test (SUT) is surveyed for the operational process according to association's journey
Test result.
In another embodiment of the application, the creation module is specifically included:
Creation and the matched association's journey of the target pressure value at least two-server.
In order to achieve the above objectives, the application third aspect embodiment proposes a kind of flow pressure test device, comprising: deposits
Reservoir, processor and communication port;
The communication port, for realizing the data communication of equipment room;
The memory, for storing executable program code;
The processor, running for reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, for realizing flow pressure test method described in first aspect embodiment.
In flow pressure test device provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, cost cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect improves the usage experience of user.
In order to achieve the above objectives, the application fourth aspect embodiment proposes a kind of computer readable storage medium, thereon
It is stored with computer program, when which is executed by processor, realizes flow pressure test side described in first aspect embodiment
Method.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the flow pressure test method of the application one embodiment;
Fig. 2 is the flow chart of the flow pressure test method of the application another embodiment;
Fig. 3 is the structural schematic diagram of the flow pressure test device of the application one embodiment;
Fig. 4 is the structural schematic diagram of the flow pressure test device of the application another embodiment;
Fig. 5 is the structural schematic diagram of the flow pressure test device of the application one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
The application when carrying out pressure test to system under test (SUT) by synchronizing thread model, is deposited mainly in the prior art
Creation thread spend at high cost, while big concurrency is not easily accomplished, so that the problems such as test effect is bad, proposes one
Kind flow pressure test method.
The flow pressure test method that the application proposes, according to the target pressure value in the pressure test of acquisition request, wound
It builds and sends and request to system under test (SUT) then by association's journey of creation with the matched association's journey of target pressure value.As a result, by one
Multiple association's journeys are created on a thread, not only reduce consumer cost, are also met the high concurrent amount demand of pressure test, are improved
The test effect of pressure flow improves the usage experience of user.
The flow pressure test method proposed with reference to the accompanying drawing to the embodiment of the present application is described in detail.
Fig. 1 is the flow chart of the flow pressure test method of one embodiment of the application.
As shown in Figure 1, the application flow pressure test method may comprise steps of:
Step 101, pressure test request is obtained, includes target pressure value in test request.
Specifically, flow pressure test method provided by the embodiments of the present application, it can be by flow pressure provided by the present application
Test device executes, and above-mentioned flow pressure test device equipment grasps pressure test with realizing in flow pressure test device
It is controlled or is managed.
When specific implementation, whether can be triggered by monitoring pressure test request, obtain pressure test request.Work as monitoring
When pressure test request is triggered out, pressure test solicited message can be obtained.
Wherein, pressure test request can be triggered by following various ways in the present embodiment, is illustrated below:
Example one, user clicks in the control interface of flow pressure test device or press pressure test request is pressed
Key, triggering pressure test request;
Example two tests device to flow pressure by control operating platform and sends pressure test request.
Except of course that above two mode, pressure test request can also be triggered by other means, the application to this not
It does and excessively repeats.
Wherein, the target pressure value in the application can need to be configured according to actual test, and the application does not limit this
It is fixed.Such as 1,000,000,1,500,000 etc..
Step 102, creation and the matched association's journey of target pressure value, wherein N number of association's journey operates in a thread, N is big
In 1 positive integer.
Specifically, can request to carry out to pressure test after flow pressure test device gets pressure test request
Parsing, to obtain the target pressure value in pressure request.Then it according to the target pressure value got, creates and corresponds on thread
Association's journey of number.
In this application, due to association's journey, than thread, more lightweight, multiple threads can share the same thread, therefore use association
Journey can simulate very high concurrency.It, can be to service such as when using association's journey model to a server progress pressure test
Device initiates 60,000 concurrency, and equally carries out pressure test to a server using thread, is only capable of initiating 1000 to server
A concurrency.As it can be seen that assisting journey model higher than threading model concurrency in the application.
In another embodiment of the present invention, when the application creates association's journey of Corresponding matching according to target pressure value, also
Can be created at least two-server with the matched association's journey of target pressure value, distributed pressure is carried out to system under test (SUT) to realize
Power test.
Step 103, it by assisting journey, sends and requests to system under test (SUT).
It requests, is illustrated below specifically, the application can be sent to system under test (SUT) in the following manner:
Example one, according to URL (Uniform Resource Locator, the unified resource positioning carried in test request
Symbol) address to system under test (SUT) send request.
Wherein, above-mentioned request can be to system under test (SUT) and send http request.
Example two sends to system under test (SUT) and requests according to preset time interval.
Wherein, preset time interval in the present embodiment, can be configured, the application couple according to practical application
This is not especially limited.
For example, if each 1 second (s), primary request etc. is sent from trend system under test (SUT).
Further, in another embodiment of the application, after sending request to system under test (SUT), further includes:
According to the operational process of association's journey, the flow pressure test result of system under test (SUT) is determined.
Specifically, due to carrying out pressure test to system under test (SUT) being realized based on association's journey operational process, when association's journey
After operation finishes, the application produces corresponding test report.
Wherein, may include: in test report system under test (SUT) CPU usage, memory usage and response time it is long
Short, handling capacity etc., the application is not construed as limiting this.
In flow pressure test method provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, the cost of cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect, improve the usage experience of user.
By above-mentioned analysis it is found that the application in a thread by creating multiple association's journeys, and by association's journey to tested
System sends request, to carry out pressure test to system under test (SUT).In a way of realization of the present embodiment, according to the association of creation
When journey carries out pressure test to system under test (SUT), association's journey is likely to occur I/O operation in the process of running, and tested system is improved to this
The treatment effeciency of system, the application realizes the scheduling to association Cheng Yunhang by the scheduling mechanism of association Cheng Zishen, so as to avoid using
The resource of system under test (SUT) improves treatment effeciency to association's Cheng Zhihang scheduling.Below with reference to Fig. 2, to the flow pressure under above situation
Force test method is further described.
Fig. 2 is the flow chart of the flow pressure test method of another embodiment of the application.
As shown in Fig. 2, the flow pressure test method may comprise steps of:
Step 201, pressure test request is obtained, includes target pressure value in test request.
Step 202, creation and the matched association's journey of target pressure value, wherein N number of association's journey operates in a thread, N is big
In 1 positive integer.
Step 203, it by assisting journey, sends and requests to system under test (SUT).
Step 204, in the runing time section of per thread, however, it is determined that first association's journey in the process of implementation, generates IO behaviour
Make, then records the contextual information of current stack.
Wherein, I/O operation refers in association's journey implementation procedure the operation blocked occur in the present embodiment.
It should be noted that register context and stack due to assisting Cheng Yongyou oneself, assist journey executing when determining
It, can be by the contextual information of the current stack of register context and record stack of oneself, so as to extensive when occurring I/O operation in the process
It when running again, can be continued to execute based on the position of pause, so as to avoid the upper and lower of current stack is recorded by system under test (SUT)
Literary information reduces the occupancy of system under test (SUT) memory source, alleviates the processing load of system under test (SUT).
For example, if corresponding creation has 100 association journeys on thread A, when the runing time of thread A is 10 milliseconds (ms),
The time of so 100 association's each processing of journey is then 0.1ms.Also, work as thread A at runtime, 100 association's journeys are also according to distribution
Processing time 0.1ms successively run.There is I/O operation when if running to association's journey 3, association's journey register record can be passed through at this time
The contextual information of current stack.
Step 205, start and run second association's journey, wherein second association's journey operates in identical thread with first association's journey.
Specifically, since association's journey is to realize scheduling by the scheduling code of itself, it is a certain in determining same thread
When a association's journey is blocked in the process of implementation, the scheduling operation of association's journey can be controlled by the scheduling code of itself, is worked as with skipping
Association's journey of preceding obstruction continues to execute next association's journey, can be in scheduled runing time with other association's journeys guaranteed in thread
It operates normally.
It continues to use above-mentioned example to be illustrated, in the context for the current stack for having recorded association's journey 3 using association's journey register
After information, the scheduling mechanism of journey is assisted to skip association's journey 3, continue to execute association's journey 4, if I/O operation does not occur in association's journey 4, continues to hold
Row association journey 5 and so on.
Step 206, when getting the I/O operation return value of first association's journey, the thread for being currently at operating status is determined.
Step 207, according to the contextual information of current stack, restore to execute in any thread for being currently at operating status
First association's journey.
Specifically, if the subsequent I/O operation for got in pressure test sequence first association's journey to system under test (SUT) returns
When returning value, then flow pressure test device can determine that first association's journey can be extensive according to the I/O operation return value got
It is multiple to execute.
Therefore, when determining that first association's journey can be restored to execute, fortune can be currently at according to bitmask digitwise operation determination
The thread of row state, and the contextual information of the current stack using previously stored first association journey, are being currently at operating status
Thread in restore execute first association journey.
Wherein, the thread that operating status is currently in the present embodiment can be thread where first association's journey, can also be with
It is subsequent any thread, the application does not limit this.
For example, if first association's journey is association's journey 3 in the present embodiment, to be currently at the thread of operating status be thread D, that
Flow pressure tests the I/O operation return value that device is returned according to association's journey 3, and according to the record association current stack of journey 3 in register
Contextual information, in thread D restore association journey 3 operation.
In flow pressure test method provided by the embodiments of the present application, when operation has the thread of multiple association's journeys, if more
First association's journey in a association's journey is blocked in the process of running, the contextual information of the current stack of the first association of record journey, then
The second association of starting journey continues to execute, if when having got first association's journey I/O operation return value, determination is worked as during subsequent execution
Preceding thread in operating status, and the contextual information of the current stack according to first association's journey, are being currently at operating status
Restore to execute first association's journey in thread.As a result, by creating multiple association's journeys on a thread, not only reduce cost at
This, also meets the high concurrent amount demand of pressure test, improves the test effect of pressure flow, and improve user uses body
It tests.In addition, scheduling is realized using the scheduling mechanism of association's journey, so that system will not be consumed when operation association journey is blocked
Resource, reduce the loss of system resource, improve treatment effeciency, further satisfaction user demand improves user full
Meaning degree.
In order to realize above-described embodiment, the present invention also proposes a kind of flow pressure test device.
Fig. 3 is the structural schematic diagram of the flow pressure test device of one embodiment of the invention.
Referring to Fig. 3, which includes: to obtain module 11, creation module 12 and sending module 13.
Wherein, module 11 is obtained for obtaining pressure test request, includes target pressure value in the test request;
Creation module 12 is for creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a line
Cheng Zhong, N are the positive integer greater than 1;
Wherein, the creation module 12, specifically includes:
Creation and the matched association's journey of the target pressure value at least two-server.
Sending module 13 is used to send and request to system under test (SUT) by association's journey.
After the sending module 13, further includes:
Second determining module 14 determines the flow pressure of the system under test (SUT) for the operational process according to association's journey
Test result.
Further, in another embodiment of the application, as shown in figure 4, the flow pressure test device further include:
Logging modle 15 and starting module 16.
Wherein, logging modle 15 is used in the runing time section of per thread, however, it is determined that first association's journey is in implementation procedure
In, I/O operation is generated, then records the contextual information of current stack;
Starting module 16 is for starting and running second association's journey, wherein second association's journey operates in phase with first association journey
In same thread.
Further, the application flow pressure test device, after logging modle 14, further includes: the first determining module
And recovery module.
Wherein, the first determining module, for determining current place when getting the I/O operation return value of first association journey
In the thread of operating status;
Recovery module, for the contextual information according to the current stack, in any thread for being currently at operating status
Middle recovery executes first association journey.
It should be noted that the implementation process and technical principle of the flow pressure test device of the present embodiment are referring to aforementioned right
The explanation of flow pressure test method embodiment, details are not described herein again.
In flow pressure test device provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, the cost of cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect, improve the usage experience of user.
In order to realize above-described embodiment, the invention also provides a kind of flow pressures to test device.
Fig. 5 is the structural schematic diagram of the flow pressure test device of one embodiment of the invention.
As shown in figure 5, the flow pressure tests device, including memory 21, processor 22, communication port 23;
Wherein, the communication port 23 is used for transmission communication data;
The memory 21 is for storing executable program code;
The processor 22 be used to read the executable program code that stores in the memory 21 run with it is described can
The corresponding program of program code is executed, for realizing flow pressure test method described in first aspect embodiment.
Wherein, flow pressure test method, comprising: obtain pressure test request, include target in the test request
Pressure value;Creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a thread, N is greater than 1
Positive integer;By association's journey, sends and request to system under test (SUT).
It should be noted that the aforementioned explanation to flow method for testing pressure embodiment is also applied for the embodiment
Flow pressure tests device, and realization principle is similar, and details are not described herein again.
In flow pressure test device provided by the embodiments of the present application, by obtaining pressure test request, creation and target
The matched association's journey of pressure value, and by association's journey of creation, it sends and requests to system under test (SUT).As a result, by being created on a thread
Multiple association's journeys are built, the cost of cost is not only reduced, the high concurrent amount demand of pressure test is also met, improves pressure flow
Test effect, improve the usage experience of user.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium.
The storage medium is stored thereon with computer program, when which is executed by processor, realizes that first aspect is implemented
Flow pressure test method described in example.Wherein, flow pressure test method, comprising: obtain pressure test request, the survey
It include target pressure value in examination request;Creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a line
Cheng Zhong, N are the positive integer greater than 1;By association's journey, sends and request to system under test (SUT).
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (12)
1. a kind of flow pressure test method characterized by comprising
Pressure test request is obtained, includes target pressure value in the test request;
Creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a thread, N is just whole greater than 1
Number;
By association's journey, sends and request to system under test (SUT).
2. the method as described in claim 1, which is characterized in that after the transmission request to system under test (SUT), further includes:
In the runing time section of per thread, however, it is determined that first association's journey in the process of implementation, generates I/O operation, then record is current
The contextual information of stack;
Start and run second association's journey, wherein second association's journey and first association journey operate in identical thread.
3. method according to claim 2, which is characterized in that after the contextual information for recording current stack, further includes:
When getting the I/O operation return value of first association journey, the thread for being currently at operating status is determined;
According to the contextual information of the current stack, restore to execute described first in any thread for being currently at operating status
Assist journey.
4. method a method according to any one of claims 1-3, which is characterized in that after the transmission request to system under test (SUT), also wrap
It includes:
According to the operational process of association's journey, the flow pressure test result of the system under test (SUT) is determined.
5. method a method according to any one of claims 1-3, which is characterized in that the creation and the matched association of the target pressure value
Journey, comprising:
Creation and the matched association's journey of the target pressure value at least two-server.
6. a kind of flow pressure test device characterized by comprising
Module is obtained, includes target pressure value in the test request for obtaining pressure test request;
Creation module, for creation and the matched association's journey of the target pressure value, wherein N number of association's journey operates in a thread, N
For the positive integer greater than 1;
Sending module, for sending and requesting to system under test (SUT) by association's journey.
7. device as claimed in claim 6, which is characterized in that after the sending module, further includes:
Logging modle, in the runing time section of per thread, however, it is determined that first association's journey in the process of implementation, generates IO behaviour
Make, then records the contextual information of current stack;
Starting module, for starting and running second association's journey, wherein second association's journey and first association journey operate in identical line
In journey.
8. device as claimed in claim 7, which is characterized in that after the logging modle, further includes:
First determining module, for when getting the I/O operation return value of first association journey, determination to be currently at operation shape
The thread of state;
Recovery module, it is extensive in any thread for being currently at operating status for the contextual information according to the current stack
First association journey is executed again.
9. device a method as claimed in any one of claims 1-8, which is characterized in that after the sending module, further includes:
Second determining module determines the flow pressure test knot of the system under test (SUT) for the operational process according to association's journey
Fruit.
10. such as device as claimed in claim 6 to 8, which is characterized in that the creation module specifically includes:
Creation and the matched association's journey of the target pressure value at least two-server.
11. a kind of flow pressure tests device characterized by comprising memory, processor and communication port;
The communication port, for realizing the data communication of equipment room;
The memory, for storing executable program code;
The processor is run and the executable program for reading the executable program code stored in the memory
The corresponding program of code, for realizing flow pressure test method as described in any one in claim 1-5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Flow pressure test method as described in any one in claim 1-5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810455018.9A CN109726102A (en) | 2018-05-14 | 2018-05-14 | Flow pressure test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810455018.9A CN109726102A (en) | 2018-05-14 | 2018-05-14 | Flow pressure test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109726102A true CN109726102A (en) | 2019-05-07 |
Family
ID=66293785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810455018.9A Pending CN109726102A (en) | 2018-05-14 | 2018-05-14 | Flow pressure test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109726102A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110161429A (en) * | 2019-05-24 | 2019-08-23 | 深圳市乐得瑞科技有限公司 | Power supply adaptor test method, device, server and storage medium |
CN110247984A (en) * | 2019-06-27 | 2019-09-17 | 腾讯科技(深圳)有限公司 | Method for processing business, device and storage medium |
CN111294257A (en) * | 2020-03-09 | 2020-06-16 | 北京九州云动科技有限公司 | Method, device and system for automatic pressure test of application server |
CN111782482A (en) * | 2020-07-16 | 2020-10-16 | 平安国际智慧城市科技股份有限公司 | Interface pressure testing method and related equipment |
CN112564996A (en) * | 2019-09-26 | 2021-03-26 | 阿里巴巴集团控股有限公司 | Pressure test flow scheduling method, pressure test flow control device and computer readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487965A (en) * | 2015-12-28 | 2016-04-13 | 北京畅游天下网络技术有限公司 | Universal server pressure testing method and device |
CN105959177A (en) * | 2016-04-26 | 2016-09-21 | 网易(杭州)网络有限公司 | Game server stress test script generation method and device |
US20170147337A1 (en) * | 2014-03-27 | 2017-05-25 | Microsoft Technology Licensing, Llc | Hierarchical directives-based management of runtime behaviors |
-
2018
- 2018-05-14 CN CN201810455018.9A patent/CN109726102A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170147337A1 (en) * | 2014-03-27 | 2017-05-25 | Microsoft Technology Licensing, Llc | Hierarchical directives-based management of runtime behaviors |
CN105487965A (en) * | 2015-12-28 | 2016-04-13 | 北京畅游天下网络技术有限公司 | Universal server pressure testing method and device |
CN105959177A (en) * | 2016-04-26 | 2016-09-21 | 网易(杭州)网络有限公司 | Game server stress test script generation method and device |
Non-Patent Citations (1)
Title |
---|
BEIRUT: ""python之协程与IO操作"", 《HTTPS://WWW.CNBLOGS.COM/ZHANGYUX/P/6195860.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110161429A (en) * | 2019-05-24 | 2019-08-23 | 深圳市乐得瑞科技有限公司 | Power supply adaptor test method, device, server and storage medium |
CN110247984A (en) * | 2019-06-27 | 2019-09-17 | 腾讯科技(深圳)有限公司 | Method for processing business, device and storage medium |
CN112564996A (en) * | 2019-09-26 | 2021-03-26 | 阿里巴巴集团控股有限公司 | Pressure test flow scheduling method, pressure test flow control device and computer readable medium |
CN111294257A (en) * | 2020-03-09 | 2020-06-16 | 北京九州云动科技有限公司 | Method, device and system for automatic pressure test of application server |
CN111782482A (en) * | 2020-07-16 | 2020-10-16 | 平安国际智慧城市科技股份有限公司 | Interface pressure testing method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109726102A (en) | Flow pressure test method and device | |
Bermbach et al. | Cloud service benchmarking | |
US11436125B2 (en) | Game test automation device and method | |
CN109144856A (en) | A kind of UI automated testing method calculates equipment and storage medium | |
CN106126410B (en) | The reminding method and device of code conflicts | |
US20060288149A1 (en) | Generating static performance modeling factors in a deployed system | |
CN104424089A (en) | Terminal testing method and device | |
KR102243379B1 (en) | Method and apparatus for automating game test | |
JP6972796B2 (en) | Software service execution equipment, systems, and methods | |
CN110046101A (en) | Page automated testing method, device and computer storage medium | |
EP3566140B1 (en) | Speculative replay of executable code | |
CN107045475B (en) | Test method and device | |
CN108960587A (en) | Evaluation method, device and the readable storage medium storing program for executing of purchase of property consulting services quality | |
CN108628890A (en) | A kind of data export method and system | |
CN108205482B (en) | File mount restoration methods | |
CN111651140B (en) | Service method and device based on workflow | |
CN109739619A (en) | A kind of processing method, device and storage medium based on containerization application | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
US20060195732A1 (en) | Method and system for executing test cases for a device under verification | |
US20180276102A1 (en) | Multi-thread sequencing | |
CN102984282B (en) | Intelligent terminal obtains the method and apparatus of the media data of cloud storage file | |
CN108427599A (en) | Method, apparatus and storage medium is uniformly processed in asynchronous task | |
CN110618881B (en) | Method and system for simulating message queue | |
CN107451056B (en) | Method and device for monitoring interface test result | |
JP5967091B2 (en) | System parameter setting support system, data processing method of system parameter setting support device, and program |
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: 20190507 |