CN106776275B - 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
- CN106776275B CN106776275B CN201611024865.7A CN201611024865A CN106776275B CN 106776275 B CN106776275 B CN 106776275B CN 201611024865 A CN201611024865 A CN 201611024865A CN 106776275 B CN106776275 B CN 106776275B
- Authority
- CN
- China
- Prior art keywords
- testing process
- test
- step sequence
- test step
- packet multiplexing
- 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
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
Abstract
The present invention relates to testing process technical field more particularly to a kind of testing process automatic generation methods based on Packet Multiplexing.This method comprises: describing configurable attribute and the behavior of test equipment by the host type, subtype and the attribute value that define testing process, testing process model is established;According to the testing process model of foundation, test step sequence is established, title and attribute value is established for each test step sequence, forms reusable test step sequence collection;Associated test step sequence is combined, being formed, there is the reusable of standalone feature to test grouping, and different test groupings is carried out ordered arrangement, forms testing process;Output file format and field meanings are defined, by selecting host type, subtype and the attribute value of pre-output, the testing process of output is selected, selected testing process is exported automatically.The present invention can efficiently utilize the mechanism of Packet Multiplexing, realize the multiplexing to testing process and rapid configuration, achieve the purpose that testing process automatically generates.
Description
Technical field
The present invention relates to testing process technical fields more particularly to a kind of testing process based on Packet Multiplexing to automatically generate
Method.
Background technique
In the launch vehicle measurement of ground, to realize the interaction between each test equipment, the mode of testing process is generallyd use
To realize automatic testing process.The generation method of testing process is usually required generally by the way of hand-coding by testing
For flow document to the resolving of testing process system, this method has that write the time long, and compiling procedure is cumbersome and easy error
The disadvantages of.
The existing way to manage majority to testing process use text formatting or database format, solve testing process with
The problem of control logic couples, testing process is extracted from execution system, forms independent testing process file, user
When needing to change testing process, system is had no need to change, it is only necessary to change testing process file, reduce the cost of change.
But prior art condition can not also solve process multiplying question, i.e. prior art means flow test only with natural language
Journey is described, and cannot achieve the multiplexing of testing process.
Summary of the invention
(1) technical problems to be solved
The object of the present invention is to provide a kind of testing process automatic generation method based on Packet Multiplexing, solves existing test
The way to manage of process cannot achieve the problem of multiplexing of testing process.
(2) technical solution
In order to solve the above-mentioned technical problems, the present invention provides a kind of testing process side of automatically generating based on Packet Multiplexing
Method, this method comprises the following steps:
The first step, host type, subtype and attribute value by defining testing process describe the configurable category of test equipment
Property and behavior, establish testing process model;
Second step establishes test step sequence according to the testing process model of foundation, for each test step sequence establish title and
Attribute value forms reusable test step sequence collection;
Associated test step sequence is combined by third step, and being formed, there is the reusable of standalone feature to test grouping, will
Different test groupings carry out ordered arrangement, form testing process;
4th step defines output file format and field meanings, by the host type, subtype and the attribute that select pre-output
Value is selected the testing process of output, is exported automatically to selected testing process.
Specifically, in the first step, the specific steps for establishing testing process model include:
A host type is defined for each test equipment, each host type represents an independent test equipment;
Multiple subtypes are defined for each test equipment, each subtype represents a variety of behaviors of test equipment;
For the multiple attribute values of each subtype definition, each attribute value represents the parameter information of every kind of behavior needs.
Specifically, in second step, multiple test step sequences are defined for each test equipment, each test step sequence is unique.
Specifically, in second step, the reusable test step sequence collection is combined by the test step sequence of multiple and different equipment
It is formed.
Specifically, in second step, the test step sequence collection is one group of unordered test step ordered sets.
Specifically, in the third step, it realized by test grouping to the single step of testing process, suspend, jump and multinomial
The treatment process of selection.
(3) beneficial effect
Above-mentioned technical proposal of the invention has the advantages that
Testing process automatic generation method provided by the invention based on Packet Multiplexing, by defining matching for test equipment
Attribute and behavior are set, realizes the modeling to testing process, by Packet Multiplexing, the multiplexing to testing process is realized and quickly matches
It sets, achievees the purpose that testing process automatically generates.This method is sustainable to the complete of testing process modeling, definition, configuration and change
Process realizes the multiplexing of testing process.
Detailed description of the invention
Fig. 1 is testing process automatic generation method flow chart of the embodiment of the present invention based on Packet Multiplexing.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention proposes a kind of testing process automatic generation method based on Packet Multiplexing, certainly using test step sequence dependence
Motion tracking technology realizes the multiplexing of Packet Multiplexing and single test step sequence, and multiple test step sequences combine to form test grouping, thus
Realize the multiplexing of test grouping.
Wherein, test step sequence dependence automatic tracking technology is capable of the variation of real-time monitoring testing process, according to user's
Operation behavior corrects the attribute value of part test step sequence automatically, it is no longer necessary to the associated test step sequence of user's manual modification, thus
Allocative efficiency is improved, the generation of mistake is avoided.Since testing process is logically constructed using tree structure, to test
The tracking complexity with higher for walking sequence dependence, needs to expend a large amount of computing resource.For example, being inserted into testing process
One test step sequence A, i.e., be inserted into a node in tree, and corresponding execution serial number operation needs to be traversed for whole tree and come
At.If the modification to each test step sequence, all progress test step sequence dependence amendments can then seriously affect system performance, increase
The human-computer interaction time of big single operation, reduce system availability.Therefore, the present invention is using real-time tracking, Deferred Correction, asynchronous
Modified mode come guarantee walk sequence between dependence correctness, reduce the response time of system, improve the availability of system.
Testing process automatic generation method provided in an embodiment of the present invention based on Packet Multiplexing mainly includes testing process
It models, establish test step sequence collection, establishing testing process and testing process four steps of mapping.
As shown in Figure 1, this method specifically comprises the following steps:
The first step, testing process modeling.
Host type, subtype and attribute value by defining testing process describe the configurable attribute and row of test equipment
To establish testing process model.Multiple behaviors of one test equipment can be carried out to abstract grouping and form a general behavior,
Multiple test equipments can be carried out to abstract grouping and form a common apparatus.
Wherein, when being defined to testing process, a host type, each host type generation are defined for each test equipment
One independent test equipment of table.Multiple subtypes are defined for each test equipment, each subtype represents the more of test equipment
Kind behavior.The parameter information needed for the multiple attribute values of each subtype definition, the every kind of behavior of each attribute representative.
Second step establishes test step sequence collection.
Testing process modeling based on foundation, according to user demand, establishes test step sequence, establishes for each test step sequence
Title and attribute value form reusable test step sequence collection.
Wherein, multiple step sequences are defined to each test equipment, and each step sequence is unique.The 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.
Third step establishes testing process.
Associated test step sequence is combined, being formed, there is the reusable of standalone feature to test grouping, will be different
Test grouping carries out ordered arrangement, forms testing process.
Wherein, test set of packets is one group of unordered test grouping set, can be with since test block functions are independent
Test grouping is multiplexed.Independent, the reusable feature using test block functions, it can be achieved that the single step of testing process,
Suspend, jump, the treatment process of multinomial selection.
4th step, testing process mapping.
Output file format and field meanings are defined, by selecting host type, subtype and the attribute value of pre-output, are selected
The testing process of output exports selected testing process automatically, to complete to automatically generate process by testing process.
In conclusion the testing process automatic generation method described in the embodiment of the present invention based on Packet Multiplexing, efficiently
Using the mechanism of Packet Multiplexing, realize that the sequence of testing process, branch relationships, the realization such as jump and recycle and answer testing process
With and rapid configuration, achieve the purpose that testing process automatically generates.
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
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (5)
1. a kind of testing process automatic generation method based on Packet Multiplexing, which is characterized in that this method comprises the following steps:
The first step, by define testing process host type, subtype and attribute value describe test equipment configurable attribute and
Testing process model is established in behavior;
Second step establishes test step sequence according to the testing process model of foundation, establishes title and attribute for each test step sequence
Value forms reusable test step sequence collection;
Associated test step sequence is combined by third step, and being formed, there is the reusable of standalone feature to test grouping, will be different
Test grouping carry out ordered arrangement, formed testing process;
4th step defines output file format and field meanings, by selecting host type, subtype and the attribute value of pre-output,
The testing process of selected output, exports selected testing process automatically;
In the first step, the specific steps for establishing testing process model include:
A host type is defined for each test equipment, each host type represents an independent test equipment;
Multiple subtypes are defined for each test equipment, each subtype represents a variety of behaviors of test equipment;
For the multiple attribute values of each subtype definition, each attribute value represents the parameter information of every kind of behavior needs.
2. the testing process automatic generation method according to claim 1 based on Packet Multiplexing, which is characterized in that second
In step, multiple test step sequences are defined for each test equipment, each test step sequence is unique.
3. the testing process automatic generation method according to claim 2 based on Packet Multiplexing, which is characterized in that second
In step, the reusable test step sequence collection is combined by the test step sequence of multiple and different equipment to be formed.
4. the testing process automatic generation method according to claim 3 based on Packet Multiplexing, which is characterized in that second
In step, the test step sequence collection is one group of unordered test step ordered sets.
5. the testing process automatic generation method according to claim 1 based on Packet Multiplexing, which is characterized in that in third
In step, is realized by test grouping to the single step of testing process, suspends, jumps and the treatment process of multinomial selection.
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 CN106776275A (en) | 2017-05-31 |
CN106776275B true 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) |
Families Citing this family (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 |
CN112925517B (en) * | 2019-12-06 | 2024-02-20 | 中国电信股份有限公司 | Service function realization method, device and system |
Citations (3)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7895565B1 (en) * | 2006-03-15 | 2011-02-22 | Jp Morgan Chase Bank, N.A. | Integrated system and method for validating the functionality and performance of software applications |
-
2016
- 2016-11-14 CN CN201611024865.7A patent/CN106776275B/en active Active
Patent Citations (3)
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 |
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》;20130328;第1-8页 |
Also Published As
Publication number | Publication date |
---|---|
CN106776275A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838672A (en) | Automated testing method and device for all-purpose financial statements | |
CN106293664A (en) | Code generating method and device | |
CN105335412A (en) | Method and device for data conversion and data migration | |
CN104866465A (en) | Sensitive text detection method and device | |
CN106776275B (en) | A kind of testing process automatic generation method based on Packet Multiplexing | |
CN104778124A (en) | Automatic testing method for software application | |
CN109933778B (en) | Word segmentation method, word segmentation device and computer readable storage medium | |
CN110096263A (en) | Web front end code automatic generation method and device | |
CN103259718A (en) | Flow table conversion method and device | |
CN107220096A (en) | A kind of json data analysis methods and device | |
CN110389832A (en) | ZooKeeper container cluster dispositions method, system, equipment and storage medium | |
CN104391796B (en) | A kind of test case analytic method | |
CN105320589A (en) | Automatic analysis system for testing scripts in cloud testing environments and realization method thereof | |
CN109754072A (en) | Processing method, artificial intelligence process device and the Related product of internet off-line model | |
CN110162297A (en) | A kind of source code fragment natural language description automatic generation method and system | |
CN104331315A (en) | Analysis and generation method and system of json object of any level | |
CN103123646B (en) | XML document is converted into automatically conversion method and the device of OWL document | |
CN106096159B (en) | A kind of implementation method of distributed system behavior simulation analysis system under cloud platform | |
CN104050003A (en) | Method for starting Nutch collecting system with shell script | |
CN111767217A (en) | JS unit test case generation method and device | |
CN106779582A (en) | A kind of TWS flows collocation method and device | |
CN104462157B (en) | A kind of method and device of text data secondary structure | |
CN104636397B (en) | Resource allocation methods, calculating accelerated method and device for Distributed Calculation | |
CN103955368B (en) | A kind of adaptive support system of software obfuscation and development approach | |
CN107885527A (en) | A kind of code revision method and device of test system |
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 |