CN106776275A - A kind of testing process automatic generation method based on Packet Multiplexing - Google Patents
A kind of testing process automatic generation method based on Packet Multiplexing Download PDFInfo
- Publication number
- CN106776275A CN106776275A CN201611024865.7A CN201611024865A CN106776275A CN 106776275 A CN106776275 A CN 106776275A CN 201611024865 A CN201611024865 A CN 201611024865A CN 106776275 A CN106776275 A CN 106776275A
- Authority
- CN
- China
- Prior art keywords
- testing process
- test
- step sequence
- packet
- generation method
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to testing process technical field, more particularly to a kind of testing process automatic generation method based on Packet Multiplexing.The method includes:Configurable attribute and the behavior of test equipment are described by the host type, subtype and the property value that define testing process, testing process model is set up;According to the testing process model set up, test step sequence is set up, be that each test step sequence sets up title and property value, form reusable test step sequence collection;Associated test step sequence is combined, the reusable test packet with standalone feature is formed, different test packets is carried out into ordered arrangement, form testing process;Output file form and field meanings are defined, by selecting host type, subtype and the property value of pre-output, the testing process of output is selected, the testing process to selecting is exported automatically.The present invention efficiently using the mechanism of Packet Multiplexing can realize the multiplexing to testing process and rapid configuration, reach the purpose that testing process is automatically generated.
Description
Technical field
Automatically generated the present invention relates to testing process technical field, more particularly to a kind of testing process based on Packet Multiplexing
Method.
Background technology
In the launch vehicle measurement of ground, to realize the interaction between each test equipment, generally by the way of testing process
To realize automatic testing process.The generation method of testing process is generally needed by testing typically by the way of hand-coding
To the resolving of testing process system, the method has that to write the time long to flow document, and compiling procedure is cumbersome and easy error
The shortcomings of.
The existing way to manage to testing process is most to use text formatting or database formats, solve testing process with
The problem of control logic coupling, testing process is extracted from execution system, forms independent testing process file, user
When needing change testing process, it is not necessary to change system, it is only necessary to change testing process file, reduce the cost of change.
But prior art condition cannot also solve flow multiplying question, i.e. prior art means to flow only with natural language to test
Journey is described, it is impossible to realize the multiplexing of testing process.
The content of the invention
(1) technical problem to be solved
It is an object of the invention to provide a kind of testing process automatic generation method based on Packet Multiplexing, existing test is solved
The way to manage of flow cannot realize the problem of the multiplexing of testing process.
(2) technical scheme
In order to solve the above-mentioned technical problem, the invention provides a kind of testing process side of automatically generating based on Packet Multiplexing
Method, the method comprises the following steps:
The first step, the configurable category of test equipment is described by the host type, subtype and the property value that define testing process
Property and behavior, set up testing process model;
Second step, according to set up testing process model, set up test step sequence, be each test step sequence set up title and
Property value, forms reusable test step sequence collection;
3rd step, associated test step sequence is combined, and forms the reusable test packet with standalone feature, will
Different test packets carry out ordered arrangement, form testing process;
4th step, defines output file form and field meanings, by the host type, subtype and the attribute that select pre-output
Value, selectes the testing process of output, and the testing process to selecting is exported automatically.
Specifically, in the first step, the specific steps for setting up testing process model include:
For each test equipment defines a host type, each host type represents an independent test equipment;
For each test equipment defines multiple subtypes, each subtype represents various behaviors of test equipment;
It is each subtype definition multiple property value, each property value represents the parameter information of every kind of behavior needs.
Specifically, it is the multiple test step sequences of each test equipment definition in second step, each test step sequence is unique.
Specifically, in second step, described reusable test step sequence collection is combined by the test step sequence of multiple distinct devices
Formed.
Specifically, in second step, described test step sequence collection is one group of unordered test step ordered sets.
Specifically, in the third step, realized to the single step of testing process by testing packet, suspend, redirect and multinomial
The processing procedure of selection.
(3) beneficial effect
Above-mentioned technical proposal of the invention has the following advantages that:
The testing process automatic generation method based on Packet Multiplexing that the present invention is provided, by defining matching somebody with somebody for test equipment
Put attribute and behavior, realize the modeling to testing process, by Packet Multiplexing, realize to the multiplexing of testing process and quickly match somebody with somebody
Put, reach the purpose that testing process is automatically generated.The method is sustainable to the complete of testing process modeling, definition, configuration and change
Process, realizes the multiplexing of testing process.
Brief description of the drawings
Fig. 1 is the testing process automatic generation method flow chart that the embodiment of the present invention is based on Packet Multiplexing.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
The present invention proposes a kind of testing process automatic generation method based on Packet Multiplexing, using test step sequence dependence certainly
Motion tracking technology realizes the multiplexing of Packet Multiplexing and single test step sequence, and multiple test step sequences combine to form test packet, so that
Realize the multiplexing of test packet.
Wherein, test step sequence dependence automatic tracking technology is capable of the change of real-time monitoring testing process, according to user's
Operation behavior corrects the property value of part test step sequence automatically, it is no longer necessary to the test step sequence of user's manual modification association, so that
Improve allocative efficiency, it is to avoid the generation of mistake.Because testing process is logically built using tree structure, therefore to test
The tracking of step sequence dependence has complexity higher, it is necessary to expend substantial amounts of computing resource.For example, being inserted in testing process
One test step sequence A, i.e., insert a node in tree, and corresponding execution sequence numbering operation needs whole tree of traversal to come
Into.If the modification to each test step sequence, test step sequence dependence amendment is all carried out, then can have a strong impact on systematic function, increased
The man-machine interaction time of big single operation, reduce system availability.Therefore, the present invention is using real-time tracking, Deferred Correction, asynchronous
The mode of amendment come ensure walk sequence between dependence correctness, reduce system response time, improve system availability.
Testing process automatic generation method based on Packet Multiplexing provided in an embodiment of the present invention, mainly including testing process
Model, set up test step sequence collection, setting up testing process and testing process four steps of mapping.
As shown in figure 1, the method specifically includes following steps:
The first step, testing process modeling.
The configurable attribute and row of test equipment are described by the host type, subtype and the property value that define testing process
To set up testing process model.Multiple behaviors of one test equipment can be carried out abstract packet and form a general behavior,
Multiple test equipments can be carried out abstract packet and form a common apparatus.
Wherein, it is that each test equipment defines a host type, each host type generation when being defined to testing process
One independent test equipment of table.For each test equipment defines multiple subtypes, each subtype represents many of test equipment
The behavior of kind.It is each subtype definition multiple property value, the parameter information of the every kind of behavior needs of each attribute representative.
Second step, sets up test step sequence collection.
Based on the testing process modeling set up, according to user's request, test step sequence is set up, be that each test step sequence is set up
Title and property value, form reusable test step sequence collection.
Wherein, to the multiple step sequences of each test equipment definition, and each step sequence is unique.Described test step sequence collection is by multiple
The test step sequence of distinct device combines to be formed.The test step sequence collection is one group of unordered test step ordered sets.
3rd step, sets up testing process.
Associated test step sequence is combined, the reusable test packet with standalone feature is formed, will be different
Test packet carries out ordered arrangement, forms testing process.
Wherein, test set of packets is one group of unordered test grouping set, due to test block functions independence, therefore can be with
Test packet is multiplexed.Using testing, block functions are independent, reusable feature, be capable of achieving single step to testing process,
Suspend, redirect, the processing procedure of multinomial selection.
4th step, testing process mapping.
Output file form and field meanings are defined, by selecting host type, subtype and the property value of pre-output, is selected
The testing process of output, the testing process to selecting is exported automatically, so as to complete to automatically generate process by testing process.
In sum, the testing process automatic generation method based on Packet Multiplexing described in the embodiment of the present invention, efficiently
Using the mechanism of Packet Multiplexing, realize that the order of testing process, branch redirect and circulate etc. relation, realization is answered testing process
With and rapid configuration, reach the purpose that testing process is automatically generated.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (6)
1. a kind of testing process automatic generation method based on Packet Multiplexing, it is characterised in that the method comprises the following steps:
The first step, by the host type, subtype and the property value that define testing process describe test equipment configurable attribute and
Behavior, sets up testing process model;
Second step, according to the testing process model set up, sets up test step sequence, is that each test step sequence sets up title and attribute
Value, forms reusable test step sequence collection;
3rd step, associated test step sequence is combined, and the reusable test packet with standalone feature is formed, by difference
Test packet carry out ordered arrangement, form testing process;
4th step, defines output file form and field meanings, by selecting host type, subtype and the property value of pre-output,
The testing process of selected output, the testing process to selecting is exported automatically.
2. the testing process automatic generation method based on Packet Multiplexing according to claim 1, it is characterised in that first
In step, the specific steps for setting up testing process model include:
For each test equipment defines a host type, each host type represents an independent test equipment;
For each test equipment defines multiple subtypes, each subtype represents various behaviors of test equipment;
It is each subtype definition multiple property value, each property value represents the parameter information of every kind of behavior needs.
3. the testing process automatic generation method based on Packet Multiplexing according to claim 1, it is characterised in that second
It is the multiple test step sequences of each test equipment definition in step, each test step sequence is unique.
4. the testing process automatic generation method based on Packet Multiplexing according to claim 3, it is characterised in that second
In step, described reusable test step sequence collection is combined by the test step sequence of multiple distinct devices and formed.
5. the testing process automatic generation method based on Packet Multiplexing according to claim 4, it is characterised in that second
In step, described test step sequence collection is one group of unordered test step ordered sets.
6. the testing process automatic generation method based on Packet Multiplexing according to claim 1, it is characterised in that the 3rd
In step, by test packet realize to the single step of testing process, suspend, redirect and multinomial selection processing procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611024865.7A CN106776275B (en) | 2016-11-14 | 2016-11-14 | A kind of testing process automatic generation method based on Packet Multiplexing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611024865.7A CN106776275B (en) | 2016-11-14 | 2016-11-14 | A kind of testing process automatic generation method based on Packet Multiplexing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776275A true CN106776275A (en) | 2017-05-31 |
CN106776275B CN106776275B (en) | 2019-06-18 |
Family
ID=58968102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611024865.7A Active CN106776275B (en) | 2016-11-14 | 2016-11-14 | A kind of testing process automatic generation method based on Packet Multiplexing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776275B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681908A (en) * | 2016-11-28 | 2017-05-17 | 北京航天自动控制研究所 | Test process generation method based on packet multiplexing |
CN108509197B (en) * | 2018-03-09 | 2020-08-21 | 北京航空航天大学 | Test requirement view generation method and ATE (automatic test equipment) test method |
CN112925517A (en) * | 2019-12-06 | 2021-06-08 | 中国电信股份有限公司 | Method, device and system for realizing service function |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521122A (en) * | 2011-11-23 | 2012-06-27 | 北京交通大学 | Dynamic scene oriented method and system for generating test sequence |
US20130205172A1 (en) * | 2006-03-15 | 2013-08-08 | Morrisha Hudgons | Integrated System and Method for Validating the Functionality and Performance of Software Applications |
CN103995778A (en) * | 2014-05-29 | 2014-08-20 | 上海科梁信息工程有限公司 | Script file generation method and device based on event and action |
CN106021093A (en) * | 2016-05-05 | 2016-10-12 | 北京思特奇信息技术股份有限公司 | Test case reuse method and system |
-
2016
- 2016-11-14 CN CN201611024865.7A patent/CN106776275B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130205172A1 (en) * | 2006-03-15 | 2013-08-08 | Morrisha Hudgons | Integrated System and Method for Validating the Functionality and Performance of Software Applications |
CN102521122A (en) * | 2011-11-23 | 2012-06-27 | 北京交通大学 | Dynamic scene oriented method and system for generating test sequence |
CN103995778A (en) * | 2014-05-29 | 2014-08-20 | 上海科梁信息工程有限公司 | Script file generation method and device based on event and action |
CN106021093A (en) * | 2016-05-05 | 2016-10-12 | 北京思特奇信息技术股份有限公司 | Test case reuse method and system |
Non-Patent Citations (1)
Title |
---|
陈立家等: "利用Selenium IDE在翻译验证测试中快速实现可复用的自动化测试", 《HTTPS://WWW.IBM.COM/DEVELOPERWORKS/CN/WEB/1303_CHENLIJ_SELENIUMIDE/INDEX.HTML?LNK=HM》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681908A (en) * | 2016-11-28 | 2017-05-17 | 北京航天自动控制研究所 | Test process generation method based on packet multiplexing |
CN108509197B (en) * | 2018-03-09 | 2020-08-21 | 北京航空航天大学 | Test requirement view generation method and ATE (automatic test equipment) test method |
CN112925517A (en) * | 2019-12-06 | 2021-06-08 | 中国电信股份有限公司 | Method, device and system for realizing service function |
CN112925517B (en) * | 2019-12-06 | 2024-02-20 | 中国电信股份有限公司 | Service function realization method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN106776275B (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9661109B2 (en) | Systems and methods for data migration | |
CN103995781B (en) | A kind of component testing case generation method based on model | |
CN106293664A (en) | Code generating method and device | |
CN103838672A (en) | Automated testing method and device for all-purpose financial statements | |
CN105242538B (en) | Part multi-processing process MBD models and implementation method based on figure layer | |
CN104123227A (en) | Method for automatically generating testing cases | |
KR101617696B1 (en) | Method and device for mining data regular expression | |
CN106126528B (en) | A kind of moonlet test basic information generation method based on platform model | |
CN104391826A (en) | Data format conversion method and data format converter | |
CN104461531B (en) | A kind of implementation method of reporting system SQL | |
CN106682036A (en) | Data exchange system and exchange method thereof | |
CN106776275A (en) | A kind of testing process automatic generation method based on Packet Multiplexing | |
CN105653268A (en) | Rule engine debugging method and rule engine debugging system | |
CN103123646B (en) | XML document is converted into automatically conversion method and the device of OWL document | |
CN104391796A (en) | Method for parsing test cases | |
CN103440197B (en) | A kind of method automatically generating difference test report based on contrast test | |
CN104462322B (en) | Character string comparison method and device | |
CN105468521A (en) | Pointer related semantic error location method based on subgraph search | |
CN109961516A (en) | Surface acquisition methods, device and non-transient computer-readable recording medium | |
CN111368353B (en) | CAD drawing die turning method, system, device and storage medium | |
CN107885582B (en) | Heterogeneous container cluster migration method and controller | |
CN107766033A (en) | A kind of quick demand method for splitting based on problem framework | |
CN111740851A (en) | Configuration message generation method, equipment and system | |
CN104216986A (en) | Device and method for improving data query efficiency through pre-operation according to data update period | |
CN106682064A (en) | Number picking device and method for enterprise report |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |