CN114780381A - Wi-Fi pressure test method and device - Google Patents

Wi-Fi pressure test method and device Download PDF

Info

Publication number
CN114780381A
CN114780381A CN202210271187.3A CN202210271187A CN114780381A CN 114780381 A CN114780381 A CN 114780381A CN 202210271187 A CN202210271187 A CN 202210271187A CN 114780381 A CN114780381 A CN 114780381A
Authority
CN
China
Prior art keywords
test
test data
data
document
testing
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.)
Pending
Application number
CN202210271187.3A
Other languages
Chinese (zh)
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.)
Hefei Longqi Intelligent Technology Co ltd
Original Assignee
Hefei Longqi Intelligent Technology 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 Hefei Longqi Intelligent Technology Co ltd filed Critical Hefei Longqi Intelligent Technology Co ltd
Priority to CN202210271187.3A priority Critical patent/CN114780381A/en
Publication of CN114780381A publication Critical patent/CN114780381A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a Wi-Fi pressure test method and a device, comprising the following steps: after the test equipment is connected with the Wi-Fi, controlling a simulation program to simulate manual operation to operate an application program of the test equipment, and monitoring the operation of the application program after responding to the manual operation to acquire test data corresponding to the Wi-Fi; acquiring the test times of the Wi-Fi by the test equipment; naming the test data according to the service set identifier SSID of the Wi-Fi and the test times, and storing the named test data. In the invention, the Wi-Fi test data are named based on the test times of Wi-Fi and the SSID of the Wi-Fi, so that the test data obtained by each test of the Wi-Fi are different in name, therefore, the test data stored in the last test cannot be replaced when being stored, the data quantity of Wi-Fi performance evaluation is ensured, and the accuracy of the Wi-Fi performance evaluation is improved.

Description

