CN105279061A - Server interface concurrent testing method and apparatus - Google Patents

Server interface concurrent testing method and apparatus Download PDF

Info

Publication number
CN105279061A
CN105279061A CN201410298586.4A CN201410298586A CN105279061A CN 105279061 A CN105279061 A CN 105279061A CN 201410298586 A CN201410298586 A CN 201410298586A CN 105279061 A CN105279061 A CN 105279061A
Authority
CN
China
Prior art keywords
data
server
interface
test
concurrent
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
Application number
CN201410298586.4A
Other languages
Chinese (zh)
Inventor
张赵欣
张艳宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian TCL Software Development Co Ltd
Original Assignee
Xian TCL Software Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian TCL Software Development Co Ltd filed Critical Xian TCL Software Development Co Ltd
Priority to CN201410298586.4A priority Critical patent/CN105279061A/en
Publication of CN105279061A publication Critical patent/CN105279061A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a server interface concurrent testing method. The method comprises the following steps: receiving bulk-imported interface data and preset result data of a plurality of simulation users, and submitting the interface data to a server; and receiving return data of the server, comparing the return data with the preset result data, and obtaining a testing result according to a comparison result. The present invention further discloses a server interface concurrent testing apparatus. According to the server interface concurrent testing method provided by the present invention, input time of the interface data and the preset result data can be reduced, and input efficiency of the interface data and the preset result data can be improved, so that testing efficiency of server interface concurrent testing can be improved.

Description

