CN112738230B - Automatic network gate testing system and working method thereof - Google Patents

Automatic network gate testing system and working method thereof Download PDF

Info

Publication number
CN112738230B
CN112738230B CN202011591868.5A CN202011591868A CN112738230B CN 112738230 B CN112738230 B CN 112738230B CN 202011591868 A CN202011591868 A CN 202011591868A CN 112738230 B CN112738230 B CN 112738230B
Authority
CN
China
Prior art keywords
test
gatekeeper
script
task
request
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
CN202011591868.5A
Other languages
Chinese (zh)
Other versions
CN112738230A (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.)
Chengdu 30rtom Mobile Communication Co ltd
Original Assignee
Chengdu 30rtom Mobile Communication Co 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 Chengdu 30rtom Mobile Communication Co ltd filed Critical Chengdu 30rtom Mobile Communication Co ltd
Priority to CN202011591868.5A priority Critical patent/CN112738230B/en
Publication of CN112738230A publication Critical patent/CN112738230A/en
Application granted granted Critical
Publication of CN112738230B publication Critical patent/CN112738230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The invention relates to the technical field of network security, and discloses an automatic gatekeeper test system and a working method thereof, wherein the system comprises a user representation layer, a logic processing layer and a driving layer; the user presentation layer is responsible for receiving and displaying a test task request, a test result query request and a request result display of a user; the logic processing layer is responsible for analyzing the test task request into a plurality of test instruction sets which are sequentially or parallelly executed, issuing the test instruction sets to the driving layer, judging, recording and returning test results according to the gatekeeper response data, and responding to the test result query request and returning test result query data; the driving layer is responsible for resolving the test instruction and then issuing the test instruction to the gatekeeper, resolving the gatekeeper response data and then returning the gatekeeper response data to the logic processing layer. The invention not only can realize the automation of complex network and scene of the network gate, but also combines the test strategy, simplifies the test operation, ensures that the test system is easy to maintain and improves the efficiency of network gate test and management.

Description

