CN109491894A - A kind of method and apparatus of interface testing - Google Patents
A kind of method and apparatus of interface testing Download PDFInfo
- Publication number
- CN109491894A CN109491894A CN201811252453.8A CN201811252453A CN109491894A CN 109491894 A CN109491894 A CN 109491894A CN 201811252453 A CN201811252453 A CN 201811252453A CN 109491894 A CN109491894 A CN 109491894A
- Authority
- CN
- China
- Prior art keywords
- pressure
- test
- interface
- parameter
- tested
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention is suitable for technical field of information processing, provides a kind of method and apparatus of interface testing, comprising: obtain the interface message of test object;Each specified operating parameter is imported into pressure test Parameter Switch model respectively, calculates the pressure test parameter of each interface to be tested, and generates the pressure test script of test object based on pressure test parameter;Pressure test script is sent to test object, and controls test object operating pressure test script, acquires the test data that each interface to be tested is exported based on pressure test script;Test data is imported into the associated data of test object and parses template, generates and is reported about the pressure test of test object.The present invention generates pressure test report by obtaining the test data of each interface output to be tested, is that each interface configures pressure test parameter without user, improves the efficiency of pressure test.
Description
Technical field
The invention belongs to technical field of information processing more particularly to a kind of method and apparatus of interface testing.
Background technique
With the continuous development of terminal technology, in order to meet the various demands in user's use process, the number of terminal device
Amount and renewal speed also constantly increase, and therefore, how efficiently to test terminal device, then directly affect equipment more
New speed.Having included more in terminal device, interface generally requires to detect the data-handling capacity of interface in practical applications
Pressure test is carried out to each interface.
However the method for existing interface test is needed since the operating parameter of each interface each in equipment has differences
User is the configuration operation that each operating parameter carries out pressure parameter manually, when interface quantity is more, then needs to spend more
Manpower is configured, and reduces the efficiency of pressure test.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and apparatus of interface testing, to solve existing interface
Measuring technology needs user manually and is each operating parameter to carry out the configuration operation of pressure parameter, when interface quantity is more, then
Need the problem of spending more manpower to be configured, reducing the efficiency of pressure test.
The first aspect of the embodiment of the present invention provides a kind of method of interface testing, comprising:
Obtain the interface message of test object;The interface message record has each interface to be tested in the test object
Specified operating parameter;
Each specified operating parameter is imported into pressure test Parameter Switch model respectively, is calculated each described to be tested
The pressure test parameter of interface, and generate based on the pressure test parameter pressure test script of the test object;
The pressure test script is sent to the test object, and controls the test object and runs the pressure survey
Training sheet acquires the test data that each interface to be tested is exported based on the pressure test script;
The test data is imported into the associated data of the test object and parses template, is generated about the test object
Pressure test report.
The second aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
Realize each step of first aspect.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and each step of first aspect is realized when the computer program is executed by processor.
The method and apparatus for implementing a kind of interface testing provided in an embodiment of the present invention has the advantages that
The embodiment of the present invention is pressed by obtaining the interface message of test object according to interface message to be each
The interface of power test configures corresponding pressure test parameter, generates pressure test script, and corresponding operation then is tested in control should
Pressure test script, obtains the test data of each interface output to be tested, and generates pressure test report, is every without user
A interface configures pressure test parameter, improves the efficiency of pressure test, and terminal device can also divide test data
Analysis imports corresponding data parsing template, generates readable stronger test report, passes through experience and test number without user
It is judged that whether interface is abnormal, the readability of test result is improved, even if non-technical personnel is also apparent that each connect
The test case of mouth.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of the method for interface testing that first embodiment of the invention provides;
Fig. 2 is a kind of method S102 specific implementation flow chart for interface testing that second embodiment of the invention provides;
Fig. 3 is a kind of method S104 specific implementation flow chart for interface testing that third embodiment of the invention provides;
Fig. 4 is a kind of specific implementation flow chart of the method for interface testing that fourth embodiment of the invention provides;
Fig. 5 is a kind of method S104 specific implementation flow chart for interface testing that fifth embodiment of the invention provides;
Fig. 6 is a kind of structural block diagram for terminal device that one embodiment of the invention provides;
Fig. 7 be another embodiment of the present invention provides a kind of terminal device schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention is pressed by obtaining the interface message of test object according to interface message to be each
The interface of power test configures corresponding pressure test parameter, generates pressure test script, and corresponding operation then is tested in control should
Pressure test script, obtains the test data of each interface output to be tested, and generates pressure test report, is every without user
A interface configures pressure test parameter, improves the efficiency of pressure test, and terminal device can also divide test data
Analysis imports corresponding data parsing template, generates readable stronger test report, solve interface testing technology, need to use
Family is the configuration operation that each operating parameter carries out pressure parameter manually, when interface quantity is more, then needs to spend more people
Power is come the problem of configured, reduce the efficiency of pressure test.
In embodiments of the present invention, the executing subject of process is terminal device.The terminal device includes but is not limited to: calculating
The equipment that machine, smart phone and tablet computer etc. are able to carry out interface testing.Fig. 1 shows first embodiment of the invention offer
Interface testing method implementation flow chart, details are as follows:
In S101, the interface message of test object is obtained;The interface message record has each in the test object
The specified operating parameter of interface to be tested.
In the present embodiment, terminal device can carry out pressure test to the interface in test object, determine each interface
Robustness.Since test object is during actual motion, not the moment is in rated operation, it is possible to can locate
In overload, thus under overload test object whether can stable operation, then will have a direct impact on test object entirety
Stability, be based on this, test object before factory or publication, need to each interface carry out pressure test, so that it is determined that
The operating parameter of test object each interface under overload, and judge whether to meet factory or promulgated standard.Terminal device
The total interface for including in test object can be identified as interface to be tested, in this case, terminal device can ergodic solutions
The each interface for analysing test object obtains the specified operating parameter of each interface, and is based on the corresponding specified operation of total interface
Parameter generates interface message.Terminal device can also from test object selected part interface as interface to be tested.Specifically,
Terminal device according to the interface type of each interface, can choose the interface of certain a kind of or a few class interface type as this pressure
The interface to be tested of power test, can also receive the pre-set interface list to be tested of user, be based on interface list to be tested
The specified operating parameter of each interface to be tested is obtained from test object, generates interface message.
In the present embodiment, specified operating parameter refers specifically to: data of the interface to be tested under specified running environment
Processing capacity.The specified operating parameter can be a range of parameter values, due to each interface operating parameter in the process of running
There can be the possibility floated, thus in order to more accurately determine data processing energy of the interface to be tested under specified running environment
Power can indicate specified operating parameter by range of parameter values, i.e., under specified running environment, the practical fortune of interface to be tested
When row parameter is in the range of parameter values, then it represents that interface to be tested is in normal condition.Specified operating parameter can be used for limiting
The operating parameter of the input signal of fixed interface to be tested and/or the operating parameter of output signal, such as the operation ginseng of input signal
Number may include: the rating data amount etc. of the transmission rate of input signal, concurrent thread number, single file, output signal
Operating parameter may include: data processing rate, bit error rate etc..
In the present embodiment, test object can be an entity device, and in this case, terminal device can be with the entity
Equipment establish communication connection, and to the entity device send an interface message report request, so as to entity device by it is each to
The specified operating parameter of test interface is summarized, and is generated interface message and is returned to terminal device.Optionally, terminal device is also
The product design information of the device model can be obtained, and believe based on the product design according to the device model of the entity device
Breath obtains the specified operating parameter of each interface to be tested, and generates interface message.The test object can also apply journey for one
Sequence, terminal device can parse the program file of the application program, determine the virtual interface for including in the program file, and according to
The corresponding interface identifier of each virtual interface, obtains corresponding specified operating parameter, generates interface message.It should be noted that
If test object is an application program, which can be installed in terminal device or any other equipment, herein not
It limits.
In S102, each specified operating parameter is imported into pressure test Parameter Switch model respectively, is calculated each
The pressure test parameter of the interface to be tested, and generate based on the pressure test parameter pressure test of the test object
Script.
In the present embodiment, for terminal device due to needing to carry out pressure test to each interface to be measured, then needing will be each
Interface to be tested is placed under the running environment of overload, to collect operation feelings of each interface to be tested in the case where overloading environment
Condition, to generate pressure test report.Based on this, terminal device can be every according to the specified operating parameter of each interface to be tested
A interface configuration to be tested and the specified matched pressure test parameter of operating parameter.Since the parameter value of specified operating parameter is got over
Greatly, then it represents that the data-handling capacity of the interface to be tested is higher, and corresponding pressure test parameter should also be increase accordingly;And it is specified
The parameter value of operating parameter is smaller, then it represents that the data-handling capacity of the interface to be tested is lower, corresponding pressure test parameter
Also it should accordingly reduce.It can be seen that the pressure test parameter of each interface to be tested is related to its specified operating parameter, terminal is set
Standby transformational relation of the meeting based on the two, generates a pressure test Parameter Switch model, terminal device is receiving to be measured try
After the specified operating parameter of mouth, then each specified operating parameter can be imported into the pressure test Parameter Switch model respectively,
Calculate the corresponding pressure test parameter of each specified operating parameter.
Optionally, which it is specified to survey ratio adjustment based on the pressure configured with a pressure survey ratio
The parameter value of operating parameter obtains corresponding pressure test Parameter Switch model.For example, preset pressure survey ratio is 50%, and
A certain specified operating parameter is transmission rate, and parameter value 100M/s, then pressure test parameter is then are as follows: (1+50%) * 100M/s
=150M/s can calculate other specified test parameters with parameter aforesaid way.In pressure test parameter computation model
Pressure survey ratio can be fixed, i.e., for each interface to be tested pressure survey ratio it is all the same, certainly, the pressure survey ratio
It can be variation.Preferably, terminal device can be according to the interface type of interface to be tested, the determining pressure with the interface type
Survey ratio, and ratio is surveyed based on the pressure and adjusts pressure test Parameter Switch model, and the specified operation of the interface to be tested is joined
Number imported into pressure test Parameter Switch model adjusted, turns by the above-mentioned means, pressure test parameter can be adjusted dynamically
The pressure of mold changing type surveys ratio, to improve the accuracy of pressure test parameter.
In the present embodiment, terminal device can be based on the pressure after the pressure test parameter of interface to be tested has been determined
Power test parameter adjusts each interface testing example, and generates the pressure about the test object based on each interface testing example
Test script.
In S103, the pressure test script is sent to the test object, and controls the test object operation
The pressure test script acquires the test data that each interface to be tested is exported based on the pressure test script.
In the present embodiment, terminal device can send the pressure test script after generating pressure test script
A pressure test enabled instruction is sent to test object, and to the test object, so that test object starts pressure test stream
Journey.Specifically, if the test object be an entity device, terminal device can by communication interface with it is each in the entity device
A interface to be tested establishes communication link, and configures corresponding pumping signal for each interface to be tested, then the entity device
Pressure test can be carried out to each interface to be tested according to the pumping signal and the pressure test script;If the test pair
As for an application program, terminal device can input data type and corresponding pressure test based on each interface to be tested
Parameter configures corresponding training sample, and each training sample is imported into each interface to be tested, realizes and to be measured tries to each
The pressure test of mouth.
In the present embodiment, terminal device can acquire the actual motion in each interface execution pressure test sequence to be tested
The output of parameter and each interface to be tested is as a result, generate test data according to actual operation parameters and output result.It should
Actual operation parameters include but is not limited to: resources occupation rate, data processing rate, response time of test object etc., terminal is set
It is standby to may determine that whether the test object be in preset range of operation in the state of overload based on actual operation parameters
Data processing, and the training sample based on each pumping signal are carried out, judges to export whether result matches with training sample, from
And determine whether the ratio of exception response.
It should be noted that the functional module as belonging to different interfaces to be tested may be identical, in order to avoid difference
Interface to be tested during pressure test test script influence each other, terminal device can be respectively to each to be tested
Interface carries out pressure test respectively, i.e., is successively tested each interface to be tested according to pressure test script.Preferably, eventually
End equipment can identify the relevance between each interface to be tested, choose the lower multiple interfaces to be tested of relevance as simultaneously
Test interface is sent out, concurrent test can be carried out for concurrent test interface, to improve testing efficiency.
In S104, the test data is imported into the associated data of the test object and parses template, is generated about institute
State the pressure test report of test object.
In the present embodiment, terminal device can be obtained from data parsing database according to the object identity of test object
The corresponding data parsing template of the object identity is taken, parses template as the associated data of the test object.The data parse mould
Plate records the checking algorithm for having each interface to be tested, and terminal device can parse from test data and obtain each interface to be tested
Test subdata, and imported into data parsing template in corresponding checking algorithm, determine the test of each interface to be tested
As a result, and generating pressure test report according to each test result.
Optionally, it if the test result of each interface to be tested is to be successfully tested in pressure test report, identifies
The test object is qualified subject, can carry out the links such as subsequent factory or publication;Conversely, if any to be measured in test report
Try mouth test result be test crash, then generate test exception information, in the test exception information record it is different with the presence of this
Normal interface to be tested, so that developer is adjusted to there is abnormal interface to be tested.
Optionally, in the present embodiment, which can be the file of a jtl format, that is, execute pressure test
It is the test data of each interface to be tested to be obtained by jmeter program, and generate corresponding jtl file when script,
Since the readability of jtl file is lower, terminal device can be parsed the jtl file, will be each to be tested in jtl file
The test result of interface is imported into the data parsing template with html format, generates the html page about the test object,
Test result is shown by html page, can be read in order to each user, to improve the readable of test report
Property.
Above as can be seen that a kind of method of interface testing provided in an embodiment of the present invention is by obtaining connecing for test object
Message breath, and be that each interface for needing to carry out pressure test configures corresponding pressure test parameter according to interface message, it generates
Control is then tested corresponding operation pressure test script by pressure test script, obtains the survey of each interface output to be tested
Data are tried, and generate pressure test report, is that each interface configures pressure test parameter without user, improves pressure test
Efficiency, and terminal device can also analyze test data, import corresponding data parsing template, generate readable stronger
Test report, judge that whether extremely interface, improves the readable of test result by experience and test data without user
Property, even if non-technical personnel is also apparent that the test case of each interface.
Fig. 2 shows the specific implementation flows of the method S102 of interface testing of second embodiment of the invention offer a kind of
Figure.It referring to fig. 2, respectively will be each described in a kind of method of interface testing provided in this embodiment relative to embodiment described in Fig. 1
The specified operating parameter imports pressure test Parameter Switch model, calculates the pressure test ginseng of each interface to be tested
Number, comprising: S1021~S1025, specific details are as follows:
In S1021, the memory size and buffer memory capacity of the test object are obtained, and from the specified operating parameter
It is middle to extract average text capacity and specified number of threads.
In the present embodiment, each test object after receiving the data, can be based on first by data storage and buffer zone
The operation of the data type of the data and required execution can then be transported from caching zone-transfer into corresponding region of memory
Calculation processing.Therefore, a test object outside the Pass in addition to the data-handling capacity phase with interface goes back the processing capacity of data
It is related to the size of the memory size of the test object and buffer memory capacity, it is based on this, terminal device is determining pressure test ginseng
Before number, it is thus necessary to determine that the storage capacity of test object, therefore the memory size and buffer memory capacity of the test object can be obtained.
In the present embodiment, terminal device can extract average text capacity and specified thread from specified operating parameter
Number, wherein average text capacity refers specifically to, and when the interface file data to be tested, the data volume of file is averaged
Mean value;And specified number of threads be specially interface to be tested in the process of running, which can be same under specified running environment
When the number of threads safeguarded, such as a certain interface can establish simultaneously with multiple user terminals and communicate to connect, and each communication chain
Road is required to an independent concurrent thread to be safeguarded, therefore the number of the user terminal connected is that the interface is corresponding
Number of threads.
In S1022, the average text capacity is imported into first pressure Parameter Switch model, calculates described to be measured try
The first pressure parameter of mouth;The first pressure Parameter Switch transformation model specifically:
Wherein, DocVol is the first pressure parameter;Scale is pressure survey ratio;DocVol0Hold for the average text
Amount.
In the present embodiment, pressure test parameter includes the pressure parameter of three types, respectively about text capacity
First pressure parameter, the second pressure parameter about maximum concurrent thread and the third pressure about pressure test runing time
Test parameter.Pass through the pressure parameter of above three type, it can be determined that interface to be tested is at data in the state of overload
Situation is managed, if maximum text capacity is bigger, then it represents that the interface to be tested can carry out the biggish single file of data volume fast
The range of speed processing, i.e. processing file is larger, and the number of maximum concurrent thread is more, then it represents that interface to be tested and line number
It is higher according to processing capacity, under overload, it can quickly handle the service request of accumulation;And pressure test runing time is got over
It is long, then it represents that the robustness of the interface to be tested is higher, can run in the environment of overload for a long time, therefore, different pressures
Force parameter can be used for characterizing interface to be tested in the overload processing capacity of multiple dimensions.
In the present embodiment, average text capacity is imported into first pressure Parameter Switch model, determines the average text
The corresponding first pressure test parameter of capacity, thus when calculating pressure test, the text data amount size of each training sample.
Text data amount is bigger, then bigger for the operation pressure of interface to be tested.Terminal device can based on preset pressure survey ratio with
And average text capacity, calculate first pressure parameter.
In S1023, the specified number of threads is imported into second pressure Parameter Switch model, calculates described to be measured try
The second pressure parameter of mouth;The second pressure Parameter Switch transformation model specifically:
Wherein, ThreadNum is the second pressure parameter;ThreadNum0For the specified number of threads.
In the present embodiment, specified number of threads is imported into second pressure Parameter Switch model by terminal device, and determining should
The corresponding second pressure test parameter of specified number of threads, so that it is determined that during pressure test, required calling it is concurrent
The number of thread.Since the number of concurrent thread is more, then test object needs simultaneously to handle multiple data, thus right
The calculation processing power answered is bigger.Terminal device can be based on preset pressure survey ratio and specified number of threads, calculate the
Two pressure parameters.
In S1024, by the first pressure parameter, the second pressure parameter, the memory size and described slow
It deposits capacity and imports third pressure parameter transformation model, calculate the third pressure parameter of the interface to be tested;The third pressure
Parameter Switch model specifically:
Wherein, RunTime is the third pressure parameter;RAM is the memory size;Cache is the buffer memory capacity.
In the present embodiment, since every concurrent thread can be to parallel to test object transmission training sample, each training
The file size of sample is first pressure test parameter, then transient data measurer body received by a certain moment test object
Are as follows: ThreadNum*DocVol, and test object can store training sample and buffer zone and content area, therefore presses
The runing time of power test, i.e. third pressure parameter can be according between (RAM+Cache) and (ThreadNum*DocVol)
Ratio be determined.Specifically, data can be carried out with calculation process due to test terminal when receiving data, and will place
Data after reason are eliminated, thus the value of pressure survey ratio can be greater than 1.
In S1025, institute is generated based on the first pressure parameter, second pressure parameter and the third pressure parameter
State the pressure test parameter of interface to be tested.
In the present embodiment, terminal device carries out first pressure parameter, second pressure parameter and third pressure parameter
Encapsulation is integrated, obtains the pressure test parameter of the interface to be tested.Specifically, terminal device can be by three kinds of pressure parameters with number
The form of group is packaged integrated.
In embodiments of the present invention, by calculating separately the pressure parameter of the three types of interface to be tested, generating should be to
The pressure test parameter of test interface, by the data-handling capacity of multiple dimensional representation interfaces, so as to improve pressure
Test script is to the matching degree of interface, to accurately test interface.
Fig. 3 shows the specific implementation flow of the method S104 of interface testing of second embodiment of the invention offer a kind of
Figure.Referring to Fig. 3, relative to Fig. 1 the embodiment described, by the survey described in a kind of method of interface testing provided in this embodiment
It tries data and imports the associated data parsing template of the test object, generate and reported about the pressure test of the test object,
Include: S1041~S1044, specific details are as follows:
In S1041, the pressure according to the Test data generation about interface to be tested surveys geometric locus.
In the present embodiment, terminal device can obtain the interface ginseng of each interface to be tested in preset acquisition time section
Number, thus the corresponding test data of each interface to be tested includes operational parameter value corresponding to multiple collection points.Based on each
The acquisition time of a collection point marks each collection point in preset reference axis, to generate about interface to be tested
Pressure surveys geometric locus.
Preferably, terminal device can judge that whether the pressure is surveyed in geometric locus comprising discrimination by difference point recognizer
Dissimilarity, such as the corresponding derivative value in a certain collection point are less than first threshold, and the derivative value of the collection point adjacent with the collection point
Opposite number each other, and its value is greater than second threshold, then can be determined that the collection point is difference point, smoothly disappeared to the collection point
Except processing.
In S1042, the standard trajectory curve of the interface to be tested described in the preset coordinate axis plot and the pressure
Geometric locus is surveyed, each coordinate points and the pressure on the standard trajectory curve is obtained and surveys the distance between geometric locus value.
In the present embodiment, terminal device, can be identical with pressure survey geometric locus after generating pressure and surveying geometric locus
The standard trajectory curve of the interface to be tested can be gone out in reference axis, so that pressure surveys geometric locus and standard trajectory is bent by comparing
Line, then can identify interface to be tested in actual moving process with the departure degree of ideal situation.Therefore, terminal device can be with
The distance between respective coordinates point value on geometric locus is surveyed according to coordinate points each on standard trajectory curve and pressure, as two songs
Deviation value between line.
In S1043, the distance value based on each coordinate points calculates the standard trajectory curve and the pressure surveys track song
Average distance distance between line, and the pressure by the Average distance distance as the interface to be tested surveys response grade.
In the present embodiment, terminal device can calculate flat between two curves according to the distance value of each coordinate points
Equal distance, certainly, terminal device can add different distance values according to the corresponding acquisition time of each coordinate points
Operation is weighed, is averaging again after ranking operation, so that it is determined that the Average distance distance between two geometric locuses.Specifically,
The corresponding weighting weight of the more late coordinate points of acquisition time is bigger, conversely, the corresponding weighting power of coordinate points that acquisition time is more early
Weight is smaller.Due to acquisition time relatively after coordinate points, the time for indicating that interface to be tested is run in the case where overloading environment is longer, then gets over
The robustness of the interface can be characterized, therefore corresponding weighting weight also Ying Yue great.
In the present embodiment, since the Average distance distance between two curves is bigger, then it represents that the pressure of the interface is rung
Should be able to power it is poorer, in the case of an overload handle data rate it is slower;And Average distance is apart from smaller, then it represents that the interface and pre-
If desired operation it is closer, be still able to maintain higher data capability in the case of an overload.Therefore, terminal device can lead to
Average distance distance is crossed as the pressure of interface to be tested and surveys response grade.
In S1044, response grade is surveyed according to the pressure of each interface to be tested and generates the pressure test report.
In the present embodiment, the corresponding pass for surveying response grade with pressure about interface to be tested can be generated in terminal device
It is table, user can quickly determine the data-handling capacity of the overload of each interface to be tested by the mapping table.
Optionally, terminal device can also by the specified operating parameter of each interface to be tested, pressure test parameter, the corresponding relationship,
Standard trajectory curve and/or pressure trace plot table are packaged, and generate pressure test report, so that it is each to facilitate user to determine
The operating parameter situation of a interface to be tested.
In embodiments of the present invention, by generating pressure test geometric locus, so as to intuitively determine actual motion
The departure degree of interface to be tested and standard trajectory curve in the process determines pressure response grade, it is intuitive determine obtain it is each to
The overlond running situation of test interface.
Fig. 4 shows a kind of specific implementation flow chart of the method for interface testing of fourth embodiment of the invention offer.Ginseng
Fig. 4 is seen, relative to embodiment described in Fig. 1-Fig. 3, in the control institute in a kind of method of interface testing provided in this embodiment
It states test object and runs the pressure test script, acquire each interface to be tested and exported based on the pressure test script
Test data after, further includes: S401~S403, specific details are as follows:
Further, the pressure test script is run in the control test object, acquired each described to be measured
After the test data that mouth is exported based on the pressure test script of trying, further includes:
In S401, if not receiving the test that the interface to be tested is sent in preset waiting time threshold value
Data determine the pressure of the interface to be tested then according to current time and the corresponding Startup time of the operation test script
Survey runing time.
In the present embodiment, test object can be fed back to terminal device at predetermined intervals in pressure test sequence
A data reception timer can be arranged in test data, terminal device, when receiving the test data of test object transmission, can weigh
Set the count value of the reception timer.If the count value of the counter is greater than the waiting time threshold value for being, then it represents that the test pair
As that can identify interface to be tested at this time there is no test data is sent to terminal device according to preset data feedback process
In abnormality, for instance in delay machine state or interface data blocked state.The reason of leading to above situation may be that pressure is surveyed
Try that parameter is excessively high, then more than interface to be tested can be in process range, it is therefore desirable to pressure test parameter is adjusted.
In the present embodiment, terminal device can obtain the time value at current time, and run corresponding when the test script
The time value of Startup time interface to be tested operation pressure can then be determined based on the difference between above-mentioned two time value
The pressure of power test script surveys runing time.
In S402, the pressure test parameter that runing time adjusts the interface to be tested is surveyed based on the pressure.
In the present embodiment, terminal device, which can survey runing time according to pressure, reduces pressure test parameter, to avoid pressure
Test script is more than the executable range of interface to be tested.Specifically, terminal device can calculate pressure and survey runing time and pre-
If the pressure test time between ratio, equal proportion reduces each pressure test parameter of interface to be tested, and will be after reduction
Pressure test parameter is identified as pressure test parameter adjusted.
In S403, the pressure test parameter adjusted is added to the pressure test script, returns and executes institute
It states and the pressure test script is sent to the test object, and control the test object and run the pressure test foot
This, acquires the test data that each interface to be tested is exported based on the pressure test script.
In the present embodiment, pressure test parameter adjusted is imported into pressure test script by terminal device again,
And pressure test is carried out to test object again according to the pressure test script adjusted, it acquires each interface to be tested and is pressing
The test data exported under power test script.
In embodiments of the present invention, by acquire the pressure test time, adjust automatically pressure test parameter, so as to
In pressure test parameter and the unmatched situation of test object, adaptively adjusted, improve the intelligence of pressure test with
And testing efficiency.
Fig. 5 shows the specific implementation flow of the method S104 of interface testing of fifth embodiment of the invention offer a kind of
Figure.Referring to Fig. 5, relative to embodiment described in Fig. 1-Fig. 3, S104 packet in a kind of method of interface testing provided in this embodiment
Include: S1045~S1046, specific details are as follows:
In S1045, the test data is parsed into each interface to be tested in template with the data respectively
Standard parameter range is compared.
In the present embodiment, the standard parameter range for having each interface to be tested is recorded in data parsing template, terminal is set
The standby actual operation parameters that each interface to be tested is determined by test data, and by the actual operation parameters with it is corresponding to be tested
The standard parameter range of interface is compared, if the actual operation parameters within the scope of standard parameter, identify that this to be measured is tried
Mouth is normal interface;Conversely, if the actual operation parameters of a certain interface to be tested execute S1046 outside standard parameter range
Relevant operation.
It should be noted that test data conversion can be by the test data in such a way that 3rd embodiment provides
Pressure response grade, and identify that the pressure response grade whether in preset normal response rate range, is based on comparison result
Execute corresponding operation.
In S1046, if the test data exceeds the standard parameter range of any interface to be tested, identification should
Interface to be tested is exceptional interface, and exports the interface exception information about the exceptional interface.
In the present embodiment, when terminal device recognize a certain interface to be tested be exceptional interface after, can be generated about
The interface exception information of the exceptional interface, it is preferable that terminal device can survey the actual operation parameters of the exceptional interface, pressure
Examination parameter and/or specified operating parameter are added in the interface exception information, to facilitate user according in interface exception information
The multiple parameters value of record carries out abnormal reparation to the exceptional interface.
In embodiments of the present invention, it by being compared with standard parameter range, identifies abnormal interface, improves different
The efficiency often responded.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 6 shows a kind of structural block diagram of terminal device of one embodiment of the invention offer, which includes
Each unit is used to execute each step in the corresponding embodiment of Fig. 1.Referring specifically in embodiment corresponding to Fig. 1 and Fig. 1
Associated description.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 6, the terminal device includes:
Interface message acquiring unit 61, for obtaining the interface message of test object;The interface message record has described
The specified operating parameter of each interface to be tested in test object;
Pressure test script generation unit 62, for each specified operating parameter to be imported pressure test parameter respectively
Transformation model calculates the pressure test parameter of each interface to be tested, and based on described in pressure test parameter generation
The pressure test script of test object;
Pressure test execution unit 63 for the pressure test script to be sent to the test object, and controls institute
It states test object and runs the pressure test script, acquire each interface to be tested and exported based on the pressure test script
Test data;
Pressure test report generation unit 64, for the test data to be imported the associated data solution of test object
Template is analysed, generates and is reported about the pressure test of the test object.
Optionally, the pressure test script generation unit 62 includes:
Test object parameter acquiring unit, for obtaining the memory size and buffer memory capacity of the test object, and from
Average text capacity and specified number of threads are extracted in the specified operating parameter;
First pressure parameter calculation unit, for the average text capacity to be imported first pressure Parameter Switch model,
Calculate the first pressure parameter of the interface to be tested;The first pressure Parameter Switch transformation model specifically:
Wherein, DocVol is the first pressure parameter;Scale is pressure survey ratio;DocVol0Hold for the average text
Amount;
Second pressure parameter calculation unit, for the specified number of threads to be imported second pressure Parameter Switch model,
Calculate the second pressure parameter of the interface to be tested;The second pressure Parameter Switch transformation model specifically:
Wherein, ThreadNum is the second pressure parameter;ThreadNum0For the specified number of threads;
Third pressure parameter computing unit is used for the first pressure parameter, the second pressure parameter, the memory
Capacity and the buffer memory capacity import third pressure parameter transformation model, calculate the third pressure ginseng of the interface to be tested
Number;The third pressure parameter transformation model specifically:
Wherein, RunTime is the third pressure parameter;RAM is the memory size;Cache is the buffer memory capacity;
Pressure test parameter generating unit, for based on the first pressure parameter, second pressure parameter and described the
Three pressure parameters generate the pressure test parameter of the interface to be tested.
Optionally, the pressure test report generation unit 64 includes:
Pressure surveys geometric locus generation unit, surveys track for the pressure according to the Test data generation about interface to be tested
Curve;
Pressure surveys geometric locus comparing unit, the standard trajectory for the interface to be tested described in the preset coordinate axis plot
Curve and the pressure survey geometric locus, obtain on the standard trajectory curve each coordinate points and pressure survey geometric locus it
Between distance value;
Pressure surveys response level de-termination unit, for the distance value based on each coordinate points calculate the standard trajectory curve with
The pressure surveys the Average distance distance between geometric locus, and the pressure by the Average distance distance as the interface to be tested
Survey response grade;
Pressure surveys response grade collection unit, generates the pressure for surveying response grade according to the pressure of each interface to be tested
Test report.
Optionally, the terminal device further include:
Pressure surveys runing time determination unit, if for not receiving described to be measured try in preset waiting time threshold value
The test data that mouth is sent determines institute then according to current time and the corresponding Startup time of the operation test script
The pressure for stating interface to be tested surveys runing time;
Pressure test parameter adjustment unit adjusts described in the interface to be tested for surveying runing time based on the pressure
Pressure test parameter;
Pressure test script adjustment unit, for the pressure test parameter adjusted to be added to the pressure test
Script, return execution is described to be sent to the test object for the pressure test script, and controls the test object operation
The pressure test script acquires the test data that each interface to be tested is exported based on the pressure test script.
Optionally, the pressure test report generation unit 64 includes:
Standard parameter range comparing unit, for the test data to be parsed each institute in template with the data respectively
The standard parameter range for stating interface to be tested is compared;
Exceptional interface recognition unit, if exceeding the standard parameter model of any interface to be tested for the test data
It encloses, then identifies that the interface to be tested is exceptional interface, and export the interface exception information about the exceptional interface.
Therefore, terminal device provided in an embodiment of the present invention again may be by obtaining the interface message of test object, and
It is that each interface for needing to carry out pressure test configures corresponding pressure test parameter according to interface message, generates pressure test foot
This, then tests corresponding operation pressure test script for control, obtains the test data of each interface output to be tested, and raw
It is reported at pressure test, is that each interface configures pressure test parameter without user, improves the efficiency of pressure test, and eventually
End equipment can also analyze test data, import corresponding data parsing template, generate readable stronger test report,
Judge whether interface is abnormal, the readability of test result is improved, even if non-skill by experience and test data without user
Art personnel are also apparent that the test case of each interface.
Fig. 7 be another embodiment of the present invention provides a kind of terminal device schematic diagram.As shown in fig. 7, the embodiment
Terminal device 7 includes: processor 70, memory 71 and is stored in the memory 71 and can transport on the processor 70
Capable computer program 72, such as the program of interface testing.The processor 70 is realized when executing the computer program 72
State the step in the embodiment of the method for each interface testing, such as S101 shown in FIG. 1 to S104.Alternatively, the processor 70
Realize the function of each unit in above-mentioned each Installation practice when executing the computer program 72, for example, module 61 shown in Fig. 6 to
64 functions.
Illustratively, the computer program 72 can be divided into one or more units, one or more of
Unit is stored in the memory 71, and is executed by the processor 70, to complete the present invention.One or more of lists
Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 72 in the terminal device 7.For example, the computer program 72 can be divided into interface message acquisition
Unit, pressure test script generation unit, pressure test execution unit and pressure test report generation unit, each unit are specific
Function is as described above.
The terminal device 7 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7
The only example of terminal device 7 does not constitute the restriction to terminal device 7, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk or interior of terminal device 7
It deposits.The memory 71 is also possible to the External memory equipment of the terminal device 7, such as be equipped on the terminal device 7
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7
Member also includes External memory equipment.The memory 71 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method of interface testing characterized by comprising
Obtain the interface message of test object;The interface message record has the volume of each interface to be tested in the test object
Determine operating parameter;
Each specified operating parameter is imported into pressure test Parameter Switch model respectively, calculates each interface to be tested
Pressure test parameter, and generate based on the pressure test parameter pressure test script of the test object;
The pressure test script is sent to the test object, and controls the test object and runs the pressure test foot
This, acquires the test data that each interface to be tested is exported based on the pressure test script;
The test data is imported into the associated data of the test object and parses template, generates the pressure about the test object
Power test report.
2. the method according to claim 1, wherein described import pressure for each specified operating parameter respectively
Power test parameter transformation model calculates the pressure test parameter of each interface to be tested, comprising:
The memory size and buffer memory capacity of the test object are obtained, and extracts average text from the specified operating parameter
Capacity and specified number of threads;
The average text capacity is imported into first pressure Parameter Switch model, calculates the first pressure ginseng of the interface to be tested
Number;The first pressure Parameter Switch transformation model specifically:
Wherein, DocVol is the first pressure parameter;Scale is pressure survey ratio;DocVol0For the average text capacity;
The specified number of threads is imported into second pressure Parameter Switch model, calculates the second pressure ginseng of the interface to be tested
Number;The second pressure Parameter Switch transformation model specifically:
Wherein, ThreadNum is the second pressure parameter;ThreadNum0For the specified number of threads;
The first pressure parameter, the second pressure parameter, the memory size and the buffer memory capacity are imported into third
Pressure parameter transformation model calculates the third pressure parameter of the interface to be tested;The third pressure parameter transformation model tool
Body are as follows:
Wherein, RunTime is the third pressure parameter;RAM is the memory size;Cache is the buffer memory capacity;
The interface to be tested is generated based on the first pressure parameter, second pressure parameter and the third pressure parameter
Pressure test parameter.
3. the method according to claim 1, wherein described import the test object pass for the test data
The data of connection parse template, generate and report about the pressure test of the test object, comprising:
Pressure according to the Test data generation about interface to be tested surveys geometric locus;
The standard trajectory curve of the interface to be tested described in the preset coordinate axis plot and the pressure survey geometric locus, obtain
Each coordinate points and the pressure survey the distance between geometric locus value on the standard trajectory curve;
Distance value based on each coordinate points calculates the average phase that the standard trajectory curve is surveyed with the pressure between geometric locus
Away from distance, and the pressure by the Average distance distance as the interface to be tested surveys response grade;
Response grade, which is surveyed, according to the pressure of each interface to be tested generates the pressure test report.
4. method according to claim 1-3, which is characterized in that run institute in the control test object
Pressure test script is stated, after acquiring the test data that each interface to be tested is exported based on the pressure test script,
Further include:
If not receiving the test data that the interface to be tested is sent in preset waiting time threshold value, basis is worked as
Preceding moment and the corresponding Startup time of the operation test script determine that the pressure of the interface to be tested surveys runing time;
The pressure test parameter that runing time adjusts the interface to be tested is surveyed based on the pressure;
The pressure test parameter adjusted is added to the pressure test script, return execution is described to survey the pressure
Training is originally sent to the test object, and controls the test object and run the pressure test script, acquires each described
The test data that interface to be tested is exported based on the pressure test script.
5. method according to claim 1-3, which is characterized in that described that the test data is imported the survey
It tries the associated data of object and parses template, generate and reported about the pressure test of the test object, comprising:
By the test data respectively with the data parsing template in each interface to be tested standard parameter range into
Row compares;
If the test data exceeds the standard parameter range of any interface to be tested, identify that the interface to be tested is different
Normal interface, and export the interface exception information about the exceptional interface.
6. a kind of terminal device, which is characterized in that the terminal device includes memory, processor and is stored in the storage
In device and the computer program that can run on the processor, the processor are realized as follows when executing the computer program
Step:
Obtain the interface message of test object;The interface message record has the volume of each interface to be tested in the test object
Determine operating parameter;
Each specified operating parameter is imported into pressure test Parameter Switch model respectively, calculates each interface to be tested
Pressure test parameter, and generate based on the pressure test parameter pressure test script of the test object;
The pressure test script is sent to the test object, and controls the test object and runs the pressure test foot
This, acquires the test data that each interface to be tested is exported based on the pressure test script;
The test data is imported into the associated data of the test object and parses template, generates the pressure about the test object
Power test report.
7. terminal device according to claim 6, which is characterized in that described respectively to lead each specified operating parameter
Enter pressure test Parameter Switch model, calculate the pressure test parameter of each interface to be tested, comprising:
The memory size and buffer memory capacity of the test object are obtained, and extracts average text from the specified operating parameter
Capacity and specified number of threads;
The average text capacity is imported into first pressure Parameter Switch model, calculates the first pressure ginseng of the interface to be tested
Number;The first pressure Parameter Switch transformation model specifically:
Wherein, DocVol is the first pressure parameter;Scale is pressure survey ratio;DocVol0For the average text capacity;
The specified number of threads is imported into second pressure Parameter Switch model, calculates the second pressure ginseng of the interface to be tested
Number;The second pressure Parameter Switch transformation model specifically:
Wherein, ThreadNum is the second pressure parameter;ThreadNum0For the specified number of threads;
The first pressure parameter, the second pressure parameter, the memory size and the buffer memory capacity are imported into third
Pressure parameter transformation model calculates the third pressure parameter of the interface to be tested;The third pressure parameter transformation model tool
Body are as follows:
Wherein, RunTime is the third pressure parameter;RAM is the memory size;Cache is the buffer memory capacity;
The interface to be tested is generated based on the first pressure parameter, second pressure parameter and the third pressure parameter
Pressure test parameter.
8. terminal device according to claim 6, which is characterized in that described that the test data is imported the test pair
As associated data parse template, pressure test report of the generation about the test object, comprising:
Pressure according to the Test data generation about interface to be tested surveys geometric locus;
The standard trajectory curve of the interface to be tested described in the preset coordinate axis plot and the pressure survey geometric locus, obtain
Each coordinate points and the pressure survey the distance between geometric locus value on the standard trajectory curve;
Distance value based on each coordinate points calculates the average phase that the standard trajectory curve is surveyed with the pressure between geometric locus
Away from distance, and the pressure by the Average distance distance as the interface to be tested surveys response grade;
Response grade, which is surveyed, according to the pressure of each interface to be tested generates the pressure test report.
9. according to the described in any item terminal devices of claim 6-8, which is characterized in that in the control test object fortune
The row pressure test script, acquire test data that each interface to be tested is exported based on the pressure test script it
Afterwards, following steps are also realized when the processor executes the computer program:
If not receiving the test data that the interface to be tested is sent in preset waiting time threshold value, basis is worked as
Preceding moment and the corresponding Startup time of the operation test script determine that the pressure of the interface to be tested surveys runing time;
The pressure test parameter that runing time adjusts the interface to be tested is surveyed based on the pressure;
The pressure test parameter adjusted is added to the pressure test script, return execution is described to survey the pressure
Training is originally sent to the test object, and controls the test object and run the pressure test script, acquires each described
The test data that interface to be tested is exported based on the pressure test script.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811252453.8A CN109491894B (en) | 2018-10-25 | 2018-10-25 | Interface test method and equipment |
PCT/CN2018/123986 WO2020082585A1 (en) | 2018-10-25 | 2018-12-26 | Method and device for interface testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811252453.8A CN109491894B (en) | 2018-10-25 | 2018-10-25 | Interface test method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491894A true CN109491894A (en) | 2019-03-19 |
CN109491894B CN109491894B (en) | 2022-01-14 |
Family
ID=65691938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811252453.8A Active CN109491894B (en) | 2018-10-25 | 2018-10-25 | Interface test method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109491894B (en) |
WO (1) | WO2020082585A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262962A (en) * | 2019-05-21 | 2019-09-20 | 钛马信息网络技术有限公司 | Generate the method and device of test script |
CN111752820A (en) * | 2019-03-29 | 2020-10-09 | 上海哔哩哔哩科技有限公司 | Pressure testing method of gPC interface, computer equipment and storage medium |
CN111796978A (en) * | 2020-06-29 | 2020-10-20 | 苏州好玩友网络科技有限公司 | Interface detection method, device, system, equipment and storage medium |
CN112286798A (en) * | 2020-10-19 | 2021-01-29 | 长春创世麒麟科技有限公司 | Full link pressure measurement system and method capable of simulating real user scene |
CN112749080A (en) * | 2019-10-31 | 2021-05-04 | 北京国双科技有限公司 | Target program testing method and device, storage medium and electronic equipment |
CN112765004A (en) * | 2021-01-19 | 2021-05-07 | 北京睿企信息科技有限公司 | Automatic and self-adaptive interface performance test method |
CN113037589A (en) * | 2021-03-01 | 2021-06-25 | 广东睿住智能科技有限公司 | Pressure testing method and device of gateway equipment, testing platform and storage medium |
CN113360300A (en) * | 2021-06-29 | 2021-09-07 | 平安普惠企业管理有限公司 | Interface calling link generation method, device, equipment and readable storage medium |
CN115250291A (en) * | 2022-07-28 | 2022-10-28 | 中国银行股份有限公司 | Parameter data verification method, device and equipment and readable storage medium |
WO2024125028A1 (en) * | 2022-12-16 | 2024-06-20 | 华为云计算技术有限公司 | Pressure testing method and apparatus, and related device |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000579B (en) * | 2020-08-26 | 2024-03-19 | 上海移远通信技术股份有限公司 | Software interface testing method, system, equipment and medium |
CN112579438B (en) * | 2020-12-01 | 2022-07-08 | 河南芯盾网安科技发展有限公司 | Multifunctional automatic test tool and test method |
CN112711536A (en) * | 2020-12-30 | 2021-04-27 | 广东粤云工业互联网创新科技有限公司 | Automatic dial testing method and system, and computer readable storage medium |
CN115114127B (en) * | 2021-03-22 | 2024-04-30 | 小沃科技有限公司 | Pressure testing system |
CN113094281B (en) * | 2021-04-28 | 2024-05-03 | 杭州网易云音乐科技有限公司 | Test method and device for hybrid App |
CN113342679A (en) * | 2021-06-29 | 2021-09-03 | 汇付天下有限公司 | Interface test method and test device |
CN114265729B (en) * | 2021-11-09 | 2023-03-28 | 北京云宽志业网络技术有限公司 | Pressure testing method and device, storage medium and electronic equipment |
CN114968747B (en) * | 2022-07-12 | 2022-10-28 | 杭州数列网络科技有限责任公司 | Automatic extreme pressure test performance test method and device, electronic equipment and storage medium |
CN115277165B (en) * | 2022-07-22 | 2023-11-07 | 江苏智能网联汽车创新中心有限公司 | Vehicle network risk determination method, device, equipment and storage medium |
CN117667614A (en) * | 2022-08-23 | 2024-03-08 | 京东科技控股股份有限公司 | Method, device, equipment and medium for adjusting response time of pressure measurement system |
CN116302884B (en) * | 2023-02-28 | 2023-10-31 | 安芯网盾(北京)科技有限公司 | Stability test method and system for process monitoring module in system drive |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1547408A (en) * | 2003-12-09 | 2004-11-17 | 中兴通讯股份有限公司 | A method of capacity planning evaluation |
US20080126390A1 (en) * | 2006-11-29 | 2008-05-29 | Philip Arthur Day | Efficient stress testing of a service oriented architecture based application |
CN101211311A (en) * | 2006-12-25 | 2008-07-02 | 中国电信股份有限公司 | Performance prediction method for application software in manufacturing environment |
CN105758648A (en) * | 2014-12-19 | 2016-07-13 | 北汽福田汽车股份有限公司 | Vehicle performance test method and device |
CN108415847A (en) * | 2018-05-08 | 2018-08-17 | 平安普惠企业管理有限公司 | Performance test methods, device, computer equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6948152B2 (en) * | 2001-09-14 | 2005-09-20 | Siemens Communications, Inc. | Data structures for use with environment based data driven automated test engine for GUI applications |
CN202256605U (en) * | 2011-08-29 | 2012-05-30 | 深圳市研祥软件技术有限公司 | Load capacity testing device of main board interface |
CN106383786B (en) * | 2016-09-27 | 2019-05-17 | 北京金山安全软件有限公司 | Interface pressure performance testing method and device and electronic equipment |
CN108196992B (en) * | 2017-12-28 | 2021-05-28 | 广州品唯软件有限公司 | Automatic performance testing method and device |
CN109614336A (en) * | 2018-12-14 | 2019-04-12 | 深圳壹账通智能科技有限公司 | A kind of generation method and equipment of test script |
-
2018
- 2018-10-25 CN CN201811252453.8A patent/CN109491894B/en active Active
- 2018-12-26 WO PCT/CN2018/123986 patent/WO2020082585A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1547408A (en) * | 2003-12-09 | 2004-11-17 | 中兴通讯股份有限公司 | A method of capacity planning evaluation |
US20080126390A1 (en) * | 2006-11-29 | 2008-05-29 | Philip Arthur Day | Efficient stress testing of a service oriented architecture based application |
CN101211311A (en) * | 2006-12-25 | 2008-07-02 | 中国电信股份有限公司 | Performance prediction method for application software in manufacturing environment |
CN105758648A (en) * | 2014-12-19 | 2016-07-13 | 北汽福田汽车股份有限公司 | Vehicle performance test method and device |
CN108415847A (en) * | 2018-05-08 | 2018-08-17 | 平安普惠企业管理有限公司 | Performance test methods, device, computer equipment and storage medium |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752820B (en) * | 2019-03-29 | 2024-01-19 | 上海哔哩哔哩科技有限公司 | gRPC interface pressure test method, computer equipment and storage medium |
CN111752820A (en) * | 2019-03-29 | 2020-10-09 | 上海哔哩哔哩科技有限公司 | Pressure testing method of gPC interface, computer equipment and storage medium |
CN110262962A (en) * | 2019-05-21 | 2019-09-20 | 钛马信息网络技术有限公司 | Generate the method and device of test script |
CN112749080A (en) * | 2019-10-31 | 2021-05-04 | 北京国双科技有限公司 | Target program testing method and device, storage medium and electronic equipment |
CN111796978A (en) * | 2020-06-29 | 2020-10-20 | 苏州好玩友网络科技有限公司 | Interface detection method, device, system, equipment and storage medium |
CN112286798A (en) * | 2020-10-19 | 2021-01-29 | 长春创世麒麟科技有限公司 | Full link pressure measurement system and method capable of simulating real user scene |
CN112765004A (en) * | 2021-01-19 | 2021-05-07 | 北京睿企信息科技有限公司 | Automatic and self-adaptive interface performance test method |
CN112765004B (en) * | 2021-01-19 | 2024-04-26 | 北京睿企信息科技有限公司 | Automatic and self-adaptive interface performance test method |
CN113037589A (en) * | 2021-03-01 | 2021-06-25 | 广东睿住智能科技有限公司 | Pressure testing method and device of gateway equipment, testing platform and storage medium |
CN113037589B (en) * | 2021-03-01 | 2022-04-22 | 广东睿住智能科技有限公司 | Pressure testing method and device of gateway equipment, testing platform and storage medium |
CN113360300B (en) * | 2021-06-29 | 2023-10-24 | 北京思普艾斯科技有限公司 | Interface call link generation method, device, equipment and readable storage medium |
CN113360300A (en) * | 2021-06-29 | 2021-09-07 | 平安普惠企业管理有限公司 | Interface calling link generation method, device, equipment and readable storage medium |
CN115250291A (en) * | 2022-07-28 | 2022-10-28 | 中国银行股份有限公司 | Parameter data verification method, device and equipment and readable storage medium |
CN115250291B (en) * | 2022-07-28 | 2024-03-22 | 中国银行股份有限公司 | Parameter data verification method, device, equipment and readable storage medium |
WO2024125028A1 (en) * | 2022-12-16 | 2024-06-20 | 华为云计算技术有限公司 | Pressure testing method and apparatus, and related device |
Also Published As
Publication number | Publication date |
---|---|
WO2020082585A1 (en) | 2020-04-30 |
CN109491894B (en) | 2022-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491894A (en) | A kind of method and apparatus of interface testing | |
US9832280B2 (en) | User profile configuring method and device | |
CN109491905A (en) | Head end test method, apparatus and electronic equipment | |
CN110362473B (en) | Test environment optimization method and device, storage medium and terminal | |
CN108446210A (en) | Measure, storage medium and the server of system performance | |
CN102929613B (en) | The tuning apparatus and method of operating system | |
CN103150250B (en) | Application program capacity detection system and application program capacity detection method | |
CN111541590B (en) | Link monitoring method, alarm method, system, terminal and storage medium | |
WO2020233360A1 (en) | Method and device for generating product evaluation model | |
CN109376069A (en) | A kind of generation method and equipment of test report | |
WO2023103640A1 (en) | Method and apparatus for generating test case, and electronic device and storage medium | |
CN113268403B (en) | Time series analysis and prediction method, device, equipment and storage medium | |
CN109495291B (en) | Calling abnormity positioning method and device and server | |
CN109976999A (en) | The measure and measurement apparatus of test case coverage rate | |
CN109376079A (en) | The test method and server that interface calls | |
CN110262951A (en) | A kind of business second grade monitoring method and system, storage medium and client | |
CN109241511B (en) | Electronic report generation method and equipment | |
CN109257348A (en) | A kind of cluster bug excavation method and device based on industrial control system | |
CN108287876A (en) | Support the power quality data service quality detection method and device of multiple format | |
CN112241615A (en) | Method and system for detecting data balance time sequence and electronic equipment | |
CN109696614A (en) | Circuit test optimization method and device | |
CN112311679B (en) | State detection method, state detection device, electronic equipment and readable storage medium | |
CN108563664A (en) | A kind of real-time data processing method at industrial equipment end | |
CN113110870A (en) | Resource packaging management method, device, equipment and storage medium | |
CN110516058A (en) | The training method and training device of a kind of pair of garbage classification problem |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |