CN114257529A - Network equipment stability testing method, device, equipment, system and medium - Google Patents

Network equipment stability testing method, device, equipment, system and medium Download PDF

Info

Publication number
CN114257529A
CN114257529A CN202111596211.2A CN202111596211A CN114257529A CN 114257529 A CN114257529 A CN 114257529A CN 202111596211 A CN202111596211 A CN 202111596211A CN 114257529 A CN114257529 A CN 114257529A
Authority
CN
China
Prior art keywords
test
website
file
network equipment
access 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.)
Pending
Application number
CN202111596211.2A
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.)
Shenzhen Sinobry Electronic Ltd
Original Assignee
Shenzhen Sinobry Electronic 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 Shenzhen Sinobry Electronic Ltd filed Critical Shenzhen Sinobry Electronic Ltd
Priority to CN202111596211.2A priority Critical patent/CN114257529A/en
Publication of CN114257529A publication Critical patent/CN114257529A/en
Pending legal-status Critical Current

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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a method, a device, a system, equipment and a medium for testing the stability of network equipment, which relate to the technical field of network communication equipment testing, and the method comprises the following steps: responding to a test trigger action of a user, and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access period, and the type of the test frame comprises a webpage loading test; sequentially sending at least one website access request of the test frame corresponding to the access period to the tested network equipment based on the access period, wherein each website access request comprises one test website; and receiving webpage information returned by the tested network equipment, and loading the webpage information into a corresponding test frame in real time. The method and the device have the effects of improving the accuracy of the stability test of the tested network equipment and reducing the test cost.

Description