Automatic network gate testing system and working method thereof
Technical Field
The invention relates to the technical field of network security, in particular to an automatic network gate testing system and a working method thereof.
Background
With the rapid development of informatization, information interaction between different networks is more and more required, and the information interaction includes information interaction between networks with high security levels and networks with low security levels. Under the scene, if a physical isolation card is adopted, the information interaction requirement cannot be met, if a firewall is adopted, the internal information leakage and the infiltration of external viruses and hackers cannot be prevented, and the gateway can avoid the defects of the internal information leakage and the external viruses and hackers, and provides safe and appropriate application data exchange, so that the gateway is applied more and more widely. But after being widely used, the test device also faces more and more strict and complex test requirements. The network gate usually adopts a user customized protocol, and the equipment has multiple running program types and complex application networking (many-to-many and cluster communication networking built by multiple computers), so that the traditional test method has the following problems:
1. for different types of equipment programs, different testing tools are generally required to be adopted and even different platforms are required to be used for testing, so that the automation development difficulty for a testing scene is high, and the requirements on the skills of testing and maintaining personnel are high;
2. the communication and protocol interfaces of the test interface and the equipment are not separated, and the types and versions of the tested network gates are more, so that the compatibility of an automatic test script is poor, and the maintenance workload is large;
3. the script lacks the design of scheduling management, and can not carry out automated test to complicated network deployment, multi-scene concurrency, leads to automatic coverage, is difficult to promote efficiency of software testing.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the existing problems, an automatic network gate testing system and a working method thereof are provided.
On one hand, the invention provides an automatic network gate testing system, which has the following specific technical scheme:
an automatic network gate testing system comprises a user representation layer, a logic processing layer and a driving layer;
the user presentation layer is responsible for receiving and displaying a test task request and a test result query request of a user and for displaying a request result;
the logic processing layer is responsible for analyzing the test task request into a plurality of test instruction sets which are sequentially or parallelly executed, issuing the test instruction sets to the driving layer, judging, recording, returning a test result and returning test result query data;
the driving layer is responsible for resolving the test instruction and then issuing the test instruction to the gatekeeper, resolving the gatekeeper response data and then returning the gatekeeper response data to the logic processing layer.
Further, the user presentation layer includes a test tool client, the test tool client runs on a Web browser on a computer, and on one hand, the test tool client is used for receiving a test task request and a test result query request of a user and sending the request to the logic processing layer, on the other hand, the test tool client receives response data from the logic processing layer and displays a user request result, and the number of the test tool clients of the user presentation layer can be increased arbitrarily.
Further, the logic processing layer includes: the system comprises a test tool server, a database and a test scene library, wherein the test tool server, the database and the test scene library all run on a scheduling server; the test tool server communicates with the database and the test scene library, the test tool server is connected with the database to retrieve the test behavior script directory, store and read the execution result of the test task, and the test tool server accesses the storage directory of the test scene library, writes, reads and stores the test behavior script, the test data file and the public function file in the test scene library.
The test tool server comprises a script search engine and a test result search engine, wherein the script search engine retrieves a test behavior script catalog from a database according to a test task request characteristic value input by a user and creates a test task; one test task may include testing of multiple test scenarios. After the test task is generated, manual editing can be carried out, and the test behavior script catalog, the script execution sequence and the execution times are adjusted.
The test result search engine establishes the correlation among the test result query request characteristic value, the test result and the defect library according to the test result query request characteristic value input by the user, automatically generates each dimension test analysis report, and converts the test reports into test tasks.
Further, the driving layer comprises an API interface library and interface driving software of the gatekeeper, and the API interface library and the interface driving software run on the testing machine; the API interface library defines a communication protocol and a communication access interface access method of the gatekeeper, and the interface driving software calls the API interface library to convert a test instruction into a device instruction and a protocol message which can be identified by the gatekeeper after receiving the test instruction, sends the device instruction and the protocol message to the gatekeeper, analyzes gatekeeper response data and returns the gatekeeper response data to the logic processing layer.
The API interface library and the interface driving software can be compiled into files of different operating system platforms and different languages, and the API interface library is a dynamic library file. If the communication mode and the protocol format of the gatekeeper are changed, but the input parameter and the return value definition required by the communication interface are not changed, only the API interface library needs to be replaced; if the input parameters of the communication interface are changed, the calling method of the API interface in the interface driving software is modified, and the modification of the test behavior script is not involved.
On the other hand, the invention also provides a working method of the automatic network gate testing system, which comprises the following steps:
step 1: after the dispatching server, the computer, the testing machine and the gatekeeper are started, communication connection is established;
step 2: a user inputs and submits a test characteristic value at a test tool client on a scheduling server;
and step 3: a script search engine of a test tool server retrieves a test script directory and creates a test task;
and 4, step 4: editing a test task; adjusting a script list and an operation mode;
and 5: and (3) running a test task: the test tool server dynamically generates a script execution queue, reads and analyzes the test networking and test behavior scripts one by one from the test scene library according to the queue, and generates a test instruction after analyzing the test behavior scripts; generally, a script comprises a plurality of test steps, each test step corresponds to a test instruction, and each test instruction designates a tester responsible for execution;
before executing the script, a test network needs to be instantiated, whether equipment in the network is occupied or communication among the equipment is normal is detected, and if the equipment is occupied or the communication is abnormal, the task is stopped to be executed;
step 6: the test instruction generated each time is issued to the interface driving software of the corresponding tester by the test tool server through the SSH protocol; the interface driving software calls the API to generate a device instruction and a message, then issues the device instruction and the message to the gatekeeper, analyzes gatekeeper response data and returns the gatekeeper response data to the test tool server;
and 7: the test tool server judges the test result of the test step, if the judgment is successful, the execution is continued, otherwise, the test scene test is judged not to pass and the test result is stored; if all the test steps of the script are executed and judged to be successful, judging that the test scene passes and storing the test result of the test item;
and step 8: and after all the test scripts are executed, ending the tasks and storing the task test results.
Compared with the prior art, the beneficial effects of adopting the technical scheme are as follows:
the invention can realize the automation of complex networking and complex scenes of the gatekeeper, improves the automation coverage rate of the gatekeeper test and the maintainability and compatibility of the automation script, reduces the difficulty, the cost and the technical requirements of the gatekeeper test, improves the test efficiency, and simplifies the gatekeeper automation test maintenance, expansion and configuration.
Drawings
Fig. 1 is a schematic structural diagram of an automated gatekeeper test system according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a working method of an automated gatekeeper test system according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Some technical terms are first explained:
a network gate: the system is a software and hardware system which provides physical isolation network safety protection equipment and provides moderately controllable data exchange. Generally, a customized protocol and an interface are used for providing data transmission functions such as messages, files and mails, and the Web configuration software function is provided.
UI (user interface): short for user interface. The test task request and the test result query request are submitted by a tester through an input port.
Testing the tool: the software of the B/S structure developed based on the Web framework and the software of the test tool server comprise functions of a Web server, test behavior script compiling and compiling, a search engine, database connection and the like. The client receives the user input request and displays the request response result. After receiving the request of the client, the server carries out classification processing on the request: if the test result is the test result query request, directly connecting the database, querying historical test data, and returning the historical test data to the test tool client; if the test task request is the test task request, starting a search engine, connecting a database according to the input test scene attribute value, retrieving a corresponding test behavior script directory, and creating the test task. When the test tool server runs the test tasks, analyzing the test behavior scripts one by one according to a set sequence, generating test instructions and sending the test instructions to interface driving software of a driving layer; when the test network corresponding to the test scene comprises a plurality of test machines, a specified test instruction needs to be issued to the plurality of test machines. And the testing tool client and the server communicate by using an http protocol.
A search engine: and calling a database storage process according to test characteristic values contained in the test request input by the user, such as stability test, function test, system design verification and XXX version test result, and retrieving the database view.
The interface driving software: and the conversion of the test instruction, the equipment instruction and the equipment protocol data is realized. After receiving a test instruction sent by a test tool server of a logic processing layer, calling a corresponding function in an API (application program interface) library according to an agreed calling method to generate an equipment instruction or protocol data which can be identified by a tested gateway and send the equipment instruction or protocol data to the gateway; and analyzing the response data of the gatekeeper into a test instruction language, and returning the test instruction language to a test tool server of the logic processing layer.
API interface library: and providing files of an operating system and an application program communication interface of the gatekeeper equipment. The API interface library of the test system comprises functions and conventions for gatekeeper equipment instructions (including communication instructions of an operating system and an application program) and a customized protocol communication interface, and is compiled into a dynamic library. And the interface access of the gatekeeper Web application program adopts a browser page recording technology.
And (4) SSH: the abbreviation of Secure Shell is a network communication protocol. OpenSSH is used in the test system. After the SSH protocol configures the private key for access, the command communication between the devices does not need to execute the verification of the login password.
Testing the behavior script: a file written in a scripting language. The method comprises the steps of completing a plurality of test operation steps required to be executed in a certain test scene, judging the execution result of each operation step, judging the execution result of the test scene, and judging and cleaning the environment of the test scene. One test behavior script corresponds to one test scenario. One test behavior script is combined with different test data to form different test instructions, and different test networking coverage, different test interface range coverage, different parameter format input and the like are completed.
Testing a data file: a file of static variable values is recorded. The method comprises the contents of test networking definition (communication IP, version of a tested gateway, communication IP of a testing machine, networking definition variable and the like), parameter range input by a test interface, test object version and the like.
And (3) testing instructions: the operation performed on a certain object to be tested, which is described using a test script language, for example, a file of size 100M is transmitted through a certain gatekeeper. The test command represents a test operation step which cannot be directly identified by the gatekeeper and needs to be converted into a device command.
The device instructs: the interface driving software calls the method of the API interface library, converts the test instruction into the equipment instruction, and can be directly executed at the gatekeeper.
Testing scene: and completing a complete work performance test target, namely a set of test operation steps required to be carried out. If the file transmission test scene includes the steps of channel authorization, transmission mode configuration, file preparation, file reading, file sending, file receiving, file accurate judgment, file type traversal and the like. And single-channel transmission, multi-channel concurrency and multi-channel redundancy transmission belong to three different test scenes and need two different test networks.
As shown in fig. 1, the present embodiment provides an automated gatekeeper test system, which is divided into a user presentation layer, a logic processing layer, and a driver layer.
The user presentation layer comprises a test tool client, the test tool client runs on a Web browser on a computer and starts running by inputting a specified address, and the test tool client communicates with a test tool server of the logic processing layer through an http protocol. The test tool client displays the test result, analyzes and queries, and adopts a nested graphic control carried by the frame.
The user presentation layer is used for receiving a test task request and a test result query request of a user and sending the request to the logic processing layer, and on the one hand, receiving response data from the logic processing layer and displaying a user request result, and the number of test tool clients of the user presentation layer can be increased at will.
The logic processing layer runs on the scheduling server, and comprises: the system comprises a test tool server, a database and a test scene library. The test tool server can be communicated with a database and a test scene library, and the test scene library comprises a test behavior script, a test data file and a public function.
The test tool server side is connected with the database to retrieve the test behavior script directory, stores and reads the execution result of the test task, accesses the storage directory of the test scene library, and writes, reads and stores the test behavior script, the test data file and the public function file in the test scene library.
The test tool server comprises a script search engine and a test result search engine, wherein the script search engine retrieves a test behavior script catalog from a database according to a test task request characteristic value of a test task request input by a user and creates a test task; one test task may include testing of multiple test scenarios. After the test task is generated, manual editing can be carried out, and the test behavior script directory, the script execution sequence and the execution times are adjusted.
The test result search engine establishes the correlation among the test result query request characteristic value, the test result and the defect library according to the test result query request characteristic value input by the user, automatically generates each dimension test analysis report, and converts the test reports into test tasks. Wherein, the defect library stores the test result data of test failure.
Preferably, the database adopts a database view method, and a relational model among the test behavior script, the test characteristic value, the test result and the defect library is established.
The driving layer comprises an API interface library and interface driving software of the gatekeeper, and the API interface library and the interface driving software run on the testing machine; the API interface library defines the communication protocol and the communication access interface access method of the gatekeeper, and after the interface driving software receives the test instruction, the API interface library is called to convert the test instruction into a device instruction and a protocol message which can be identified by the gatekeeper, the device instruction and the protocol message are sent to the gatekeeper, and response data of the gatekeeper are analyzed and returned to the logic processing layer.
Preferably, the API interface library and the interface driver software can be compiled into files of different operating system platforms and different languages, wherein the API interface library is a dynamic library file. If the communication mode and the protocol format of the gatekeeper are changed, but the input parameter and the return value definition required by the communication interface are not changed, only the API interface library is required to be replaced; if the input parameters of the communication interface are changed, the calling method of the API interface in the interface driving software is modified, and the modification of the test behavior script is not involved.
After the user presentation layer submits a test execution request, the search engine calls a database storage process according to the input characteristic value of the user, acquires a request result (a test behavior script directory) in a database view, and automatically creates a test task. After the test task is created, the tester can manually edit the test task on the test tool client, including increasing or decreasing the test behavior script directory, and setting the sequential mode (sequential, random) of script execution.
After the test task is run, the test tool server side firstly reads and analyzes the test networking definition in the test data file, and checks whether the test networking communication is normal. And then, dynamically generating a script execution list according to the set sequential mode, and importing a test behavior script, a test data file and a public function file in the list from a test scene library. Each test instruction is assigned with a corresponding test machine; the test tool sends the test instruction to the interface driving software of the corresponding tester to be executed through the SSH protocol. And after the execution of each test behavior script is finished, connecting the test tool with the database, and inserting a test result record.
The system comprises a scheduling server and a plurality of testing machines in terms of hardware, wherein a plurality of computers can test one or more gatekeepers; the dispatching server, the testing machine, the computer and the network gate are connected with the router and the switch by using a network cable, and meanwhile, SSH (secure Shell) protocols are used among the dispatching server, the testing machine and the network gate to carry out password-free check communication. A tester can run a test tool client (user presentation layer hardware) on a computer to submit a test request; when a plurality of gatekeepers are deployed in a network, a plurality of test tasks of the same and different networks can be executed in parallel, but generally, each gatekeeper can only execute one test task. The dispatching server can communicate with the testers in different network segments through the router.
The embodiment further provides a working method of the automatic gatekeeper test system, as shown in fig. 2, the specific steps are as follows:
the method comprises the following steps: after the dispatching server, the computer, the testing machine and the gatekeeper are started, communication connection is established;
step two: a user inputs and submits test characteristic values at a test tool client, such as 'C-shaped equipment', 'stability test', 'function test', 'no test' and the like;
step three: a script search engine of a test tool server side retrieves a test script directory and creates a test task;
step four: edit test task (optional): adjusting a script list and an operation mode;
step five: and (3) running a test task: the test tool dynamically generates a script execution queue, and reads and analyzes test networking and test behavior scripts from the test scene library one by one according to the queue. Before executing the script, the test networking is required to be instantiated, whether equipment in the networking is occupied or not is detected, whether communication among the equipment is normal or not is detected, and if the equipment is occupied or not is abnormal, the task is stopped being executed. Analyzing the test behavior script and then generating test instructions (one script comprises a plurality of test steps, each test step corresponds to one test instruction, and each test instruction designates a tester responsible for execution);
step six: the test instruction generated each time is issued to the interface driving software of the corresponding tester by the test tool through an SSH protocol;
step seven: the interface driving software calls the API to generate a device instruction and a message, then issues the device instruction and the message to the gatekeeper, analyzes gatekeeper response data and returns the gatekeeper response data to the testing tool;
step eight: the test tool judges the test result of the test step, if the test result is successful, the test is continuously executed, otherwise, the test scene test is judged not to pass and the test result is stored; all the test steps of the script are executed and judged to be successful, and then the test scene is judged to pass and the test result of the test item is stored;
step nine: and after all the test scripts are executed, ending the tasks and storing the task test results.
In the invention, the test behavior script, the public function and the search engine can use other languages besides Python script language; the test data file can be defined by using a script language, and can also be used for storing data by using a general file; the used database can use a common database (MySQL, sqlite and the like), and can also use other physical storage structures; the Web framework can be selected according to the selected scripting language; the database view chart can be flexibly defined according to the characteristics of the product.
The invention has the following advantages:
1. the automation of complex networking and complex test scenes can be realized, and the gatekeeper equipment of a plurality of networking can be simultaneously tested and monitored.
2. Using an API interface library, a gatekeeper protocol and an interface change pair without modifying the test script; interface driving software is used, and when the formats of the input parameters and the return values of the API interface are changed, only the driving software needs to be modified; the maintenance workload of the test system is reduced.
3. A tester only needs to use a test requirement description language such as cluster networking and C-type equipment instead of equipment instructions at a user presentation layer, and can quickly customize and run test tasks by using a test script and a result search engine, generate a test report and a coverage analysis report and improve the test efficiency.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification, and to any novel method or process steps or any novel combination of steps disclosed. Those skilled in the art should appreciate that they can make insubstantial changes and modifications without departing from the spirit of the invention as claimed.

