CN103984631B - Test driver system and method based on the single platform of Z/OS main frames - Google Patents

Test driver system and method based on the single platform of Z/OS main frames Download PDF

Info

Publication number
CN103984631B
CN103984631B CN201410232541.7A CN201410232541A CN103984631B CN 103984631 B CN103984631 B CN 103984631B CN 201410232541 A CN201410232541 A CN 201410232541A CN 103984631 B CN103984631 B CN 103984631B
Authority
CN
China
Prior art keywords
test
module
online message
format
single platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410232541.7A
Other languages
Chinese (zh)
Other versions
CN103984631A (en
Inventor
刘文博
陈晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201410232541.7A priority Critical patent/CN103984631B/en
Publication of CN103984631A publication Critical patent/CN103984631A/en
Application granted granted Critical
Publication of CN103984631B publication Critical patent/CN103984631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the Test driver system based on the single platform of Z/OS main frames, including:XML format analysis module, for being analyzed to XML format interface, forms the format module used for online message analysis and synthesis;Online message analysis module, for according to the format module, being analyzed to online message, extracts key element item data;Parameter configuration module, for the driving policing parameter of configuration testing use-case;Online message synthesis module, for including key element item data according to format module generation and driving the online message of policing parameter;Main drive module is tested, for receiving online message, the EXCI interface driver test process provided by host computer system;Interpretation of result module, the main drive module of test is restarted under specific policy carries out another wheel test, or output final testing result.The present invention had both eliminated during concurrent development package delay caused by intermodule development progress difference, and the multiplexing to test cases and automatic business processing are realized again.

Description

Test driver system and method based on the single platform of Z/OS main frames
Technical field
The present invention relates to close beta drive system and method in a kind of software development process, more particularly to based on Z/OS The Test driver system and method for the single platform of main frame.
Background technology
In software development process, because product scale, function draw grading factors, to improve development efficiency, enhancing response, Often take the strategy of sub-module, concurrent development in the exploitation of software systems.
In this condition, because modules development progress is inconsistent, each Development of Module environment UNICOM situation complexity etc. Close beta between factor, same task disparate modules is shorter due to a lack of assembling or built-up time and influence defect recognition and row The effect removed, causes phase of integration testing that exposure is concentrated because close beta is insufficient.
Especially for towards host C ICS on-line Application systems, such as core banking system, due to the product of the system Property, determines that it needs responding ability and relatively low system resources consumption situation higher, thus product the development phase need into The a certain degree of pressure test of row.
In current outside manufacture, there is the pressure test product that the outside firms such as LOAD RUNNER are provided, can be by setting up Complicated case, complete pressure test work is carried out to system.But such instrument has, and outside dependence is high, need other product branch Hold, the unfavorable factor such as, test process larger to outside system consumption is complicated;And single (or some) inside modules test phases Pressure test have test process it is simple, it is outside support to lack, intermodule without UNICOM the features such as, therefore need one kind can be in single platform The upper effective ways for carrying out pressure test.
Accordingly, it would be desirable to set up the Test driver strategy of complete set, i.e., can eliminate because intermodule development progress difference is caused Make adverse effect that close beta cannot carry out, assembling can be simulated in single platform, can be criticized on single platform again Amount initiates transaction, and pressure test is carried out to product.
The content of the invention
Present invention is primarily aimed at one kind is provided full stream is realized towards host C ICS on-line Applications system in internal system The method of journey unit testing, assembling test and pressure test, connectivity, the limitation of development progress difference are broken away from for reaching, and are realized The close beta process of single (or some) modules, while providing the function of single (or some) module pressures test.
To reach above-mentioned purpose, the invention provides the Test driver system and method based on the single platform of Z/OS main frames, The system includes following components:XML format analysis module, online message analysis module, online message synthesis module, ginseng Number configuration module, the main drive module of test and interpretation of result module.
Each module realizes following method and steps respectively:
XML format analysis module is responsible for being analyzed the XML format interface that cabinet face channel is used, and is formed and supplies online message The format module that analysis and synthesis are used;
Online message analysis module is responsible for existing message, the format module to be formed is analyzed according to XML format and is analyzed, Extract key element item data;
Online message synthesis module is responsible for according to connecing that the format module or interface document of the generation of XML analysis modules are issued Online message is formed after mouth form, filling key element item data and driving policing parameter;
Parameter configuration module is responsible for by configuration parameter, defines the test such as cycle-index, circular order, tracking information Strategy is driven, is explained for Test driver primary module, used;
Main drive module is tested to be responsible for receiving the input text configured by parameter configuration module, it is controlled by main frame system The EXCI interface driver test process that system is provided.
Interpretation of result module receives analysis test result and is processed by the strategy that parameter configuration module is defined, and one The main drive module of test is restarted under fixed strategy carries out the test of another round.
From such scheme as can be seen that the invention provides the complete Test driver method of the single platform of Intrusion Detection based on host, pin Rational solution is proposed to problems faced, intermodule development progress difference causes during both having eliminated concurrent development Package delay, the multiplexing to test cases and automatic business processing are realized again;Meanwhile, possess and directly pressed in single platform The advantage of power test.Compared with the product of similar function is realized at present, the present invention possesses following superiority:
1st, platform independence advantage;
2nd, operation ease advantage;
3rd, function combination degree advantage high;
4th, open interface is provided, with expansion.
Brief description of the drawings
Fig. 1 is Test driver system module hierarchy chart;
Fig. 2 is Test driver method overall flow figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific implementation case, and join According to accompanying drawing, the present invention is described in more detail.
As shown in figure 1, the invention provides a kind of Test driver system based on the single platform of Z/OS main frames including following Several modules:XML format analysis module, online message analysis module, online message synthesis module, parameter configuration module, test Main drive module and interpretation of result module.
Wherein, XML format analysis module is responsible for being analyzed the XML format interface that cabinet face channel is used, and is formed for connection The format module that machine message analysis and synthesis are used;
Online message analysis module is responsible for existing message, the format module to be formed is analyzed according to XML format and is analyzed, Extract key element item data;
Online message synthesis module is responsible for according to connecing that the format module or interface document of the generation of XML analysis modules are issued Mouth form, online message is formed after filling key element item data;
Parameter configuration module is responsible for by configuration parameter, defines the test such as cycle-index, circular order, tracking information Strategy is driven, is explained for Test driver primary module, used;
Main drive module is tested to be responsible for receiving the input text configured by parameter configuration module, it is controlled by main frame system The EXCI interface driver test process that system is provided.
Interpretation of result module receives analysis test result and is processed by the strategy that parameter configuration module is defined, and one The main drive module of test is restarted under fixed strategy carries out the test of another round.
In addition, method of the present invention overall flow by overall flow with wire in figure as shown in Fig. 2 be divided into four steps Suddenly, 4. each frame lower right corner mark 1. to being corresponding in turn in each step:
First, format analysis step:
This step is related to the XML format analysis module in invention.
According to Test driver concrete condition, completing this step has two kinds of optional modes:Automated manner and manual mode.
Automated manner:For the message for having been set up XML format interface, in this step can directly by XML format Interface be input in " XML format analysis module ", " XML format analysis module " automatically according to XML interface generate " form mould Plate ", uses for subsequent step;
Manual mode:For the message for not setting up XML format interface, according to the interface lattice that it determines in the master-plan stage Formula document, hand filling " format module ", uses for subsequent step.
This step output object is " format module ", is used for key element organising step and message generation step.
2nd, key element organising step:
This step is related to the online message analysis module in invention.
According to Test driver concrete condition, completing this step has two kinds of optional modes:Automated manner and manual mode.
Automated manner:For the message for having obtained online input, by online incoming message, " format module " (in lattice Formula analytical procedure is generated) it is input in " online message analysis module ", online message is analyzed, is split and used by test Example carries out necessary modification, is formed " key element item data ", is used for subsequent step;
Manual mode:For do not obtain online input message or carry out close beta first can without online incoming message Reference, according to the direct manual tissue of test case " key element item data ", used for subsequent step.
This step output object is " key element item data ", is used for message generation step.
3rd, message generation step:
This step is related to online message synthesis module and parameter configuration module in invention.
This step is completed in an automatic fashion.
" the key element item data " that this step generates key element organising step is input to " online message synthesis according to format module In module ", and exist the cycle-index in test case, round-robin method, context association, tracking information etc. as driving strategy Input in " parameter configuration module ", it is common to generate " the online message " for including on line data and including driving policing parameter, supply Subsequent step is used.
The output object of this step is " online message ", is used for Test driver step.
4th, Test driver step:
This step is related to the main drive module of test and interpretation of result module in invention.
This step is completed in an automatic fashion.
" online message " that message generation step is generated be input in " the main drive module of test " by this step, " test master Drive module " determines Test driver mode, by main frame EXCI interfaces according to the driving policing parameter of customization in " online message " Online testing is driven, and collects returning result.
After Test driver terminates, returning result submission " interpretation of result module " is analyzed;" interpretation of result module " According to returning result and strategy is driven, determine to submit returning result to user, or by being driven again after Developing Tactics " online message " Dynamic online testing.
If strategy decision restarts driving online testing, flow is given back into " the main drive module of test ", otherwise by result Text passes to user and checks final process result by File Transfer Protocol.The definition of this step cycle number of times has the upper limit, it is to avoid endless loop Situation occurs.
This step is last step of Test driver, and final result is trading processing result, is checked for user and used.
Although being described to embodiment herein with reference to multiple one exemplary embodiments, it is appreciated that those skilled in the art Many other modifications and implementation method in spirit and scope can be realized.More particularly, in this hair Bright specification, accompanying drawing and in the range of attached claims components and/or sub-combination configuration in various change and Modification is possible.Therefore, the content relevant with variations and modifications should also be as being construed within the scope of the present invention.

Claims (10)

1. a kind of Test driver system based on the single platform of Z/OS main frames, including:
XML format analysis module, for being analyzed to XML format interface, forms what is used for online message analysis and synthesis Format module;Wherein, the mode for forming the format module used for online message analysis and synthesis includes automated manner and craft Mode;
Online message analysis module, for according to the format module, being analyzed to online message, extracts key element item number According to;
Parameter configuration module, for the driving policing parameter of configuration testing use-case;
Online message synthesis module, for including key element item data according to format module generation and driving policing parameter Online message;
Main drive module is tested, for receiving online message, the EXCI interface driver test process provided by host computer system is defeated Go out to analyze test result;
Interpretation of result module, according to analysis test result and driving policing parameter, determines that the restarting main drive module of test is entered The test of another round of row, or output final testing result.
2. the Test driver system of the single platform of Z/OS main frames is based on as claimed in claim 1, wherein:
For the message for not setting up XML format interface, the format module is input into by HPI.
3. the Test driver system of the single platform of Z/OS main frames is based on as claimed in claim 1, wherein:
For not obtaining online message, or test first without online message, the key element item data is input into by HPI.
4. the Test driver system of the single platform of Z/OS main frames is based on as claimed in claim 1, wherein:The driving policing parameter Cycle-index, circular order including test case, context association, tracking information.
5. the Test driver system of the single platform of Z/OS main frames is based on as claimed in claim 1, wherein:The final testing result It is the trading processing result that user is passed to by File Transfer Protocol.
6. a kind of Test driver method based on the single platform of Z/OS main frames, including:
Format analysis step, is analyzed to XML format interface, forms the form mould used for online message analysis and synthesis Plate;Wherein, the mode for forming the format module used for online message analysis and synthesis includes automated manner and manual mode;
Key element organising step, is analyzed according to the format module to online message, extracts key element item data;
Message generation step, includes key element item data and drives the online report of policing parameter according to format module generation Text;
Test driver step, according to the driving policing parameter in the online message for receiving, determines Test driver mode, by master Machine EXCI interface driver test process, drives test process, or output final testing result again under specific policy.
7. the Test driver method of the single platform of Z/OS main frames is based on as claimed in claim 6, wherein:For not setting up XML lattice The message of formula interface, the format module is input into by HPI.
8. the Test driver method of the single platform of Z/OS main frames is based on as claimed in claim 6, wherein:
For not obtaining online message, or test first without online message, the key element item data is input into by HPI.
9. the Test driver method of the single platform of Z/OS main frames is based on as claimed in claim 6, wherein:The driving policing parameter Cycle-index, circular order including test case, context association, tracking information.
10. the Test driver method of the single platform of Z/OS main frames is based on as claimed in claim 6, wherein:The final test knot Fruit is the trading processing result that user is passed to by File Transfer Protocol.
CN201410232541.7A 2014-05-28 2014-05-28 Test driver system and method based on the single platform of Z/OS main frames Active CN103984631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410232541.7A CN103984631B (en) 2014-05-28 2014-05-28 Test driver system and method based on the single platform of Z/OS main frames

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410232541.7A CN103984631B (en) 2014-05-28 2014-05-28 Test driver system and method based on the single platform of Z/OS main frames

Publications (2)

Publication Number Publication Date
CN103984631A CN103984631A (en) 2014-08-13
CN103984631B true CN103984631B (en) 2017-07-11

Family

ID=51276621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410232541.7A Active CN103984631B (en) 2014-05-28 2014-05-28 Test driver system and method based on the single platform of Z/OS main frames

Country Status (1)

Country Link
CN (1) CN103984631B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528294B (en) * 2015-12-29 2018-05-25 广东金赋科技股份有限公司 The method and system that a kind of interface testing use-case automatically generates

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN101968770A (en) * 2010-11-01 2011-02-09 北京航空航天大学 Reusable embedded software testing and developing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140123114A1 (en) * 2012-10-25 2014-05-01 Sap Ag Framework for integration and execution standardization (fiesta)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN101968770A (en) * 2010-11-01 2011-02-09 北京航空航天大学 Reusable embedded software testing and developing method and system

Also Published As

Publication number Publication date
CN103984631A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN107038280B (en) Software and hardware collaborative simulation verification system and method
WO2021088400A1 (en) Document review method, apparatus and system, device, and storage medium
CN109086199B (en) Method, terminal and storage medium for automatically generating test script
CN106776349B (en) Method and system for setting interface detection flow
CN104933618B (en) Core banking system batch jobs run the monitoring method and device of data
CN106682036A (en) Data exchange system and exchange method thereof
US20170293550A1 (en) Apparatus and method for testing interoperability of robot software
CN110990053A (en) Method for creating and using machine learning scheme template and device
CN114444420A (en) Verification IP integration method and system based on chip verification
CN111352697A (en) Flexible physical function and virtual function mapping
CN110287468A (en) PDF document generation method and system suitable for online protocol
CN109670943A (en) A kind of settlement system, method, computer equipment and storage medium
CN104360946B (en) The computer implemented method and computer of a kind of test defect
CN102981827A (en) Display interface data treatment method and platform based on middle piece
CN103984631B (en) Test driver system and method based on the single platform of Z/OS main frames
CN109344063A (en) A kind of automated testing method of api interface
CN111176989A (en) Fault injection test scenario case model and framework based on service arrangement
CN109783063B (en) Signal-oriented automatic test system self-checking program development method and device
CN106598843B (en) A kind of software log behavior automatic identifying method based on program analysis
CN111967212B (en) Method, system and storage medium for hierarchical design chip timing sequence convergence
US8949167B2 (en) Method and device for the quality analysis of system models
US11567739B2 (en) Simplifying creation and publishing of schemas while building applications
CN113051173B (en) Method, device, computer equipment and storage medium for arranging and executing test flow
CN111881025B (en) Automatic test task scheduling method, device and system
CN105550459B (en) A kind of ASIC design clock network extraction system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Liu Wenbo

Inventor after: Chen Chen

Inventor before: Yu Hongkui

Inventor before: Zhang Haipeng

Inventor before: Wang Quan

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant