CN103685354A - Method and device for testing based on RMI protocol - Google Patents

Method and device for testing based on RMI protocol Download PDF

Info

Publication number
CN103685354A
CN103685354A CN201210325440.5A CN201210325440A CN103685354A CN 103685354 A CN103685354 A CN 103685354A CN 201210325440 A CN201210325440 A CN 201210325440A CN 103685354 A CN103685354 A CN 103685354A
Authority
CN
China
Prior art keywords
request
response data
operation system
call parameters
parameters information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210325440.5A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210325440.5A priority Critical patent/CN103685354A/en
Publication of CN103685354A publication Critical patent/CN103685354A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and device for testing based on the remote method invocation (RMI) protocol. The method comprises the following steps: S1, recording stage: intercepting a request sent by a service system to be tested to an RMI Server, extracting and recording invocation parameter information in the request, sending the request to the RMI Server, intercepting response data returned by the RMI Server, establishing corresponding relations between the response data and the invocation parameter information, and storing; S2, replaying stage: intercepting the request sent by the service system to be tested to the RMI Server, extracting the invocation parameter information in the request, searching the response data corresponding to the invocation parameter information in the response data stored in S1, and returning the response data to the service system to be tested. According to the invention, recording and replaying of systemic interaction data based on the RMI protocol can be achieved, so that cost required in service system testing is saved.

Description