The method and apparatus of server interface concurrent test
Technical field
The present invention relates to field of computer technology, particularly relate to the method and apparatus of server interface concurrent test.
Background technology
Along with the development of internet, network is more and more faster with the software development running on network, and people obtain service eventually through network from server end; Server is the core of whole network system and computer platform, and most of important data are preserved on the server, and most of network service also runs all on the server, and the performance of server determines the performance of whole network application system; Therefore, the performance test of server seems particularly important, and server interface concurrent test is a kind of important method of testing server performance.
At present, the system of carrying out server interface concurrent test is little, and it is intelligent not, when carrying out server interface concurrent test, most system needs the detecting informations such as the manual input test interface of test man, interface parameters, because the detecting information of server interface concurrent test is a lot, therefore the manual input test information of test man needs for a long time, thus cause the inefficiency of server interface concurrent test.
Summary of the invention
Fundamental purpose of the present invention is the testing efficiency improving server interface concurrent test.
For achieving the above object, the method for a kind of server interface concurrent test provided by the invention, comprises the following steps: the interface data and the presetting results data that receive multiple analog subscribers that batch imports, be committed to server by described interface data; Receive the return data of described server, return data described in comparison and described presetting results data, obtain test result according to comparison result.
Preferably, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result before, the method for described server interface concurrent test also comprises: judge whether the interface data being committed to described server repeats; When the interface data being committed to described server repeats, according to the non-parameterized standard preset by described interface data parametrization, and the interface data after parametrization is resubmited to described server.
Preferably, when the described interface data when being committed to described server repeats, according to the non-parameterized standard preset by described interface data parametrization, and before the interface data after parametrization being resubmited the step to described server, the method for described server interface concurrent test also comprises: the non-parameterized standard receiving the described interface data that test man is arranged; Described non-parameterized standard is default parameters standard or custom parameter standard.
Preferably, described described interface data is committed to the step of server before, the method of described server interface concurrent test also comprises: when described interface data and/or described presetting results data change, increase described interface data and/or described presetting results data, delete, revise or search operation.
Preferably, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result after, the method for described server interface concurrent test also comprises: judge whether the test of the multiple interfaces to described server completes; If not, the interface of the described server do not tested; If so, test report is generated according to described interface data, described return data and described test result.
Preferably, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result after, the method for described server interface concurrent test also comprises: the Performance Score standard receiving the described server that test man is arranged; According to described test result and described Performance Score standard, Performance Score is carried out to described server, and generate scoring report.
In addition, for achieving the above object, the present invention also provides a kind of device of server interface concurrent test, comprising: data reception module, for receiving the described interface data of multiple analog subscribers that batch imports and described presetting results data; Data transmission module, for being committed to described server by described interface data; Data acquisition module, for receiving the return data of described server; Data processing module, for return data described in comparison and described presetting results data, obtains test result according to comparison result.
Preferably, the device of described server interface concurrent test also comprises: the first judge module, for judging whether the interface data being committed to described server repeats; Parameter setting module, during for repeating at the interface data being committed to described server, according to the non-parameterized standard preset by described interface data parametrization.
Preferably, described parameter setting module is also for when repeating when the interface data being committed to described server, according to the non-parameterized standard preset by described interface data parametrization, and before the interface data after parametrization is committed to described server, receive the non-parameterized standard of the described interface data that test man is arranged, described non-parameterized standard is default parameters standard or custom parameter standard.
Preferably, the device of described server interface concurrent test also comprises: data management module, for before described interface data is committed to server, when described interface data and/or described presetting results data change, described interface data and/or described presetting results data are increased, delete, revised or search operation.
Preferably, the device of described server interface concurrent test also comprises: the second judge module, for the return data at the described server of reception, return data described in comparison and described presetting results data, after obtaining test result according to comparison result, judge whether the test of the multiple interfaces to described server completes; Test report generation module, for generating test report according to described interface data, described return data and described test result.
Preferably, the device of described server interface concurrent test also comprises: Performance Score module, for the return data at the described server of reception, return data described in comparison and described presetting results data, after obtaining test result according to comparison result, receive the Performance Score standard of the described server that test man is arranged, and according to described test result and described Performance Score standard, Performance Score is carried out to described server, generate scoring report.
The method of server interface concurrent test provided by the present invention is by when receiving interface data and the presetting results data of multiple analog subscriber, the interface data of multiple analog subscriber and presetting results data preparation are document by test man in advance, again batch import to terminal system, the mode manually inputted compared to test man can reduce the input time of data, improve the input efficiency of interface data and presetting results data, and then improve the testing efficiency of server interface concurrent test, in addition, when the interface data of multiple analog subscriber being committed to server and testing, whether the interface data being committed to server by automatic decision is repeated, and when the interface data being committed to server repeats, according to the non-parameterized standard preset by interface data parametrization, again the interface data after parametrization is committed to server to test, because the interface data after parametrization eliminates the possibility of interface data repetition, therefore can avoid occurring because interface data the repeats test interruption that causes or the invalid situation of test result, guarantee that server interface can carry out when concurrent test smoothly or obtain effective test result, thus Deterministic service device interface has higher testing efficiency when concurrent test.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of method first embodiment of server interface concurrent test of the present invention;
Fig. 2 is the schematic flow sheet of method second embodiment of server interface concurrent test of the present invention;
Fig. 3 is the schematic flow sheet of method the 3rd embodiment of server interface concurrent test of the present invention;
Fig. 4 is the high-level schematic functional block diagram of device first embodiment of server interface concurrent test of the present invention;
Fig. 5 is the high-level schematic functional block diagram of device second embodiment of server interface concurrent test of the present invention;
Fig. 6 is the high-level schematic functional block diagram of device the 3rd embodiment of server interface concurrent test of the present invention;
Fig. 7 is the high-level schematic functional block diagram of device the 4th embodiment of server interface concurrent test of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of method of server interface concurrent test.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are method first embodiment of server interface concurrent test of the present invention.
In one embodiment, the method for this server interface concurrent test comprises:
Step S10: the interface data and the presetting results data that receive multiple analog subscribers that batch imports, be committed to server by interface data.
In the present embodiment, user is when carrying out server interface concurrent test, first by the interface data of multiple analog subscriber and presetting results data entry terminal system, and be stored in the database of terminal system, wherein, the interface data of multiple analog subscriber comprises the interface name, interface parameters etc. of server to be tested; Then the interface data of multiple analog subscriber is taken out from database, and be submitted to server and test, in the present embodiment, interface data and presetting results data preparation are document by test man in advance, again batch import to terminal system, to improve the input efficiency of interface data and presetting results data.
Step S20: the return data of reception server, comparison return data and presetting results data, obtain test result according to comparison result.
In the present embodiment, server is after receiving interface data, and meeting docking port data are carried out process and obtained the return datas such as interface rreturn value, and the return data after process is returned terminal system; Then this return data and preset result data are compared by terminal system, if conform to presetting results data, test is passed through, if do not conform to presetting results data, tests and does not pass through, obtain corresponding test result.
When the method for the server interface concurrent test that the present embodiment provides is by the interface data and the presetting results data that receive multiple analog subscriber in terminal system, the interface data of multiple analog subscriber and presetting results data preparation are document by test man in advance, again batch import to terminal system, the mode manually inputted compared to test man can reduce the input time of data, improve the input efficiency of interface data and presetting results data, and then improve the testing efficiency of server interface concurrent test.
In the present embodiment, before execution step S20, the method for this server interface concurrent test also comprises:
Step S30: judge whether the interface data being committed to server repeats.
Due to the interface data running into repetition test can be caused to interrupt or test result invalid, whether the interface data that the terminal system energy automatic decision of the present embodiment is committed to server repeats.
Step S40: when the interface data being committed to server repeats, according to the non-parameterized standard preset by interface data parametrization, and the interface data after parametrization is committed to server.
When carrying out the concurrent performance test of multiple analog subscriber to server, can Data duplication be run into and cause the problem that test is interrupted or test result is invalid, make the inefficiency of server interface concurrent test, such as, when carrying out the concurrent performance test of multiple analog subscriber to server, have input identical user name, password, then can because of be submitted to server user name repeat and cause test interrupt or test result invalid, in the present embodiment, when the interface data being committed to server repeats, need the non-parameterized standard according to presetting that interface data is carried out parametrization, and the interface data after parametrization is stored in the database of terminal system again, and then the interface data after parametrization is taken out from database, and be committed to server and test, to avoid occurring because interface data the repeats test interruption that causes or the invalid situation of test result, guarantee that server interface can carry out when concurrent test smoothly or obtain effective test result, thus Deterministic service device interface has higher testing efficiency when concurrent test, such as, if test man have submitted identical user name when the user name of multiple analog subscriber is committed to server, password, then can because of be submitted to server user name repeat and cause test interrupt or test result invalid, now identical user name parameter can be turned to test1 according to the non-parameterized standard of acquiescence by terminal system, test2, test3, test100, and the user name after parametrization is stored in the database of terminal system again, and then the user name after parametrization is taken out from database, and be committed to server and test.
In the present embodiment, before execution step S40, the method for this server interface concurrent test also comprises:
Step S50: the non-parameterized standard receiving the interface data that test man is arranged.
In the present embodiment, the non-parameterized standard of the interface data that test man is arranged is the non-parameterized standard that terminal system is preset.Preferably, this non-parameterized standard is default parameters standard or custom parameter standard; The form of default parameters standard is form interface data parameter being turned to " test+ numeral ", and numeral is ascending order arrangement, and wherein, the size of numeral is consistent with the analog subscriber quantity of server concurrent test; Custom parameter standard then can allow test man carry out self-defined to non-parameterized standard, its form is generally " test+ suffix ", wherein, " suffix " is letter or numeral or letter and counts combinatorics on words, with the original implication facilitating test man can understand the interface data after parametrization.Such as, suppose that test man have submitted the interface data of 100 analog subscribers simultaneously when carrying out server interface concurrent test, wherein there is the username and password of some analog subscribers identical, the therefore test interruption of server interface concurrent test, now all user name parameters can be turned to test1 according to the non-parameterized standard of acquiescence by terminal system, test2, test3, test100, and the user name after parametrization is stored in the database of terminal system again, and then the user name after parametrization is taken out from database, be committed to server to test, server interface concurrent test is carried out smoothly.
In the present embodiment, before step interface data being committed to server, the method for this server interface concurrent test also comprises:
Step S60: when interface data and/or presetting results data change, docking port data and/or presetting results data are carried out increasing, delete, are revised or search operation.
In a practical situation, before interface data is committed to server, interface data and/or presetting results data may change, the method of the server interface concurrent test of the present embodiment can docking port data and/or presetting results data carry out increasing, and delete, revise or search operation before interface data is committed to server, the interface data used with Deterministic service device interface concurrent test or presetting results data are accurately, thus guarantee that the test result of server interface concurrent test is effective.
With reference to the schematic flow sheet that Fig. 2, Fig. 2 are method second embodiment of server interface concurrent test of the present invention.
On the basis of method first embodiment of server interface concurrent test of the present invention, after execution step S20, the method for this server interface concurrent test also comprises:
Step S70: judge whether the test of the multiple interfaces to server completes;
Step S71: if not, repeats step S10 and S20, the interface of the server do not tested;
Step S72: if so, generate test report according to interface data, return data and test result.
In the present embodiment, server to be tested has multiple interface, owing to often carrying out taking turns, server interface concurrent test completes is the test of an interface for server, therefore often taking turns after server interface concurrent test completes, need whether to complete the test of multiple interfaces of server to judge, if the test of multiple interfaces of server does not complete, the interface of repetition step S10 and S20 to the server do not tested is needed to test; If the test of multiple interfaces of server completes, then generate test report according to interface data, return data and test result.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are method the 3rd embodiment of server interface concurrent test of the present invention.
On the basis of method first embodiment of server interface concurrent test of the present invention, after execution step S20, the method for this server interface concurrent test also comprises:
Step S80: the Performance Score standard receiving the server that test man is arranged;
Step S81: Performance Score is carried out to server according to test result and Performance Score standard, and generate scoring report.
Owing to needing to carry out overall assessment to the total interface performance of server when assessing the performance of server, therefore in the present embodiment, after completing the concurrent test of the total interface of server is completed, according to test result and Performance Score standard, Performance Score is carried out to server again, and generate scoring report.Preferably, these standards of grading can be acquiescence standards of grading or self-defined standards of grading; The scoring obtaining the server performance adapted with its demand or object for the ease of test man is reported, test man can according to the self-defined standards of grading of project situation of reality, as the weighted value, standards of grading etc. of scoring item, each scoring item.Such as, scoring item can have interface testing success ratio, test number of concurrent, concurrent test response time, throughput, CPU curve values, internal memory curve values etc., standards of grading as tested number of concurrent then can be delimited interval according to its test data, the score value that certain interval value is corresponding certain, as test number of concurrent be 100 to 200 1 point, 201 to 300 2 points, 301 to 400 3 points, CPU curve then can determine an interval bound, exceed the upper limit and obtain 1 point, in interval, obtain 2 points, obtain 3 lower than interval limit and grade.
It is emphasized that, in the present embodiment, the scoring report of server interface concurrent test can also be provided after the interface concurrent test completing multiple server, contrast scoring is carried out to the interface concurrent test result of multiple server, the scoring report of finally providing, this scoring report can represent the Performance Score rank of multiple server, also can according to the short slab of scoring report analysis server at aspect of performance, as the reference frame that server performance is optimized.
The present invention further provides a kind of device of server interface concurrent test.
With reference to the high-level schematic functional block diagram that Fig. 4, Fig. 4 are device first embodiment of server interface concurrent test of the present invention.
In one embodiment, the device of this server interface concurrent test comprises: data reception 10, for receiving interface data and presetting results data; Data transmission module 20, for being committed to server by interface data; Data acquisition module 50, for the return data of reception server; Data processing module 60, for comparison return data and presetting results data, obtains test result according to comparison result.
In the present embodiment, user is when carrying out server interface concurrent test, first the interface data of multiple analog subscriber and presetting results data are input in data reception module 10, and be stored in the database of terminal system, wherein, the interface data of multiple analog subscriber comprises the interface name, interface parameters etc. of server to be tested; Then the interface data of multiple analog subscriber takes out by data transmission module 20 from database, and being submitted to server, to carry out in test the present embodiment test man be document by interface data and presetting results data preparation in advance, again batch import to data reception module 10, to improve the input efficiency of interface data and presetting results data.
In the present embodiment, server is after receiving interface data, and meeting docking port data are carried out process and obtained the return datas such as interface rreturn value, and are returned by the return data after process, and data acquisition module 50 receives this return data; Then this return data and preset result data are compared by data processing module 60, if conform to presetting results data, test is passed through, if do not conform to presetting results data, tests and does not pass through, obtain corresponding test result.
The device of the server interface concurrent test that the present embodiment provides is by when data reception module 10 receives interface data and the presetting results data of multiple analog subscriber, the interface data of multiple analog subscriber and presetting results data preparation are document by test man in advance, again batch import to data reception module 10, the mode manually inputted compared to test man can reduce the input time of data, improve the input efficiency of interface data and presetting results data, and then improve the testing efficiency of server interface concurrent test.
Further, the device of this server interface concurrent test comprises: the first judge module 30, for judging whether the interface data being committed to server repeats; Parameter setting module 40, during for repeating at the interface data being committed to server, according to the non-parameterized standard preset by interface data parametrization.In the present embodiment, when the interface data that the first judge module 30 judges to be committed to server repeats, interface data is carried out parametrization according to the non-parameterized standard preset by parameter setting module 40, interface data after parametrization is stored in the database of terminal system by data reception module 10 again, then the interface data after parametrization takes out by data transmission module 20 again from database, and be again committed to server and test, to avoid occurring because interface data the repeats test interruption that causes or the invalid situation of test result, guarantee that server interface can carry out when concurrent test smoothly or obtain effective test result, thus Deterministic service device interface has higher testing efficiency when concurrent test.
Further, parameter setting module 40 is also for when repeating when the interface data being committed to server, according to the non-parameterized standard preset by interface data parametrization, and before the interface data after parametrization is committed to server, receive the non-parameterized standard of the interface data that test man is arranged, this non-parameterized standard is default parameters standard or custom parameter standard.
In the present embodiment, the non-parameterized standard of the interface data that test man is arranged is the non-parameterized standard that parameter setting module 40 is preset.Preferably, this non-parameterized standard is default parameters standard or custom parameter standard; The form of default parameters standard is form interface data parameter being turned to " test+ numeral ", and numeral is ascending order arrangement, and wherein, the size of numeral is consistent with the analog subscriber quantity of server concurrent test; Custom parameter standard then can allow test man carry out self-defined to non-parameterized standard, its form is generally " test+ suffix ", wherein, " suffix " is letter or numeral or letter and counts combinatorics on words, with the original implication facilitating test man can understand the interface data after parametrization.Such as, suppose that test man have submitted the interface data of 100 analog subscribers simultaneously when carrying out server interface concurrent test, wherein there is the username and password of some analog subscribers identical, the therefore test interruption of server interface concurrent test, now all user name parameters can be turned to test1 according to the non-parameterized standard of acquiescence by parameter setting module 40, test2, test3, test100, and the user name after parametrization is stored in the database of terminal system again, then the user name after parametrization is taken out by data transmission module 20 again from database, be committed to server to test, server interface concurrent test is carried out smoothly.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are device second embodiment of server interface concurrent test of the present invention.
On the basis of device first embodiment of server interface concurrent test of the present invention, the device of this server interface concurrent test also comprises: data management module 70, for before interface data is committed to server, when interface data and/or presetting results data change, docking port data and/or presetting results data are carried out increasing, delete, are revised or search operation.
In a practical situation, before interface data is committed to server by data transmission module 20, interface data and/or presetting results data may change, the data management module 70 of the present embodiment can docking port data and/or presetting results data carry out increasing, and delete, revise or search operation before interface data is committed to server by data transmission module 20, the interface data used with Deterministic service device interface concurrent test or presetting results data are accurately, thus guarantee that the test result of server interface concurrent test is effective.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are device the 3rd embodiment of server interface concurrent test of the present invention.
On the basis of device first embodiment of server interface concurrent test of the present invention, the device of this server interface concurrent test also comprises: the second judge module 80, for the return data at reception server, comparison return data and presetting results data, after obtaining test result according to comparison result, judge whether the test of the multiple interfaces to server completes; Test report generation module 90, for generating test report according to interface data, return data and test result.
In the present embodiment, server to be tested has multiple interface, owing to often carrying out taking turns, server interface concurrent test completes is the test of an interface for server, therefore often taking turns after server interface concurrent test completes, need the test of multiple interfaces of the second judge module 80 pairs of servers whether to complete to judge, if the test of multiple interfaces of server does not complete, need to test the interface of the server do not tested; If the test of multiple interfaces of server completes, then test report generation module 90 generates test report according to interface data, return data and test result.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are device the 4th embodiment of server interface concurrent test of the present invention.
On the basis of device first embodiment of server interface concurrent test of the present invention, the device of this server interface concurrent test also comprises: Performance Score module 100, for the return data at reception server, comparison return data and presetting results data, after obtaining test result according to comparison result, receive the Performance Score standard of the server that test man is arranged, and according to test result and Performance Score standard, Performance Score is carried out to server, generate scoring report.
Owing to needing to carry out overall assessment to the total interface performance of server when assessing the performance of server, therefore in the present embodiment, after completing the concurrent test of the total interface of server is completed, according to test result and Performance Score standard, Performance Score is carried out to server by Performance Score module 100 again, and generate scoring report.Preferably, these standards of grading can be acquiescence standards of grading or self-defined standards of grading; The scoring obtaining the server performance adapted with its demand or object for the ease of test man is reported, test man can according to the self-defined standards of grading of project situation of reality, as the weighted value, standards of grading etc. of scoring item, each scoring item.Such as, scoring item can have interface testing success ratio, test number of concurrent, concurrent test response time, throughput, CPU curve values, internal memory curve values etc., standards of grading as tested number of concurrent then can be delimited interval according to its test data, the score value that certain interval value is corresponding certain, as test number of concurrent be 100 to 200 1 point, 201 to 300 2 points, 301 to 400 3 points, CPU curve then can determine an interval bound, exceed the upper limit and obtain 1 point, in interval, obtain 2 points, obtain 3 lower than interval limit and grade.
It is emphasized that, in the present embodiment, the scoring report of server interface concurrent test can also be provided after the interface concurrent test completing multiple server, the interface concurrent test result of do as one likes energy grading module 100 to multiple server carries out contrast scoring, the scoring report of finally providing, this scoring report can represent the Performance Score rank of multiple server, also can according to the short slab of scoring report analysis server at aspect of performance, as the reference frame that server performance is optimized.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. a method for server interface concurrent test, is characterized in that, the method for described server interface concurrent test comprises the following steps:
Receive interface data and the presetting results data of multiple analog subscribers that batch imports, described interface data is committed to server;
Receive the return data of described server, return data described in comparison and described presetting results data, obtain test result according to comparison result.
2. the method for server interface concurrent test as claimed in claim 1, it is characterized in that, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result before, the method for described server interface concurrent test also comprises:
Judge whether the interface data being committed to described server repeats;
When the interface data being committed to described server repeats, according to the non-parameterized standard preset by described interface data parametrization, and the interface data after parametrization is resubmited to described server.
3. the method for server interface concurrent test as claimed in claim 2, it is characterized in that, when the described interface data when being committed to described server repeats, according to the non-parameterized standard preset by described interface data parametrization, and before the interface data after parametrization being resubmited the step to described server, the method for described server interface concurrent test also comprises:
Receive the non-parameterized standard of the described interface data that test man is arranged;
Described non-parameterized standard is default parameters standard or custom parameter standard.
4. the method for server interface concurrent test as claimed in claim 1, is characterized in that, described described interface data is committed to the step of server before, the method for described server interface concurrent test also comprises:
When described interface data and/or described presetting results data change, described interface data and/or described presetting results data are increased, delete, revised or search operation.
5. the method for server interface concurrent test as claimed in claim 1, it is characterized in that, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result after, the method for described server interface concurrent test also comprises:
Judge whether the test of the multiple interfaces to described server completes;
If not, the interface of the described server do not tested;
If so, test report is generated according to described interface data, described return data and described test result.
6. the method for server interface concurrent test as claimed in claim 1, it is characterized in that, at the return data of the described server of described reception, return data described in comparison and described presetting results data, obtain the step of test result according to comparison result after, the method for described server interface concurrent test also comprises:
Receive the Performance Score standard of the described server that test man is arranged;
According to described test result and described Performance Score standard, Performance Score is carried out to described server, and generate scoring report.
7. a device for server interface concurrent test, is characterized in that, the device of described server interface concurrent test comprises:
Data reception module, for receiving the described interface data of multiple analog subscribers that batch imports and described presetting results data;
Data transmission module, for being committed to described server by described interface data;
Data acquisition module, for receiving the return data of described server;
Data processing module, for return data described in comparison and described presetting results data, obtains test result according to comparison result.
8. the device of server interface concurrent test as claimed in claim 7, it is characterized in that, the device of described server interface concurrent test also comprises:
First judge module, for judging whether the interface data being committed to described server repeats;
Parameter setting module, during for repeating at the interface data being committed to described server, according to the non-parameterized standard preset by described interface data parametrization.
9. the device of server interface concurrent test as claimed in claim 8, it is characterized in that, described parameter setting module is also for when repeating when the interface data being committed to described server, according to the non-parameterized standard preset by described interface data parametrization, and before the interface data after parametrization is committed to described server, receive the non-parameterized standard of the described interface data that test man is arranged, described non-parameterized standard is default parameters standard or custom parameter standard.
10. the device of server interface concurrent test as claimed in claim 7, it is characterized in that, the device of described server interface concurrent test also comprises:
Data management module, for before described interface data is committed to server, when described interface data and/or described presetting results data change, described interface data and/or described presetting results data are increased, delete, revised or search operation.
The device of 11. server interface concurrent tests as claimed in claim 7, it is characterized in that, the device of described server interface concurrent test also comprises:
Second judge module, for the return data at the described server of reception, return data described in comparison and described presetting results data, after obtaining test result, judge whether the test of the multiple interfaces to described server completes according to comparison result;
Test report generation module, for generating test report according to described interface data, described return data and described test result.
The device of 12. server interface concurrent tests as claimed in claim 7, it is characterized in that, the device of described server interface concurrent test also comprises:
Performance Score module, for the return data at the described server of reception, return data described in comparison and described presetting results data, after obtaining test result according to comparison result, receive the Performance Score standard of the described server that test man is arranged, and according to described test result and described Performance Score standard, Performance Score is carried out to described server, generate scoring report.
CN201410298586.4A 2014-06-26 2014-06-26 Server interface concurrent testing method and apparatus Pending CN105279061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410298586.4A CN105279061A (en) 2014-06-26 2014-06-26 Server interface concurrent testing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410298586.4A CN105279061A (en) 2014-06-26 2014-06-26 Server interface concurrent testing method and apparatus