Claims (8)

1. An automatic change net floodgate test system which characterized in that: the system comprises a user representation layer, a logic processing layer and a driving layer;
the user presentation layer is responsible for receiving and displaying a test task request and a test result query request of a user and for displaying a request result;
the logic processing layer is responsible for analyzing the test task request into a plurality of test instruction sets which are sequentially or parallelly executed, issuing the test instruction sets to the driving layer, judging and recording according to the gatekeeper response data, returning a test result, responding to the test result query request and returning test result query data; the logical processing layer comprises: the system comprises a test tool server, a database and a test scene library, wherein the test tool server, the database and the test scene library all run on a scheduling server; the test tool server communicates with a database and a test scene library; wherein:
the test tool server is connected with a database to retrieve a test behavior script directory, and stores and reads the execution result of the test task; the test tool server accesses a storage directory of a test scene library, and compiles, reads and stores a test behavior script, a test data file and a public function file in the test scene library;
the test tool server comprises a script search engine and a test result search engine, wherein the script search engine retrieves a script catalog from a database according to a test task request characteristic value input by a user and creates a test task; the test result search engine inquires the characteristic value according to the test result input by the user, establishes the association among the characteristic value of the test result inquiry request, the test result and the defect library, and automatically generates test analysis reports of all dimensions, wherein the test analysis reports can be converted into test tasks;
the driving layer is responsible for resolving the test instruction and then issuing the test instruction to the gatekeeper, resolving the gatekeeper response data and returning the gatekeeper response data to the logic processing layer;
after the user presentation layer submits a test execution request, the search engine calls a database storage process according to the input characteristic value of the user, obtains a request result in a database view and automatically creates a test task; after the test task is established, a tester manually edits the test task on a test tool client, wherein the test task comprises increasing or decreasing a test behavior script catalog and setting a script execution sequence mode;
after the test task is operated, the test tool server side reads and analyzes the test networking definition in the test data file, and checks whether the test networking communication is normal or not; then according to the set sequence mode, dynamically generating a script execution list, and importing a test behavior script, a test data file and a public function file in the list from a test scene library; each test instruction is assigned with a corresponding test machine; the test tool sends the test instruction to the interface driving software of the corresponding tester to execute through an SSH protocol; and after the execution of each test behavior script is finished, connecting the test tool with the database, and inserting a test result record.
2. The automated gatekeeper test system of claim 1, wherein: the database adopts a view method to establish a relation model among a test behavior script, a test result query request characteristic value, a test result and a defect library.
3. An automated gatekeeper test system according to claim 1 or 2, characterized by: the user presentation layer comprises a test tool client, the test tool client runs on a Web browser on a computer, and is used for receiving a test task request and a test result query request of a user and issuing the request to the logic processing layer on one hand, and receiving response data from the logic processing layer on the other hand and displaying a user request result on the other hand.
4. The automated gatekeeper test system of claim 3, wherein: the driving layer comprises an API interface library and interface driving software of the gatekeeper, and the API interface library and the interface driving software run on the tester; the API interface library defines a communication protocol and a communication access interface access method of the gatekeeper, and the interface driving software calls the API interface library to convert a test instruction into a device instruction and a protocol message which can be identified by the gatekeeper after receiving the test instruction, sends the device instruction and the protocol message to the gatekeeper, analyzes gatekeeper response data and returns the gatekeeper response data to the logic processing layer.
5. The automated gatekeeper test system of claim 4, wherein: the API interface library is a dynamic library file.
6. The automated gatekeeper test system of claim 5, wherein: and SSH protocol is used among the dispatching server, the tester and the gatekeeper to carry out password-free check communication.
7. An operating method of an automatic gatekeeper testing system, which is used for the automatic gatekeeper testing system according to any one of claims 1 to 6, and comprises the following steps:
step 1: the method comprises the steps that communication connection is established after a dispatching server, a computer, a testing machine and a gatekeeper are started;
and 2, step: a user inputs and submits a test task request characteristic value at a test tool client on a scheduling server;
and 3, step 3: a script search engine of a test tool server retrieves a test script directory and creates a test task;
and 4, step 4: editing a test task;
and 5: and (3) running a test task: the test tool server dynamically generates a script execution queue, reads and analyzes the test networking and test behavior scripts one by one from the test scene library according to the queue, and generates a test instruction after analyzing the test behavior scripts;
step 6: the test instruction generated each time is issued to the interface driving software of the corresponding tester by the test tool server through the SSH protocol; the interface driving software calls the API to generate a device instruction and a message, then issues the device instruction and the message to the gatekeeper, analyzes gatekeeper response data and returns the gatekeeper response data to the test tool server;
and 7: the test tool server judges the test result of the test step, if the judgment is successful, the execution is continued, otherwise, the test scene test is judged not to pass and the test result is stored; if all the test steps of the script are executed and judged to be successful, judging that the test scene passes and storing the test result of the test item;
and step 8: and after all the test scripts are executed, ending the tasks and storing the task test results.
8. The method as claimed in claim 7, wherein in step 5, before executing the script, a test network needs to be instantiated and a test result is checked to see whether devices in the network are occupied or communication between the devices is normal, and if the devices are occupied or communication is not normal, the task is stopped.
CN202011591868.5A 2020-12-29 2020-12-29 Automatic network gate testing system and working method thereof Active CN112738230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011591868.5A CN112738230B (en) 2020-12-29 2020-12-29 Automatic network gate testing system and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011591868.5A CN112738230B (en) 2020-12-29 2020-12-29 Automatic network gate testing system and working method thereof

