CN113596900A - Automatic testing method for multi-scene WIFI - Google Patents
Automatic testing method for multi-scene WIFI Download PDFInfo
- Publication number
- CN113596900A CN113596900A CN202110862171.5A CN202110862171A CN113596900A CN 113596900 A CN113596900 A CN 113596900A CN 202110862171 A CN202110862171 A CN 202110862171A CN 113596900 A CN113596900 A CN 113596900A
- Authority
- CN
- China
- Prior art keywords
- test
- testing
- wifi
- tested
- instrument
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 167
- 238000000034 method Methods 0.000 claims abstract description 6
- 238000013515 script Methods 0.000 claims description 23
- 238000010998 test method Methods 0.000 claims 1
- 238000009826 distribution Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Debugging And Monitoring (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an automatic testing method of multi-scene WIFI, which comprises a testing system, a control computer, a Wifi testing instrument and to-be-tested Wireless equipment, wherein the testing system is used for controlling each testing component and consists of the control computer of the testing equipment, the Wifi testing instrument and the to-be-tested Wireless equipment; the test flow is as follows: adjusting and testing environment, and preparing benchmark test configuration; configuring an AP to be tested; generating a test execution file; executing the test; summarizing the test data to generate a test report, and generating a PDF test report and chart summarization when all test items are finished. The invention can greatly reduce manual operation, save labor cost, reduce manual misoperation, reduce interference of external environment on wifi signals, and ensure high environment consistency, thereby improving test accuracy. The testing system can simultaneously support wifi uninterrupted testing of 2.4G and 5G frequency bands, and can directly control and manage the AP to be tested and the testing instrument through a program, so that the testing process is unattended.
Description
Technical Field
The invention relates to the field of automatic testing, in particular to an automatic testing method for multi-scene WIFI.
Background
Currently, when multi-scenario WIFI is tested, the testing method in the industry mainly uses manual testing, and needs to manually and continuously adjust parameters, modify the configuration of the device to be tested, and then start testing, which is long in testing time and low in testing efficiency. Because each manual test causes varying degrees of change to the test environment, the test environment is not very unique, which has a probability of causing inaccuracy in the test data.
Disclosure of Invention
The invention aims to provide an automatic testing method for multi-scene WIFI, which aims to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
an automatic testing method for multi-scene WIFI is disclosed, wherein a testing system of the automatic testing method comprises the following components:
controlling the computer: the device is mainly used for controlling each test component and test equipment; the test cases and test scripts of the testers are stored on the host, and the corresponding test scripts can be executed during testing;
wifi test instrument: the WLAN client can be simulated to test the AP and the terminal equipment of 802.11 a/b/g/n/ac;
the Wireless equipment to be tested: the AP equipment to be tested is divided into a 2.4G frequency band, a 5G frequency band and different antenna distributions.
The device to be tested is connected with the control computer through the Ethernet and the serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the device to be tested through the Wifi cable and the Ethernet.
The utility model provides an automatic test system of multi-scenario WIFI, its work flow as follows:
s1, debugging environment, preparing benchmark test configuration:
the testing environment needs to be adjusted manually for the first time, a testing reference script can be obtained by using a third-party AP, and a parameter model is provided for the subsequent automatic testing.
S2, configuring the AP to be tested
And the tester executes the test script, and the main program is connected with the AP to be tested in a serial port/GUI/Telnet mode and the like to perform service configuration.
S3, generating a test execution file
The tester calibrates the environment, starts to execute the test main program, and the main program generates a test execution file corresponding to the test program based on the Sample Profile template, namely the reference script, according to the test item, namely the test script, names the test program according to the test item, and stores the test execution file in a separate directory.
S4, executing test
And then, starting to execute the test script, calling a third-party lib library function by the script according to different operations, calling a private API of the instrument to perform different operation steps, and retrieving the test result and data.
S5 summarizing test data to generate test report
The main program calls an instrument API interface to read test data and test results through a Lib library function, separately writes the test data and the test results into files, and stores the files and corresponding directories; and finally, after all the test items are finished, generating a PDF test report and a chart summary.
Compared with the prior art, the invention has the advantages that:
1. can greatly reduced manual operation, when using manpower sparingly, also reduce the manual maloperation, reduce external environment and to wifi signal interference, guarantee the high uniformity of environment to improve the test accuracy.
2. The testing system can simultaneously support wifi uninterrupted testing of 2.4G and 5G frequency bands, and can directly control and manage the AP to be tested and the testing instrument through a program, so that the testing process is unattended.
Drawings
Fig. 1 is a topological relation diagram of an automatic testing method for multi-scenario WIFI.
FIG. 2 is a flow chart of a test system of the inventive method.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Referring to fig. 1 and 2, an automated testing method for multi-scenario WIFI includes the following components:
controlling the computer: the device is mainly used for controlling each test component and test equipment; the test cases and test scripts of the testers are stored on the host, and the corresponding test scripts can be executed during testing;
wifi test instrument: the WLAN client can be simulated to test the AP and the terminal equipment of 802.11 a/b/g/n/ac;
the Wireless equipment to be tested: the AP equipment to be tested is divided into a 2.4G frequency band, a 5G frequency band and different antenna distributions.
The device to be tested is connected with the control computer through the Ethernet and the serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the device to be tested through the Wifi cable and the Ethernet.
As shown in fig. 2, an automated testing system for multi-scenario WIFI includes the following work flows:
s1, debugging environment, preparing benchmark test configuration:
the testing environment needs to be adjusted manually for the first time, a testing reference script can be obtained by using a third-party AP, and a parameter model is provided for the subsequent automatic testing.
S2, configuring the AP to be tested
And the tester executes the test script, and the main program is connected with the AP to be tested in a serial port/GUI/Telnet mode and the like to perform service configuration.
S3, generating a test execution file
The tester calibrates the environment, starts to execute the test main program, and the main program can generate a test execution file corresponding to the test item based on the Sample Profile template (i.e. the reference script), i.e. the test script, named according to the test item, and is stored in a separate directory.
S4, executing test
And then, starting to execute the test script, calling a third-party lib library function by the script according to different operations, calling a private API of the instrument to perform different operation steps, and retrieving the test result and data.
S5 summarizing test data to generate test report
The main program calls an instrument API interface to read test data and test results through a Lib library function, separately writes the test data and the test results into files, and stores the files and corresponding directories; and finally, after all the test items are finished, generating a PDF test report and a chart summary.
The test system of the invention can support the test of 2.4G and 5G dual-frequency equipment, and can support the test of a plurality of scenes in a plurality of directions, such as: 2.4G TX/RX/bi-directional, 5G TX/RX/bi-directional, dual-frequency TX/RX/bi-directional, and multi-Client scenarios.
According to the invention, through a program written by VBScript, a third party API is directly called to replace the operation of an artificial graphical interface, so that unattended operation in a test process can be realized; the test parameter model is configured according to parameters of manual debugging and testing, and then the test system carries out secondary modification, and test data used in the automatic test process accords with an actual scene.
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.
Claims (5)
1. An automatic test method of multi-scene WIFI comprises a test system consisting of a control computer for controlling each test component and test equipment, a Wifi test instrument and to-be-tested Wireless equipment, and is characterized in that the to-be-tested Wireless equipment is connected with the control computer through an Ethernet and a serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the to-be-tested Wireless equipment through a Wifi cable and the Ethernet; the workflow of the test system is as follows:
s1, debugging environment, preparing benchmark test configuration: the testing environment needs to be adjusted manually for the first time, a testing reference script can be obtained by using a third-party AP, and a parameter model is provided for the subsequent automatic testing;
s2, configuring the AP to be tested: the tester executes the test script, and the main program is connected with the AP to be tested in a serial port/GUI/Telnet mode and the like to carry out service configuration;
s3, generating a test execution file: the tester calibrates the environment, starts to execute a test main program, and the main program generates a test script corresponding to the test item according to the test item based on the SampleProfile template, names the test script according to the test item, and stores the test script in an independent directory;
s4, executing the test: starting to execute the test script, calling a third party lib library function by the script according to different operations, then calling a private API of the instrument to perform different operation steps, and retrieving test results and data;
s5, summarizing test data to generate a test report: the main program calls an instrument API interface to read test data and test results through a Lib library function, separately writes the test data and the test results into files, and stores the files and corresponding directories; and finally, after all the test items are finished, generating a PDF test report and a chart summary.
2. The automatic testing method for multi-scenario WIFI according to claim 1, wherein the testing system can support testing of 2.4G and 5G dual-frequency devices and can support testing of multiple scenarios in multiple directions.
3. The automatic testing method for multi-scenario WIFI according to claim 1, wherein the testing system can be integrated into an automatic testing framework, deployed in a centralized manner, and capable of executing the program independently, and is high in portability.
4. The automatic testing method for multi-scenario WIFI according to claim 1, wherein the testing parameter model is configured according to parameters manually adjusted and tested, and then is secondarily modified by the testing system, and testing data used in the automatic testing process conforms to an actual scenario.
5. The automated multi-scenario WIFI testing method according to claim 1, wherein the testing system can be transplanted and maintained across platforms, and supports different development languages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110862171.5A CN113596900B (en) | 2021-07-29 | 2021-07-29 | Automatic testing method for multi-scene WIFI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110862171.5A CN113596900B (en) | 2021-07-29 | 2021-07-29 | Automatic testing method for multi-scene WIFI |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113596900A true CN113596900A (en) | 2021-11-02 |
CN113596900B CN113596900B (en) | 2024-02-06 |
Family
ID=78251584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110862171.5A Active CN113596900B (en) | 2021-07-29 | 2021-07-29 | Automatic testing method for multi-scene WIFI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113596900B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103560829A (en) * | 2013-10-31 | 2014-02-05 | 上海斐讯数据通信技术有限公司 | Method and system for automatic testing of UNI ports |
CN104618198A (en) * | 2015-03-03 | 2015-05-13 | 广西英伦信息技术股份有限公司 | Android system-based integrated intelligent network test system and test method thereof |
CN106792803A (en) * | 2016-12-02 | 2017-05-31 | 深圳市极致汇仪科技有限公司 | The Devices to test parallel test method and system of a kind of double frequency multiple antennas |
-
2021
- 2021-07-29 CN CN202110862171.5A patent/CN113596900B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103560829A (en) * | 2013-10-31 | 2014-02-05 | 上海斐讯数据通信技术有限公司 | Method and system for automatic testing of UNI ports |
CN104618198A (en) * | 2015-03-03 | 2015-05-13 | 广西英伦信息技术股份有限公司 | Android system-based integrated intelligent network test system and test method thereof |
CN106792803A (en) * | 2016-12-02 | 2017-05-31 | 深圳市极致汇仪科技有限公司 | The Devices to test parallel test method and system of a kind of double frequency multiple antennas |
Also Published As
Publication number | Publication date |
---|---|
CN113596900B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102243281B (en) | Batch test method and system for PCBA (Printed Circuit Board Assembly) of Bluetooth headset | |
CN112783794B (en) | Aviation communication radio station software testing system | |
CN105094783A (en) | Method and device for testing Android application stability | |
CN101272422A (en) | Mobile phone automatized test method | |
CN112839323A (en) | Bluetooth device testing method and device, terminal and computer readable storage medium | |
CN102129025A (en) | Chip test device and method | |
CN104978262A (en) | Terminal test method and terminal test device | |
CN106093897A (en) | The test system of a kind of radar system and method for testing | |
CN114501501B (en) | Configuration management method, device, equipment and medium for mobile communication network target range | |
CN103913672B (en) | A kind of satellite low frequency interface automatization test system | |
CN112231206A (en) | Script editing method for application program test, computer readable storage medium and test platform | |
CN111723009A (en) | Framework system of python automated testing series products | |
CN105760300A (en) | Automatic STK/UTK service testing method and system | |
CN104216823A (en) | Automatic testing method and master control device | |
CN113596900B (en) | Automatic testing method for multi-scene WIFI | |
CN113360383A (en) | Automatic test software data dynamic synchronization method of comprehensive detection equipment | |
CN105429713A (en) | System and method for testing wireless device | |
CN111984529A (en) | APP software compatibility automatic test method | |
CN106990376A (en) | A kind of test device and method of testing of scramble testing system line loss | |
US20140134998A1 (en) | Signal detection method for communication apparatus and signal detection system | |
CN108200545B (en) | WLAN signaling test system and test method | |
CN107733740B (en) | VEE-based communication equipment automatic test method | |
CN102088503A (en) | Surface noise testing system and testing method of LCD (liquid crystal display) screen of mobile phone | |
CN102868461B (en) | Base band test method, device and system | |
US6434503B1 (en) | Automated creation of specific test programs from complex test programs |
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 |