A kind of method of testing and device based on RMI agreement
[technical field]
The present invention relates to system testing technology, relate in particular to a kind of method of testing and device based on RMI agreement.
[background technology]
RMI(RMI) be the technical scheme of mainly using when using Java language to carry out distributed business system exploitation.User is when some functions of access service system, and operation system need be called the relevant background module of RMI Server(by RMI agreement) realize those functions.Operation system is being tested, and the method for recording and playback is a kind of conventional means of testing.Existing recording and playback mode is based on bottom (link layer, IP layer or transport layer), by taking over the mode of bottom link, realizes recording and playback, and which can only realize recording and playback for a certain agreement.And RMI agreement is not a kind of single agreement, but the mixing of various protocols has complexity and particularity, cannot realize by above-mentioned existing mode the recording and playback of RMI agreement.
Owing to cannot realizing recording and playback, when the reciprocal process of operation system and RMI Server is tested, need directly take the back-end hardware resource as RMI Server, when simulating and structural anomaly situation is tested, difficulty is large, and cost is high simultaneously.
[summary of the invention]
The invention provides a kind of method of testing and device based on RMI agreement, for realizing the recording and playback of the system interaction data based on RMI agreement, save testing cost.
Concrete technical scheme is as follows:
A method of testing based on remote method invocation agreement, the reciprocal process that operation system is called to relevant background module RMI Server by RMI agreement is tested, and the method comprises:
S1, recording stage, tackle tested operation system and be sent to the request of RMI Server, extract and record the call parameters information in this request, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described call parameters information formation corresponding relation;
S2, playback phase, tackle tested operation system and be sent to the request of RMI Server, extract the call parameters information in this request, in the response data of preserving, search the response data corresponding with those call parameters information in described step S1, this response data is back to tested operation system.
According to one preferred embodiment of the present invention, in described step S1, tackle before tested operation system is sent to the request of RMI Server, also comprise: to tested operation system playback, prerecord the request that user is sent to tested business, or, record the request that user is sent to tested operation system;
In described step S2, tackle before tested operation system is sent to the request of RMI Server, also comprise: the user who has recorded to tested operation system playback is sent to the request of tested business.
According to one preferred embodiment of the present invention, will response data in described step S1 and call parameters information preserve after forming corresponding relation, specifically comprise: according to call parameters Information generation key value, will this key value and described response data formation corresponding relation after preserve;
In described step S2, search the response data corresponding with call parameters information, specifically comprise: according to call parameters Information generation key value, in the corresponding relation of preserving, search the response data corresponding with this key value in described step S1.
According to one preferred embodiment of the present invention, the method also comprises:
In described step S1 and in described step S2, extract after the call parameters information in request the parameter information that is difficult in call parameters information reappear filtered out, described in the parameter information that is difficult to reappear comprise: current system time or random number.
According to one preferred embodiment of the present invention, after finding the response data corresponding with call parameters information in described step S2, while reaching default time of delay, more described response data is back to tested operation system.
According to one preferred embodiment of the present invention, be specially described default time of delay:
Fixed value; Or,
In described step S1, from intercepting request that tested operation system is sent to RMI Server to intercepting the time lengthening the response data that RMI Server returns or shortening the value of several times; Or,
The random value fluctuating in pre-set interval.
A testing apparatus based on remote method invocation agreement, the reciprocal process that operation system is called to relevant background module RMI Server by RMI agreement is tested, and this device comprises:
Recording elements, for tackling the request that tested operation system is sent to RMI Server, extract and record the call parameters information in this request, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described call parameters information formation corresponding relation;
Playback unit, for tackling the request that tested operation system is sent to RMI Server, extract the call parameters information in this request, in the response data of preserving at described recording elements, search the response data corresponding with those call parameters information, this response data is back to tested operation system.
According to one preferred embodiment of the present invention, described recording elements is tackled before tested operation system is sent to the request of RMI Server, also carry out: to tested operation system playback, prerecord the request that user is sent to tested business, or, record the request that user is sent to tested operation system;
Described playback unit is tackled before tested operation system is sent to the request of RMI Server, also carries out: the user who has recorded to tested operation system playback is sent to the request of tested business.
According to one preferred embodiment of the present invention, described recording elements will response data and call parameters information preserve after forming corresponding relation, specifically carry out: according to call parameters Information generation key value, will this key value and described response data formation corresponding relation after preserve;
Described playback unit is searched the response data corresponding with call parameters information, specifically carries out: according to call parameters Information generation key value, in the corresponding relation of preserving, search the response data corresponding with this key value at described recording elements.
According to one preferred embodiment of the present invention, this device also comprises:
Filter element, for extracting after the call parameters information of request at described recording elements and described playback unit, the parameter information that is difficult in call parameters information reappear is filtered out, described in the parameter information that is difficult to reappear comprise: current system time or random number.
According to one preferred embodiment of the present invention, after described playback unit finds the response data corresponding with call parameters information, while reaching default time of delay, more described response data is back to tested operation system.
According to one preferred embodiment of the present invention, be specially described default time of delay:
For fixed value; Or,
For described recording elements, from intercepting request that tested operation system is sent to RMI Server to intercepting the time lengthening the response data that RMI Server returns or shortening the value of several times; Or,
For the random value fluctuating in pre-set interval.
As can be seen from the above technical solutions, the present invention is sent to the corresponding relation of the response data that call parameters information in the request of RMI Server and RMI Server return by preserving tested operation system, make it possible to according to the request of tested operation system, return to corresponding response data when playback, realized the recording and playback technology based on RMI agreement.Meanwhile, when test, can directly use the corresponding relation simulation RMI Server of preserved call parameters information and response data, no longer need directly to take the back-end hardware resource as RMI Server, save testing cost.
[accompanying drawing explanation]
The method of testing flow chart based on RMI agreement that Fig. 1 provides for the embodiment of the present invention one;
The system schematic that Fig. 2 provides for the embodiment of the present invention;
The testing apparatus schematic diagram based on RMI agreement that Fig. 3 provides for the embodiment of the present invention one.
[embodiment]
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
Embodiment mono-
The method of testing flow chart based on RMI agreement that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, the method comprises:
S101, recording stage, tackle tested operation system and be sent to the request of RMI Server, extract and record call parameters information in this request and according to those call parameters Information generations key value, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described key value call parameters information formation corresponding relation.
This step is recording stage, while recording related data for follow-up test, uses.
Under online, the user who records on line in advance to tested operation system playback is sent to the request of tested operation system, tested operation system, after processing user's request, need be called the relevant background module of RMI Server(by RMI agreement) realize the required function of user.Wherein, prerecording the request that user is sent to tested operation system can complete as TcpDump with third party's instrument, and this process is prior art, does not repeat them here.
It should be noted that, this step also can be carried out on line, if this step is carried out on line, can directly record in this step the request that user is sent to tested operation system, afterwards, the user that in step S102, online lower this step of playback is recorded is sent to the request of tested operation system.
Tackle tested operation system and be sent to the request of RMI Server, call parameters information in extraction record request, this request is sent to RMI Server, tackle afterwards RMI Server and process the response data of returning after this request, after the call parameters information of record forms corresponding relation with the response data of intercepting before, preserve, afterwards this response data is back to tested operation system.By this step, can construct the mapping table that a RMI Server is back to response data and the call parameters information of tested operation system.
The invention provides a kind of preferred implementation and preserve the corresponding relation of call parameters information and response data:
According to key value of the call parameters Information generation extracting, the response data that this key value and RMI Server are returned is preserved after forming corresponding relation.During according to call parameters Information generation key value, can adopt various ways to generate unique character string as key value, the invention provides a kind of preferred implementation: the mode by the class json string based on JavaScript generates key value, according to json form, call parameters information is converted to a unique character string.
The call parameters information that tested operation system is sent to according to RMI agreement in the request of RMI Server comprises: class name and the function name in the RMI Server that need call, the parameter value that passes to class, the parameter value that passes to function or time parameter etc., in the collection class of these call parameters Information encapsulations in request, at this, ask after the processing of bottom (link layer, IP layer, transport layer), while arriving application layer, this collection class is resolved out, can directly from this collection class, extract above-mentioned call parameters information.
S102, playback phase, tackle tested operation system and be sent to the request of RMI Server, extract call parameters information in this request and according to those call parameters Information generations key value, in preserved response data, search the response data corresponding with the call parameters information of this key value, this response data is back to tested operation system.
This step is playback phase, in when test to tested operation system playback related data.
Under online, the user who has recorded to tested operation system playback is sent to the request of tested operation system, with identical in step S101, tested operation system needs to call RMI Server after processing user's request, tackle tested operation system and be sent to the request of RMI Server, extract call parameters information wherein, the call parameters information of preserving in step S101 according to these those call parameters information is searched corresponding response data with the mapping table of response data, and this response data is back to tested operation system, directly ignore afterwards the request that tackled tested operation system is sent to RMI Server.If in step S101, during by call parameters information and the preservation of response data formation corresponding relation, adopted described according to key value of call parameters Information generation, again this key value and response data are formed to the mode of preserving after corresponding relation, so in this step, extract after call parameters information, adopt with mode identical in step S101 according to call parameters Information generation key value, and then search response data corresponding with this key value in preserved response data.In order to simulate some abnormal extreme cases, after finding the response data corresponding with call parameters information in step S102 in the method that can provide in the embodiment of the present invention one, when reaching default time of delay, then this response data is back to tested operation system.Can need to arrange time of delay according to test, for example, can be set to following three kinds of modes:
1, be fixed value time of delay, according to call parameters information, finding after corresponding response data, postpones after fixing a period of time, then this response data is back to tested operation system.
2, be recorded in recording stage, from intercepting request that tested operation system is sent to RMI Server to the time of intercepting RMI Server and returning to the response data of tested operation system, be then made as to the prolongation of this time time of delay or shorten the value of several times.
3, be the value of random fluctuation in a certain interval time of delay, and for example, establishing this interval is 0.5 second to 2 seconds,, after finding response data, can after a random time value within the scope of 0.5 second to 2 seconds, response data be returned to tested operation system again.
By setting, can simulate in actual line more contingent abnormal conditions in application time of delay, as low-response, sometime in without response etc., with this, can test the fault-tolerance of tested operation system.
It should be noted that, the call parameters information of tested operation system in the request that is sent to RMI Server may comprise the unfixed information such as current system time or random number, like this not fixedly call parameters information in playback phase, be difficult to reappear, can cause finding and response data corresponding in mapping table.Therefore the method that, the invention described above embodiment mono-provides can also comprise the steps:
In step S101 recording stage and step S102 playback phase, extract call parameters information the request that is sent to RMI Server from tested operation system after, to calling parameter information, filter, filter some information of appointment in call parameters information, afterwards in step S101, to after the information not being filtered and response data formation corresponding relation, preserve, in step S102, according to the information not being filtered, go to search corresponding response data, if adopted the mode that generates key value in step S101 and step S102, according to the call parameters information not being filtered, go to generate key value so.The invention provides following two kinds of optimal ways filters calling parameter information:
1, the parameter information that meets preset data type in call parameters information is filtered out, according to the data type in Java language, the data type of calling in parameter information is filtered, for example, it is " Integer " (integer) and " String " (character string) that the data type that need to filter can be set, the data of " Integer " in call parameters information and " String " type can be filtered so, and the data of all the other types are retained.
2, the parameter information that parameter name in call parameters information is met to parameter preset name filters out, preset template parameter name, the parameter information that parameter name in call parameters information is mated with template parameter name filters out, wherein, matching process can be supported " xxx* ", " * xxx ", " x*x ", the fuzzy matching of " * x* " isotype, " * " is asterisk wildcard, for example, preset template parameter " tim* " and " random* " by name, the parameter of the call parameters in request has " time " (current system time), " randomnum " (random number) and all the other parameters, the parameter of " time " and " randomnum " by name is mated with template parameter name, filter out this two parameters, retain remaining parameter.
Be more than the description that method provided by the invention is carried out, below by bis-pairs of devices provided by the invention of embodiment, be described in detail.For ease of understanding, first in conjunction with Fig. 2, the applied system environments of method and apparatus provided by the invention is briefly described, as shown in Figure 2, device provided by the present invention is placed in RMI recording and playback device (Replayer), be used for method flow described in the embodiment of the present invention one, in recording stage, tested operation system is processed after user's request, to RMI Server, send request, RMI Replayer tackles this request and therefrom extracts call parameters information, afterwards this request is sent to RMI Sevrer, the response data that extracted call parameters information and RMI Server are returned forms corresponding relation and preserves, in playback phase, RMI Replayer intercepts after the request that tested operation system sends, and extracts call parameters information in request and according to response data corresponding to those call parameters information searchings and be back to tested operation system.
Embodiment bis-
The testing apparatus schematic diagram based on RMI agreement that Fig. 3 provides for the embodiment of the present invention two, as shown in Figure 3, this device comprises: recording elements 10, playback unit 20, can also comprise: filter element 30.
Recording elements 10, for tackling the request that tested operation system is sent to RMI Server, extract and record the call parameters information in this request, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described call parameters information formation corresponding relation.
The user who records on line in advance to tested operation system playback under recording elements 10 is online is sent to the request of tested operation system, tested operation system, after processing user's request, need be called the relevant background module of RMI Server(by RMI agreement) realize the required function of user.Tackle tested operation system and be sent to the request of RMI Server, call parameters information in extraction record request, this request is sent to RMI Server, tackle afterwards RMI Server and process the response data of returning after this request, after the call parameters information of record forms corresponding relation with the response data of intercepting before, preserve, afterwards this response data is back to tested operation system.
The invention provides a kind of preferred implementation and preserve the corresponding relation of call parameters information and response data:
According to key value of the call parameters Information generation extracting, the response data that this key value and RMI Server are returned is preserved after forming corresponding relation.During according to call parameters Information generation key value, can adopt various ways to generate unique character string as key value, the invention provides a kind of preferred implementation: the mode by the class json string based on JavaScript generates key value, according to json form, call parameters information is converted to a unique character string.
It should be noted that, the operation that recording elements 10 is carried out also can be carried out on line, if carry out on the operation that recording elements 10 is carried out is online, recording elements 10 can direct recording user be sent to the request of tested operation system so, the request of the tested operation system of user's sending value that playback unit 20 is recorded to tested operation system playback recording elements 10 under online afterwards.
Playback unit 20, for tackling the request that tested operation system is sent to RMI Server, extract the call parameters information in this request, in the response data of preserving, search the response data corresponding with those call parameters information in described recording elements 10, this response data is back to tested operation system.
The user who has recorded to tested operation system playback under playback unit 20 is online is sent to the request of tested operation system, tested operation system needs to call RMI Server after processing user's request, tackle tested operation system and be sent to the request of RMI Server, extract call parameters information wherein, the call parameters information of preserving in recording elements 10 according to these those call parameters information is searched corresponding response data with the mapping table of response data, and this response data is back to tested operation system, directly ignore afterwards the request that tackled tested operation system is sent to RMI Server.If in recording elements 10, during by call parameters information and the preservation of response data formation corresponding relation, adopted described according to key value of call parameters Information generation, again this key value and response data are formed to the mode of preserving after corresponding relation, so in this step, extract after call parameters information, adopt with mode identical in recording elements 10 according to call parameters Information generation key value, and then search response data corresponding with this key value in preserved response data.
In order to simulate some abnormal extreme cases, after playback unit 20 in the device providing in the embodiment of the present invention two finds the response data corresponding with call parameters information, playback unit 20 can be carried out following operation: when reaching default time of delay, then the response data finding is back to tested operation system.Can need to arrange time of delay according to test, for example, can be set to following three kinds of modes:
1, be fixed value time of delay, according to call parameters information, finding after corresponding response data, postpones after fixing a period of time, then this response data is back to tested operation system.
2, record recording elements 10, from intercepting request that tested operation system is sent to RMI Server to the time of intercepting RMI Server and returning to the response data of tested operation system, be then made as to the prolongation of this time time of delay or shorten the value of several times.
3, be the value of random fluctuation in a certain interval time of delay, and for example, establishing this interval is 0.5 second to 2 seconds,, after finding response data, can after a random time value within the scope of 0.5 second to 2 seconds, response data be returned to tested operation system again.
It should be noted that, the call parameters information of tested operation system in the request that is sent to RMI Server may comprise the unfixed information such as current system time or random number, like this not fixedly call parameters information in playback phase, be difficult to reappear, can cause finding and response data corresponding in mapping table.Therefore in the device that, the invention described above embodiment bis-provides, can also comprise following apparatus:
Filter element 30, after call parameters information is extracted in the request that is sent to RMI Server for carrying out at recording elements 10 and playback unit 20 from tested operation system, to calling parameter information, filter, filter some information of appointment in call parameters information, recording elements 10 will be preserved after the information not being filtered and response data formation corresponding relation afterwards, playback unit 20 goes to search corresponding response data according to the information not being filtered, if recording elements 10 and playback unit 20 have adopted the mode that generates key value, according to the call parameters information not being filtered, go to generate key value so.The object of filtering is that the parameter information that is difficult in call parameters information reappear is filtered out, described in the parameter information that is difficult to reappear comprise: current system time or random number.The invention provides following two kinds of optimal ways filters calling parameter information:
1, the parameter information that meets preset data type in call parameters information is filtered out, according to the data type in Java language, the data type of calling in parameter information is filtered, for example, it is " Integer " (integer) and " String " (character string) that the data type that need to filter can be set, the data of " Integer " in call parameters information and " String " type can be filtered so, and the data of all the other types are retained.
2, the parameter information that parameter name in call parameters information is met to parameter preset name filters out, preset template parameter name, the parameter information that parameter name in call parameters information is mated with template parameter name filters out, wherein, matching process can be supported " xxx* ", " * xxx ", " x*x ", the fuzzy matching of " * x* " isotype, " * " is asterisk wildcard, for example, preset template parameter " tim* " and " random* " by name, the parameter of the call parameters in request has " time " (current system time), " randomnum " (random number) and all the other parameters, the parameter of " time " and " randomnum " by name is mated with template parameter name, filter out this two parameters, retain remaining parameter.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. the method for testing based on remote method invocation agreement, the reciprocal process that operation system is called to relevant background module RMI Server by RMI agreement is tested, and it is characterized in that, and the method comprises:
S1, recording stage, tackle tested operation system and be sent to the request of RMI Server, extract and record the call parameters information in this request, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described call parameters information formation corresponding relation;
S2, playback phase, tackle tested operation system and be sent to the request of RMI Server, extract the call parameters information in this request, in the response data of preserving, search the response data corresponding with those call parameters information in described step S1, this response data is back to tested operation system.
2. method according to claim 1, it is characterized in that, in described step S1, tackle before tested operation system is sent to the request of RMI Server, also comprise: to tested operation system playback, prerecord the request that user is sent to tested business, or, record the request that user is sent to tested operation system;
In described step S2, tackle before tested operation system is sent to the request of RMI Server, also comprise: the user who has recorded to tested operation system playback is sent to the request of tested business.
3. method according to claim 1, it is characterized in that, will response data in described step S1 and call parameters information preserve after forming corresponding relation, specifically comprise: according to call parameters Information generation key value, will this key value and described response data formation corresponding relation after preserve;
In described step S2, search the response data corresponding with call parameters information, specifically comprise: according to call parameters Information generation key value, in the corresponding relation of preserving, search the response data corresponding with this key value in described step S1.
4. method according to claim 1, is characterized in that, the method also comprises:
In described step S1 He in described step S2, extract after the call parameters information in request, the parameter information that is difficult in call parameters information reappear filtered out, described in the parameter information that is difficult to reappear comprise: current system time or random number.
5. method according to claim 1, is characterized in that, after finding the response data corresponding with call parameters information, while reaching default time of delay, more described response data is back to tested operation system in described step S2.
6. method according to claim 5, is characterized in that, be specially described default time of delay:
Fixed value; Or,
In described step S1, from intercepting request that tested operation system is sent to RMI Server to intercepting the time lengthening the response data that RMI Server returns or shortening the value of several times; Or,
The random value fluctuating in pre-set interval.
7. the testing apparatus based on remote method invocation agreement, the reciprocal process that operation system is called to relevant background module RMI Server by RMI agreement is tested, and it is characterized in that, and this device comprises:
Recording elements, for tackling the request that tested operation system is sent to RMI Server, extract and record the call parameters information in this request, afterwards this request is sent to RMI Server, the response data that interception RMI Server returns, will preserve after this response data and described call parameters information formation corresponding relation;
Playback unit, for tackling the request that tested operation system is sent to RMI Server, extract the call parameters information in this request, in the response data of preserving at described recording elements, search the response data corresponding with those call parameters information, this response data is back to tested operation system.
8. device according to claim 7, it is characterized in that, described recording elements is tackled before tested operation system is sent to the request of RMI Server, also carry out: to tested operation system playback, prerecord the request that user is sent to tested business, or, record the request that user is sent to tested operation system;
Described playback unit is tackled before tested operation system is sent to the request of RMI Server, also carries out: the user who has recorded to tested operation system playback is sent to the request of tested business.
9. device according to claim 7, it is characterized in that, described recording elements will response data and call parameters information preserve after forming corresponding relation, specifically carry out: according to call parameters Information generation key value, will this key value and described response data formation corresponding relation after preserve;
Described playback unit is searched the response data corresponding with call parameters information, specifically carries out: according to call parameters Information generation key value, in the corresponding relation of preserving, search the response data corresponding with this key value at described recording elements.
10. device according to claim 7, is characterized in that, this device also comprises:
Filter element, for extracting after the call parameters information of request at described recording elements and described playback unit, the parameter information that is difficult in call parameters information reappear is filtered out, described in the parameter information that is difficult to reappear comprise: current system time or random number.
11. devices according to claim 7, is characterized in that, after described playback unit finds the response data corresponding with call parameters information, while reaching default time of delay, more described response data are back to tested operation system.
12. devices according to claim 11, is characterized in that, be specially described default time of delay:
For fixed value; Or,
For described recording elements, from intercepting request that tested operation system is sent to RMI Server to intercepting the time lengthening the response data that RMI Server returns or shortening the value of several times; Or,
For the random value fluctuating in pre-set interval.
CN201210325440.5A 2012-09-05 2012-09-05 Method and device for testing based on RMI protocol Pending CN103685354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210325440.5A CN103685354A (en) 2012-09-05 2012-09-05 Method and device for testing based on RMI protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210325440.5A CN103685354A (en) 2012-09-05 2012-09-05 Method and device for testing based on RMI protocol

