KR102021333B1 - Test automation method and apparatus thereof - Google Patents
Test automation method and apparatus thereof Download PDFInfo
- Publication number
- KR102021333B1 KR102021333B1 KR1020150133314A KR20150133314A KR102021333B1 KR 102021333 B1 KR102021333 B1 KR 102021333B1 KR 1020150133314 A KR1020150133314 A KR 1020150133314A KR 20150133314 A KR20150133314 A KR 20150133314A KR 102021333 B1 KR102021333 B1 KR 102021333B1
- Authority
- KR
- South Korea
- Prior art keywords
- test automation
- connection
- connection confirmation
- test
- message
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2832—Specific tests of electronic circuits not provided for elsewhere
- G01R31/2834—Automated test systems [ATE]; using microprocessors or computers
-
- G01R31/024—
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/185—Electrical failure alarms
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B3/00—Audible signalling systems; Audible personal calling systems
- G08B3/10—Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B5/00—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
- G08B5/22—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
- G08C19/02—Electric signal transmission systems in which the signal transmitted is magnitude of current or voltage
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a test automation method and apparatus, and more particularly, to a test automation method and apparatus that enables the test automation device to determine the connection state of the TCP / IP layer 3 to the test automation network devices.
Accordingly, the present invention, the step of transmitting a connection confirmation request message for confirming the connection status to a specific layer to at least one device constituting a test automation network, in response to the connection confirmation request message from the at least one device Determining whether a connection confirmation response message is received; and when the connection confirmation response message is not received for at least some of the at least one device, it is determined that the connection between the at least some device and the specific layer is lost. It relates to a test automation method and an apparatus comprising a step of.
Description
The present invention relates to a test automation method and apparatus, and more particularly, to a test automation method and apparatus that enables the test automation device to determine the connection state of the TCP / IP layer 3 to the test automation network devices.
The test automation network can test the TCP / IP Layer 2 and Layer 3 protocols among the devices connected to the network.
To this end, the test automation network connects three-tier equipment and instruments to a test automation device (eg, a host PC) equipped with test automation software by using a switch. In this network, the test automation device is connected to each device using a connection daemon program such as Telnet or ssh (secure shell) as connected devices, and each device can be connected to each other. Test the network protocol between each device by sending a Language Infrastructure (CLI) message.
In a conventional test automation network, it was required to separately check that there was no problem with the three-layer connection between the test automation device and all the equipment before executing the test case. In addition, if the three-layer connection is unintentionally disconnected even during the test using the test case, a problem arises in that an incorrect test result cannot be obtained because an accurate test cannot be performed.
The present invention has been made to solve the above problems, and provides a test automation method and apparatus for allowing the test automation device to periodically check the three-layer connection with each device when the test case is executed.
In addition, the present invention provides a test automation method and apparatus for determining a three-layer disconnected equipment, and informs the user of information about the disconnected equipment.
In the test automation method according to the present invention for solving the above problems, the step of transmitting a connection confirmation request message for confirming the connection status to a specific layer to at least one device constituting a test automation network, the at least one Determining whether a connection confirmation response message is received from the device in response to the connection confirmation request message; and if the connection confirmation response message is not received for at least some of the at least one device, the at least some device And determining that the connection of the specific layer has been lost.
Test automation method and apparatus according to the present invention, to reduce the hassle of checking the connection state between the equipment before the test.
In addition, the test automation method and apparatus according to the present invention prevents meaningless testing from proceeding in a three-layer disconnected environment and makes the test results of the test automation software more reliable.
1 is a diagram showing the structure of a test automation network to which the present invention can be applied.
2 is a block diagram showing the configuration of a test automation device according to the present invention.
3 is a flowchart illustrating a test automation method according to the present invention.
4 is a diagram illustrating a path through which a connection confirmation request message is transmitted in the test automation method according to the present invention.
5 is a diagram illustrating a path through which a connection confirmation response message is transmitted in the test automation method according to the present invention.
6 is a flowchart illustrating a test automation method of a test automation device according to the present invention.
In the following description of embodiments of the present disclosure, when it is determined that a detailed description of a related well-known configuration or function may obscure the gist of the present disclosure, the detailed description may be omitted.
When a component is referred to herein as being “connected” or “connected” to another component, as well as when the component is directly connected to or connected to another component, It is to be understood that this also includes the case where there is another component between the component and another component.
As used herein, "includes," "can include." And the like refer to the existence of the corresponding function, operation, component, etc. disclosed, and do not limit one or more additional functions, operations, components, and the like. Also, in this specification, "includes." Or "have." And the like are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described in the specification, and that one or more other features or numbers, step, action, component, part, or It should be understood that they do not preclude the presence or possibility of adding these in advance.
As used herein, the singular forms "a", "an" and "the" include plural forms unless the context clearly indicates otherwise.
Hereinafter, with reference to the accompanying drawings will be described the present invention.
1 is a diagram showing the structure of a test automation network to which the present invention can be applied.
Referring to FIG. 1, the
The
The
In the
In addition, in the
At least one of the equipment (130a, 130b, 130c) is connected to the
The network instrument can enable two- and three-layer protocols of TCP / IP and generate data traffic to observe the data flow. Routers allow the testing of Layers 2 and 3 between the devices connected to the router. However, the equipment that can be tested by the
2 is a block diagram showing the configuration of a test automation device according to the present invention.
Referring to FIG. 2, the
The
According to an embodiment of the present disclosure, the
The
In various embodiments of the present disclosure, the
According to various embodiments of the present disclosure, the connection confirmation request message may be an ICMP request message or an SNMP request message, and the connection confirmation response message may be an ICMP response message or an SNMP response message. In addition, in various embodiments, the specific layer may be a TCP / IP three layer.
In addition, in various embodiments, when the connection confirmation response message for the connection confirmation request message is not received from some of the at least one
More specific operations of the
The
3 is a flowchart illustrating a test automation method according to the present invention.
Referring to FIG. 3, the test automation method according to the present disclosure may start with the
The initialization operation may be performed by a computer software (eg, a computer language) that the test automation software can recognize in order for the
When the test is started by the initialization operation, the
The connection confirmation request message is for confirming a connection state of a specific layer between the
The
During the test, the
Thereafter, the
The connection confirmation response message is a response message indicating whether or not the connection confirmation request message has been correctly received. The device that correctly receives the connection confirmation request message from the
Alternatively, even if the equipment correctly receives the connection confirmation request message, if the connection between the
The
According to various embodiments of the present disclosure, the connection confirmation response message may be an ICMP response message or an SNMP response message. In various embodiments, the specific layer may be a TCP / IP three layer. As shown in FIG. 5, the connection confirmation response message may be transferred from the at least one
When the connection confirmation response message is received from any of the
On the other hand, if the connection confirmation response message is not received from any of the
According to various embodiments of the present disclosure, the connection confirmation response message may not be received due to a missing packet due to a temporary communication failure. Therefore, the
According to various embodiments of the present disclosure, when it is determined that the connection between the
In various embodiments, the
Alternatively, in various embodiments, the
In addition, the disconnection information output form of the
The
6 is a flowchart illustrating a test automation method of a test automation device according to the present invention.
Referring to FIG. 6, the
The
Next, the
According to various embodiments of the present disclosure, the connection confirmation request message may be an ICMP request message or an SNMP request message. In various embodiments, the specific layer may be a TCP / IP three layer.
During the test, the
Subsequently, the
The
According to various embodiments of the present disclosure, the connection confirmation response message may be an ICMP response message or an SNMP response message. In various embodiments, the specific layer may be a TCP / IP three layer.
When the connection confirmation response message is received from any of the
On the other hand, if the connection confirmation response message is not received from any of the
According to various embodiments of the present disclosure, the connection confirmation response message may not be received due to a missing packet due to a temporary communication failure. Therefore, the
In addition, when it is determined that the connection between the
In various embodiments, the
Alternatively, in various embodiments, the
In addition, the disconnection information output form of the
Thereafter, the
Those skilled in the art will appreciate that various modifications and variations can be made without departing from the essential features of the present invention. In addition, the embodiments disclosed in the specification and the drawings merely present specific examples to easily explain and easily understand the contents of the present invention, and are not intended to limit the scope of the present invention. Therefore, the scope of the present invention should be construed that all changes or modifications derived based on the technical spirit of the present invention are included in the scope of the present invention in addition to the embodiments disclosed herein.
100: test automation network
110: test automation device
120: switch
130a, 130b, 130c: equipment
111: communication unit
112: control unit
113: output unit
Claims (10)
Transmitting a connection confirmation request message to the at least one device by using the address information of the at least one device at a predetermined cycle; And
Determining a connection state with the at least one device based on whether the connection confirmation response message corresponding to the connection confirmation request message within the predetermined response time is received from the at least one device,
Determining a connection state with the at least one device,
Determining that the connection with the at least one device is lost when the connection confirmation response message is not received within the predetermined response time;
If it is determined that the connection with the at least one device is lost, further comprising outputting information about the connection state with the at least one device visually or audibly,
The connection state with the at least one disconnected device is displayed as a graphical user interface (GUI) on a network displayed in the form of a topology, or a command input UI (User Interface) corresponding to the at least one disconnected device is deactivated. Displayed, the test automation method.
Determining a connection state with the at least one device,
Determining that a connection with the at least one device is received when the connection confirmation response message is received within the predetermined response time.
The connection confirmation request message and the connection confirmation response message,
A test automation method comprising a message based on Internet Control Message Protocol (ICMP) or Simple Network Management Protocol (SNMP).
A processor; And
At least one instruction executed by the processor includes a memory (memory),
The at least one command is
And transmits a connection confirmation request message to the at least one device by using the address information of the at least one device at regular intervals.
And determining a connection state with the at least one device based on whether or not a connection confirmation response message corresponding to the connection confirmation request message within the predetermined response time is received from the at least one device.
If the connection confirmation response message is not received within the predetermined response time, it is executed to determine that the connection with the at least one device is lost.
If it is determined that the connection with the at least one device is disconnected, it is executed to output information about the connection state with the at least one device visually or audibly,
The connection state with the at least one disconnected device is displayed as a graphical user interface (GUI) on the network displayed in the form of a topology, or a command input user interface (UI) corresponding to the at least one disconnected device. Test automation device, which is displayed by disabling it.
The at least one command is
And upon receiving the connection confirmation response message within the constant response time, determine to be connected with the at least one equipment.
The connection confirmation request message and the connection confirmation response message,
A test automation device comprising a message based on Internet Control Message Protocol (ICMP) or Simple Network Management Protocol (SNMP).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150133314A KR102021333B1 (en) | 2015-09-21 | 2015-09-21 | Test automation method and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150133314A KR102021333B1 (en) | 2015-09-21 | 2015-09-21 | Test automation method and apparatus thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170034686A KR20170034686A (en) | 2017-03-29 |
KR102021333B1 true KR102021333B1 (en) | 2019-09-16 |
Family
ID=58498279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150133314A KR102021333B1 (en) | 2015-09-21 | 2015-09-21 | Test automation method and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102021333B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102170739B1 (en) * | 2020-03-23 | 2020-10-27 | 국방과학연구소 | Heterogeneous test equipment for weapon system environment/reliability test |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000357135A (en) | 1999-06-15 | 2000-12-26 | Fujitsu Ltd | Supervisory control method for network equipment |
KR100705595B1 (en) * | 2006-01-27 | 2007-04-09 | 삼성전자주식회사 | Apparatus and method of network access state checking in network terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100598974B1 (en) * | 2001-02-06 | 2006-07-12 | 주식회사 케이티프리텔 | Apparatus and method for checking of network system |
KR100514357B1 (en) * | 2003-05-22 | 2005-09-13 | (주)비오더블테크놀로지 | Method and System for Examining Network by Using PDA |
-
2015
- 2015-09-21 KR KR1020150133314A patent/KR102021333B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000357135A (en) | 1999-06-15 | 2000-12-26 | Fujitsu Ltd | Supervisory control method for network equipment |
KR100705595B1 (en) * | 2006-01-27 | 2007-04-09 | 삼성전자주식회사 | Apparatus and method of network access state checking in network terminal |
Also Published As
Publication number | Publication date |
---|---|
KR20170034686A (en) | 2017-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2885936B1 (en) | Configuration of a new enrollee device for use in a communication network | |
EP3382942A1 (en) | Network service configuration method and network management device | |
CN104935593A (en) | Data message transmitting method and device | |
JP2008259203A (en) | Configuration and management of wireless network device | |
WO2016202066A1 (en) | Information acquisition method, client device and service end device | |
JP6347813B2 (en) | Network switch, device management system, and device management method thereof | |
JP6433578B2 (en) | Information self-registration method, apparatus, system, and computer storage medium | |
WO2023001082A1 (en) | Network configuration method and apparatus | |
CN112463281A (en) | Remote assistance method, device, system, electronic equipment and storage medium | |
KR102021333B1 (en) | Test automation method and apparatus thereof | |
US11601433B2 (en) | Communication device, communication method, and communication system | |
CN107231275B (en) | Method for connection configuration of user equipment and household equipment | |
JP6676709B2 (en) | Pairing method between IoT device and cloud service | |
JP5262353B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD | |
JP7312651B2 (en) | electrical equipment | |
KR101730404B1 (en) | Method of managing network route and network entity enabling the method | |
WO2016180197A1 (en) | Method and apparatus for discovering network element link, and network management system server | |
US11689416B2 (en) | Hardware device onboarding | |
TW201437825A (en) | System and method of testing data transmitting performance of computer | |
US20150052356A1 (en) | Information processing apparatus and method | |
KR101268677B1 (en) | Apparatus and method for reprogramming a plurality of ECUs | |
CN115373927A (en) | Product testing method, device, electronic equipment and computer readable medium | |
JP2016212604A5 (en) | ||
AU2023285717A1 (en) | System and method for a secure unidirectional network interface | |
KR101001557B1 (en) | Apparatus for managing traffic of network equipments and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |