CN106649104A - Testing system and method based on host system transaction replaying - Google Patents

Testing system and method based on host system transaction replaying Download PDF

Info

Publication number
CN106649104A
CN106649104A CN201611093801.2A CN201611093801A CN106649104A CN 106649104 A CN106649104 A CN 106649104A CN 201611093801 A CN201611093801 A CN 201611093801A CN 106649104 A CN106649104 A CN 106649104A
Authority
CN
China
Prior art keywords
transaction
host
playback
reset
message
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
CN201611093801.2A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201611093801.2A priority Critical patent/CN106649104A/en
Publication of CN106649104A publication Critical patent/CN106649104A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides a testing system and method based on host system transaction replaying. The system comprises an information bypass device and a replaying device, wherein the information bypass device is connected to a gateway cluster and is used for obtaining from the gateway cluster a transaction message sent from a terminal to the host system when conducting a test; the replaying device is connected to the information bypass device and is used for receiving a transaction message sent by the information bypass device, starting a replayed simulated user according to a preset test target and a load configuration, controlling the simulated user to initiate a transaction towards a host business transaction system in the host system, and receiving a processing result returned by the host business transaction system so as to analyze the success rate of transaction replaying and generate a pressure testing result. According to the testing system and method based on the host system transaction replaying, under the circumstance that there is no need to put into too much manpower, recurrence in a verification environment mapping type of a production transaction is achieved, and thus stability and reliability of an upgrading version of system software under a user environment is further improved; in addition, the testing system and method based on the host system transaction replaying can be applied to simulated analysis of system resource assessments with high innovation of a producing peak in the future.

Description

