CN103312554B - A kind of method of testing of multiserver interactive service and system - Google Patents

A kind of method of testing of multiserver interactive service and system Download PDF

Info

Publication number
CN103312554B
CN103312554B CN201210071409.3A CN201210071409A CN103312554B CN 103312554 B CN103312554 B CN 103312554B CN 201210071409 A CN201210071409 A CN 201210071409A CN 103312554 B CN103312554 B CN 103312554B
Authority
CN
China
Prior art keywords
server
emulating
returned data
business
emulating server
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.)
Active
Application number
CN201210071409.3A
Other languages
Chinese (zh)
Other versions
CN103312554A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210071409.3A priority Critical patent/CN103312554B/en
Publication of CN103312554A publication Critical patent/CN103312554A/en
Application granted granted Critical
Publication of CN103312554B publication Critical patent/CN103312554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

This application provides a kind of method of testing of multiserver interactive service and system, to solve the problems, such as to test multiserver interactive service whole flow process in prior art.Described method includes:Create emulating server, described emulating server is used for the external server that simulation is truly interacted with internal server;Internal server generates business according to the service request receiving, and corresponding business datum is sent to emulating server, and wherein service condition is in establishment;If receiving the returned data of emulating server process within the preset time, according to the different process operation of different returned data execution;If not receiving the returned data of emulating server process within the preset time, resend business datum to emulating server;If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.The application has simulated the interbehavior of multiserver, makes the process of business more smooth and secure.

Description

A kind of method of testing of multiserver interactive service and system
Technical field
The application is related to measuring technology, more particularly to a kind of method of testing of multiserver interactive service and system.
Background technology
With the development of the Internet, the business on network is often completed jointly by multiple systems, and described system may Belong to different enterprises, therefore when testing to this business, usual Dou Shi enterprise is each carried out for the system of oneself Test.During use, the interior business of individual system may be all normal, but the service interaction between system is but likely to occur Mistake, and the whole flow process of this business can be tested currently without a kind of method.
For example, the built-in system of a certain enterprise is an open platform, and internal server passes through interface and outside clothes Business device cooperation interaction carrys out processing business.The handling process of business is that the first external server sends service request to internal services Device, internal server creates service concurrence and send business datum to the second external server, then according to the outside clothes of second receiving The returned data of business device is processed accordingly.
Prior art is that the internal process for described internal server is tested, and mainly tests its internal process With the presence or absence of abnormal.First, internal server receives service request generate business, then pass through interface transmission business datum to External server, and according to the follow-up process operation of the returned data execution receiving.But will not truly and call outside in test Server interaction, but simulate the interface interacting with external server in advance, and simulated the returned data of described interface, because This directly receives the returned data simulated of correspondence when calling interface to send business datum, without with external server Interact.
In the internal process test of above-mentioned internal server, really it is not related to the participation of external server, because And do not simulate the interbehavior of multiserver, so can not test out whether multiserver is deposited in interaction process business yet In abnormal problem.
Content of the invention
The application provides a kind of method of testing of multiserver interactive service and system, to solve cannot survey in prior art The problem of examination multiserver interactive service whole flow process.
In order to solve the above problems, this application discloses a kind of method of testing of multiserver interactive service, its feature exists In, including:
Create emulating server, described emulating server is used for the outside clothes that simulation is truly interacted with internal server Business device;
Internal server generates business according to the service request receiving, and corresponding business datum is sent to analog service Device, wherein service condition are in establishment;
If receiving the returned data of emulating server process within the preset time, held according to different returned datas The different process operation of row;
If not receiving the returned data of emulating server process within the preset time, resend business datum extremely Emulating server;
If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.
Accordingly, disclosed herein as well is a kind of test system of multiserver interactive service is it is characterised in that include interior Portion's server and emulating server, wherein, described emulating server is used for the outside clothes that simulation is interacted with internal server Business device,
Described internal server includes:
Creation module, for creating business according to the service request receiving;
First sending module, for sending corresponding business datum to emulating server;
Processing module, if for the returned data receiving emulating server process within the preset time, according to not The different process operation of same returned data execution;
Second sending module, if for the returned data not receiving emulating server process within the preset time, Resend business datum to emulating server.
Compared with prior art, the application includes advantages below:
First, method described herein has simulated interacting of internal server and external server in Business Processing Journey, initially creates emulating server, and described emulating server is used for the external server that simulation is interacted with internal server, Internal server generates business according to the service request receiving, and described business datum is sent to emulating server, wherein, industry Business state is in establishment.If real server receives the returned data of emulating server process, root within the preset time According to the different process operation of different returned data execution;If real server does not receive analog service within the preset time The returned data that device is processed, then resend business datum to emulating server.The application can call analog service in testing Device, and for the returned data after emulating server process, real server can execute corresponding treatment measures.The application Simulate the interbehavior of multiserver, multiserver can have been tested out and whether there is abnormal asking in interaction process business Topic, such that it is able to make multiserver interactive service more perfect, makes the process of business more smooth and secure.
Secondly, the application has sufficiently tested out the various probabilities during service interaction.Emulating server can basis The different situations of business datum, send different returned datas, and real server can be according to the difference returns of emulating server , so that the test of the whole flow process of business is abundanter, test scene is more comprehensive for the different operation of data execution.
Again, simulate the scene during actual services are processed in the application, set up message retransmission mechanism, but at business In reason, message is not unlimited repeating transmission, therefore, when the number of times sending business datum exceedes preset scope, can identification service State is to create unsuccessfully, more conforms to actual services and processes operation, and has considered the various probabilities in operation flow, It is closer to real Business Processing scene.
Brief description
Fig. 1 is a kind of method of testing flow chart of multiserver interactive service described in the embodiment of the present application;
Fig. 2 is a kind of the first interaction schematic diagram of method of testing of multiserver interactive service described in the embodiment of the present application;
Fig. 3 is that a kind of method of testing second of multiserver interactive service described in the embodiment of the present application interacts schematic diagram;
Fig. 4 is a kind of the third interaction schematic diagram of method of testing of multiserver interactive service described in the embodiment of the present application;
Fig. 5 is a kind of method of testing flow chart of multiserver interactive service described in the application preferred embodiment;
Fig. 6 is a kind of test system structure figure of multiserver interactive service described in the embodiment of the present application.
Specific embodiment
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the accompanying drawings and specifically real Mode of applying is described in further detail to the application.
The handling process of business is that the first external server sends service request to internal server, and internal server creates Service concurrence send business datum to the second external server, is then carried out according to the returned data of the second external server receiving Corresponding process.
Prior art is that the internal process for described internal server is tested, and mainly tests its internal process With the presence or absence of abnormal.Truly will not interact with calling external server in test, but simulate in advance and hand over external server Mutual interface, and simulated the returned data of described interface, therefore when calling interface to send business datum, it is right to directly receive The returned data that should simulate, without interacting with external server.
This application provides a kind of method of testing of multiserver interactive service, the application can call simulation suit in testing Business device, and for the returned data after emulating server process, real server can execute corresponding treatment measures.This Shen Please simulate the interbehavior of multiserver, multiserver can have been tested out and whether there is abnormal asking in interaction process business Topic, such that it is able to make multiserver interactive service more perfect, makes the process of business more smooth and secure.
With reference to Fig. 1, which show a kind of method of testing flow chart of multiserver interactive service described in the embodiment of the present application.
Step 11, creates emulating server, and described emulating server is used for simulation and is truly interacted with internal server External server;
Because internal server is an open platform, it is passed through interface and is worked in coordination with from the external server of different enterprises Interaction carrys out processing business.Real external server can not be called, therefore the application creates emulating server, institute first in test State emulating server for simulate the external server that truly interacted with internal server.
Described emulating server can adopt JETTY server, therefore can embed described JETTY clothes in test script Business device, then, in testing when internal server is interacted by interface interchange external server, will call emulating server Simulate this interaction.
Described JETTY server is a JAVA server increased income, and JETTY is a servlet container increased income, and is Web content based on Java.
Step 12, internal server according to receive service request generate business, and by corresponding business datum send to Emulating server, wherein service condition are in establishment;
Test script can start emulating server when starting simultaneously, and test script calls the interface of internal server to generate industry Business request, and it is transferred to internal server.
Internal server receives service request, and generates business according to service request, then sends out corresponding business datum Deliver to emulating server, when initial, service condition is designated in establishment.
Step 13, judges whether receive the returned data of emulating server process within the preset time;
Internal server can judge within the preset time, if having received the returned data of emulating server process. If so, then execution step 14, if it is not, then execution step 15.
Wherein, the processing procedure of internal server is asynchronous, such as after having sent the business datum of business B, permissible Continue with the service request with regard to business C, or process the returned data with regard to business A, simultaneously judge for business B In the preset time, whether internal server receives the returned data of emulating server process.
Step 14, according to the different process operation of different returned data execution;
Emulating server, can be according to the difference of business datum after receiving the business datum of internal server, and execution is not Same processes and returns different returned datas.Internal server receives returning of emulating server process within the preset time After returning data, can be according to the different process operation of different returned data execution.
Step 15, resends business datum to emulating server.
Preferably, if send business datum number of times reach preset scope after, do not receive yet emulating server process Returned data, then identification service state is to create unsuccessfully.
If internal server does not receive the returned data of emulating server process, described inside within the preset time Server can resend business datum to emulating server.
But it is directed to certain business, internal server can not repeat to send business datum, therefore internally server always In be prefixed a certain scope, if send business datum number of times reach preset scope after, do not receive yet emulating server process Returned data, then will not send business datum from new again, but identification service state is to create unsuccessfully.
Business is in processes it is possible that the problem blocked, therefore some business datums may be lost after sending or can not Process in time, for the retransmission mechanism being provided with business datum in this kind of situation internally server.
In order to simulate this kind of situation, the application is provided with sleep state for emulating server and dormant holds the application The continuous time, data of cannot accepting business when emulating server is in sleep state, until emulating server recovers normal State.
For example, the retransmission time of setting internal server is 2s, and the emulating server dormant persistent period is 10s, Server sends the business datum of business B, and now emulating server is just at sleep state.
If the sending times of internal server are 3 times (comprising to send first business datum), when internal server the 3rd time When sending data to emulating server, emulating server is still in sleep state and is unable to processing business, internal server after 2s Still it is not received by the returned data of emulating server, now can identify service condition is to create unsuccessfully.
If the sending times of internal server are 6 times (comprising to send first business datum), when internal server the 6th time When sending data to emulating server, emulating server is in normal condition, then can normally receive and processing business data.
If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.If certain process executes Abnormal, then there are abnormal conditions in the test of multiserver interactive service, need to be debugged just to be carried out until all processes Often, till the test of multiserver interactive service is passed through.
In this application, internal server sends business datum to emulating server, and emulating server receives business number According to after process step include:
If emulating server receives incomplete business datum, returned data is system mistake;
If emulating server receives complete business datum, but described business datum is invalid, then returned data is business Processing failure;
If emulating server receives complete business datum, and described business datum is effectively, then returned data is business Process successfully.
Wherein, when described business datum exist business wrong when, described business datum is invalid, wherein, described The ID data of business is repeated with the ID data of existing business, and warehouse code error or code error etc. are business Mistake.
If described business datum does not comprise the mistake of above-mentioned business, it is believed that this business datum is effective.
For example, the business datum that internal server sends is the data of an XML format, and the form of described data is such as< request><id>100</id><name>Pencil</name></request>.
If the business datum that emulating server receives is<request><id>100</id>, then this data is imperfect Business datum, now business datum occur abnormal, described abnormal data can directly be dished out by emulating server, is then back to count According to internal server, described returned data is system mistake.
If the business datum that emulating server receives is<request><id>100</id><name>Pencil</name> </request>, then this data is complete business datum, now can judge whether this data is effective in business, example As if emulating server finds the ID data of this business, repeated with the ID data of existing business, then now analog service Device returned data can inform that this business of internal server cannot be processed, and wherein said returned data is Business Processing failure.Described Returned data can also be represented using XML format data.
If the business datum that emulating server receives is<request><id>100</id><name>Pencil</name> </request>, then this data is complete business datum, and described business datum is effective.Emulating server can execute accordingly Process, and send and return data to internal server, described returned data is Business Processing success.
The returned data that corresponding emulating server is processed, the process step of internal server includes:
If the returned data receiving emulating server process within the preset time is system mistake, do not execute any Operation;
If the returned data receiving emulating server process within the preset time is Business Processing failure, by business Status indicator is to create unsuccessfully;
If the returned data receiving emulating server process within the preset time is Business Processing success, by business Status indicator is to create successfully.
Wherein, if the failure of described service creation, internal server can return connect to wrong data to test script, informs The failure of its service creation.
With reference to Fig. 2, which show a kind of method of testing of multiserver interactive service described in the embodiment of the present application the first Interaction schematic diagram.
Internal server is included with the first processing procedure of emulating server interactive service:1. internal server receives industry Business request, and generate business;2. internal server sends business datum to emulating server;3. emulating server processing business number According to;4., after emulating server has processed business datum and generated returned data, send and return data to internal server;5. inside Server is directed to different returned datas, executes different process operations.
With reference to Fig. 3, which show a kind of method of testing second of multiserver interactive service described in the embodiment of the present application Interaction schematic diagram.
Internal server is included with the second processing procedure of emulating server interactive service:1. internal server receives industry Business request, and generate business;2. internal server sends business datum to emulating server;Now emulating server is in sleep State is it is impossible to receive and processing business data;3. exceed the predetermined time, internal server does not receive emulating server and processes Returned data, now can resend business datum to emulating server;4. work as business datum send number of times reach preset Scope, and think and do not receive returned data, now internal server identification service processes state is processing failure.
With reference to Fig. 4, which show a kind of method of testing of multiserver interactive service described in the embodiment of the present application the third Interaction schematic diagram.
Internal server is included with the third processing procedure of emulating server interactive service:1. internal server receives industry Business request, and generate business;2. internal server sends business datum to emulating server;Now emulating server is in sleep State is it is impossible to receive and processing business data;3. exceed the predetermined time, internal server does not receive emulating server and processes Returned data, now can resend business datum to emulating server;4. being awake of emulating server, recovers Normal condition, now emulating server normal process business datum;5. emulating server has processed business datum and has generated return After data, send and return data to internal server;6. internal server is directed to different returned datas, executes different process Operation.
With the development of the Internet, the business on network is often completed jointly by multiple systems, and citing below is discussed The flow testing of described business.
For example, internal server is logistics system server, and emulating server is the warehouse system server of simulation.Logistics After system can receive order, order can be created and send order to warehouse system server, idiographic flow is as follows:
With reference to Fig. 5, which show a kind of method of testing stream of multiserver interactive service described in the application preferred embodiment Cheng Tu.
Step 21, creates the warehouse system server of simulation, and the warehouse system server of described simulation is used for simulation and thing The warehouse system server that streaming system server is truly interacted;
Step 22, logistics system server creates order according to the order creation request receiving, and by corresponding order numbers According to the warehouse system server sending to simulation, wherein order status are in establishment;
Wherein, the process step after the warehouse system server of simulation receives order data includes:
If the warehouse system server of simulation receives incomplete order data, returned data is system mistake;
If the warehouse system server of simulation receives complete order data, but described order data is invalid, then return Data is Business Processing failure;
If the warehouse system server of simulation receives complete order data, and described order data is effectively, then return Data is Business Processing success.
Step 23, judges whether receive the return number of the warehouse system server process of simulation within the preset time According to;
If so, then execution step 24, if it is not, then execution step 25.
Step 24, judges the type of returned data;
If institute's returned data is system mistake, execution step 26;
If the failure of returned data Business Processing, execution step 27;
If the success of returned data Business Processing, execution step 28;
Step 25, situation about blocking in the warehouse system server of simulation, now resend order data send to The warehouse system server of simulation.
Step 26, does not execute any operation;
Step 27, service condition is designated and creates unsuccessfully;
Step 28, service condition is designated and creates successfully.
Step 29, if after the number of times sending business datum reaches preset scope, does not receive emulating server process yet Returned data, then identification service state is to create unsuccessfully.
If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.
Reality can also create the ERP server of a simulation in processes, is sent by the ERP server of described simulation Order creation is asked to logistics system server, and then logistics service device creates order again.If order creation failure, thing in test Streaming system server can directly transmit the ERP server to simulation for the wrong data, informs the event of its order creation failure.
In sum, method described herein first has simulated internal server and external server in Business Processing Interaction, initially create emulating server, described emulating server be used for that simulation and internal server interact outward Portion's server, internal server generates business according to the service request receiving, and described business datum is sent to analog service Device, wherein service condition are in establishment.If real server receives the return of emulating server process within the preset time Data, then according to the process operation that different returned data execution is different;If real server did not received within the preset time The returned data processing to emulating server, then resend business datum to emulating server.The application can adjust in testing With emulating server, and the returned data after processing for emulating server, real server can execute corresponding process Measure.The application has simulated the interbehavior of multiserver, whether can test out multiserver in interaction process business There is abnormal problem, such that it is able to make multiserver interactive service more perfect, make the process of business more smooth and have guarantor Barrier.
Secondly, the application has sufficiently tested out the various probabilities during service interaction.Emulating server can basis The different situations of business datum, send different returned datas, and real server can be according to the difference returns of emulating server , so that the test of the whole flow process of business is abundanter, test scene is more comprehensive for the different operation of data execution.
Again, simulate the scene during actual services are processed in the application, set up message retransmission mechanism, but at business In reason, message is not unlimited repeating transmission, therefore when the number of times sending business datum exceedes preset scope, can identification service State is to create unsuccessfully, more conforms to actual services and processes operation, and has considered the various probabilities in operation flow, It is closer to real Business Processing scene.
With reference to Fig. 6, which show a kind of test system structure figure of multiserver interactive service described in the embodiment of the present application.
Accordingly, present invention also provides a kind of test system of multiserver interactive service, including internal server 11 With emulating server 12, wherein, described emulating server 12 is used for the external service that simulation is interacted with internal server 11 Device.
Described internal server 11 includes:
Creation module 111, for creating business according to the service request receiving;
First sending module 112, for sending corresponding business datum to emulating server;
Now, service condition is in establishment.
Processing module 113, if for the returned data receiving emulating server process within the preset time, basis The different process operation of different returned data execution;
Second sending module 114, if for the returned data not receiving emulating server process within the preset time, Then resend business datum to emulating server.
Described emulating server 12 includes:
First return module 121, if receiving incomplete business datum for emulating server, returned data is to be System mistake;
Second return module 122, if receiving complete business datum for emulating server, but described business datum is no Effect, then returned data is Business Processing failure;
3rd return module 123, if receiving complete business datum for emulating server, and described business datum has Effect, then returned data is Business Processing success.
Preferably, described processing module includes:
First processing units, if be system for receiving the returned data of emulating server process within the preset time Mistake, then do not execute any operation;
Second processing unit, if for receiving at the returned data business of emulating server process within the preset time Manage unsuccessfully, then service condition is designated and creates unsuccessfully;
3rd processing unit, if the returned data Business Processing receiving emulating server process within the preset time becomes Work(, then be designated service condition and create successfully.
Preferably, the second sending module 114, if after the number of times being additionally operable to transmission business datum reaches preset scope, still Do not receive the returned data of emulating server process, then identification service state is to create unsuccessfully.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is all described by the way of going forward one by one, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar partly mutually referring to.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes execution particular task or the routine realizing particular abstract data type, program, object, group Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by The remote processing devices connected by communication network are executing task.In a distributed computing environment, program module is permissible It is located in the local and remote computer-readable storage medium including storage device.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning Covering comprising of nonexcludability, so that including a series of process of key elements, method, commodity or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrange Remove and also there is other identical element in the process including described key element, method, commodity or equipment.
Method of testing to a kind of multiserver interactive service provided herein and system, have carried out detailed Jie above Continue, specific case used herein is set forth to the principle of the application and embodiment, the explanation of above example is only It is to be used to help understand the present processes and its core concept;Simultaneously for one of ordinary skill in the art, according to this Shen Thought please, all will change in specific embodiments and applications, and in sum, this specification content should not be managed Solution is the restriction to the application.

Claims (10)

1. a kind of method of testing of multiserver interactive service is it is characterised in that include:
Create emulating server, described emulating server is used for the external service that simulation is truly interacted with internal server Device;
Internal server generates business according to the service request receiving, and corresponding business datum is sent to emulating server, Wherein service condition is in establishment;
If receiving the returned data of emulating server process within the preset time, executed not according to different returned datas Same process operation;
If not receiving the returned data of emulating server process within the preset time, internal server resends business Data is to emulating server;
If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.
2. method according to claim 1 is it is characterised in that described emulating server receives the process after business datum Step includes:
If emulating server receives incomplete business datum, returned data is system mistake;
If emulating server receives complete business datum, but described business datum is invalid, then returned data is Business Processing Failure;
If emulating server receives complete business datum, and described business datum is effectively, then returned data is Business Processing Success.
If 3. method according to claim 2 is it is characterised in that described receive emulating server within the preset time The returned data processing, then according to the corresponding process of described returned data execution, including:
If the returned data receiving emulating server process within the preset time is system mistake, do not execute any behaviour Make.
If 4. method according to claim 2 is it is characterised in that described receive emulating server within the preset time The returned data processing, then according to the corresponding process of described returned data execution, including:
If the returned data receiving emulating server process within the preset time is Business Processing failure, by service condition It is designated and create unsuccessfully.
If 5. method according to claim 3 is it is characterised in that described receive emulating server within the preset time The returned data processing, then according to the corresponding process of described returned data execution, including:
If the returned data receiving emulating server process within the preset time is Business Processing success, by service condition It is designated and create successfully.
6. method according to claim 1 it is characterised in that described resend business datum to emulating server it Afterwards, also include:
If after the number of times sending business datum reaches preset scope, not receiving the returned data of emulating server process yet, then Identification service state is to create unsuccessfully.
7. according to the arbitrary described method of claim 1 to 6 it is characterised in that described internal server is logistics system service Device, described emulating server is the warehouse system server of simulation, and described method includes:
Create the warehouse system server of simulation, the warehouse system server of described simulation is used for simulation and logistics system server The warehouse system server truly being interacted;
Logistics system server creates order according to the order creation request receiving, and corresponding order data is sent to simulation Warehouse system server, wherein order status be create in;
If receiving the returned data of the warehouse system server of simulation within the preset time, held according to described returned data Row is corresponding to be processed;
If not receiving the warehouse system server returned data of simulation, the warehouse system service simulated within the preset time Situation about blocking in device, and now resends order data and sends to the warehouse system server of simulation;
If above-mentioned all processes are carried out normally, the test of multiserver interactive service is passed through.
8. a kind of test system of multiserver interactive service is it is characterised in that include internal server and emulating server, its In, described emulating server is used for the external server that simulation is interacted with internal server,
Described internal server includes:
Creation module, for creating business according to the service request receiving;
First sending module, for sending corresponding business datum to emulating server;
Processing module, if for the returned data receiving emulating server process within the preset time, according to different The different process operation of returned data execution;
Second sending module, if for the returned data not receiving emulating server process within the preset time, internal Server resends business datum to emulating server.
9. system according to claim 8 is it is characterised in that described emulating server includes:
First return module, if receiving incomplete business datum for emulating server, returned data is system mistake;
Second return module, if receiving complete business datum for emulating server, but described business datum is invalid, then return Return data for Business Processing failure;
3rd return module, if receiving complete business datum for emulating server, and described business datum is effectively, then return Returning data is Business Processing success.
10. system according to claim 8 is it is characterised in that described processing module, including:
First processing units, if be that system is wrong for receiving the returned data of emulating server process within the preset time By mistake, then do not execute any operation.
CN201210071409.3A 2012-03-16 2012-03-16 A kind of method of testing of multiserver interactive service and system Active CN103312554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210071409.3A CN103312554B (en) 2012-03-16 2012-03-16 A kind of method of testing of multiserver interactive service and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210071409.3A CN103312554B (en) 2012-03-16 2012-03-16 A kind of method of testing of multiserver interactive service and system

Publications (2)

Publication Number Publication Date
CN103312554A CN103312554A (en) 2013-09-18
CN103312554B true CN103312554B (en) 2017-03-01

Family

ID=49137355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210071409.3A Active CN103312554B (en) 2012-03-16 2012-03-16 A kind of method of testing of multiserver interactive service and system

Country Status (1)

Country Link
CN (1) CN103312554B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096436A (en) * 2019-04-12 2019-08-06 深圳壹账通智能科技有限公司 Test method, device, medium and equipment based on data-pushing compensation function
CN110377462B (en) * 2019-06-17 2023-07-21 中国平安人寿保险股份有限公司 Interface testing method and device and terminal equipment
CN112905428A (en) * 2019-12-04 2021-06-04 菜鸟智能物流控股有限公司 Test method, test device, electronic equipment and storage medium
CN111445989B (en) * 2020-03-26 2023-06-13 珠海高瑞特医疗科技有限公司 Simulation learning method of refiner-analyzer simulator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838618A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Method for testing transmission control protocol client
CN101308556A (en) * 2007-05-15 2008-11-19 阿里巴巴集团控股有限公司 System and method for online charging test
CN101389107A (en) * 2007-09-10 2009-03-18 中兴通讯股份有限公司 Large traffic simulation test system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229695A1 (en) * 2002-03-21 2003-12-11 Mc Bride Edmund Joseph System for use in determining network operational characteristics

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838618A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Method for testing transmission control protocol client
CN101308556A (en) * 2007-05-15 2008-11-19 阿里巴巴集团控股有限公司 System and method for online charging test
CN101389107A (en) * 2007-09-10 2009-03-18 中兴通讯股份有限公司 Large traffic simulation test system and method

Also Published As

Publication number Publication date
CN103312554A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
US7890959B2 (en) System and method for message lifetime management
CN107241315B (en) Access method and device of bank gateway interface and computer readable storage medium
CN103716356B (en) Storing process operating method, device and system based on web
CN109726071A (en) System failure processing method, device, equipment and storage medium
CN108809816A (en) Message count is not seen across the offer of each equipment
CN103312554B (en) A kind of method of testing of multiserver interactive service and system
CN108521353A (en) Processing method, equipment and the readable storage medium storing program for executing of positioning performance bottleneck
CN104090839A (en) Simulation test method and device for abnormal scene
US20170351560A1 (en) Software failure impact and selection system
CN103023708A (en) Method and system for testing communication protocol interface
CN111967236A (en) Message processing method and device, computer equipment and storage medium
US9892028B1 (en) System and method for debugging of webcasting applications during live events
JP4336735B1 (en) Service processing apparatus, system, program, and recording medium
CN111008105A (en) Distributed system call relation visualization method and device
CN105955838A (en) System halt reason check method and device
CN110070444A (en) A kind of block chain transaction flow management method and relevant apparatus
CN103902429A (en) Early warning method, sever and system in automated test
CN108241616B (en) Message pushing method and device
CN108600007A (en) A kind of cloud platform Liability Retroact method and system
KR20190110314A (en) Method for testing AT based on AUTOSAR standard
CN108347456A (en) A kind of application program method for down loading and device
CN114257632A (en) Disconnection reconnection method and device, electronic equipment and readable storage medium
CN113852610A (en) Message processing method and device, computer equipment and storage medium
JP4401425B1 (en) Service processing apparatus, system, program, and recording medium
CN110750485B (en) Method and device for confirming and processing inter-board communication message, computer equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1185736

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1185736

Country of ref document: HK