Publications (2)

Publication Number Publication Date
CN112738230A CN112738230A (en) 2021-04-30
CN112738230B true CN112738230B (en) 2023-02-28

Family

ID=75607691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011591868.5A Active CN112738230B (en) 2020-12-29 2020-12-29 Automatic network gate testing system and working method thereof

Country Status (1)

Country Link
CN (1) CN112738230B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360382A (en) * 2021-06-08 2021-09-07 北京百度网讯科技有限公司 Test method, device, equipment and storage medium
CN113923442A (en) * 2021-09-24 2022-01-11 湖北三赢兴光电科技股份有限公司 Universal software testing method and system for camera module
CN114050990B (en) * 2021-11-10 2023-12-01 湖北天融信网络安全技术有限公司 Method and device for testing network isolation equipment, storage medium and electronic equipment
CN114285668B (en) * 2021-12-30 2023-11-28 北京天融信网络安全技术有限公司 Gate testing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN105068927A (en) * 2015-08-04 2015-11-18 株洲南车时代电气股份有限公司 Keyword drive-based automatic test method of urban rail drive control units
CN206573684U (en) * 2017-02-20 2017-10-20 华东师范大学 A kind of high speed circuit board intelligent test device
CN107508725A (en) * 2017-08-24 2017-12-22 航天中认软件测评科技(北京)有限责任公司 For the method for automatic test, apparatus and system
CN109388530A (en) * 2018-08-22 2019-02-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Blade server-oriented automatic test platform and test method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2297994A1 (en) * 2000-02-04 2001-08-04 Ibm Canada Limited-Ibm Canada Limitee Automated testing computer system components
CN102377733A (en) * 2010-08-12 2012-03-14 盛科网络(苏州)有限公司 Automatic testing system of application layer protocol and automatic testing method thereof
CN106209515B (en) * 2016-07-12 2019-06-28 中国南方电网有限责任公司电网技术研究中心 Access network equipment automatization test system
US10931558B2 (en) * 2017-11-27 2021-02-23 Jpmorgan Chase Bank, N.A. Script accelerate
US20190188119A1 (en) * 2017-12-14 2019-06-20 Cognizant Technology Solutions India Pvt. Ltd. System and a method for providing automated performance detection of application programming interfaces

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN105068927A (en) * 2015-08-04 2015-11-18 株洲南车时代电气股份有限公司 Keyword drive-based automatic test method of urban rail drive control units
CN206573684U (en) * 2017-02-20 2017-10-20 华东师范大学 A kind of high speed circuit board intelligent test device
CN107508725A (en) * 2017-08-24 2017-12-22 航天中认软件测评科技(北京)有限责任公司 For the method for automatic test, apparatus and system
CN109388530A (en) * 2018-08-22 2019-02-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Blade server-oriented automatic test platform and test method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"数据通信设备自动化测试框架设计与实现";张世伟;《中国硕士学位论文全文数据库信息科技辑》;20171001;全文 *
宽带接入网设备的自动化测试系统的设计与实现;覃健;《大众科技》;20111020(第10期);全文 *
李旋 ; 顾建新 ; 李毅."网络安全专用产品网闸性能测试方法".《计算机系统应用》.2019, *