Wi-Fi pressure test method and device
Technical Field
The invention relates to a pressure testing technology, in particular to a Wi-Fi pressure testing method and device.
Background
Wi-Fi (mobile hotspot) stress testing is a test in which a Wi-Fi connected test device runs test software for a long time or under an excessive load to test the performance of Wi-Fi.
When the Wi-Fi is used for pressure testing, test data obtained by testing needs to be stored. The Wi-Fi pressure test needs to be repeatedly tested for multiple rounds, and when the current test data is stored, the test data stored in the last test can be replaced, so that the test data for evaluating the Wi-Fi performance is less, and the Wi-Fi performance evaluation is inaccurate.
Disclosure of Invention
The invention provides a Wi-Fi pressure test method and device, which are used for solving the problem that Wi-Fi performance evaluation is inaccurate.
In one aspect, the invention provides a Wi-Fi stress test method, which is applied to test equipment and comprises the following steps:
after the test equipment is connected with a first Wi-Fi, controlling a simulation program to simulate manual operation to operate an application program of the test equipment, and monitoring the operation of the application program after responding to the manual operation to obtain test data corresponding to the first Wi-Fi;
acquiring the testing times of the testing equipment on the first Wi-Fi;
naming the test data according to the service set identifier SSID of the first Wi-Fi and the test times, and storing the named test data.
In one embodiment, the step of naming the test data according to the service set identification SSID of the first Wi-Fi and the number of tests comprises:
acquiring an index position of the SSID of the first Wi-Fi in a first document;
acquiring network connection information corresponding to the first Wi-Fi in the first document according to the index position, wherein the first document stores network connection information of a plurality of second Wi-Fi, the network connection information of the second Wi-Fi has a corresponding index position in the first document, and the first Wi-Fi is one of the second Wi-Fi;
naming the test data according to the network connection information corresponding to the first Wi-Fi and the test times.
In an embodiment, the step of obtaining the number of times of testing the first Wi-Fi by the testing device includes:
acquiring the completion times of the first Wi-Fi recorded in a second document, wherein the completion times of the second Wi-Fi in the second document are updated when the testing equipment completes the test of the second Wi-Fi in the first document, and the completion times of each second Wi-Fi in the first document are recorded in the second document;
and determining the completion times as the testing times of the first Wi-Fi by the testing equipment.
In one embodiment, the test data includes a number of clicks, a signal strength, a throughput, and a ping value, and the step of monitoring the operation of the application program in response to the manual operation to obtain the test data corresponding to the first Wi-Fi includes:
after the application program responds to the manual operation, acquiring the video blocking times according to a first thread, acquiring the signal strength and throughput of the first Wi-Fi according to a second thread, and acquiring a ping value according to a third thread, wherein the application program comprises a video playing application program and a network diagnostic program, and the ping value is acquired by diagnosing a router corresponding to the first Wi-Fi according to the network diagnostic program.
In an embodiment, after the step of storing the named test data, the method further includes:
after the pressure test on the first Wi-Fi is completed, obtaining test data stored in each test of the first Wi-Fi from a data table, wherein the named test data are stored in the data table;
performing data screening on each test data based on a preset script to obtain target test data, wherein the target test data is the performance data of the first Wi-Fi;
and determining the test result of the first Wi-Fi according to the target test data.
In an embodiment, the step of performing data screening on each test data based on a preset script to obtain target test data includes:
controlling the preset script, and determining test data with parameter values in a preset range interval as candidate test data;
and determining the average value corresponding to the parameter values belonging to the same type in each candidate test data as the target test data.
In an embodiment, the test data further includes connection times, disconnection times, total connection duration, total disconnection duration, connection time point, and disconnection time point of the test device and the first Wi-Fi.
In another aspect, the present invention further provides a testing apparatus, comprising:
the monitoring module is used for monitoring the operation of the application program after responding to the manual operation so as to acquire the test data corresponding to the first Wi-Fi after the test equipment is connected with the first Wi-Fi;
the acquisition module is used for acquiring the test times of the test equipment on the first Wi-Fi;
and the storage module is used for naming the test data according to the service set identifier SSID of the first Wi-Fi and the test times and storing the named test data.
In another aspect, the present invention further provides a testing apparatus, including: a memory and a processor;
the memory stores computer execution instructions;
the processor executes the computer-executable instructions stored by the memory to cause the processor to perform the Wi-Fi stress testing method described above.
In another aspect, the present invention also provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the Wi-Fi pressure testing method as described above when executed by a processor.
According to the Wi-Fi pressure test method and device, after the test equipment is connected with the first Wi-Fi, the simulation program is controlled to simulate manual operation to operate the application program in the test equipment, the operation of the application program is monitored to obtain the test data corresponding to the first Wi-Fi, the test times of the test equipment on the first Wi-Fi are obtained, the test data are named according to the first Wi-Fi and the test times, and the named test data are stored. In the invention, the test data of the Wi-Fi is named based on the test times of the Wi-Fi and the SSID of the Wi-Fi, so that the test data obtained by each test of the Wi-Fi are different in name, therefore, the test data stored in the last test cannot be replaced when the test data obtained by the current test is stored, the data quantity of Wi-Fi performance evaluation is ensured, and the accuracy of the Wi-Fi performance evaluation is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a system architecture diagram of the present invention implementing Wi-Fi stress testing;
FIG. 2 is a schematic flow chart of a Wi-Fi stress test method according to a first embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S30 in the second embodiment of the Wi-Fi stress test method of the present invention;
FIG. 4 is a detailed flowchart of step S20 in the third embodiment of the Wi-Fi pressure testing method of the present invention;
FIG. 5 is a schematic flow chart of a Wi-Fi stress test method according to a fourth embodiment of the present invention;
FIG. 6 is a block diagram of a test apparatus according to the present invention;
FIG. 7 is a diagram of a hardware structure of the testing apparatus of the present invention.
Specific embodiments of the present disclosure have been shown by way of example in the drawings and will be described in more detail below. The drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The invention provides a Wi-Fi pressure test method which can be realized through a system architecture diagram shown in figure 1. As shown in fig. 1, the testing apparatus 100 is located in a communication environment including a plurality of Wi-Fi signals 200, each Wi-Fi signal 200 may be connected by the testing apparatus 100, and the testing apparatus 100 may perform a Wi-Fi pressure test on the connected Wi-Fi signal 200, that is, by running an application program in the testing apparatus 100, obtain test data of the application program under the connected Wi-Fi signal 200, where the test data is, for example, throughput of the Wi-Fi signal 200, a stuck condition of the application program (network speed, packet loss rate, etc. of the Wi-Fi signal 200), and a Ping value of a router corresponding to the Wi-Fi signal 200. The test equipment may determine the performance of the Wi-Fi signal 200 from test data obtained from multiple runs of the same Wi-Fi signal 200.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 shows a first embodiment of a Wi-Fi pressure test method according to the present invention, which comprises the following steps:
and step S10, after the test equipment is connected with the first Wi-Fi, controlling the simulation program to simulate manual operation to operate the application program of the test equipment, and monitoring the operation of the application program after responding to the manual operation to obtain the test data corresponding to the first Wi-Fi.
In this embodiment, the test equipment is in an environment of multiple Wi-Fi signals, and each Wi-Fi signal can be connected and available. The test equipment is loaded with a simulation program, and the simulation program is used for simulating manual operation. The manual operation is, for example, a click operation, a slide operation, or the like. The simulator may be an API (Application Programming Interface) simulator written through the android user Interface automation framework UIAmator 2.
The test equipment is loaded with a plurality of applications. The application programs include a video playing program, a search engine program, a monitoring program and the like. After the test equipment is connected with the first Wi-Fi (the first Wi-Fi is the Wi-Fi currently connected with the test equipment), the test equipment controls a simulation program to simulate manual operation to operate an application program in the test equipment, and the manual operation is to open and control click operation, sliding operation and the like of the application program. For example, when the application program is a video playing program, the manual operation is an operation of clicking a video playing, and when the application program is a search engine program, the manual operation is an operation of clicking an input key.
After the simulation program simulates manual operation to operate the application program of the test equipment, the test equipment monitors the operation of the application program after responding to the manual operation, and therefore test data corresponding to the first Wi-Fi are obtained. For example, after the video playing program plays the video, if the video is stuck, the video will appear with a stuck circle, that is, the test device monitors whether the video appears with a stuck circle, and then determines whether the video is stuck during playing. In addition, the testing device needs to monitor data such as Wi-Fi throughput, RSSI (Received Signal Strength Indication), and Ping value of the router. This data can be monitored by a particular application in the test equipment.
And step S20, acquiring the test times of the test equipment to the first Wi-Fi.
The test equipment needs to test the Wi-Fi signals for multiple times, so that the test times of the first Wi-Fi are recorded when the test equipment obtains the test data of the first Wi-Fi each time.
And step S30, naming the test data according to the service set identifier SSID of the first Wi-Fi and the test times, and storing the named test data.
The test equipment needs to test a plurality of Wi-Fi and needs to acquire the identification of the Wi-Fi when storing test data. That is, after the test device determines the number of times of testing the first Wi-Fi, the test device may further obtain a Service Set Identifier (SSID) of the first Wi-Fi, and the test device commands the test data according to the number of times of testing and the SSID of the first Wi-Fi and stores the named data.
In the technical scheme provided by the embodiment, after the test equipment is connected with the first Wi-Fi, the simulation program is controlled to simulate manual operation to operate the application program in the test equipment, the operation of the application program is monitored to obtain the test data corresponding to the first Wi-Fi, the test times of the test equipment on the first Wi-Fi are obtained, the test data are named according to the first Wi-Fi and the test times, and the named test data are stored. In the invention, the test data of the Wi-Fi is named based on the test times of the Wi-Fi and the SSID of the Wi-Fi, so that the name of the test data obtained by each test of the Wi-Fi is different, therefore, the test data stored in the last test cannot be replaced when the test data obtained by the current test is stored, the data quantity of Wi-Fi performance evaluation is ensured, and the accuracy of the Wi-Fi performance evaluation is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the Wi-Fi pressure testing method according to the present invention, and step S30 includes:
step S31, the index position of the SSID of the first Wi-Fi in the first document is obtained.
Step S32, according to the index position, network connection information corresponding to a first Wi-Fi is obtained from a first document, wherein the first document stores a plurality of network connection information of second Wi-Fi, the network connection information of the second Wi-Fi has a corresponding index position in the first document, and the first Wi-Fi or the second Wi-Fi.
And step S33, naming the test data according to the network connection information corresponding to the first Wi-Fi and the test times.
In this embodiment, the test device stores a first document, where the first document stores network connection information of each Wi-Fi that the test device needs to perform a pressure test. And defining each Wi-Fi stored in the first document as second Wi-Fi, wherein each second Wi-Fi has a corresponding index position in the first document, and the first Wi-Fi currently connected with the test equipment is any one of the second Wi-Fi, namely the first Wi-Fi is one of the second Wi-Fi. The indexed location may be understood as a location where network connection information for the second Wi-Fi is located in the second document.
The testing equipment needs to test each second Wi-Fi in the first document, and after the testing of all the second Wi-Fi in the first document is completed, the testing equipment conducts a new round of testing on each second Wi-Fi in the first document again.
The test equipment stores the association relationship between the SSID of each second Wi-Fi in the first document and the index position of the SSID in the first document. And the test equipment acquires the SSID of the first Wi-Fi after obtaining the test times of the first Wi-Fi, thereby determining a corresponding association relation based on the acquired SSID, and finally obtaining the index position of the SSID in the first document through association information.
After the test equipment obtains the index position, the network connection information of the first Wi-Fi can be obtained in the first document based on the index position. The network connection information characterizes the identity of the Wi-Fi, e.g., the network connection information includes a name of the first Wi-Fi.
After the test equipment obtains the network connection information of the first Wi-Fi, the test data can be named according to the network connection information and the test data.
In the technical scheme provided by this embodiment, the test device obtains the index position of the SSID of the first Wi-Fi in the first document, and obtains the network connection information corresponding to the first Wi-Fi in the first document according to the index position, so as to name the test data according to the network connection information and the test times of the first Wi-Fi, thereby avoiding the duplicate storage name of the test data of each Wi-Fi.
Referring to fig. 4, fig. 4 is a third embodiment of the Wi-Fi pressure testing method according to the present invention, and based on the second embodiment, step S20 includes:
and step S21, acquiring the completion times of the first Wi-Fi recorded in the second document, wherein the completion times of the second Wi-Fi in the second document are updated when the testing equipment completes the testing of all the second Wi-Fi in the first document, and the completion times of each second Wi-Fi in the first document are recorded in the second document.
And step S22, determining the completion times as the testing times of the first Wi-Fi by the testing equipment.
In this embodiment, the second document is stored in the test device. The second document is used to record the number of tests for Wi-Fi. Specifically, the testing device needs to test all the second Wi-Fi in the first document, and after all the second Wi-Fi in the first document are tested, the testing device performs a new round of testing on all the second Wi-Fi in the first document again.
The second document stores the completion times corresponding to the second Wi-Fi. And when the test equipment completes the test of the second Wi-Fi in the first document, updating the completion times of the second Wi-Fi in the second document, namely the completion times of the second Wi-Fi in the second document is + 1.
And the testing equipment acquires the number of times of completing the first Wi-Fi recorded in the second document, and determines the completion time as the number of times of testing the first Wi-Fi by the testing equipment.
In the technical scheme provided by the embodiment, the test equipment acquires the number of times of completing the first Wi-Fi recorded in the second document, so that the number of times of completing is determined as the number of times of testing the first wifi by the test equipment.
In one embodiment, step S10 includes:
after the application program responds to manual operation, acquiring the video blocking times according to the first thread, acquiring the signal strength and throughput of the first Wi-Fi according to the second thread, and acquiring a ping value according to the third thread, wherein the application program comprises a video playing application program and a network diagnostic program, and the ping value is obtained by diagnosing a router corresponding to the first Wi-Fi according to the network diagnostic program.
In this embodiment, the application programs include a video playing application program and a network diagnostic program. After the application programs respond to the manual operation, the test equipment can monitor the operation of each application program. The testing equipment is provided with at least three sub-threads which are respectively defined as a first sub-thread, a second sub-thread and a third sub-thread. The first sub-thread obtains the pause times of the video, the second sub-thread obtains the signal strength RSSI and the throughput of the first Wi-Fi, and the third sub-thread obtains the ping value. The ping value is obtained by the network diagnostic program diagnosing the router corresponding to the first Wi-Fi, namely the network diagnostic program performing ping operation on the router to obtain the ping value.
In this embodiment, the third sub-thread acquires the ping value, which is to prevent the first sub-thread and the second sub-thread from being preempted in the ping operation process, so that other sub-threads are delayed, that is, the test equipment cannot acquire the number of times of hitching, the throughput, the RSSI, the ping value, and the like of the first Wi-Fi at the same time.
In addition, the test data further includes connection times, disconnection times, total connection duration, total disconnection duration, connection time points, and disconnection time points of the test device and the first Wi-Fi, that is, the test device also needs to monitor a connection state of the first Wi-Fi, where the connection state is the connection and disconnection times and the time corresponding to the connection and disconnection times.
Referring to fig. 5, fig. 5 is a fourth embodiment of the Wi-Fi pressure testing method according to the present invention, based on any one of the first to third embodiments, after step S30, the method further includes:
and step S40, after the pressure test of the first Wi-Fi is completed, acquiring the test data stored in each test of the first Wi-Fi from the data table, wherein the named test data are stored in the data table.
And step S50, performing data screening on each test data based on the preset script to obtain target test data, wherein the target test data is the performance data of the first Wi-Fi.
And step S60, determining the test result of the first Wi-Fi according to the target test data.
In this embodiment, for a mobile phone that tests data, a test device may create a plurality of List sets, acquire data once every second and store the data in the List, and finally store the List in an Excel table after the test is finished, that is, named test data is stored in a data table (Excel table). And after the pressure test on the first Wi-Fi is completed, acquiring the test data stored in each test of the first Wi-Fi from a data table (Excel table).
After the test is finished, a lot of data can be generated, and the whole test process is executed in the form of Android Application Package (APK), so that the final test data quantity is huge. And the test equipment screens and summarizes data through a preset script. The preset script may be Python.
The test equipment performs data screening on each test data of the first Wi-Fi based on the preset script to obtain target test data, wherein the target test data are data representing the performance of the first Wi-Fi, namely the target test data are the performance data of the first Wi-Fi. The test device may determine a test result for the first Wi-Fi based on the target test data.
Specifically, the test device controls the preset script to determine test data with parameter values within a preset range as candidate test data, that is, the preset script removes smaller parameter values and larger parameter values to obtain the candidate test data. And the test equipment takes the average value corresponding to the parameter values belonging to the same type in each candidate test data as the target test data. For example, the test apparatus sets the average value corresponding to all the throughputs as target test data.
In the technical scheme provided by the embodiment, the test equipment can complete the screening of the Wi-Fi performance data in a short time through the preset script, so that the test result of the Wi-Fi is determined quickly.
The present invention also provides a test apparatus, and referring to fig. 6, the test apparatus 600 includes:
the control module 610 is used for controlling a simulation program to simulate manual operation to operate an application program of the test equipment after the test equipment is connected with the first Wi-Fi, and monitoring the operation of the application program after the application program responds to the manual operation to obtain test data corresponding to the first Wi-Fi;
an obtaining module 620, configured to obtain the number of times that the testing device tests the first Wi-Fi;
the storage module 630 is configured to name the test data according to the service set identifier SSID of the first Wi-Fi and the test times, and store the named test data.
In one embodiment, the test apparatus 600 includes:
an obtaining module 620, configured to obtain an index position of an SSID of a first Wi-Fi in a first document;
the obtaining module 620 is configured to obtain, according to the index position, network connection information corresponding to a first Wi-Fi from a first document, where the first document stores a plurality of pieces of network connection information of second Wi-Fi, the network connection information of the second Wi-Fi has a corresponding index position in the first document, and the first Wi-Fi is one of the second Wi-Fi;
and the naming module is used for naming the test data according to the network connection information corresponding to the first Wi-Fi and the test times.
In one embodiment, the test apparatus 600 includes:
the obtaining module 620 is configured to obtain the number of times of completing the first Wi-Fi recorded in the second document, where the number of times of completing the second Wi-Fi in the second document is updated every time the testing device completes the testing of the second Wi-Fi in the first document, and the number of times of completing each second Wi-Fi in the first document is recorded in the second document;
and the determining module is used for determining the completion times as the testing times of the first Wi-Fi by the testing equipment.
In one embodiment, the test apparatus 600 includes:
the obtaining module 620 is configured to obtain, after the application program responds to the manual operation, a ping value according to the first thread, the number of times of video blocking of the first thread, the signal strength and throughput of the first Wi-Fi according to the second thread, and the third thread, where the application program includes a video playing application program and a network diagnostic program, and the ping value is obtained by diagnosing a router corresponding to the first Wi-Fi according to the network diagnostic program.
In one embodiment, the test apparatus 600 includes:
the obtaining module 620 is configured to obtain, from the data table, test data stored in each test of the first Wi-Fi after the pressure test of the first Wi-Fi is completed, where the named test data is stored in the data table;
the screening module is used for screening data of each test data based on a preset script to obtain target test data, wherein the target test data is performance data of the first Wi-Fi;
and the determining module is used for determining the test result of the first Wi-Fi according to the target test data.
In one embodiment, the test apparatus 600 includes:
the control module 610 is configured to control a preset script, and determine test data with a parameter value in a preset range interval as candidate test data;
and the determining module is used for determining the average value corresponding to the parameter values belonging to the same type in each candidate test data as the target test data.
FIG. 7 is a hardware block diagram of a test equipment shown in accordance with an exemplary embodiment.
The test apparatus 700 may include: the process 701 is, for example, a CPU, memory 702, and transceiver 703. Those skilled in the art will appreciate that the configuration shown in FIG. 7 does not constitute a limitation of the test apparatus and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. The memory 702 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Processor 701 may invoke a computer program stored in memory 702 to perform all or some of the steps of the Wi-Fi stress testing method described above.
The transceiver 703 is used to receive information transmitted from and transmit information to an external device.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a test device, enable the test device to perform the Wi-Fi stress testing method described above.
A computer program product comprising a computer program which, when executed by a processor of a testing device, enables the testing device to perform the Wi-Fi stress testing method described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The invention is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A Wi-Fi pressure test method is applied to test equipment and is characterized by comprising the following steps:
after the test equipment is connected with a first Wi-Fi, controlling a simulation program to simulate manual operation to operate an application program of the test equipment, and monitoring the operation of the application program after responding to the manual operation to obtain test data corresponding to the first Wi-Fi;
acquiring the testing times of the testing equipment on the first Wi-Fi;
naming the test data according to the service set identifier SSID of the first Wi-Fi and the test times, and storing the named test data.
2. The Wi-Fi pressure testing method of claim 1, wherein the step of naming the test data as a function of a service set identification, SSID, of the first Wi-Fi and the number of tests comprises:
acquiring an index position of the SSID of the first Wi-Fi in a first document;
acquiring network connection information corresponding to the first Wi-Fi in the first document according to the index position, wherein the first document stores network connection information of a plurality of second Wi-Fi, the network connection information of the second Wi-Fi has a corresponding index position in the first document, and the first Wi-Fi is one of the second Wi-Fi;
and naming the test data according to the network connection information corresponding to the first Wi-Fi and the test times.
3. The Wi-Fi pressure testing method of claim 2, wherein the step of obtaining the number of tests performed by the testing device on the first Wi-Fi comprises:
acquiring the completion times of the first Wi-Fi recorded in a second document, wherein the completion times of the second Wi-Fi in the second document are updated when the test equipment completes the test of the second Wi-Fi in the first document, and the completion times of each second Wi-Fi in the first document are recorded in the second document;
and determining the completion times as the testing times of the first Wi-Fi by the testing equipment.
4. The Wi-Fi pressure testing method of claim 1, wherein the test data comprises a number of clicks, a signal strength, a throughput, and a ping value, and wherein the step of monitoring the application program for operation in response to the manual operation to obtain the test data corresponding to the first Wi-Fi comprises:
after the application program responds to the manual operation, acquiring the video blocking times according to a first thread, acquiring the signal strength and throughput of the first Wi-Fi according to a second thread, and acquiring a ping value according to a third thread, wherein the application program comprises a video playing application program and a network diagnostic program, and the ping value is acquired by diagnosing a router corresponding to the first Wi-Fi according to the network diagnostic program.
5. The Wi-Fi pressure testing method of any of claims 1-4, wherein the storing the named test data is further followed by:
after the pressure test of the first Wi-Fi is completed, obtaining test data stored in each test of the first Wi-Fi from a data table, wherein the named test data are stored in the data table;
performing data screening on each test data based on a preset script to obtain target test data, wherein the target test data is the performance data of the first Wi-Fi;
and determining the test result of the first Wi-Fi according to the target test data.
6. The Wi-Fi pressure test method of claim 5, wherein the step of performing data screening on each test data based on a preset script to obtain target test data comprises:
controlling the preset script, and determining test data with parameter values in a preset range interval as candidate test data;
and determining the average value corresponding to the parameter values belonging to the same type in each candidate test data as the target test data.
7. A Wi-Fi pressure test method according to any of claims 1-4, wherein the test data further comprises a number of connections, a number of disconnections, a total duration of connections, a total duration of disconnections, a point in time of connection, and a point in time of disconnection of the test device to the first Wi-Fi.
8. A test apparatus, comprising:
the monitoring module is used for monitoring the running of the application program after responding to the manual operation to acquire the test data corresponding to the first Wi-Fi after the test equipment is connected with the first Wi-Fi;
the acquisition module is used for acquiring the testing times of the first Wi-Fi by the testing equipment;
and the storage module is used for naming the test data according to the service set identifier SSID of the first Wi-Fi and the test times and storing the named test data.
9. A test apparatus, comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the Wi-Fi stress-testing method of any of claims 1-6.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the Wi-Fi pressure testing method of any one of claims 1 to 6.
CN202210271187.3A 2022-03-18 2022-03-18 Wi-Fi pressure test method and device Pending CN114780381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210271187.3A CN114780381A (en) 2022-03-18 2022-03-18 Wi-Fi pressure test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210271187.3A CN114780381A (en) 2022-03-18 2022-03-18 Wi-Fi pressure test method and device

