CN107171881A - The method of testing and device of message handling system - Google Patents

The method of testing and device of message handling system Download PDF

Info

Publication number
CN107171881A
CN107171881A CN201610130397.5A CN201610130397A CN107171881A CN 107171881 A CN107171881 A CN 107171881A CN 201610130397 A CN201610130397 A CN 201610130397A CN 107171881 A CN107171881 A CN 107171881A
Authority
CN
China
Prior art keywords
message
handling system
result
target
measured
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
CN201610130397.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.)
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 CN201610130397.5A priority Critical patent/CN107171881A/en
Publication of CN107171881A publication Critical patent/CN107171881A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present application discloses the method for testing and test device of a kind of message handling system, when receiving test request, directly according to the message attributes to be measured carried in test request, message is extracted out of a large amount of message that are stored with presetting message storehouse to test message handling system, and the existing result of test result and corresponding message in the presetting message storehouse that is stored with is compared, in the case of realizing that prosthetic is participated in, message handling system is tested automatically, testing efficiency is improved.

Description

The method of testing and device of message handling system
Technical field
The application is related to message processing technique field, more particularly to a kind of method of testing of message handling system and Device.
Background technology
With the fast development of computer technology, got over using message handling system to carry out the demand of Message Processing Come more, existing message handling system generally comprises message sending end and message sink end, message sending end Pending message is sent to message sink end, message sink end group is in existing service logic to pending message Handled, obtain result.Therefore, the reliability of the process performance of message handling system how is ensured Also more paid attention in the industry.
However, because the pending message received by message handling system can be directly processed, it is impossible to protected Stay, be multiplexed, in the prior art, the message to be measured of each business scenario is typically largely simulated by manually customizing, These message to be measured are sent to message sink end by message request side again, then by judging message sink end The result reliability of process performance that whether meets default result to realize test post processing system.
However, customizing a large amount of message to be measured by manual type, a large amount of manpowers and time are consumed, is caused The testing efficiency of message handling system is low.
The content of the invention
The purpose of the embodiment of the present application is to provide the method for testing and device of a kind of message handling system, to improve Testing efficiency.
In order to solve the above technical problems, the embodiment of the present application provides a kind of method of testing of message handling system, Including:
The test request for message handling system is received, the test request is carried:Message attributes to be measured;
According to the message attributes to be measured, target message, the target message are determined in presetting message storehouse With the message attributes to be measured;
The target message is sent to the message handling system, and obtains the message handling system and is directed to The result of the target message;
According to the message attributes to be measured, determine to have result in default result storehouse, it is described existing Result is that the message handling system is handled for the message with the message attributes to be measured Existing result;
According to the result of the target message and the existing result, test result is obtained.
In order to solve the above technical problems, the embodiment of the present application provides a kind of test device of message handling system, Including:
Test request receiving module, for receiving the test request for message handling system, the test please Ask and carry:Message attributes to be measured;
Target message determining module, for according to the message attributes to be measured, being determined in presetting message storehouse Target message, the target message has the message attributes to be measured;
Objective result acquisition module, for the target message to be sent to the message handling system, and The result of the target message is directed to the message handling system;
Existing result determining module, for according to the message attributes to be measured, being determined in default result storehouse Existing result, the existing result is that the message handling system is directed to the message to be measured The existing result that the message of attribute is handled;
Test result generation module, is tied for the result according to the target message with the existing processing Really, test result is obtained.
At the technical scheme provided from above the embodiment of the present application, the message that the embodiment of the present application is provided The method of testing and test device of reason system, when receiving test request, directly take according in test request The message attributes to be measured of band, extraction message is come to Message Processing out of a large amount of message that are stored with presetting message storehouse System is tested, and by test result and the existing result for the corresponding message in presetting message storehouse of being stored with It is compared, in the case of realizing that prosthetic is participated in, message handling system is tested automatically, improved Testing efficiency.
Brief description of the drawings
, below will be to implementing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art The accompanying drawing used required in example or description of the prior art is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments described in the application, for those of ordinary skill in the art, Without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the annexation figure of message handling system system and test device in the embodiment of the present application.
Fig. 2 be the embodiment of the present application in be used for message handling system method of testing process.
Fig. 3 be another embodiment of the application in be used for message handling system method of testing process.
Fig. 4 be the embodiment of the present application in be used for message handling system test device module map.
Embodiment
The embodiment of the present application provides the method for testing and device of a kind of message handling system.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with this Apply for the accompanying drawing in embodiment, the technical scheme in the embodiment of the present application be clearly and completely described, Obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Base Embodiment in the application, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment obtained, should all belong to the scope of the application protection.
Fig. 1 is the annexation figure of message handling system system and test device in the embodiment of the present application.
Message handling system can include message sending end 110 and the message sink end 120 being connected with each other, and use Family sends message by operation information transmitting terminal 110 to message sink end 120, and this message can be for example Email message or instant communication information etc. are used for the communication class message or such as electricity of transmission information The game article in product trading message, order messages, or gaming platform on business's platform gives message, trip Play personage is used for the business scenario category information for describing operation behavior of the user on these platforms using message etc., Message sink end 120 is received after message, and message is handled based on logic has been handled, and is obtained everywhere Result is managed, this is technology well known to those of ordinary skill in the art, and therefore not to repeat here.
Certainly, in the application other embodiment, message handling system is additionally may included in message sending end 110 Message center (not shown) between message sink end 120, by the message center according to having forwarded Logic, the message that message sending end 110 is sent is forwarded to corresponding message sink end 120, and its is same For technology well known to those of ordinary skill in the art, therefore not to repeat here.
Message sending end 110 and message sink end 120 are to include to send and receiving the communication mould of data The device of block, for example can be desktop computer, laptop computer, tablet PC, smart mobile phone, The equipment such as handheld computer, personal digital assistant (" PDA ").
Message handling system also includes the default result storehouse 130 being connected with message sink end 120, default result Storehouse 130 can be the carrier of data storage common in the industry, such as hard disc of computer.Message sink end 120 It is after completing to the processing of message, the result of the message and the message relating is latter and send to default knot Fruit storehouse 130, is easy to the follow-up inquiry to these results.
Test device 200 is connected with each other with message handling system, and message handling system receives pending disappear After breath, message can be transmitted to test device 200.In the embodiment of the present application, test device 200 is with disappearing Breath receiving terminal 120 is connected, and is received from message sink end 120 after message, will be received after message and to be passed message Presetting message storehouse 300 is transported to store.Because the message received by test device 200 is Message Processing System is processed or the message that will handle, and these message embody the processing history of message handling system, Subsequently message in presetting message storehouse 300 is recalled, the processing for being capable of full backup message handling system is gone through History.Test device 200 is also connected with default result storehouse 130, to be checked from default result storehouse 130 at message The existing result of message handled by reason system.
, can be direct when test device 200 has information query demand by setting presetting message storehouse 300 Message in presetting message storehouse 300 is inquired about, without the Message Processing history further according to message handling system, Artificial carry out business is recalled to generate corresponding message, is effectively saved human cost.
Certainly, in the application other embodiment, presetting message storehouse 300 can also directly with Message Processing system System connection, receives and stores the message that history is handled for embodying the system from message handling system;Wherein, Presetting message storehouse 300 is also connected with test device 200, in order to which test device 200 is from presetting message storehouse 300 Consult message.
Presetting message storehouse 300 equally can be the carrier of data storage common at present, such as hard disc of computer Deng inquiry obtaining required message in these hard disc of computer, is well known to those of ordinary skill in the art Technology, will not be described here.
It is worth noting that, passing through in message handling system, test device 200, presupposed information storehouse 300 Network carries out message transmission, and network can include wired or wireless telecommunication device, can include LAN (" LAN "), wide area network (" WAN "), in-house network, internet, mobile telephone network, virtual private Net (VPN), honeycomb fashion or other mobile communications networks, bluetooth, NFC or its any combinations.
Fig. 2 is is used for the process of the method for testing of message handling system in the embodiment of the present application, below in conjunction with figure The annexation figure of message handling system system shown in 1 and test device is described in detail the method for testing.
The executive agent of aforementioned test method can be test device 200, and this method comprises the following steps:
S10, reception are directed to the test request of message handling system, and test request is carried:Message category to be measured Property.
Test request can be as produced by user operates test device 200 or by test device 200 according to it is default test logic come periodically or randomness produce, test device 200 receive test please After asking, perform subsequent step and message handling system is tested.
Wherein, no matter what type of test request, test request carries:Message attributes to be measured. In the embodiment of the present application, message attributes to be measured can be from handled by the message handling system as test target Select and obtain in the message attributes of message.Because message attributes to be measured are from disappearing handled by message handling system Select and obtain in the message attributes of breath, can be used for message processing system containing message attributes test request to be measured System is tested.
Wherein, the message attributes of the message handled by message handling system include:The originator identity category of message Serial number attribute in message handling system of property, message, the business scenario attribute of message, the receiving of message Person's identity attribute, initiation period attribute of message etc., message attributes to be measured can include above-mentioned message attributes At least one of.By taking the originator identity attribute of message as an example, then elect for being carried out to message handling system The message to be measured of test is the message for belonging to same or same crowd of promoter, be will not be described here.
S30, according to message attributes to be measured, determine target message in presetting message storehouse, target message tool There are message attributes to be measured.
Because message attributes to be measured are disappearing from the message handled by the message handling system as test target Breath attribute in select obtain, and the memory storage of presetting message storehouse 300 be message handling system it is processed or The message that will be handled, can be determined with to be measured according to message attributes to be measured out of presetting message storehouse 300 The target message of message attributes.
Using message handling system as electric business platform, the originator identity attribute that test request carries message is Example, the internal memory of presetting message storehouse 300 contains the transaction message of electric business platform, and the originator identity attribute of message can , can be in presetting message storehouse 300 according to register account number to be presented as account that promoter registers in electric business platform The message of account initiation is inside selected, this is technology well known to those of ordinary skill in the art, is not done herein Repeat.
S50, target message sent to message handling system, and obtain message handling system and disappeared for target The result of breath.
It is determined that after target message, stopping the current business processing process of message handling system to perform test behaviour Make.Message handling system is received after the target message sent by test device 200, to these target messages Handled, and obtain result.
Continuation of the previous cases, it is assumed that the target message that message handling system is received includes:Belong to same user's Order creation message, order payment message, acknowledgement of orders message and order evaluation message, these target messages Result it is as shown in table 1:
Sequence number Target message type Result
1 Order creation message Order creation success
2 Order payment message Order is paid successfully
3 Acknowledgement of orders message Acknowledgement of orders success
4 Order evaluation message Order evaluation success
Table 1
S70, according to message attributes to be measured, in default result storehouse determine have result, existing place Reason result is that message handling system is directed to the existing result that the message with message attributes to be measured is handled.
Stored due to default result storehouse 130 message handled by message handling system result and with The associated message of these results, determines that the message with message attributes to be measured (should in default result storehouse 130 Message is consistent with the content of target message), and then the result with these message relatings is determined, as disappear Cease the existing result that processing system is directed to the message with message attributes to be measured.
Still continuation of the previous cases, it is assumed that message handling system is directed to the existing processing of the message with message attributes to be measured As a result it is as shown in table 2:
Sequence number Target message type Result
1 Order creation message Order creation success
2 Order payment message Order is paid successfully
3 Acknowledgement of orders message Acknowledgement of orders success
4 Order evaluation message Order evaluation success
Table 2
S90, the result according to target message and existing result, obtain test result.
Due in the processing procedure of message handling system, target message and step S70 used in step S50 Message used is substantially identical message, if message handling system for target message result and Existing result is identical, then shows message handling system normal operation and can obtain consistent result, Test result is accordingly:Message handling system normal operation, if conversely, message handling system is directed to The result of target message is different with existing result, then shows message handling system operation exception, difficult To obtain consistent result, then corresponding test result is:Message handling system operation exception.
With reference to the data of Tables 1 and 2, for order evaluation message, the result of message handling system is not Together, message handling system is shown when handling identical order evaluation message, result appearance is inconsistent, Then the test result for message handling system is:Message handling system occurs abnormal.
To sum up, the method for testing for the message handling system that the embodiment of the present application is provided, please receiving test When asking, directly according to the message attributes to be measured carried in test request, from being stored with, the default of a large amount of message disappears Message is extracted in breath storehouse to test message handling system, and by test result and the presetting message of being stored with The existing result of corresponding message is compared in storehouse, in the case of realizing that prosthetic is participated in, at message Reason system is tested automatically, improves testing efficiency
Fig. 3 is is used for the process of the method for testing of message handling system in another embodiment of the application, with Fig. 2 Shown method of testing is compared, and difference is, in addition to the following steps between step S30 and S50:
S40, when the quantity of target message is more than one, according to the business scenario attribute of target message to mesh Mark message is ranked up, and obtains message sequence after layout.
In actual applications, target message serially enters message handling system with processed, passes through basis The business scenario attribute of target message is ranked up to these target messages, obtains message sequence after layout, Tested using message sequence after layout, message sequence can be with the original order phase of target message after layout It is same or different, to adapt to different testing requirements.
Business scenario attribute is used to describe each scene in the service logic that message is applicable, due to service logic It is that tool is sequential, then business scenario attribute also has order.Still continuation of the previous cases, for each of electric business platform The business scenario attribute of individual message is all based on each scene in electric business transaction business logic to be formed, business The order of scape attribute is determined according to the order of electric business transaction business logic.
In the embodiment of the present application, can be according to the order of the business scenario attribute of target message to target message Carry out positive sequence, sorting by reversals or randomly ordered.Wherein, the order and mesh of the message after positive sequence Mark the order and the industry of target message of the message after the sequence consensus of the business scenario attribute of message, sorting by reversals The order for scene properties of being engaged in is on the contrary, the order of the message after randomly ordered is by the business scenario category of target message Property sequentially pass through and random upset gained.
As shown in Table 1 and Table 2, it is assumed that the message of electric business platform includes:Order creation message, order are paid Message, acknowledgement of orders message and order evaluation message, it is clear that business scenario attribute includes in sequence:Order Single attribute, order of creating pays attribute, acknowledgement of orders attribute and order evaluation attribute.Then to electric business platform Message is ranked up message obtained by after processing can be as shown in table 3:
Table 3
Compared with the method for testing shown in Fig. 2, step S50 is also adjusted to S50 ':By message sequence after layout Send to message handling system, and obtain result of the message handling system for message sequence after layout.
Tested by using message sequence after layout as target message, some can be simulated because network prolongs The field that the order of message caused by the reason such as slow received by message handling system is not inconsistent with its service logic Scape, improves the test completeness of message handling system.
Fig. 4 be the embodiment of the present application in be used for message handling system test device module map.The test is filled The operation logic put is consistent with aforementioned test method, and its principle details can join aforementioned test method, not do herein Repeat.The test device, including:
Test request receiving module 210, for receiving the test request for message handling system, test please Ask and carry:Message attributes to be measured;
Target message determining module 230, for according to message attributes to be measured, being determined in presetting message storehouse Target message, target message has message attributes to be measured;
Objective result acquisition module 250, for target message to be sent to message handling system, and is disappeared Cease the result that processing system is directed to target message;
Existing result determining module 270, for according to message attributes to be measured, being determined in default result storehouse Existing result, existing result is that message handling system enters for the message with message attributes to be measured The existing result of row processing;
Test result generation module 290, for the result according to target message and existing result, Obtain test result.
In the embodiment of the present application, message is the message received by message handling system in presetting message storehouse.
In the embodiment of the present application, message attributes to be measured include at least one of following:The originator identity category of message Serial number attribute in message handling system of property, message, the business scenario attribute of message, the receiving of message The initiation period attribute of person's identity attribute, message.
In the embodiment of the present application, test device also includes order module, is used for:
When the quantity of target message is more than one, according to the business scenario attribute of target message to target message It is ranked up, obtains message sequence after layout;
Objective result acquisition module, specifically for:
Message sequence after layout is sent to message handling system, and obtains message handling system for after layout The result of message sequence.
In the embodiment of the present application, objective result acquisition module, specifically for:
Positive sequence, reversely row are carried out to target message according to the order of the business scenario attribute of target message Sequence is randomly ordered.
The test device for the message handling system that the embodiment of the present application is provided, when receiving test request, Directly according to the message attributes to be measured carried in test request, out of, presetting message storehouse that be stored with a large amount of message Message is extracted to test message handling system, and by test result and phase in the presetting message storehouse that is stored with The existing result of message is answered to be compared, in the case of realizing that prosthetic is participated in, to message handling system Automatically tested, improve testing efficiency.
In the 1990s, can clearly to distinguish be changing on hardware for the improvement of a technology The improvement entered on (for example, improvement to circuit structures such as diode, transistor, switches) or software is (right In the improvement of method flow).However, with the development of technology, the improvement of many method flows now is Through directly improving for hardware circuit can be considered as.Designer is nearly all by by improved method flow It is programmed into hardware circuit to obtain corresponding hardware circuit.Therefore, it cannot be said that method flow Improvement cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device, PLD) (for example field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By setting Meter personnel are voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without asking chip Manufacturer designs and made special IC chip 2.Moreover, nowadays, substitution manually makes " logic compiler (logic compiler) " software is also used in IC chip, this programming instead mostly Realize, software compiler used is similar when it writes with program development, and the original generation before compiling Code also write by handy specific programming language, and this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、 MyHDL, PALASM, RHDL (Ruby Hardware Description Language) etc., at present Most generally use VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art also will be apparent to the skilled artisan that only need to by Method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, it is possible to It is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor Or processor and storage can by (micro-) computing device computer readable program code (such as software Or firmware) computer-readable medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, controller Example include but is not limited to following microcontroller:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 and Silicone Labs C8051F320, Memory Controller is also implemented as depositing A part for the control logic of reservoir.It is also known in the art that except with pure computer-readable program Code means are realized beyond controller, can cause control by the way that method and step is carried out into programming in logic completely Device is with the shape of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Formula realizes identical function.Therefore this controller is considered a kind of hardware component, and to being wrapped in it The device for realizing various functions included can also be considered as the structure in hardware component.Or even, can be with It not only can will be the software module of implementation method for realizing that the device of various functions is considered as but also can be hardware Structure in part.
System, device, module or unit that above-described embodiment is illustrated, specifically can be by computer chip or reality Body is realized, or is realized by the product with certain function.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, The function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot The form of embodiment in terms of conjunction software and hardware.Wherein wrapped one or more moreover, the present invention can be used Containing computer usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention is with reference to the production of method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and / or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM). Internal memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by appointing What method or technique realizes that information is stored.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its Random access memory (RAM), read-only storage (ROM), the electrically erasable of his type are read-only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be calculated available for storage The information that equipment is accessed.Defined according to herein, computer-readable medium does not include temporary computer-readable matchmaker The data-signal and carrier wave of body (transitory media), such as modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, commodity or equipment including a series of key elements are not only wrapped Include those key elements, but also other key elements including 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, by sentence " including One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM, Optical memory etc.) on the form of computer program product implemented.
The application can be described in the general context of computer executable instructions, example Such as program module.Usually, program module includes performing particular task or realizes particular abstract data type Routine, program, object, component, data structure etc..This can also be put into practice in a distributed computing environment Application, in these DCEs, by the remote processing devices connected by communication network come Execution task.In a distributed computing environment, program module can be located at local including storage device In remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, identical phase between each embodiment As part mutually referring to, what each embodiment was stressed be it is different from other embodiment it Place.For system embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvements of work etc., should be included within the scope of claims hereof.