Publications (1)

Publication Number Publication Date
CN105279061A true CN105279061A (en) 2016-01-27

Family

ID=55148107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410298586.4A Pending CN105279061A (en) 2014-06-26 2014-06-26 Server interface concurrent testing method and apparatus

Country Status (1)

Country Link
CN (1) CN105279061A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067043A (en) * 2016-06-01 2016-11-02 重庆中科云丛科技有限公司 A kind of performance test methods and system
CN106095688A (en) * 2016-06-23 2016-11-09 微梦创科网络科技(中国)有限公司 A kind of software performance testing method and device
CN107171881A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 The method of testing and device of message handling system
CN110022239A (en) * 2018-01-08 2019-07-16 深圳市中兴微电子技术有限公司 A kind of detection method, equipment and storage medium
CN110515834A (en) * 2019-07-26 2019-11-29 Oppo广东移动通信有限公司 Interface test method, device, mobile terminal and storage medium
CN110691233A (en) * 2019-09-03 2020-01-14 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080091775A1 (en) * 2006-10-12 2008-04-17 International Business Machines Corporation Method and apparatus for parallel operations on a plurality of network servers
CN102368227A (en) * 2011-10-13 2012-03-07 福建天晴数码有限公司 Method for generating performance test scripts based on server interfaces
CN102955721A (en) * 2011-08-16 2013-03-06 阿里巴巴集团控股有限公司 Device and method for pressure generation for testing
CN103023727A (en) * 2012-12-28 2013-04-03 迈普通信技术股份有限公司 Portal performance testing system and Portal performance testing method
CN103379000A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Concurrent testing method and testing server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080091775A1 (en) * 2006-10-12 2008-04-17 International Business Machines Corporation Method and apparatus for parallel operations on a plurality of network servers
CN102955721A (en) * 2011-08-16 2013-03-06 阿里巴巴集团控股有限公司 Device and method for pressure generation for testing
CN102368227A (en) * 2011-10-13 2012-03-07 福建天晴数码有限公司 Method for generating performance test scripts based on server interfaces
CN103379000A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Concurrent testing method and testing server
CN103023727A (en) * 2012-12-28 2013-04-03 迈普通信技术股份有限公司 Portal performance testing system and Portal performance testing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171881A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 The method of testing and device of message handling system
CN106067043A (en) * 2016-06-01 2016-11-02 重庆中科云丛科技有限公司 A kind of performance test methods and system
CN106095688A (en) * 2016-06-23 2016-11-09 微梦创科网络科技(中国)有限公司 A kind of software performance testing method and device
CN110022239A (en) * 2018-01-08 2019-07-16 深圳市中兴微电子技术有限公司 A kind of detection method, equipment and storage medium
CN110515834A (en) * 2019-07-26 2019-11-29 Oppo广东移动通信有限公司 Interface test method, device, mobile terminal and storage medium
CN110515834B (en) * 2019-07-26 2023-11-10 Oppo广东移动通信有限公司 Interface testing method and device, mobile terminal and storage medium
CN110691233A (en) * 2019-09-03 2020-01-14 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server
CN110691233B (en) * 2019-09-03 2021-03-12 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server