Network equipment stability testing method, device, equipment, system and medium
Technical Field
The present application relates to the field of network device testing technologies, and in particular, to a method, an apparatus, a device, a system, and a medium for testing stability of a network device.
Background
For various network devices, stability is very important, that is, when the network devices are used for surfing the internet, the network devices are not disconnected, restarted or crashed, so that the network devices need to be subjected to an aging test in a research and development stage to obtain the stability of the network devices.
At present, the methods of flow test, throughput test and manual test are mostly adopted when the network equipment is subjected to aging test.
If the method for testing the running flow and the throughput rate is adopted, a software tool is required to be used, a speed is set on the software tool, or the network equipment reaches a limit speed, the network equipment is tested for a long time, but the test is carried out on the network equipment through relatively stable rational data which is limited to point-to-point, and the data is different from the data actually applied by the network equipment, so that the problems caused by address resolution and data volume communication address change can not be measured, and the stability of the tested network equipment can not be accurately tested; and if manual testing is adopted, a large amount of terminal equipment needs to be purchased, and the operation is ceaselessly performed by workers, so that time and labor are wasted, and the testing cost is increased.
Disclosure of Invention
In order to improve the accuracy of the stability test of the tested network equipment and reduce the test cost, the application provides a method, a device, equipment, a system and a medium for testing the stability of the network equipment.
In a first aspect, the present application provides a method for testing stability of network equipment, which adopts the following technical scheme:
a network equipment stability test method comprises the following steps:
responding to a test trigger action of a user, and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access period, and the type of the test frame comprises a webpage loading test;
sequentially sending at least one website access request of the test frame corresponding to the access period to the tested network equipment based on the access period, wherein each website access request comprises one test website;
and receiving webpage information returned by the tested network equipment, and loading the webpage information into a corresponding test frame in real time.
By adopting the technical scheme, the stability of the tested network equipment is automatically tested for multiple times based on the test website, the working condition of the tested network equipment is obtained through the webpage information returned by the tested network equipment, and the stability of the tested network equipment is judged based on the working condition, so that the stability testing method is more suitable for a real test environment compared with the modes of testing the flow rate and the throughput rate, and the accuracy of the stability testing of the tested network equipment can be improved; compared with the mode of manual testing, the cost of purchasing the testing equipment can be reduced, and the workload of workers can be reduced.
Optionally, the type of the test box further includes a file download test; after the sequentially sending the website access requests of the test boxes to the tested network equipment based on the access period, the method further comprises the following steps:
receiving a download file returned by the tested network equipment, and acquiring the download progress and the download rate of the file;
and displaying the downloading progress and the downloading rate of the file in a corresponding test frame in real time.
By adopting the technical scheme, the flow data when the file is downloaded through the test website not only comprises the flow of file transmission but also comprises the flow of address resolution, and the data tested by the way of testing the flow rate and the throughput rate only comprises the flow when the file is transmitted.
Optionally, the type of the test frame further includes a file upload test; the test command of the test frame also comprises at least one file to be uploaded; each website access request further comprises at least one file to be uploaded; after the sequentially sending the website access requests of the test boxes to the tested network equipment based on the access period, the method further comprises the following steps:
acquiring the uploading rate and the uploading progress of the file to be uploaded;
and displaying the uploading progress and the uploading rate of the file in a corresponding test frame in real time.
By adopting the technical scheme, the flow data when the file is uploaded through the test website not only comprises the flow of file transmission, but also comprises the flow of address resolution and the flow of a calculation path, and compared with the mode of flow running and throughput rate test, the data tested has higher comprehensiveness and accuracy when the file uploading test is carried out through the test website.
Optionally, after receiving the web page information returned by the tested network device, the method further includes:
storing the webpage information in real time;
after the obtaining of the uploading rate and the uploading progress of the file to be uploaded, the method further comprises the following steps:
storing the file uploading rate in real time;
after the downloading progress and the downloading rate of the file are displayed in the corresponding test frame in real time, the method further comprises the following steps:
and storing the file downloading rate in real time.
By adopting the technical scheme, the staff can check the webpage loading information, the uploading speed and the downloading speed at any moment, and the staff can conveniently and comprehensively analyze the stability of the tested network equipment.
Optionally, if the test frame corresponds to multiple test websites, the sequentially sending at least one website access request of the test frame corresponding to the access period to the network device under test based on the access period includes:
selecting a test website from the plurality of test websites;
generating a website access request based on the selected test website and the at least one file to be uploaded;
sending the generated website access request to the tested network equipment, and judging whether the access period is reached;
and if so, selecting a next test website from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the at least one file to be uploaded until the test is finished.
Optionally, if the test frame corresponds to a plurality of test websites and a plurality of files to be uploaded, the sequentially sending at least one website access request of the test frame corresponding to the access period to the network device under test based on the access period includes:
selecting a test website from the plurality of test websites;
selecting a file to be uploaded from a plurality of files to be uploaded corresponding to the selected test website;
generating a website access request based on the selected test website and the selected file to be uploaded;
sending the generated website access request to the tested network equipment, and judging whether the access period is reached;
and if so, selecting the next test website and the next file to be uploaded from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the selected file to be uploaded until the test is finished. .
In a second aspect, the present application provides a network device stability testing apparatus, which adopts the following technical solution:
a network device stability testing apparatus, comprising:
the response acquisition module is used for responding to a test trigger action of a user and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access period, and the type of the test frame comprises a webpage loading test;
a sending module, configured to sequentially send, to a network device under test, at least one website access request of the test frame corresponding to the access period based on the access period, where each website access request includes one test website;
and the acquisition loading module is used for receiving the webpage information returned by the tested network equipment and loading the webpage information into the corresponding test frame in real time.
In a third aspect, the present application provides a stability testing apparatus, which adopts the following technical scheme:
a stability testing apparatus comprising a memory and a processor, the memory having stored thereon a computer program which is loadable by the processor and which performs the method of any of the first aspects.
In a fourth aspect, the present application provides a network device stability testing system, which adopts the following technical solutions:
a network device stability test system comprising the stability test device according to the third aspect, a network device under test and a server;
the tested network equipment sends a website access request to the server;
and the server receives the website access request sent by the tested network equipment and sends the webpage information corresponding to the website access request to the tested network equipment.
In a fifth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium storing a computer program that can be loaded by a processor and executed to perform the method of any of the first aspects.
Drawings
Fig. 1 is a schematic flowchart of a method for testing stability of network equipment according to an embodiment of the present application.
Fig. 2 is a block diagram of a network device stability testing apparatus 400 according to an embodiment of the present application.
Fig. 3 is a block diagram of a stability testing apparatus 500 according to an embodiment of the present application.
Fig. 4 is a block diagram of a network device stability testing system 600 according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Before testing network equipment, a testing environment needs to be set up, the testing environment comprises a server and terminal equipment, wherein the server and the terminal equipment are connected with a local area network, and the local area network is connected to a public network. After the test environment is established, the network device to be tested is accessed to the local area network, wherein the server, the terminal device and the network device to be tested can be in wired connection with the local area network and can also be in wireless connection with the local area network, and no specific limitation is made in this embodiment.
The embodiment of the application provides a network device stability testing method, which can be executed by an electronic device, wherein the electronic device can be a server or a terminal device, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
As shown in fig. 1, the main flow of a network device stability testing method is described as follows (steps S100 to S300):
step S100, responding to a test trigger action of a user, and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access cycle, and the type of the test frame comprises a webpage loading test;
when a user actually surfs the internet, the method mainly comprises the actions of uploading and downloading files, browsing webpages, browsing videos and the like, so a plurality of preset webpages are embedded into a server, the preset webpages comprise pages for uploading and downloading the files, pages for videos and common pages, a test page is arranged on terminal equipment, a plurality of test frames are arranged on the test page, each test frame comprises a website test frame for storing test websites and a display test frame for displaying the preset webpages, the types of the website test frames comprise a webpage loading test, a file downloading test and a file uploading test, each website test frame comprises at least one test website, the test websites are used for accessing the preset webpages on the server by the terminal equipment, and each test website only corresponds to one test webpage.
Because each type of test website has different requirements on the access period, different access periods need to be configured for each website test frame, and the test websites in the website test frames sequentially access the preset pages on the server based on the access periods, wherein the access periods are the access time intervals of two adjacent test websites. It should be noted that two adjacent test sites may be the same.
In this embodiment, a user selects a corresponding test website based on a test requirement, where the test requirement is a selection of a test type by a worker, the user first selects a website test frame corresponding to a type to be tested in a mouse, keyboard, touch screen, and the like of a terminal device, then the user triggers a test key again in the mouse, keyboard, touch screen, and the like of the terminal device to generate a test trigger operation, and the terminal device responds to the test trigger operation and obtains a website access request, where the website access request includes a test website and an access period corresponding to the test website.
It should be noted that when selecting a test website based on a test requirement, all website test frames may be selected at one time, and a website test frame may also be selected multiple times, which is not specifically limited in this embodiment.
Step S200, sequentially sending at least one website access request of a test frame corresponding to an access period to the tested network equipment based on the access period, wherein each website access request comprises a test website;
step S300, receiving the webpage information returned by the tested network equipment, and loading the webpage information into the corresponding test frame in real time.
In this embodiment, a preset test time for testing the network device to be tested is set on the terminal device, and the preset test time may be defined by a user according to a user's needs, where the preset test time may be one week, and the preset test time may also be one month, but is not limited thereto.
Within a preset time, the terminal device sequentially sends a website access request to the server through the tested network device based on a plurality of test websites and an access period in the website test frame, for example, two test websites are stored in the website test frame, the access period is 10s, after the terminal device sends the website access request to the server for 10s at a first test website, the terminal device sends the website test request to the server based on a second test website, and the website access request comprises an access request to a file upload page, a file download page, a common page and a video page on the server.
Hereinafter, the access request of the terminal device to access the corresponding file upload page, file download page, normal page, and video page on the server will be described.
In this embodiment, if the worker needs to perform a web page loading test on the network device to be tested, the web site test frame and the access period corresponding to the web page loading test on the test page are selected, all test web sites in the web site test frame are sent to the network device to be tested, and the network device to be tested forwards the received test web sites to the server; when the server receives the test website, firstly, a common page and/or a video page corresponding to the test website is searched, the common page and/or the video page is sent to the terminal equipment through the tested network equipment, and the terminal equipment displays the common page and/or the video page in a corresponding display test frame. It should be noted that each website test frame corresponds to one display test frame, and when each pair of preset webpages is accessed, the webpage information in the corresponding display test frame is updated.
If the staff needs to carry out the file downloading test on the network equipment, receiving a downloading file returned by the tested network equipment, and acquiring the downloading progress and the downloading rate of the file; and displaying the downloading progress and the downloading rate of the file in the corresponding test frame in real time.
In this embodiment, a website test frame and an access period corresponding to a file download test on a test page are selected, all test websites in the test frame are sent to a tested network device, the tested network device forwards the test websites to a server, when the server receives the test websites, the server first searches a download page corresponding to the test websites, and sends files on the download page and download progress and download rate of the files to a terminal device through the tested network device, the terminal device receives the download progress and download rate of the downloaded files and the download progress and download rate of the files and displays the download progress and download rate of the files in a corresponding display test frame, it should be noted that each pair of files are downloaded once, and the download progress and download rate of the files in the corresponding display test frame are updated.
If the staff need to carry out a file uploading test on the network equipment, acquiring the uploading rate and the uploading progress of the file to be uploaded; and displaying the uploading progress and the uploading speed of the file in the corresponding test frame in real time.
Specifically, a test website is selected from a plurality of test websites; generating a website access request based on the selected test website and at least one file to be uploaded; sending the generated website access request to the tested network equipment, and judging whether an access period is reached; and if so, selecting a next test website from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and at least one file to be uploaded until the test is finished.
In this embodiment, if the website test frame corresponding to the file upload test includes A, B, C test websites, the files to be uploaded corresponding to a are 1, 2, and 3, the files to be uploaded corresponding to B are 4, 5, and 6, the files to be uploaded corresponding to C are 1, 4, and 6, and the access period is 5 s. When the file uploading test is carried out on the tested network equipment based on the website test frame, a test website is randomly selected, for example, A, and 1, 2 and 3 files to be uploaded corresponding to the test website A are uploaded to a server through the tested network equipment; selecting a next test website after 5s, wherein in this embodiment, the next test website is any one of B, C test websites, and optionally selecting one of B, C test websites, for example, B, and uploading three to-be-uploaded files, 4, 5, and 6, corresponding to the B test website, to the server through the tested network device; and uploading the three files to be uploaded, namely 1, 4 and 6, corresponding to the C test website to a server through the tested network equipment after 5s until the test on the tested network equipment is finished. It should be noted that, the execution sequence of A, B, C three test sites may be A, B, C or A, C, B, but is not limited thereto.
In another optional embodiment, a test website is selected from a plurality of test websites; selecting a file to be uploaded from a plurality of files to be uploaded corresponding to the selected test website; generating a website access request based on the selected test website and the selected file to be uploaded; sending the generated website access request to the tested network equipment, and judging whether an access period is reached; and if so, selecting the next test website and the next file to be uploaded from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the selected file to be uploaded until the test is finished.
If the website test frame corresponding to the file uploading test comprises A, B two test websites, the files to be uploaded corresponding to A are 1 and 2, the files to be uploaded corresponding to B are 4 and 5, and the access period is 5 s. When the website test frame is used for uploading test of the tested network device, one of A, B two test websites is arbitrarily selected, for example, a, one file to be uploaded corresponding to the test website of a is arbitrarily selected, for example, 1, the file to be uploaded 1 is sent to the server through the tested network device based on the website test request of the test website a, and after 5s, one file to be uploaded corresponding to the next test website and the next test website is selected.
In order to facilitate the later statistics of the working conditions of the network equipment by the staff, the working conditions need to be recorded.
Specifically, the web page information, the file uploading rate and the file downloading rate are stored in real time.
In this embodiment, while the terminal device obtains the normal page, the video page, and the file upload and download page, the terminal device also records the upload and download rate of the file, the loading conditions of the normal page and the video page in real time, the recording content may be the number of times that the network device under test is in the offline state, the file upload and download speed, and the like, and the recording form may be a text record, or may be a table, which is not specifically limited in this embodiment.
The case where the network device under test is in the disconnected state will be described below.
If partial pictures in the common page displayed in the display test frame at a certain moment are not loaded successfully, the tested network equipment is proved to be in a disconnection state at the moment; if the file uploading and downloading speed is delayed obviously at a certain moment, the tested network equipment is in a disconnection state at the moment; if the video is blocked at a certain moment, the tested network equipment is proved to be in a disconnection state at the moment. The stability of the network device is judged according to the disconnection state of the network device to be tested, and if the frequency of the disconnection state of the network device is high, the network device is unstable, for example, 20 times of disconnection state occurs within one hour.
Fig. 2 is a block diagram of a network device stability testing apparatus 400 provided in the present application, and as shown in fig. 2, the network device stability testing apparatus 400 mainly includes:
a response obtaining module 401, configured to, in response to a test trigger action of a user, obtain a test command of at least one test box of the network device under test, where the test command of each test box includes at least one test website and an access period, and the type of the test box includes a web page loading test;
a sending module 402, configured to sequentially send, to a network device under test, at least one website access request of a test frame corresponding to an access period based on the access period, where each website access request includes a test website;
the acquiring and loading module 403 is configured to receive webpage information returned by the tested network device, and load the webpage information into the corresponding test frame in real time.
As an optional manner of this embodiment, the sending module 402 includes:
the first selection submodule is used for selecting a test website from a plurality of test websites;
the first generation submodule is used for generating a website access request based on the selected test website and at least one file to be uploaded;
the judgment execution submodule is used for sending the generated website access request to the tested network equipment and judging whether the access period is reached; and if so, selecting a next test website from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and at least one file to be uploaded until the test is finished.
As an optional manner of this embodiment, the sending module 402 further includes:
the second selection submodule is used for selecting a test website from a plurality of test websites;
the third selection submodule is used for selecting a file to be uploaded from a plurality of files to be uploaded corresponding to the selected test website;
the generation judgment submodule is used for sending the generated website access request to the tested network equipment and judging whether the access period is reached; and if so, selecting the next test website and the next file to be uploaded from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the selected file to be uploaded until the test is finished.
As an optional implementation manner of this embodiment, the network device stability testing apparatus 400 further includes:
the receiving and obtaining module is used for receiving a download file returned by the tested network equipment after sequentially sending the website access requests of the test frames to the tested network equipment based on the access period, and obtaining the download progress and the download rate of the file;
and the first display module is used for displaying the downloading progress and the downloading rate of the file in the corresponding test frame in real time.
As an optional implementation manner of this embodiment, the network device stability testing apparatus 400 further includes:
the acquisition module is used for acquiring the uploading rate and the uploading progress of the file to be uploaded after sequentially sending the website access requests of the test frames to the network equipment to be tested based on the access period;
and the second display module is used for displaying the uploading progress and the uploading speed of the file in the corresponding test frame in real time.
As an optional implementation manner of this embodiment, the network device stability testing apparatus 400 further includes:
the first real-time storage module is used for storing the webpage information in real time after receiving the webpage information returned by the tested network equipment;
the second real-time storage module is used for storing the file uploading rate in real time after acquiring the uploading rate and the uploading progress of the file to be uploaded;
and the third real-time storage module is used for storing the file downloading speed in real time after the downloading progress and the downloading speed of the file are displayed in the corresponding test frame in real time.
The functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application.
Fig. 3 is a block diagram of a stability testing apparatus 500 according to an embodiment of the present disclosure. As shown in fig. 3, the stability testing device 500 includes a memory 501, a processor 502, and a communication bus 503; the memory, processor 502 is connected by a communication bus 503. The memory 501 is stored with a network device stability test method capable of being loaded and executed by the processor 502 as provided in the above embodiments.
The memory 501 may be used to store instructions, programs, code sets, or instruction sets. The memory 501 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the network device stability test method provided by the above embodiments, and the like; the storage data area may store data and the like involved in the network device stability test method provided by the above embodiment.
Processor 502 may include one or more processing cores. The processor 502 executes various functions and processes data of the present application by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 501 to invoke data stored in the memory 501. The Processor 502 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the functions of the processor 502 may be other devices, and the embodiments of the present application are not limited in particular.
The communication bus 503 may include a path that conveys information between the aforementioned components. The communication bus 503 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 503 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
Fig. 4 is a block diagram of a network device stability testing system 600 according to an embodiment of the present disclosure. As shown in fig. 4, the network device stability test system 600 includes a stability test device 500, a network device under test 700, and a server 800.
The network device under test 700 sends a website access request to the server 800;
the server 800 receives the website access request sent by the network device 700 to be tested, and sends the webpage information corresponding to the website access request to the network device 700 to be tested;
the stability testing device 500 is used for displaying the webpage information returned by the tested network device.
Embodiments of the present application provide a computer-readable storage medium, which stores a computer program that can be loaded by a processor and execute the network device stability testing method provided in the foregoing embodiments.
In this embodiment, the computer readable storage medium may be a tangible device that retains and stores instructions for use by an instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any combination of the foregoing. In particular, the computer readable storage medium may be a portable computer diskette, a hard disk, a U-disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a podium random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical coding device, and any combination thereof.
The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the spirit of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.