Publications (1)

Publication Number Publication Date
CN103685354A true CN103685354A (en) 2014-03-26

Family

ID=50321663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210325440.5A Pending CN103685354A (en) 2012-09-05 2012-09-05 Method and device for testing based on RMI protocol

Country Status (1)

Country Link
CN (1) CN103685354A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515883A (en) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 Test method and system
CN105871662A (en) * 2016-06-22 2016-08-17 腾讯科技(深圳)有限公司 Protocol recording and replay method and terminal
CN106802859A (en) * 2015-11-25 2017-06-06 北京京东尚科信息技术有限公司 A kind of method and device of client software test
CN106802864A (en) * 2016-12-30 2017-06-06 中国银联股份有限公司 A kind of method of testing and device based on financial sector
CN110166511A (en) * 2018-02-13 2019-08-23 北京嘀嘀无限科技发展有限公司 Data processing method and system
CN110580224A (en) * 2019-09-20 2019-12-17 中国银行股份有限公司 System testing method, device and equipment
CN110609792A (en) * 2019-09-10 2019-12-24 浙江大搜车软件技术有限公司 Interface testing method and device, computer equipment and storage medium
CN110795311A (en) * 2019-10-30 2020-02-14 北京三快在线科技有限公司 Event playback method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217303A1 (en) * 2008-02-27 2009-08-27 Accenture Global Services Gmbh Test script transformation analyzer with change guide engine
CN102591754A (en) * 2011-01-18 2012-07-18 智比特信息技术(镇江)有限公司 Automatic testing method for electronic product controlled by computer
CN102622296A (en) * 2012-02-21 2012-08-01 百度在线网络技术(北京)有限公司 Search engine module testing method, search engine module testing system and devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217303A1 (en) * 2008-02-27 2009-08-27 Accenture Global Services Gmbh Test script transformation analyzer with change guide engine
CN102591754A (en) * 2011-01-18 2012-07-18 智比特信息技术(镇江)有限公司 Automatic testing method for electronic product controlled by computer
CN102622296A (en) * 2012-02-21 2012-08-01 百度在线网络技术(北京)有限公司 Search engine module testing method, search engine module testing system and devices

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515883A (en) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 Test method and system
CN106802859A (en) * 2015-11-25 2017-06-06 北京京东尚科信息技术有限公司 A kind of method and device of client software test
CN105871662A (en) * 2016-06-22 2016-08-17 腾讯科技(深圳)有限公司 Protocol recording and replay method and terminal
CN105871662B (en) * 2016-06-22 2018-10-23 腾讯科技(深圳)有限公司 A kind of agreement records, back method and terminal
CN106802864A (en) * 2016-12-30 2017-06-06 中国银联股份有限公司 A kind of method of testing and device based on financial sector
CN110166511A (en) * 2018-02-13 2019-08-23 北京嘀嘀无限科技发展有限公司 Data processing method and system
CN110609792A (en) * 2019-09-10 2019-12-24 浙江大搜车软件技术有限公司 Interface testing method and device, computer equipment and storage medium
CN110580224A (en) * 2019-09-20 2019-12-17 中国银行股份有限公司 System testing method, device and equipment
CN110795311A (en) * 2019-10-30 2020-02-14 北京三快在线科技有限公司 Event playback method and device
CN110795311B (en) * 2019-10-30 2020-11-03 北京三快在线科技有限公司 Event playback method and device