Similar Documents

Publication Publication Date Title
CN105279061A (en) Server interface concurrent testing method and apparatus
CN106294120B (en) Method, apparatus and computer program product for testing code
CN110275958B (en) Website information identification method and device and electronic equipment
CN103312850B (en) A kind of mobile phone automatized test macro and method of work
CN108628748B (en) Automatic test management method and automatic test management system
CN105373478B (en) Automated testing method and system
CN111240973B (en) Equipment testing method and system based on simulation and readable storage medium
CN106294179A (en) Analog detection method in process of application development and server
CN110389896A (en) Code automated analysis and test method, device and computer readable storage medium
CN110781673B (en) Document acceptance method and device, computer equipment and storage medium
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN113536081A (en) Data center data management method and system based on artificial intelligence
CN104462983A (en) PHP source code processing method and system
CN116136950B (en) Chip verification method, device, system, electronic equipment and storage medium
CN105117340B (en) URL detection methods and device for iOS browser application quality evaluations
CN111008148B (en) Code testing method and device and computer readable storage medium
CN110874475A (en) Vulnerability mining method, vulnerability mining platform and computer readable storage medium
CN111611781A (en) Data labeling method, question answering method, device and electronic equipment
WO2023164303A1 (en) Adaptive test generation for functional coverage closure
CN104572791A (en) Method and device for evaluating search prompt system
CN114595146A (en) AB test method, device, system, electronic equipment and medium
CN112286800B (en) Auxiliary analysis method and system for functional test points
CN118394306B (en) Application program rapid construction system applicable to multiple terminals
CN113190779B (en) Webpage evaluation method and device
CN117474322A (en) Model risk level assessment method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160127

RJ01 Rejection of invention patent application after publication