Claims (10)

1. A method for testing stability of network equipment is characterized by comprising the following steps:
responding to a test trigger action of a user, and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access period, and the type of the test frame comprises a webpage loading test;
sequentially sending at least one website access request of the test frame corresponding to the access period to the tested network equipment based on the access period, wherein each website access request comprises one test website;
and receiving webpage information returned by the tested network equipment, and loading the webpage information into a corresponding test frame in real time.
2. The method of claim 1, wherein the type of test box further comprises a file download test; after the sequentially sending the website access requests of the test boxes to the tested network equipment based on the access period, the method further comprises the following steps:
receiving a download file returned by the tested network equipment, and acquiring the download progress and the download rate of the file;
and displaying the downloading progress and the downloading rate of the file in a corresponding test frame in real time.
3. The method of claim 1 or 2, wherein the type of the test box further comprises a file upload test; the test command of the test frame also comprises at least one file to be uploaded; each website access request further comprises at least one file to be uploaded; after the sequentially sending the website access requests of the test boxes to the tested network equipment based on the access period, the method further comprises the following steps:
acquiring the uploading rate and the uploading progress of the file to be uploaded;
and displaying the uploading progress and the uploading rate of the file in a corresponding test frame in real time.
4. The method of claim 3, wherein: after the receiving of the web page information returned by the tested network device, the method further includes:
storing the webpage information in real time;
after the obtaining of the uploading rate and the uploading progress of the file to be uploaded, the method further comprises the following steps:
storing the file uploading rate in real time;
after the downloading progress and the downloading rate of the file are displayed in the corresponding test frame in real time, the method further comprises the following steps:
and storing the file downloading rate in real time.
5. The method according to claim 3, wherein if the test frame corresponds to a plurality of test websites, the sequentially sending at least one website access request of the test frame corresponding to the access period to the network device under test based on the access period comprises:
selecting a test website from the plurality of test websites;
generating a website access request based on the selected test website and the at least one file to be uploaded;
sending the generated website access request to the tested network equipment, and judging whether the access period is reached;
and if so, selecting a next test website from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the at least one file to be uploaded until the test is finished.
6. The method according to claim 3, wherein if the test frame corresponds to a plurality of test websites and a plurality of files to be uploaded, the sequentially sending at least one website access request of the test frame corresponding to the access period to the network device under test based on the access period comprises:
selecting a test website from the plurality of test websites;
selecting a file to be uploaded from a plurality of files to be uploaded corresponding to the selected test website;
generating a website access request based on the selected test website and the selected file to be uploaded;
sending the generated website access request to the tested network equipment, and judging whether the access period is reached;
and if so, selecting the next test website and the next file to be uploaded from the plurality of test websites, and executing the step of generating a website access request based on the selected test website and the selected file to be uploaded until the test is finished.
7. A network equipment stability testing device is characterized by comprising:
the response acquisition module is used for responding to a test trigger action of a user and acquiring a test command of at least one test frame of the tested network equipment, wherein the test command of each test frame comprises at least one test website and an access period, and the type of the test frame comprises a webpage loading test;
a sending module, configured to sequentially send, to a network device under test, at least one website access request of the test frame corresponding to the access period based on the access period, where each website access request includes one test website;
and the acquisition loading module is used for receiving the webpage information returned by the tested network equipment and loading the webpage information into the corresponding test frame in real time.
8. A stability test apparatus comprising a memory and a processor, the memory having stored thereon a computer program which can be loaded by the processor and which can carry out the method of any one of claims 1 to 6.
9. A network device stability test system comprising the stability test device of claim 8, a network device under test, and a server;
the tested network equipment sends a website access request to the server;
and the server receives the website access request sent by the tested network equipment and sends the webpage information corresponding to the website access request to the tested network equipment.
10. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method of any one of claims 1 to 6.
CN202111596211.2A 2021-12-24 2021-12-24 Network equipment stability testing method, device, equipment, system and medium Pending CN114257529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111596211.2A CN114257529A (en) 2021-12-24 2021-12-24 Network equipment stability testing method, device, equipment, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111596211.2A CN114257529A (en) 2021-12-24 2021-12-24 Network equipment stability testing method, device, equipment, system and medium