Also Published As

Publication number Publication date
CN112738230A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN112738230B (en) Automatic network gate testing system and working method thereof
US7117411B2 (en) Methods and systems for testing communications network components
CA2694303C (en) Extensible execution language
US20200310945A1 (en) Methods for improved web application testing using remote headless browsers and devices thereof
US7827531B2 (en) Software testing techniques for stack-based environments
US20070211697A1 (en) Method of analyzing network with generated traffic
US20070211696A1 (en) Method of generating network traffic
US11392873B2 (en) Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios
US20090287643A1 (en) Context based script generation
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
JP2001188765A (en) Technique for referring to fault information showing plural related fault under distributed computing environment
CN111193602B (en) Automatic operation and maintenance management system and method
CN109560996B (en) Automatic testing system and method for terminal of Internet of things
EP3588302B1 (en) Method and system for generating and managing virtual industrial devices in an industrial network
CN104702624A (en) Method and system for logging virtual machine based on Cloud Stack platform
JP2002535773A (en) System and method for testing and validating a device having an embedded operating system
WO2017173972A1 (en) Flow tracking method and apparatus, and storage medium
CN109710513B (en) Engine for automatic test of CBTC (communication based train control) system
CN111104336A (en) Online service interface testing method and device based on container and VNC
CN112272190B (en) Data access method and device
US11874728B2 (en) Software application diagnostic aid
WO2021151314A1 (en) Dns automatic performance test method, apparatus, device, and readable storage medium
US20050203717A1 (en) Automated testing system, method and program product using testing map
US20200412621A1 (en) Health check automation for virtual network functions
Hine et al. Scalable emulation of enterprise systems

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