Claims (10)

1. a kind of method of testing of message handling system, it is characterised in that including:
The test request for message handling system is received, the test request is carried:Message attributes to be measured;
According to the message attributes to be measured, target message, the target message are determined in presetting message storehouse With the message attributes to be measured;
The target message is sent to the message handling system, and obtains the message handling system and is directed to The result of the target message;
According to the message attributes to be measured, determine to have result in default result storehouse, it is described existing Result is that the message handling system is handled for the message with the message attributes to be measured Existing result;
According to the result of the target message and the existing result, test result is obtained.
2. the method as described in claim 1, it is characterised in that message is in the presetting message storehouse Message received by the message handling system.
3. the method as described in claim 1, it is characterised in that the message attributes to be measured include as follows At least one of:Serial number attribute of the originator identity attribute, message of message in the message handling system, The business scenario attribute of message, recipient's identity attribute of message, the initiation period attribute of message.
4. method as claimed in claim 3, it is characterised in that according to the message attributes to be measured, Determined in presetting message storehouse after target message, the target message is sent to the Message Processing system Unite, and obtain the message handling system and be directed to before the result of the target message, methods described is also Including:
When the quantity of the target message is more than one, according to the business scenario attribute pair of the target message The target message is ranked up, and obtains message sequence after layout;
The target message is sent to the message handling system, and obtains the message handling system and is directed to The result of the target message, is specifically included:
Message sequence after the layout is sent to the message handling system, and obtains the Message Processing system System is directed to the result of message sequence after the layout.
5. method as claimed in claim 4, it is characterised in that according to the business of the target message Scape attribute is ranked up to the target message, is specifically included:
According to the order of the business scenario attribute of the target message target message is carried out positive sequence, Sorting by reversals is randomly ordered.
6. a kind of test device of message handling system, it is characterised in that including:
Test request receiving module, for receiving the test request for message handling system, the test please Ask and carry:Message attributes to be measured;
Target message determining module, for according to the message attributes to be measured, being determined in presetting message storehouse Target message, the target message has the message attributes to be measured;
Objective result acquisition module, for the target message to be sent to the message handling system, and The result of the target message is directed to the message handling system;
Existing result determining module, for according to the message attributes to be measured, being determined in default result storehouse Existing result, the existing result is that the message handling system is directed to the message to be measured The existing result that the message of attribute is handled;
Test result generation module, is tied for the result according to the target message with the existing processing Really, test result is obtained.
7. device as claimed in claim 6, it is characterised in that message is in the presetting message storehouse Message received by the message handling system.
8. device as claimed in claim 6, it is characterised in that the message attributes to be measured include as follows At least one of:Serial number attribute of the originator identity attribute, message of message in the message handling system, The business scenario attribute of message, recipient's identity attribute of message, the initiation period attribute of message.
9. device as claimed in claim 8, it is characterised in that described device also includes order module, For:
When the quantity of the target message is more than one, according to the business scenario attribute pair of the target message The target message is ranked up, and obtains message sequence after layout;
The objective result acquisition module, specifically for:
Message sequence after the layout is sent to the message handling system, and obtains the Message Processing system System is directed to the result of message sequence after the layout.
10. device as claimed in claim 9, it is characterised in that the objective result acquisition module, tool Body is used for:
According to the order of the business scenario attribute of the target message target message is carried out positive sequence, Sorting by reversals is randomly ordered.
CN201610130397.5A 2016-03-08 2016-03-08 The method of testing and device of message handling system Pending CN107171881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610130397.5A CN107171881A (en) 2016-03-08 2016-03-08 The method of testing and device of message handling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610130397.5A CN107171881A (en) 2016-03-08 2016-03-08 The method of testing and device of message handling system