Publications (1)

Publication Number Publication Date
CN114780381A true CN114780381A (en) 2022-07-22

Family

ID=82425271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210271187.3A Pending CN114780381A (en) 2022-03-18 2022-03-18 Wi-Fi pressure test method and device

Country Status (1)

Country Link
CN (1) CN114780381A (en)

Similar Documents

Publication Publication Date Title
US9532246B2 (en) Method and a test system for automatically configuring a tester
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
CN110990255B (en) Buried point testing method and server
CN109218136B (en) WIFI connection performance test method and device, computer equipment and storage medium
CN111263388B (en) Mobile network environment testing method and device, computer equipment and storage medium
CN112115005B (en) Test data acquisition method and device, computer equipment and storage medium
CN113672441B (en) Method and device for testing intelligent equipment
CN111274153A (en) Automatic testing method and device and electronic equipment
CN106126414A (en) Application software testing method and system
CN106294172B (en) App self-testing methods based on terminal device and device
US20180302292A1 (en) Test system and method for benchmark testing a device under test
CN113678494A (en) Method and device for providing network experience testing
CN107145447B (en) Method and device for detecting memory leakage and electronic equipment
CN112835802A (en) Equipment testing method, device, equipment and storage medium
CN108512682B (en) Method and device for determining false terminal identification
CN111679652A (en) Test method and device based on smart screen, smart screen and readable storage medium
CN114780381A (en) Wi-Fi pressure test method and device
CN111767218A (en) Automatic testing method, equipment and storage medium for continuous integration
US20160149653A1 (en) Mobile communication terminal test device and a test anaylsis unit therefor
JP4913243B2 (en) Method for generating a signal sequence reproducible by a tester inspecting a mobile radio
CN115442266A (en) Gateway performance testing method and device, storage medium and electronic device
US20170279960A1 (en) Line Diagnosis Method and Apparatus
CN116074228A (en) Network card testing method and device, storage medium and electronic equipment
US11281521B1 (en) Methods, systems and computer readable media for troubleshooting test environments using automated analysis of log file data
CN111176965B (en) Recommendation system pre-release test method and device and electronic equipment

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