Publications (1)

Publication Number Publication Date
CN114257529A true CN114257529A (en) 2022-03-29

Family

ID=80797357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111596211.2A Pending CN114257529A (en) 2021-12-24 2021-12-24 Network equipment stability testing method, device, equipment, system and medium

Country Status (1)

Country Link
CN (1) CN114257529A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761841B1 (en) * 2005-04-29 2010-07-20 Sprint Communications Company L.P. Enhanced data loading for test management tool
CN102075961A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Control method and device of automatic testing process
CN103514083A (en) * 2012-06-29 2014-01-15 上海宽带技术及应用工程研究中心 Energy efficiency test method for computer equipment
CN103514082A (en) * 2012-06-29 2014-01-15 上海宽带技术及应用工程研究中心 Test method for reflecting WEB energy efficiency of computer equipment
CN104035863A (en) * 2013-03-08 2014-09-10 腾讯科技(深圳)有限公司 Browser testing method and device
CN104156461A (en) * 2014-08-20 2014-11-19 深圳市共进电子股份有限公司 Method and device for testing pressure of gateway products
CN106598821A (en) * 2015-10-14 2017-04-26 腾讯科技(深圳)有限公司 Webpage loading speed test method and device
CN108959000A (en) * 2018-06-20 2018-12-07 深圳市腾讯网络信息技术有限公司 A kind of server stress test method, system and terminal
CN109525461A (en) * 2018-11-27 2019-03-26 杭州迪普科技股份有限公司 A kind of test method of the network equipment, device, equipment and storage medium
CN110413512A (en) * 2019-07-03 2019-11-05 深圳市珍爱捷云信息技术有限公司 AB test method, device, computer equipment and storage medium
CN111444103A (en) * 2020-03-31 2020-07-24 腾讯音乐娱乐科技(深圳)有限公司 Automatic testing method for Web page and related equipment
CN111581107A (en) * 2020-05-13 2020-08-25 武汉虹信通信技术有限责任公司 FTP program fatigue test method and system
CN112052163A (en) * 2020-08-19 2020-12-08 北京天融信网络安全技术有限公司 High-concurrency webpage pressure testing method and device, electronic equipment and storage medium
CN113014452A (en) * 2021-03-01 2021-06-22 鹏城实验室 Network flow testing method, device, testing end and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761841B1 (en) * 2005-04-29 2010-07-20 Sprint Communications Company L.P. Enhanced data loading for test management tool
CN102075961A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Control method and device of automatic testing process
CN103514083A (en) * 2012-06-29 2014-01-15 上海宽带技术及应用工程研究中心 Energy efficiency test method for computer equipment
CN103514082A (en) * 2012-06-29 2014-01-15 上海宽带技术及应用工程研究中心 Test method for reflecting WEB energy efficiency of computer equipment
CN104035863A (en) * 2013-03-08 2014-09-10 腾讯科技(深圳)有限公司 Browser testing method and device
CN104156461A (en) * 2014-08-20 2014-11-19 深圳市共进电子股份有限公司 Method and device for testing pressure of gateway products
CN106598821A (en) * 2015-10-14 2017-04-26 腾讯科技(深圳)有限公司 Webpage loading speed test method and device
CN108959000A (en) * 2018-06-20 2018-12-07 深圳市腾讯网络信息技术有限公司 A kind of server stress test method, system and terminal
CN109525461A (en) * 2018-11-27 2019-03-26 杭州迪普科技股份有限公司 A kind of test method of the network equipment, device, equipment and storage medium
CN110413512A (en) * 2019-07-03 2019-11-05 深圳市珍爱捷云信息技术有限公司 AB test method, device, computer equipment and storage medium
CN111444103A (en) * 2020-03-31 2020-07-24 腾讯音乐娱乐科技(深圳)有限公司 Automatic testing method for Web page and related equipment
CN111581107A (en) * 2020-05-13 2020-08-25 武汉虹信通信技术有限责任公司 FTP program fatigue test method and system
CN112052163A (en) * 2020-08-19 2020-12-08 北京天融信网络安全技术有限公司 High-concurrency webpage pressure testing method and device, electronic equipment and storage medium
CN113014452A (en) * 2021-03-01 2021-06-22 鹏城实验室 Network flow testing method, device, testing end and storage medium