Publications (1)

Publication Number Publication Date
CN107171881A true CN107171881A (en) 2017-09-15

Family

ID=59848576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610130397.5A Pending CN107171881A (en) 2016-03-08 2016-03-08 The method of testing and device of message handling system

Country Status (1)

Country Link
CN (1) CN107171881A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111494960A (en) * 2019-01-31 2020-08-07 游戏橘子数位科技股份有限公司 Establishment method and system for cloned game account
CN113763018A (en) * 2021-01-22 2021-12-07 北京沃东天骏信息技术有限公司 User evaluation management method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028342A1 (en) * 2001-07-20 2003-02-06 Frank Adler Method for the defect analysis of memory modules
CN102209256A (en) * 2011-05-19 2011-10-05 北京国铁华晨通信信息技术有限公司 Video-based method and device for testing intrusion detection performance
WO2013012361A1 (en) * 2011-07-18 2013-01-24 Telefonaktiebolaget Lm Ericsson (Publ) Otm functionality in soa based transceivers
CN103810092A (en) * 2012-11-13 2014-05-21 深圳市腾讯计算机系统有限公司 Application system testing method and device
CN104778123A (en) * 2015-03-30 2015-07-15 微梦创科网络科技(中国)有限公司 Method and device for detecting system performance
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device
CN105279061A (en) * 2014-06-26 2016-01-27 西安Tcl软件开发有限公司 Server interface concurrent testing method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028342A1 (en) * 2001-07-20 2003-02-06 Frank Adler Method for the defect analysis of memory modules
CN102209256A (en) * 2011-05-19 2011-10-05 北京国铁华晨通信信息技术有限公司 Video-based method and device for testing intrusion detection performance
WO2013012361A1 (en) * 2011-07-18 2013-01-24 Telefonaktiebolaget Lm Ericsson (Publ) Otm functionality in soa based transceivers
CN103810092A (en) * 2012-11-13 2014-05-21 深圳市腾讯计算机系统有限公司 Application system testing method and device
CN105279061A (en) * 2014-06-26 2016-01-27 西安Tcl软件开发有限公司 Server interface concurrent testing method and apparatus
CN104778123A (en) * 2015-03-30 2015-07-15 微梦创科网络科技(中国)有限公司 Method and device for detecting system performance
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111494960A (en) * 2019-01-31 2020-08-07 游戏橘子数位科技股份有限公司 Establishment method and system for cloned game account
CN111494960B (en) * 2019-01-31 2023-06-27 游戏橘子数位科技股份有限公司 Clone game account number establishing method and system
CN113763018A (en) * 2021-01-22 2021-12-07 北京沃东天骏信息技术有限公司 User evaluation management method and device
CN113763018B (en) * 2021-01-22 2024-04-16 北京沃东天骏信息技术有限公司 User evaluation management method and device