Similar Documents

Publication Publication Date Title
CN103685354A (en) Method and device for testing based on RMI protocol
CN106878074B (en) Flow filtering method and device
CN104901955B (en) A kind of method for early warning, device and processing server
CN102752300B (en) Dynamic antitheft link system and dynamic antitheft link method
CN104581785B (en) wireless network test method, test device and mobile terminal
CN104219330A (en) Method and system for auditing screen record based on WEB proxy
CN105068876B (en) Method based on distributed deployment prototype collection cell phone application performance data
CN106412975B (en) A kind of test method and device of content charging loophole
Jirka et al. A lightweight approach for the sensor observation service to share environmental data across Europe
CN105516131A (en) Vulnerability scanning method and device and electronic equipment
CN106484611A (en) Fuzz testing method and apparatus based on automation protocol adaptation
CN110099129A (en) A kind of data transmission method and equipment
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
CN111818041B (en) Real-time message processing system and method based on network layer message analysis
US10775751B2 (en) Automatic generation of regular expression based on log line data
CN109560895A (en) Data transmission method and device
CN102271331B (en) Method and system for detecting reliability of service provider (SP) site
CN105119764B (en) Method and apparatus for traffic monitoring
CN103368783A (en) Method, system and equipment for network communication process monitoring
WO2017181817A1 (en) Server testing method, device, and system, and storage medium
CN102281584A (en) Method and system for implementing capability of Internet of things
CN105897927B (en) A method of parsing Google longitude and latitude
CN109818799A (en) Log collection analysis method and equipment
JP2006190033A (en) Information processing system and processing method for communication reproduction
CN104734914A (en) Method, device and system used for monitoring network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326

RJ01 Rejection of invention patent application after publication