Similar Documents

Publication Publication Date Title
TWI533123B (en) Method and system for automated test and result comparison
CN111078539B (en) Test method, device, system and computer readable storage medium
CN111177618A (en) Website building method, device, equipment and computer readable storage medium
CN109344066B (en) Method, system and terminal for testing browser page
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN110851756A (en) Page loading method and device, computer readable storage medium and terminal equipment
CN111125057B (en) Method and device for processing service request and computer system
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN111274512A (en) Page loading method, device and medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
US10318615B1 (en) Modeling and measuring browser performance using reference pages
CN111694550A (en) Page display control method, device and system
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
CN110717122A (en) Page performance acquisition method and device and electronic equipment
CN110674023B (en) Interface testing method and device
JP6505849B2 (en) Generation of element identifier
CN111402000B (en) Service page generation method, device and system and computer system
CN105955980B (en) File downloading device and method
CN112052070A (en) Application containerization evaluation method and device, electronic equipment and storage medium
CN110708270B (en) Abnormal link detection method and device
CN114257529A (en) Network equipment stability testing method, device, equipment, system and medium
CN112667934A (en) Dynamic simulation diagram display method and device, electronic equipment and computer readable medium
CN108021464B (en) Bottom-pocketing processing method and device for application response data
RU2595763C2 (en) Method and apparatus for managing load on basis of android browser
CA3141546A1 (en) Log-based testing method, device, and computer system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220329