Similar Documents

Publication Publication Date Title
US10915846B2 (en) Optimized menu planning
CN107395664B (en) A kind of method and device that business executes
CN107196900A (en) A kind of method and device for verification of knowing together
CN108229939A (en) A kind of method, apparatus and equipment for sending and receiving electronics red packet
CN107395665A (en) A kind of block chain service handling and business common recognition method and device
CN108460523A (en) A kind of air control rule generating method and device
CN109002949A (en) A kind of method and device of air control strategy configuration and business air control
CN109214632A (en) A kind of risk control method and equipment
CN109582452A (en) A kind of container dispatching method, dispatching device and electronic equipment
CN108665143A (en) The appraisal procedure and device of air control model
CN110163432A (en) A kind of method and device of order identification
CN104503831B (en) Equipment optimization method and device
CN109426732A (en) A kind of data processing method and device
CN110166276A (en) A kind of localization method, device, terminal device and the medium of frame synchronization exception
CN109213857A (en) A kind of fraud recognition methods and device
CN108965400A (en) A kind of processing method of information, device, equipment and system
CN109191287A (en) A kind of sharding method, device and the electronic equipment of block chain intelligence contract
CN109272219A (en) Performance appraisal method, apparatus, computer equipment and storage medium
CN109583890A (en) Recognition methods, device and the equipment of abnormal trading object
CN108694574A (en) A kind of processing method, device and the equipment of resource transfers channel
CN108734469A (en) The method and apparatus for determining consumer's risk label undetermined
CN106547870A (en) Point table method and device of data base
CN110263294A (en) The determination method, apparatus and electronic equipment of loss function value
CN108400902A (en) A kind of method, apparatus and equipment of gray scale test
CN107018000A (en) Account correlating method and device

Legal Events

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

Application publication date: 20170915