Test system and method that a kind of Intrusion Detection based on host system transaction is reset
Technical field
The present invention relates to computer software testing technical field, more particularly to the basic environment of financial institution's service operation is soft The field tests of part, are concretely the test system and method for a kind of Intrusion Detection based on host system transaction playback.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description is not because be included in this part just recognize it is prior art.
At present a large amount of financial institutions of industry adopt mainframe as the Core server of financial business, large-scale machine host Systems soft ware needs periodically upgrading, to meet the technology and business demand of continuous development.Manufacturer has a series of pin before issuing Property is tested, but the test environment of manufacturer is larger with the actual motion environmental difference of user.Therefore, user can also be before upgrading The environment of oneself carries out verifying the stability and reliability of upgraded version.At present, the pressure that user is mainly commonly used by means of industry Power testing tool initiates application transaction, the stability and reliability of checking system software.But the often transaction of actual production environment Run-time scenario is extremely complex, and production environment peak period has thousands of kinds of business simultaneously in operation simultaneously, and pressure test work Tool needs manual compiling script, and the manpower for writing script consuming is very big, therefore can only initiate simple, default Individual traffic The test scene of operation, it is difficult to the true Run-time scenario of simulated production environment peak period, so that part system software is asked Topic is triggered in production environment, and cannot be found in validation test, and to the stable operation of production certain hidden danger is brought.Terminal weight Discharge technique can realize the playback concluded the business, but terminal device is thousands of in production environment, and operationally production relatively difficult to achieve is handed over Easy playback.
With the continuous development of banking, the system bearing of large scale computer increasing core business, production environment Online Run-time scenario become more complicated.And with the development of science and technology, the requirement to banking system stable operation is also increasingly Height, and the defect of systems soft ware often brings of overall importance, disastrous effect to user, such as certain bank is because database product is empty Deposit the BUG of calculating, cause delay under database cause area under one's jurisdiction a few minutes cannot normal process business, affect area under one's jurisdiction whole business.And In test process, database software product treatment is normal, just because of in test process cannot simulated production environment it is a large amount of simultaneously Send out to conclude the business frequently to deposit using void and reclaim void and deposit, cause that the problem of systems soft ware cannot be found in test process.Therefore in people In the case that power resource is controllable, a kind of method for being capable of the complicated real-time deal Run-time scenario of simulated production environment is urgently needed And device, carry out stability and reliability of the checking system software upgrading version under user environment.
The content of the invention
Deficiency of the user to system software testing schemes in solve prior art, the invention provides a kind of Intrusion Detection based on host The system and method that system transaction is reset, in the case where a large amount of manpower and materials need not be spent, to be close to true production circumstances Scene under stability and reliability of the checking system software upgrading version under user environment.
In order to achieve the above object, the embodiment of the present invention provides the test system that a kind of Intrusion Detection based on host system transaction is reset, Including:Information shunting device, connect gateway cluster, for when being tested from the gateway cluster obtain from terminal send to The transaction message of host computer system;Replay device, connects described information shunting device, sends for receiving described information shunting device Transaction message, and according to the test target and load configuration of setting, start the analog subscriber reset, control the analog subscriber Transaction is initiated to the host service transaction system in the host computer system, and receives the place that the host service transaction system is returned Reason result and then analysis transaction playback success rate, generate pressure testing results.
Further, in one embodiment, described information shunting device sends from what the gateway cluster was obtained from terminal Transaction message to host computer system includes:Transaction code, message time stamp, the communication of cabinet face number or terminal number, gateway and main frame Header, newsletter area data.
Further, in one embodiment, the replay device includes:Information receiving unit, for receiving described information The transaction message that shunting device sends;Playback customization units, connect described information receiving unit, for according to the test mesh of setting Mark, the transaction message required for screening;Load Balance Unit, connects the playback customization units, for according to verification environment Load configuration, designs playback user number, the transaction message after screening is merged according to the playback user number, is split again, Sequence, is the trading volume of each playback user distribution simulation, balancedly to initiate transaction;Playback control unit, connects described negative Balanced unit is carried, for controlling the connection of the playback user foundation and the host service transaction system, and is surveyed according to pressure The paces that the needs control of examination is reset, it is dynamic to initiate transaction request and receive playback transaction returning result;Transaction operation collects Unit, connects the playback control unit, and for receiving the transaction returning result of resetting, analysis transaction playback success rate is raw Into pressure testing results.
Further, in one embodiment, the transaction operation collection unit is also connected with described information receiving unit;Its In, described information shunting device is additionally operable to be returned from the host service transaction system when obtaining production transaction from the gateway cluster The production implementing result returned;The transaction operation collection unit is used to hold the production obtained from described information by-pass unit Row result is contrasted with the transaction returning result of resetting, to analyze the validity of playback behavior.
Further, in one embodiment, the test system also includes:Safety check screening arrangement, connects the master Machine business transaction system, for when the host service transaction system initiates safety check inspection, implementing to check results Shielding, is automatically set as and verifies successfully.
In order to achieve the above object, the embodiment of the present invention also provides the test side that a kind of Intrusion Detection based on host system transaction is reset Method, including:Obtain from the gateway cluster and send from terminal to the transaction message of host computer system;The transaction message is received, and According to the test target and load configuration of setting, start the analog subscriber reset, control the analog subscriber to the main frame system Host service transaction system in system initiates transaction, and receives the result of the host service transaction system return and then divide Analysis transaction playback success rate, generates pressure testing results.
Further, in one embodiment, it is described to send to host computer system from terminal from what the gateway cluster was obtained Transaction message includes:Transaction code, message time stamp, communication packet header, the newsletter of cabinet face number or terminal number, gateway and main frame Area's data.
Further, in one embodiment, it is described to receive the transaction message, and the test target according to setting and load Configuration, starts the analog subscriber reset, and controls the analog subscriber and sends out to the host service transaction system in the host computer system Transaction is played, and receives result and then the analysis transaction playback success rate that the host service transaction system is returned, generate pressure The step of power test result, specifically include:Receive the transaction message;According to the test target of setting, the friendship required for screening Easy message;According to the load configuration of verification environment, playback user number is designed, the transaction message after screening is used according to described playback Amount is merged, split again, sequence, is the trading volume of each playback user distribution simulation, balancedly to initiate transaction;Control The playback user sets up the connection with the host service transaction system, and the step reset according to the needs control of pressure test Cut down, it is dynamic to initiate transaction request and receive playback transaction returning result;Receive the transaction returning result of resetting, analysis transaction Playback success rate, generates pressure testing results.
Further, in one embodiment, the method for testing also includes:When obtaining production transaction from the gateway cluster From the production implementing result that the host service transaction system is returned;The production implementing result is returned with the transaction of resetting As a result contrasted, to analyze the validity of playback behavior.
Further, in one embodiment, the method for testing also includes:When the host service transaction system is initiated to pacify When whole school tests inspection, implement the shielding to check results, be automatically set as and verify successfully.
The test system of Intrusion Detection based on host system transaction playback for providing of the invention and the beneficial effect of method are:Can solve The deficiency of conventional pressure method of testing, in the case where putting into manpower in a large number, realizes that production transaction is reflected in verification environment As the reproduction of formula, stability and reliability of the system software upgrading version under user environment is further improved.Also, the present invention By the acceleration-deceleration function of resetting, the system resource assessment for hitting new peak on the following production peak of sunykatuib analysis is can apply to. Customized by demand, can be to the transaction of specific transactions, or the transaction of given area carries out special test.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the host service transaction system communication structure flow chart of prior art;
The structural representation of the test system that Fig. 2 resets for the Intrusion Detection based on host system transaction of the embodiment of the present invention;
Fig. 3 is the structural representation of the replay device 22 of the embodiment of the present invention;
The structural representation of the test system that Fig. 4 resets for the Intrusion Detection based on host system transaction of another embodiment of the present invention;
The structural representation of the test system that Fig. 5 resets for the Intrusion Detection based on host system transaction of further embodiment of this invention;
The process chart of the method for testing that Fig. 6 resets for the Intrusion Detection based on host system transaction of the embodiment of the present invention;
Fig. 7 is the handling process of a specific embodiment of the method for testing that the Intrusion Detection based on host system transaction of the present invention is reset Figure.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Art technology technical staff knows, embodiments of the present invention can be implemented as a kind of system, device, equipment, Method or computer program.Therefore, the disclosure can be implemented as following form, i.e.,:Completely hardware, completely soft Part (including firmware, resident software, microcode etc.), or the form that hardware and software is combined.
Below with reference to some representative embodiments of the present invention, the in detail principle and spirit of the explaination present invention.
Test system and method that the Intrusion Detection based on host system transaction that the present invention is provided is reset, are not spending a large amount of manpowers of enterprise In the case of material resources, the data script of production transaction is captured by technological means, by way of playback, realize that production transaction exists The reproduction of verification environment image formula, further improves stability and reliability of the system software upgrading version under user environment. Also, the present invention is by the acceleration-deceleration function reset, can apply to the following production peak of sunykatuib analysis hit new peak be System stock assessment;Customized by demand, can be to the transaction of specific transactions, or the transaction of given area carries out special test. The present invention can also be applied to the regression test without version change, and the technical covering for being applied to application version technological transformation is surveyed Examination.
In order to be better understood from the know-why of present invention realization, with reference to host service transaction systems of the Fig. 1 to prior art System communication structure flow chart is briefly described.As shown in figure 1, illustrate so that client initiates real time business as an example, comprising deployment The terminal system 11 of the heart, gateway cluster 12 and the part of host computer system 13 3, wherein terminal system 11 and gateway cluster aborning 12 connections, gateway cluster 12 is connected with host computer system 13.All of transaction passes through to be sent to host computer system 13 on gateway cluster 12, And terminal system 11 is returned to the result of host computer system 13 by gateway cluster 12.Terminal system 11 described in Fig. 1, Comprising terminal interface and terminal server, for receiving the service request of client, while result is presented into client.Its In, host computer system 13 includes host service transaction system 14, is the core of Business Processing.Gateway cluster 12 is host service transaction System 14 and the connection contact of terminal system 11, are mainly responsible for host computer system 13 and change with the communications protocol of terminal system 11, will Host computer system 13 is given in the service request of client.
The system and method that Intrusion Detection based on host system transaction proposed by the invention is reset, is handed over by technological means capture production Easy data script, by way of playback, realizes reproduction of the production transaction in verification environment image formula, to be close to true production Stability and reliability of the checking system software upgrading version under user environment under the scene of environment.By taking Fig. 1 as an example, the present invention It is that the data concluded the business between terminal system 11 and host service transaction system 14 are obtained from gateway cluster 12, by reproducing process The transaction data for realizing production is reset in verification environment, the more complicated mixed running in simulated production environment peak period, to reach The purpose of true simulated production environment, carrys out stability and reliability of the checking system software upgrading version under user environment.And And, it is not necessary to it is performed both by successfully per transaction verification environment, as long as reaching certain ratio (example in the verification environment rate of running succeeded Such as larger than 90%), then can reach the purpose of checking system software upgrading version.
The structural representation of the test system that Fig. 2 resets for the Intrusion Detection based on host system transaction of the embodiment of the present invention.Such as Fig. 2 institutes Show, including:
Information shunting device 21, connect gateway cluster 12, for when being tested from the gateway cluster 12 obtain from Terminal system 11 is sent to the transaction message of host computer system 13;Replay device 22, connection described information shunting device 21, for connecing The transaction message that described information shunting device 21 sends is received, and according to the test target and load configuration of setting, starts what is reset Analog subscriber, controls the analog subscriber and initiates transaction to the host service transaction system 14 in the host computer system 13, and connects Result and then analysis transaction playback success rate that the host service transaction system 14 is returned are received, pressure test knot is generated Really.
In the present embodiment, all of on-line transaction of host service transaction system 14 enters walking along the street by gateway cluster 12 By forwarding.Gateway cluster 12 after receiving terminal message and changing into the message of main frame form, the whole message for above sending main frame In switching to the file of information shunting device 21, the message of this node bypass is due to being the message after conversion, and main frame is directly available. Described information shunting device 21 sends to the transaction report of host computer system 13 from what the gateway cluster 12 was obtained from terminal system 11 Text is re-executed comprising transaction, load balance process, transaction are filtered, the necessary information required for playback mill pace control, for example, hand over Easily communication header, newsletter area data of code, message time stamp, cabinet face number or terminal number, gateway and main frame etc. are crucial believes Breath.Also, in order to not affect the performance of gateway cluster 12, information shunting device 21 to arrange switch, only there is pressure test Bypass is just opened during demand.
For checking system software upgrading version, it will usually build a set of verification environment as production environment.Reset Device 22 is directly attached with information shunting device 21, and it receives the transaction message that described information shunting device 21 sends, and According to the test target and load configuration of setting, start the analog subscriber reset, control the analog subscriber to the main frame system Host service transaction system 14 in system 13 initiates transaction, and receives the result that the host service transaction system 14 is returned And then analysis transaction playback success rate, generate pressure testing results.In one embodiment, as shown in figure 3, it is specifically included:
Information receiving unit 221, for receiving the transaction message of the transmission of described information shunting device 21.
Playback customization units 222, connection described information receiving unit 221, for according to the test target of setting, screening institute The transaction message of needs.For example, in order to realize different playback demands, such as the test target formulated according to pressure test can The transaction message for needing is screened according to white list, or unwanted transaction message is filtered according to blacklist.Or, according to playback mesh Difference, the transaction of a replayed portion period, or the only transaction of replayed portion specific transactions kind and the transaction of given area, Or the not transaction of replayed portion specific transactions kind.
Load Balance Unit 223, connects the playback customization units 222, both can realize negative as production environment Carry configuration, it is also possible to which pressing force testing requirement (such as increasing or decreasing the subsystem of operation business transaction) adjustment load balancing is matched somebody with somebody Put, configure the concurrent user number reset, with the load balancing for realizing concluding the business in the operation of host service transaction system.It is embodied as When, Load Balance Unit 223 can be with according to the load configuration of verification environment, design playback user number, to the transaction after screening Message is merged according to the playback user number, split again, sequence, is that each playback user distributes the trading volume simulated simultaneously Initiate transaction in weighing apparatus ground.
Playback control unit 224, connects the Load Balance Unit 223, sets up and institute for controlling the playback user The connection of host service transaction system 14, and the paces reset according to the needs control of pressure test are stated, it is dynamic to initiate transaction Ask and receive playback transaction returning result.When being embodied as, playback control unit 224 is connected with Load Balance Unit 223, root Start corresponding analog subscriber according to load configuration, realize that simulation client initiates to conclude the business to host service transaction system 14.Reset and control Unit processed 224 realizes the control to playback procedure, and the control of playback control unit 224 transaction is performed by production sequential, controlled same The transaction of teller or same terminal is performed in order.Also, can be accelerated to initiate or slow down to initiate transaction according to pressure test demand, Function is accelerated to be capable of achieving the pressure test of TPS higher than production environment.Can adopt in the case of verification environment inadequate resource and subtract Fast function, to reduce the TPS of playback time.Playback control unit 224 is connected with host service transaction system 14 simultaneously, realizes sending out Play transaction and receive the return of transaction.According to the process of Load Balance Unit 223, each playback user balancedly works, dynamically Transaction request is sent to host service transaction system 14, makes each process subsystem load balanced.
Transaction operation collection unit 225, connects the playback control unit 224, for receiving the result of transaction, and Successfully failure scenarios are processed according to the specificity analysis statistical service of transaction, collect in whole playback procedure playback trade variety, Quantity and playback success rate.
In one embodiment, as shown in figure 4, transaction 225 yuan of cover sheet of operation is connected with information receiving unit 221 simultaneously. Wherein, described information shunting device 21 is additionally operable to be concluded the business from the host service when obtaining production transaction from the gateway cluster 12 The production implementing result that system 14 is returned;The transaction operation collection unit 225 is used to obtain from described information by-pass unit 21 The production implementing result for taking is contrasted with the transaction returning result of resetting, to analyze the validity of playback behavior.
In the embodiment shown in fig. 4, the test system also includes safety check screening arrangement 23, connects the main frame industry Business transaction system 14, for when the host service transaction system 14 initiates safety check inspection, implementing to check results Shielding, is automatically set as and verifies successfully.The risk reformed in order to avoid concluding the business, concludes the business before execution action, can increase many rule Then check, such as business performs available time inspection, cabinet face or terminal serial number inspection.In one embodiment, safety check shielding Device 23 is embedded into host service transaction system 14 using the export techniques of main frame, without for pressure test it is specially modified The verification rule of host service transaction system 14.When there is safety check inspection, implementing the shielding to check results, putting automatically To verify successfully, continue executing with to conclude the business.
It should be noted that the test system that the Intrusion Detection based on host system transaction referred in above-described embodiment is reset can be only Stand on the independent test system outside host computer system, gateway cluster server and terminal system, it is also possible to pacify modules In being mounted in existing transaction system server.For example, as shown in figure 5, information shunting device 21 may be mounted at gateway cluster clothes In business device, replay device 22 may be mounted in the host computer system of verification environment, and safety check screening arrangement 23 then can be with profit It is embedded into host service transaction system 14 with the export techniques of main frame.
Although additionally, some lists of the test system that the transaction of Intrusion Detection based on host system is reset are referred in above-detailed Unit, but this division is only not enforceable.In fact, according to the embodiment of the present invention, above-described two or The feature and function of more units can embody in a unit.Equally, the feature and work(of an above-described unit Can also Further Division be to be embodied by multiple units.Also, above-mentioned mentioned term " device " and " unit ", can Being the software and/or hardware for realizing predetermined function.Although the module described by above-described embodiment is preferably realized with software, But hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Based on same inventive concept, the present invention also proposes the method for testing that a kind of Intrusion Detection based on host system transaction is reset, its tool Body implementing procedure as shown in fig. 6, including:
Step S601, obtains from the gateway cluster and sends from terminal to the transaction message of host computer system;
Step S602, receives the transaction message, and according to the test target and load configuration of setting, starts the mould reset Intend user, control the analog subscriber and initiate transaction to the host service transaction system in the host computer system, and receive described The result that host service transaction system is returned further analyzes transaction playback success rate, generates pressure testing results.The step Specifically include:Receive the transaction message;According to the test target of setting, the transaction message required for screening;According to checking ring The load configuration in border, designs playback user number, and the transaction message after screening is merged, torn open again according to the playback user number Divide, sort, be the trading volume of each playback user distribution simulation, balancedly to initiate transaction;Control the playback user to set up With the connection of the host service transaction system, and paces reset according to the needs control of pressure test are dynamic to initiate to hand over Easily ask and receive playback transaction returning result;The transaction returning result of resetting is received, analysis transaction playback success rate is generated Pressure testing results.
Also, when the host service transaction system initiates safety check to be checked, implement the shielding to check results, from It is dynamic to be set to verify successfully.
As shown in fig. 7, the place of the specific embodiment for the method for testing of the Intrusion Detection based on host system transaction playback of the present invention Reason flow chart.
Step S701, delivers newspaper text on the key node before main frame on production environment gateway cluster server, gets Through protocol conversion into the discernible transaction message of main frame, the packet of bypass is re-executed containing transaction, load balance process, friendship Necessary information easily required for filtration, playback mill pace control.
Step S702, the message for getting is write in local file, provides data to reset and prepares.
After bypass is completed, can be in production off-peak period, by replay device:
Step S703, the transaction message of production gateway bypass is transferred in verification environment host computer system.
Step S704, according to the test target that pressure test is formulated, can screen the transaction message for needing according to white list, or Unwanted transaction message is filtered according to blacklist.
Step S705, according to the configuration of verification environment, designs playback concurrent user number, to the message after screening according to concurrent Number of users is merged, split again, sequence, is the trading volume of each playback user distribution simulation, balancedly to initiate transaction.
Step S706, after data ready, starts playback user.
Step S707, playback user sets up the connection of replay device and host service transaction system, for initiate transaction and Receive transaction to return.Playback user reads the transaction message of bypass, and transaction is initiated in the time-out verification of shielding transaction entrance.This step Suddenly it is the key reset, playback user reads message by the sequential of production, according to the paces that the needs control of pressure test is reset, Accelerated and produced synchronized, slow down and reset.According to the process of step S705, each playback user balancedly works, dynamically Transaction request is sent to host service transaction system, makes each process subsystem load balanced.
Step S708, host service transaction system accepts service request, carries out Business Processing.The present invention keeps transaction to be not required to Change and support to reset.When trading processing is to safety check module, safety check function of shielding can be automatically triggered.
Step S709, safety check shroud module captures check results by main frame export techniques, the date is verified, cabinet Member's serial number verification, the return of message completeness check failure, are automatically regulated to be and normally return, so as to conclude the business under scene of resetting after It is continuous to process.
Step S710, after trading processing terminates, result playback user is returned to, and playback user ties trading processing Fruit is written in file.
Step S711, startup transaction operation collection unit, reads the replay result of transaction, analyzes transaction playback success rate, Pressure test ex-post analysis form is provided.
Before playback is performed, in order to lift the success rate of transaction, need to use disk simultaneous techniques production environment synchronization To verification environment so that the transaction for performing afterwards, it is in on a starting point in production environment and verification environment, transaction version is protected Hold consistent.
Meanwhile, based on the needs of data safety, the transaction data of bypass and the data of verification environment in actual applications As need to perform the security risk control as production environment, and destroy in time after checking terminates.
Although it should be noted that describe the operation of the inventive method with particular order in the accompanying drawings, this is not required that Or hint must perform these operations according to the particular order, or the operation having to carry out shown in whole could realize the phase The result of prestige.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step to perform, and/or will One step is decomposed into execution of multiple steps.
The purpose of the present invention is to realize that the transaction data of production is reset in verification environment by reproducing process, carrys out checking system Stability and reliability of the software upgrading version under user environment, therefore and need not be performed both by into per transaction verification environment Work(, as long as reaching certain ratio (such as larger than 90%) in the verification environment rate of running succeeded, then can reach checking system software liter The purpose of level version.
Test system and method that the Intrusion Detection based on host system transaction that the present invention is provided is reset, can solve conventional pressure test The deficiency of method, in the case where putting into manpower and materials in a large number, realizes weight of the production transaction in verification environment image formula It is existing, further improve stability and reliability of the system software upgrading version under user environment.
Test system and method that Intrusion Detection based on host system transaction based on the present invention is reset, in pressure test, using more Plus abundant trade variety, the more complicated mixed running in simulated production environment peak period, to reach true simulated production environment Purpose, so as to lift system software redaction test validity.The acceleration-deceleration function that the present invention passes through playback, Ke Yiying For the system resource assessment for hitting new peak on the following production peak of sunykatuib analysis, customized by demand, can be to specific transactions Conclude the business, or the transaction of given area carries out special test.The present invention can also be applied to the regression test without version change, should For the technical coverage test of application version technological transformation.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the present invention can be adopted and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Apply specific embodiment in the present invention to be set forth the principle and embodiment of the present invention, above example Explanation be only intended to help and understand the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, According to the thought of the present invention, will change in specific embodiments and applications, in sum, in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. the test system that a kind of Intrusion Detection based on host system transaction is reset, it is characterised in that include:
Information shunting device, connect gateway cluster, for when being tested from the gateway cluster obtain from terminal send to The transaction message of host computer system;
Replay device, connects described information shunting device, for receiving the transaction message of described information shunting device transmission, and root According to the test target and load configuration of setting, start the analog subscriber reset, control the analog subscriber to the host computer system In host service transaction system initiate transaction, and receive result that the host service transaction system returns and then analyze Transaction playback success rate, generates pressure testing results.
2. the test system that Intrusion Detection based on host system transaction according to claim 1 is reset, it is characterised in that by described information Road device includes from sending from terminal to the transaction message of host computer system of obtaining of the gateway cluster:Transaction code, message time Communication header, the newsletter area data of stamp, cabinet face number or terminal number, gateway and main frame.
3. the test system that Intrusion Detection based on host system transaction according to claim 1 is reset, it is characterised in that the playback dress Put including:
Information receiving unit, for receiving the transaction message of described information shunting device transmission;
Playback customization units, connect described information receiving unit, for according to the test target of setting, the transaction required for screening Message;
Load Balance Unit, connects the playback customization units, for according to the load configuration of verification environment, designing playback user Number, merges according to the playback user number to the transaction message after screening, splits again, sorts, and is each playback user point Trading volume with simulation, balancedly to initiate transaction;
Playback control unit, connects the Load Balance Unit, sets up and the host service for controlling the playback user The connection of transaction system, and the paces reset according to the needs control of pressure test, it is dynamic to initiate transaction request and receive weight Put transaction returning result;
Transaction operation collection unit, connects the playback control unit, and for receiving the transaction returning result of resetting, analysis is handed over Easily playback success rate, generates pressure testing results.
4. the test system that Intrusion Detection based on host system transaction according to claim 3 is reset, it is characterised in that the transaction fortune Row collection unit is also connected with described information receiving unit;
Wherein, described information shunting device is additionally operable to be concluded the business from the host service when obtaining production transaction from the gateway cluster The production implementing result that system is returned;
The transaction operation collection unit be used for will the production implementing result that obtain from described information by-pass unit with it is described Transaction returning result of resetting is contrasted, to analyze the validity of playback behavior.
5. the test system that Intrusion Detection based on host system transaction according to claim 1 is reset, it is characterised in that the test system System also includes:
Safety check screening arrangement, connects the host service transaction system, for initiating when the host service transaction system When safety check is checked, implement the shielding to check results, be automatically set as and verify successfully.
6. the method for testing that a kind of Intrusion Detection based on host system transaction is reset, it is characterised in that include:
Obtain from the gateway cluster and send from terminal to the transaction message of host computer system;
The transaction message is received, and according to the test target and load configuration of setting, starts the analog subscriber reset, control institute State analog subscriber and initiate transaction to the host service transaction system in the host computer system, and receive the host service transaction system The result that system is returned further analyzes transaction playback success rate, generates pressure testing results.
7. the method for testing that Intrusion Detection based on host system according to claim 6 transaction is reset, it is characterised in that described from described What gateway cluster was obtained sends to the transaction message of host computer system from terminal includes:Transaction code, message time stamp, cabinet face number or whole Communication packet header, the newsletter area data of end numbering, gateway and main frame.
8. the method for testing that Intrusion Detection based on host system transaction according to claim 6 is reset, it is characterised in that the reception institute Transaction message is stated, and according to the test target and load configuration of setting, starts the analog subscriber reset, control the analog subscriber Transaction is initiated to the host service transaction system in the host computer system, and receives the place that the host service transaction system is returned The step of reason result and then analysis transaction playback success rate, generation pressure testing results, specifically include:
Receive the transaction message;
According to the test target of setting, the transaction message required for screening;
According to the load configuration of verification environment, playback user number is designed, to the transaction message after screening according to the playback user Number is merged, split again, sequence, is the trading volume of each playback user distribution simulation, balancedly to initiate transaction;
The connection of the playback user foundation and the host service transaction system is controlled, and control is needed according to pressure test The paces of playback, it is dynamic to initiate transaction request and receive playback transaction returning result;
The transaction returning result of resetting is received, analysis transaction playback success rate generates pressure testing results.
9. the method for testing that Intrusion Detection based on host system transaction according to claim 8 is reset, it is characterised in that also include:
The production implementing result returned from the host service transaction system when obtaining production transaction from the gateway cluster;
The production implementing result is contrasted with the transaction returning result of resetting, to analyze the validity of playback behavior.
10. the method for testing that Intrusion Detection based on host system transaction according to claim 6 is reset, it is characterised in that also include:
When the host service transaction system initiates safety check to be checked, implement the shielding to check results, be automatically set as Verify successfully.
CN201611093801.2A 2016-12-02 2016-12-02 Testing system and method based on host system transaction replaying Pending CN106649104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611093801.2A CN106649104A (en) 2016-12-02 2016-12-02 Testing system and method based on host system transaction replaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611093801.2A CN106649104A (en) 2016-12-02 2016-12-02 Testing system and method based on host system transaction replaying

Publications (1)

Publication Number Publication Date
CN106649104A true CN106649104A (en) 2017-05-10

Family

ID=58813826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611093801.2A Pending CN106649104A (en) 2016-12-02 2016-12-02 Testing system and method based on host system transaction replaying

Country Status (1)

Country Link
CN (1) CN106649104A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352821A (en) * 2020-03-10 2020-06-30 深圳市宝能投资集团有限公司 Service testing method, device, electronic equipment and computer readable storage medium
CN111639035A (en) * 2020-06-04 2020-09-08 中国工商银行股份有限公司 Test method, test device, test system, and medium
CN111708650A (en) * 2020-06-10 2020-09-25 中国工商银行股份有限公司 High-availability analysis method and system for business application system
CN112653578A (en) * 2020-12-16 2021-04-13 广州鲁邦通物联网科技有限公司 Data simulation method and system of communication bus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347540A (en) * 1999-02-18 2002-05-01 奥比斯专利有限公司 Credit card system and method
CN1996374A (en) * 2006-12-30 2007-07-11 中国建设银行股份有限公司 Method, device, and system for testing advanced apparatus
CN102184135A (en) * 2011-04-19 2011-09-14 中国工商银行股份有限公司 Instruction script based test method and system in bank system
CN102483686A (en) * 2009-08-21 2012-05-30 国际商业机器公司 Data storage system and method for operating a data storage system
US9037909B2 (en) * 2012-10-30 2015-05-19 Inventec (Pudong) Technology Corporation Test apparatus
CN104991864A (en) * 2015-07-24 2015-10-21 中国工商银行股份有限公司 External link system oriented test method and apparatus
CN105825428A (en) * 2016-04-22 2016-08-03 中国农业银行股份有限公司 Production simulation test method and system for commercial bank

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347540A (en) * 1999-02-18 2002-05-01 奥比斯专利有限公司 Credit card system and method
CN1996374A (en) * 2006-12-30 2007-07-11 中国建设银行股份有限公司 Method, device, and system for testing advanced apparatus
CN102483686A (en) * 2009-08-21 2012-05-30 国际商业机器公司 Data storage system and method for operating a data storage system
CN102184135A (en) * 2011-04-19 2011-09-14 中国工商银行股份有限公司 Instruction script based test method and system in bank system
US9037909B2 (en) * 2012-10-30 2015-05-19 Inventec (Pudong) Technology Corporation Test apparatus
CN104991864A (en) * 2015-07-24 2015-10-21 中国工商银行股份有限公司 External link system oriented test method and apparatus
CN105825428A (en) * 2016-04-22 2016-08-03 中国农业银行股份有限公司 Production simulation test method and system for commercial bank

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352821A (en) * 2020-03-10 2020-06-30 深圳市宝能投资集团有限公司 Service testing method, device, electronic equipment and computer readable storage medium
CN111639035A (en) * 2020-06-04 2020-09-08 中国工商银行股份有限公司 Test method, test device, test system, and medium
CN111708650A (en) * 2020-06-10 2020-09-25 中国工商银行股份有限公司 High-availability analysis method and system for business application system
CN111708650B (en) * 2020-06-10 2023-03-28 中国工商银行股份有限公司 High-availability analysis method and system for business application system
CN112653578A (en) * 2020-12-16 2021-04-13 广州鲁邦通物联网科技有限公司 Data simulation method and system of communication bus
CN112653578B (en) * 2020-12-16 2022-05-31 广州鲁邦通物联网科技股份有限公司 Data simulation method and system of communication bus

Similar Documents

Publication Publication Date Title
US10997063B1 (en) System testing from production transactions
CN106649104A (en) Testing system and method based on host system transaction replaying
CN104461858B (en) software compatibility pre-testing method and system
TWI380168B (en) System, method, program, and system implementation method for transaction process logging
CN105389256B (en) A kind of unit test method and system
CN106484610A (en) A kind of Beta method and apparatus
CN106789844B (en) Malicious user identification method and device
CN106844204A (en) A kind of utilization mobile terminal generates the method and system of defect report
CN109447790A (en) A kind of matching process, device and the equipment of debit request and channels to fund
CN109509075A (en) A kind of financial revenue and expenditure voucher processing method, device, equipment and system
CN107644372A (en) A kind of processing method, system and the terminal of refund of leaving a country
KR20130026919A (en) Method for distributed test and system for performing the same, method for controling distributed test and system for performing the same, method for making distributed test plan and apparatus for performing the same, method for executing distributed test plan and agent for distributed test
CN105843600A (en) Data editing method, apparatus and system
CN106778264A (en) The application program analysis method and analysis system of a kind of mobile client
CN103810092A (en) Application system testing method and device
CN107819616A (en) Automatically extract the method, apparatus and system of daily record
CN110837470B (en) Bank card network transaction testing method and device
CN109242561B (en) Lottery model construction method, lottery activity management method, device and computing equipment
CN111324480B (en) Large-scale host transaction fault positioning system and method
CN106959926A (en) A kind of the software test module and method of software-oriented upgrading
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
CN105405220A (en) Method and device for automated test
CN109800112A (en) Test method, device, computer equipment and storage medium
CN115454755A (en) Test method for terminal system and related equipment
CN115049353A (en) RPA-based automatic flow implementation method

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: 20170510