CN111581107B - FTP program fatigue test method and system - Google Patents

FTP program fatigue test method and system Download PDF

Info

Publication number
CN111581107B
CN111581107B CN202010403268.5A CN202010403268A CN111581107B CN 111581107 B CN111581107 B CN 111581107B CN 202010403268 A CN202010403268 A CN 202010403268A CN 111581107 B CN111581107 B CN 111581107B
Authority
CN
China
Prior art keywords
test
area network
performance index
storage server
service terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010403268.5A
Other languages
Chinese (zh)
Other versions
CN111581107A (en
Inventor
李�雨
唐奇
冯健
姜增光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Hongxin Technology Development Co Ltd
Original Assignee
Wuhan Hongxin Technology Development 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 Wuhan Hongxin Technology Development Co Ltd filed Critical Wuhan Hongxin Technology Development Co Ltd
Priority to CN202010403268.5A priority Critical patent/CN111581107B/en
Publication of CN111581107A publication Critical patent/CN111581107A/en
Application granted granted Critical
Publication of CN111581107B publication Critical patent/CN111581107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3604Software analysis for verifying properties of programs
    • 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)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the invention provides a fatigue test method and a fatigue test system for an FTP program. The method comprises the following steps: the storage server deployed in the local area network reports performance indexes obtained by fatigue testing of the FTP program on the test service terminal to the monitoring server deployed in the wide area network; the monitoring server receives and executes the query instruction sent by the user terminal through the wide area network, acquires the performance index corresponding to the query instruction, and sends the performance index corresponding to the query instruction to the user terminal. According to the FTP program fatigue test method and system provided by the embodiment of the invention, the monitoring server is in the wide area network through collecting and storing in the local area network, remote control can be performed at any time and any place through the user terminal, the test progress is concerned in real time, the test instruction is regulated in real time, and the whole test process can be controlled at any time and any place, so that the field working time of a tester can be further saved, the test efficiency can be improved, and the test cost can be reduced.

Description

FTP program fatigue test method and system
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a system for testing fatigue of an FTP program.
Background
In the network management system architecture, a process of reporting device acquisition information to an OMC (operation and maintenance center ) network management server is called southbound uploading, and a process of uploading device acquisition data to a comprehensive network management server by the OMC network management server is called northbound uploading.
The southern file uploading path is as follows: the OMC network manager issues a data acquisition instruction to the equipment, the equipment uploads the acquired data XML file mode to an FTP server through an FTP, and reports a file uploading completion indication message to the OMC network manager; the northbound file uploading path is as follows: and the OMC network manager downloads, analyzes and repacks the file uploaded by the equipment into a northbound file according to the information reported by the equipment, and pushes the northbound file to a server appointed by the northbound integrated network manager through the FTP.
Therefore, in the whole network management system operation process, the FTP program is one of core components, and in the south-oriented file uploading and north-oriented file uploading processes, whether the FTP program is stable or not is closely related to the safety and stability of the transferred process. Therefore, concurrent fatigue test on the FTP program is necessary when the stability of the network management system is tested, and FTP program optimization is performed according to specific test results.
FTP program fatigue testing is a test that requires long runs, and this type of test often requires that the FTP program run continuously for a longer period of time, such as 72 hours or 7 x 24 hours, with concurrent access. As such, such testing requires full use of both night and weekend time, but in such long testing procedures, various unpredictable testing risks are very likely to occur, and the entire testing procedure requires long time gatekeeper for the tester, requiring extremely high human power requirements for the tester.
Aiming at the situation, the fatigue test is carried out by the Loadrunner automation test software in common use at present, but the test mode has the following three problems: firstly, considering the safety of data, the automatic test software is generally put in a local area network to operate, and cannot be directly accessed through a web network, so that a tester needs to be on site and cannot remotely operate and adjust at any time and any place, and the requirement on manpower is extremely high, and the efficiency is low; secondly, in the fatigue test process, the automatic test software does not have an active alarm prompt and self-processing mechanism, and if the triggered problem cannot be processed in time, the whole test result may be invalidated; third, automated test software itself is expensive.
Disclosure of Invention
The embodiment of the invention provides a fatigue test method and a system for an FTP program, which are used for solving or at least partially solving the defect of low test efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a method for testing fatigue of an FTP program, including:
the storage server deployed in the local area network reports performance indexes obtained by fatigue testing of the FTP program on the test service terminal to the monitoring server deployed in the wide area network;
the monitoring server receives and executes the query instruction sent by the user terminal through the wide area network, acquires the performance index corresponding to the query instruction, and sends the performance index corresponding to the query instruction to the user terminal.
Preferably, the FTP program fatigue test method further comprises:
the monitoring server receives an operation instruction sent by the user terminal and sends the operation instruction to the storage server; the operation instruction is used for performing fatigue test on the FTP program on the test service terminal;
and the storage server sends the operation instruction to the test service terminal through the local area network, so that the test service terminal executes the operation instruction and performs fatigue test on the FTP program.
Preferably, before reporting the performance index obtained by performing the fatigue test on the FTP program on the test service terminal to the monitoring server disposed on the wide area network, the storage server disposed on the local area network further includes:
the storage server judges whether the performance index meets any preset emergency treatment scene or not;
and if not meeting each emergency processing scene, the storage server executes reporting of the performance index to the monitoring server.
Preferably, the storage server further includes, after determining whether the performance index meets any preset emergency processing scenario:
and if any emergency processing scene is met, the storage server sends an emergency processing instruction corresponding to the any emergency processing scene to the test service terminal.
Preferably, after reporting the performance index obtained by performing the fatigue test on the FTP program on the test service terminal to the monitoring server disposed on the wide area network, the storage server disposed on the local area network further includes:
and if the monitoring server judges that any performance index meets the preset alarm condition, sending alarm information to the user terminal through the wide area network.
Preferably, before the storage server determines whether the performance index meets any preset emergency treatment scene, the storage server further includes:
the test service terminal sends the performance index to a processing server through the local area network;
the processing server encrypts the performance index and then sends the performance index to the storage server through the local area network;
and the storage server decrypts the encrypted performance index and stores the decrypted performance index into a database.
Preferably, the specific step of the storage server sending the operation instruction to the test service terminal through the local area network includes:
and the storage server reads the operation instruction according to a preset period and sends the read operation instruction to the test service terminal through the local area network.
Preferably, the specific step of the storage server sending the read operation instruction to the test service terminal through the local area network includes:
the storage server encrypts the operation instruction and then sends the operation instruction to a processing server through the local area network;
and the processing server decrypts the encrypted operation instruction and sends the operation instruction to the test service terminal through the local area network.
In a second aspect, an embodiment of the present invention provides an FTP program fatigue test system, including: the storage server and the test service terminal are deployed in the local area network, and the monitoring server is deployed in the wide area network; the storage server and the monitoring server perform data interaction in an IP mapping mode;
the storage server is used for reporting performance indexes obtained by fatigue test of the FTP program on the test service terminal to the monitoring server;
the monitoring server is used for receiving and executing the query instruction sent by the user terminal, acquiring the performance index corresponding to the query instruction, and sending the performance index corresponding to the query instruction to the user terminal.
Preferably, the FTP program fatigue test system further comprises:
and the processing server is deployed on the local area network and is used for transmitting the performance index to the storage server through the local area network after encrypting the performance index.
According to the FTP program fatigue test method and system provided by the embodiment of the invention, the collection and storage are in the local area network, and the local area network is used, so that the access of each test terminal server is very fast, the accessible stability of the server is ensured, and the risk of test data loss is greatly reduced; the monitoring server is in the wide area network, a tester can remotely control at any time and any place through the user terminal, pay attention to the test progress and adjust the test instruction in real time, and the whole test process can be controlled at any time and any place, so that the field working time of the tester can be further saved, the test efficiency can be improved, and the test cost can be reduced. Furthermore, the test environment is built more conveniently and rapidly, the cost is lower, and the difficult problem of long-time management and control difficulty in the fatigue test process of the FTP program can be better solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an FTP fatigue test method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an FTP fatigue test method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an FTP fatigue test system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a forward workflow of an FTP program fatigue testing system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a reverse workflow of an FTP program fatigue test system according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to overcome the problems in the prior art, the embodiment of the invention provides a fatigue test method and a fatigue test system for an FTP program.
Fig. 1 is a flowchart of an FTP program fatigue test method according to an embodiment of the present invention. As shown in fig. 1, the method includes: step S101, a storage server deployed in a local area network reports performance indexes obtained by performing fatigue test on an FTP program on a test service terminal to a monitoring server deployed in a wide area network.
It should be noted that, the execution main body of the FTP program fatigue test method provided by the embodiment of the present invention is an FTP program fatigue test system. The system can comprise a storage server and a test service terminal which are deployed on a local area network, and a monitoring server which is deployed on a wide area network.
Each test service terminal can acquire performance indexes on the corresponding test service terminal through an acquisition module on the test service terminal, and the performance indexes are transmitted to a storage server through a local area network for storage.
The acquisition module sets relevant configuration data, wherein the configuration data comprises the configuration of the FTP program to be tested, the server configuration (such as IP and port number) of the acquisition module, a server instruction issuing switch, a log switch and the like.
The acquisition module mainly realizes the acquisition of performance indexes. And acquiring performance indexes, wherein in the testing process, the FTP program transmission logs are periodically read and counted to obtain the data such as the concurrency number, the success number, the failure number, the reconnection times, the transmission time delay and the like in the file transmission process as the performance indexes.
The storage server may store the received performance metrics in a database via a storage module on the storage server.
Preferably, the storage module may store the time records in the performance index data in sequence in a database of the storage server.
After storage, the stored performance metrics may be sent to a monitoring server.
It should be noted that, the monitoring server is in the wide area network, and can interact with the storage server in the local area network through the IP mapping mode, and the firewall in the local area network performs port mapping management and control.
Step S102, the monitoring server receives and executes the query instruction sent by the user terminal through the wide area network, acquires the performance index corresponding to the query instruction, and sends the performance index corresponding to the query instruction to the user terminal.
Specifically, the user terminal sends a query instruction to the monitoring server through a wide area network (such as the internet, etc.) to obtain a required performance index.
The monitoring server can deploy the accessed client, provide a WEB interface capable of showing a data graph for the user terminal, enable the user to remotely access the user terminal such as a computer or a mobile phone outside a company, and respond to the inquiry and/or instruction operation of the user through communication with the database of the storage server.
And the monitoring server acquires the corresponding performance index as a query result by executing the query instruction, and returns the query result to the user terminal through the wide area network.
Query instructions, which may be used to perform real-time queries or historical queries.
The embodiment of the invention ensures that all the test terminal servers are accessed very fast, the accessible stability of the servers is ensured, and the risk of test data loss is greatly reduced by collecting and storing the data in the local area network and using the local area network; the monitoring server is in the wide area network, a tester can remotely control at any time and any place through the user terminal, pay attention to the test progress and adjust the test instruction in real time, and the whole test process can be controlled at any time and any place, so that the field working time of the tester can be further saved, the test efficiency can be improved, and the test cost can be reduced. Furthermore, the test environment is built more conveniently and rapidly, the cost is lower, and the difficult problem of long-time management and control difficulty in the fatigue test process of the FTP program can be better solved.
Based on the foregoing contents of the embodiments, as shown in fig. 2, the FTP program fatigue test method further includes: step S201, a monitoring server receives an operation instruction sent by a user terminal and sends the operation instruction to a storage server; and the operation instruction is used for carrying out fatigue test on the FTP program on the test service terminal.
Specifically, conversely, the user may use a user terminal such as a computer or a mobile phone to perform fatigue test on the FTP program by using an operation instruction of the FTP program on a certain test service terminal that is issued through the wide area network.
And the monitoring server receives the operation instruction sent by the user terminal and forwards the operation instruction to the storage server.
Step S202, the storage server sends the operation instruction to the test service terminal through the local area network, so that the test service terminal executes the operation instruction to perform fatigue test on the FTP program.
Specifically, the storage server transmits the operation instruction to the test service terminal through the local area network.
After receiving the operation instruction, the test service terminal executes the operation instruction, the FTP program performs uploading and/or downloading operation based on the FTP protocol, and performs fatigue test on the FTP program to obtain the data such as the concurrency number, the success number, the failure number, the reconnection number, the transmission time delay and the like as performance indexes.
The embodiment of the invention ensures that all the test terminal servers are accessed very fast, the accessible stability of the servers is ensured, and the risk of test data loss is greatly reduced by collecting and storing the data in the local area network and using the local area network; the monitoring server is in the wide area network, a tester can remotely control at any time and any place through the user terminal, pay attention to the test progress and adjust the test instruction in real time, and the whole test process can be controlled at any time and any place, so that the field working time of the tester can be further saved, the test efficiency can be improved, and the test cost can be reduced. Furthermore, the test environment is built more conveniently and rapidly, the cost is lower, and the difficult problem of long-time management and control difficulty in the fatigue test process of the FTP program can be better solved.
Based on the foregoing content of each embodiment, before reporting, to the storage server disposed in the local area network, the performance index obtained by performing the fatigue test on the FTP program on the test service terminal, to the monitoring server disposed in the wide area network, the method further includes: and the storage server is used for judging whether the performance index meets any preset emergency treatment scene.
Specifically, before the storage server reports the performance index to the monitoring server, whether the performance index meets any preset emergency treatment scene is judged.
If the result of judging whether the performance index meets any preset emergency processing scene is that the performance index does not meet each emergency processing scene, the storage server executes reporting of the performance index to the monitoring server.
Specifically, if each emergency processing scenario is not satisfied, it indicates that the testing process is normal, and the performance index may be directly reported to the monitoring server, so as to execute step S101.
The embodiment of the invention ensures that all the test terminal servers are accessed very fast, the accessible stability of the servers is ensured, and the risk of test data loss is greatly reduced by collecting and storing the data in the local area network and using the local area network.
Based on the content of each embodiment, the storage server further includes: if any emergency processing scene is met, the storage server sends an emergency processing instruction corresponding to the any emergency processing scene to the test service terminal.
Specifically, if the result of judging whether the performance index meets any preset emergency treatment scene is that a certain emergency treatment scene is met, determining an emergency treatment instruction corresponding to the emergency treatment scene, and sending the emergency treatment instruction to a test service terminal through a local area network so as to automatically carry out emergency treatment on a problem scene.
It should be noted that, the emergency processing instruction is a preset instruction. Different emergency treatment instructions correspond to different emergency treatment scenes. The emergency processing instruction can restart the FTP program, and restart the test or restart the test service terminal.
The embodiment of the invention configures the emergency processing instruction of the known scene, and can automatically match the problem scene in the test process to carry out automatic emergency processing, thereby improving the test efficiency and reducing the test cost.
Based on the foregoing content of each embodiment, after reporting, to a storage server disposed in the local area network, a performance index obtained by performing a fatigue test on an FTP program on a test service terminal to a monitoring server disposed in the wide area network, the method further includes: and if judging that any performance index meets the preset alarm condition, the monitoring server sends alarm information to the user terminal through the wide area network.
Specifically, after the monitoring server receives the performance index, it may also determine whether the performance index meets a preset alarm condition.
The monitoring server can judge the compliance and the priority of the performance index according to a preset performance index threshold, and if the judging result is serious and important priority, the monitoring server can send alarm information to the user terminal in an alarm sound or early warning popup mode to inform a tester; otherwise, the prompt is not carried out.
According to the embodiment of the invention, the performance index early warning is carried out, so that a tester can find out and process the problems in time, the testing efficiency can be improved, and the testing cost can be reduced.
Based on the content of each embodiment, before the storage server determines whether the performance index meets any preset emergency processing scene, the storage server further includes: and the test service terminal sends the performance index to the processing server through the local area network.
In particular, the system may also include a processing server deployed on the local area network.
The acquisition module on each test service terminal can send the obtained performance index to the processing module on the processing server through the local area network.
The acquisition module and the processing module can perform data interaction through a data connection program on the processing server.
And the processing server encrypts the performance index and then sends the performance index to the storage server through the local area network.
Specifically, in order to ensure security and privacy, the processing module on the processing server may collect the performance indexes reported by each test service terminal, encrypt the performance indexes, and then send the performance indexes to the storage server through the local area network.
The processing module of the processing server and the storage module of the storage server interact through a data access connection program.
The storage server decrypts the encrypted performance index and stores the decrypted performance index into a database.
Specifically, the storage module on the storage server may decrypt the received encrypted data and store the decrypted data in the database of the storage server.
The embodiment of the invention can ensure the safety of the test data by carrying out encryption transmission on the performance index.
Based on the content of the above embodiments, the specific steps of the storage server sending the operation instruction to the test service terminal through the local area network include: and the storage server reads the operation instruction according to a preset period and sends the read operation instruction to the test service terminal through the local area network.
Specifically, the storage module on the storage server may read the issued operation instruction from the database of the storage server according to a preset period, and send the operation instruction to the test service terminal through the local area network.
According to the embodiment of the invention, the storage server sends the operation instruction to the test service terminal through the local area network according to the preset period, so that the timely execution of the operation instruction can be ensured.
Based on the content of each embodiment, the specific steps of the storage server sending the read operation instruction to the test service terminal through the local area network include: after encrypting the operation instruction, the storage server sends the operation instruction to the processing server through the local area network.
Specifically, in the local area network, the operation instruction may also be transmitted in an encrypted manner, the storage server encrypts the operation instruction, and the encrypted operation instruction is sent to the processing server through the local area network.
The processing server decrypts the encrypted operation instruction and sends the operation instruction to the test service terminal through the local area network.
Specifically, the processing server decrypts the operation instruction forwarded by the storage module of the storage server and sends the operation instruction to the acquisition module of each test terminal.
It will be appreciated that the emergency treatment instructions may also be transmitted in an encrypted manner within the local area network. The encryption transmission process of the emergency processing instruction is similar to that of the operation instruction, and will not be described here again.
The embodiment of the invention can ensure the safety of test data by carrying out encryption transmission on the operation instruction
Fig. 3 is a schematic structural diagram of an FTP program fatigue test system according to an embodiment of the present invention. Based on the content of the above embodiments, as shown in fig. 3, the system includes a test service terminal 301, a storage server 302, and a monitoring server 303, where:
a storage server 302 and a test service terminal 301 deployed in a local area network, and a monitoring server 303 deployed in a wide area network; the storage server 302 and the monitoring server 303 perform data interaction in an IP mapping mode;
a storage server 302, configured to report, to a monitoring server 303, a performance index obtained by performing a fatigue test on an FTP program on the test service terminal 301;
the monitoring server 303 is configured to receive and execute the query instruction sent by the user terminal, obtain the performance index corresponding to the query instruction, and send the performance index corresponding to the query instruction to the user terminal.
Specifically, each test service terminal 301 may collect performance indexes on the corresponding test service terminal 301, and transmit the performance indexes to the storage server 302 for storage through the lan.
The storage server 302 may store the received performance metrics in a database; after storage, the stored performance metrics may be sent to the monitoring server 303.
The monitoring server 303 may respond to the query operation of the user, obtain the corresponding performance index as a query result by executing the query instruction, and return the query result to the user terminal through the wide area network.
The specific method and flow of implementing the corresponding functions of each module included in the FTP program fatigue test system are detailed in the embodiments of the FTP program fatigue test method, and are not repeated herein.
The FTP program fatigue test system is used for the FTP program fatigue test method of each embodiment. Therefore, the description and definition in the FTP program fatigue test method in the foregoing embodiments may be used for understanding each execution module in the embodiments of the present invention.
The embodiment of the invention ensures that all the test terminal servers are accessed very fast, the accessible stability of the servers is ensured, and the risk of test data loss is greatly reduced by collecting and storing the data in the local area network and using the local area network; the monitoring server is in the wide area network, a tester can remotely control at any time and any place through the user terminal, pay attention to the test progress and adjust the test instruction in real time, and the whole test process can be controlled at any time and any place, so that the field working time of the tester can be further saved, the test efficiency can be improved, and the test cost can be reduced. Furthermore, the test environment is built more conveniently and rapidly, the cost is lower, and the difficult problem of long-time management and control difficulty in the fatigue test process of the FTP program can be better solved.
Based on the foregoing content of each embodiment, the FTP program fatigue test system further includes: the processing server is deployed on the local area network and used for encrypting the performance index and then sending the performance index to the storage server through the local area network.
Specifically, in order to ensure security and privacy, the processing module on the processing server may collect the performance indexes reported by each test service terminal, encrypt the performance indexes, and then send the performance indexes to the storage server through the local area network.
It should be noted that, the processing server, the storage server and the monitoring server in the whole set of system realize seamless switching through a Windows failover cluster mode, so as to prevent the failure of the management and control system caused by network failure or program error, and ensure 7×24 hours operation of the whole set of system.
The embodiment of the invention can ensure the safety of the test data by carrying out encryption transmission on the performance index.
In order to facilitate understanding of the above embodiments of the present invention, a forward workflow and a reverse workflow of the FTP program fatigue test system provided by the embodiments of the present invention are described below.
FIG. 4 is a schematic diagram of a forward workflow of an FTP program fatigue testing system according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a reverse workflow of an FTP program fatigue test system according to an embodiment of the present invention. As shown in fig. 4 and 5, the system includes a test service terminal, a processing server, a storage server, and a monitoring server.
Forward workflow, which is a flow for reporting performance indexes obtained by fatigue test of the FTP program; reverse workflow is a flow for issuing instructions for fatigue testing of FTP programs.
As shown in fig. 4, the forward workflow may include:
the test service terminal can collect performance indexes of the test service terminal in the process of performing fatigue test on the FTP program deployed on the test service terminal and send the performance indexes to the processing server in the local area network;
the processing server gathers and encrypts the received performance indexes and sends the performance indexes to a storage server in the local area network;
the storage server decrypts the received encrypted data and stores the decrypted data into a database of the storage server; on the other hand, judging whether the performance index meets any preset emergency treatment scene or not;
if not, the storage server sends the performance index obtained by decryption to the monitoring server; if yes, the storage server sends an emergency treatment instruction corresponding to the met emergency treatment scene to the test service terminal through the treatment server to perform emergency treatment;
the monitoring server provides a WEB interface capable of displaying a data graph, so that a user can remotely access the outside of the test area by using a user terminal (such as a computer or a mobile phone APP) and responds to real-time query and instruction operation of the user by communicating with a database of the storage server;
the monitoring server judges whether the performance index meets the preset alarm condition; if yes, the monitoring server can actively report alarm information to the user terminal; if not, the monitoring server does not actively report the alarm information to the user terminal.
As shown in fig. 5, the reverse workflow may include:
the monitoring server writes an operation instruction of the FTP program on a certain test service terminal issued by a user through a remote user terminal (such as a computer or a mobile phone APP) into a database of the storage server;
the storage server encrypts and transmits the operation instruction or the emergency treatment instruction in the storage server database to the processing server;
the processing server decrypts the operation instruction or the emergency processing instruction received by the processing server and sends the operation instruction or the emergency processing instruction to the test service terminal;
and the test service terminal receives the operation instruction issued by the processing server and sends the operation instruction to the corresponding FTP program for execution so as to perform fatigue test on the FTP program.
The system embodiments described above are merely illustrative, in which elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. It is to be understood that the foregoing aspects, in essence, or portions thereof, may be embodied in the form of a software product that may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments, or methods of portions of the embodiments, described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for FTP program fatigue testing, comprising:
the storage server deployed in the local area network reports performance indexes obtained by fatigue testing of the FTP program on the test service terminal to the monitoring server deployed in the wide area network; the performance index comprises the number of concurrences, the number of success, the number of failure, the reconnection times and the transmission time delay in the file transmission process, which are obtained by periodically reading and counting the transmission log of the FTP program in the test process of the test service terminal;
the monitoring server receives and executes a query instruction sent by a user terminal through the wide area network, acquires a performance index corresponding to the query instruction, and sends the performance index corresponding to the query instruction to the user terminal;
before reporting the performance index obtained by performing fatigue test on the FTP program on the test service terminal to the monitoring server deployed on the wide area network, the storage server deployed on the local area network further comprises:
the storage server judges whether the performance index meets any preset emergency treatment scene or not;
if not meeting each emergency processing scene, the storage server executes reporting of the performance index to the monitoring server;
the storage server judges whether the performance index meets any preset emergency treatment scene or not, and then the storage server further comprises:
if any emergency processing scene is met, the storage server sends an emergency processing instruction corresponding to the any emergency processing scene to the test service terminal; and the emergency processing instruction is an instruction for restarting the FTP program, carrying out the test again or restarting the test service terminal.
2. The FTP program fatigue testing method according to claim 1, further comprising:
the monitoring server receives an operation instruction sent by the user terminal and sends the operation instruction to the storage server; the operation instruction is used for performing fatigue test on the FTP program on the test service terminal;
and the storage server sends the operation instruction to the test service terminal through the local area network, so that the test service terminal executes the operation instruction and performs fatigue test on the FTP program.
3. The method for testing fatigue of an FTP program according to any one of claims 1 to 2, wherein after reporting, to a monitoring server disposed on a wide area network, a performance index obtained by performing fatigue testing on the FTP program on a test service terminal, the storage server disposed on the local area network further comprises:
and if the monitoring server judges that any performance index meets the preset alarm condition, sending alarm information to the user terminal through the wide area network.
4. The FTP program fatigue testing method according to claim 1, wherein before the storage server determines whether the performance index meets any preset emergency processing scenario, the FTP program fatigue testing method further comprises:
the test service terminal sends the performance index to a processing server through the local area network;
the processing server encrypts the performance index and then sends the performance index to the storage server through the local area network;
and the storage server decrypts the encrypted performance index and stores the decrypted performance index into a database.
5. The FTP program fatigue test method according to claim 2, wherein the specific step of the storage server transmitting the operation instruction to the test service terminal through the local area network comprises:
and the storage server reads the operation instruction according to a preset period and sends the read operation instruction to the test service terminal through the local area network.
6. The FTP program fatigue test method according to claim 5, wherein the specific step of the storage server transmitting the read operation instruction to the test service terminal through the local area network comprises:
the storage server encrypts the operation instruction and then sends the operation instruction to a processing server through the local area network;
and the processing server decrypts the encrypted operation instruction and sends the operation instruction to the test service terminal through the local area network.
7. An FTP program fatigue test system, comprising: the storage server and the test service terminal are deployed in the local area network, and the monitoring server is deployed in the wide area network; the storage server and the monitoring server perform data interaction in an IP mapping mode;
the storage server is used for reporting performance indexes obtained by fatigue test of the FTP program on the test service terminal to the monitoring server; the performance index comprises the number of concurrences, the number of success, the number of failure, the reconnection times and the transmission time delay in the file transmission process, which are obtained by periodically reading and counting the transmission log of the FTP program in the test process of the test service terminal;
the monitoring server is used for receiving and executing the query instruction sent by the user terminal, acquiring the performance index corresponding to the query instruction and sending the performance index corresponding to the query instruction to the user terminal;
the storage server is further used for judging whether the performance index meets any preset emergency treatment scene; if not meeting each emergency processing scene, reporting the performance index to the monitoring server; if any emergency processing scene is met, an emergency processing instruction corresponding to the any emergency processing scene is sent to the test service terminal; and the emergency processing instruction is an instruction for restarting the FTP program, carrying out the test again or restarting the test service terminal.
8. The FTP program fatigue testing system according to claim 7, further comprising:
and the processing server is deployed on the local area network and is used for transmitting the performance index to the storage server through the local area network after encrypting the performance index.
CN202010403268.5A 2020-05-13 2020-05-13 FTP program fatigue test method and system Active CN111581107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010403268.5A CN111581107B (en) 2020-05-13 2020-05-13 FTP program fatigue test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010403268.5A CN111581107B (en) 2020-05-13 2020-05-13 FTP program fatigue test method and system

Publications (2)

Publication Number Publication Date
CN111581107A CN111581107A (en) 2020-08-25
CN111581107B true CN111581107B (en) 2023-08-18

Family

ID=72122918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010403268.5A Active CN111581107B (en) 2020-05-13 2020-05-13 FTP program fatigue test method and system

Country Status (1)

Country Link
CN (1) CN111581107B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257529A (en) * 2021-12-24 2022-03-29 深圳市欣博跃电子有限公司 Network equipment stability testing method, device, equipment, system and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN104967667A (en) * 2015-05-27 2015-10-07 国家计算机网络与信息安全管理中心 Software stability test remote monitoring system based on cloud service
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
CN106708517A (en) * 2016-12-09 2017-05-24 上海斐讯数据通信技术有限公司 Software automatic upgrading test system and method
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
CN109947641A (en) * 2019-02-20 2019-06-28 北京百佑科技有限公司 Automated testing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN104967667A (en) * 2015-05-27 2015-10-07 国家计算机网络与信息安全管理中心 Software stability test remote monitoring system based on cloud service
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
CN106708517A (en) * 2016-12-09 2017-05-24 上海斐讯数据通信技术有限公司 Software automatic upgrading test system and method
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
CN109947641A (en) * 2019-02-20 2019-06-28 北京百佑科技有限公司 Automated testing method and device

Also Published As

Publication number Publication date
CN111581107A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
TWI293009B (en) Apparatus and methods for determining network access performance of a wireless device
US8185619B1 (en) Analytics system and method
US9225554B2 (en) Device-health-based dynamic configuration of network management systems suited for network operations
US10200506B2 (en) Method, system and device for monitoring data
US8650277B2 (en) Method, system, and computer readable medium for gathering usage statistics
CN102739802B (en) Service application-oriented IT centralized operation and maintenance analyzing system
WO2017041406A1 (en) Failure positioning method and device
CN107018203A (en) A kind of frequency converter remote monitoring control method
CN111740860A (en) Log data transmission link monitoring method and device
CN111654321B (en) Satellite network management method and device and electronic equipment
CN103544095A (en) Server program monitoring method and system of server program
CN111581107B (en) FTP program fatigue test method and system
CN114253799A (en) Fault processing system, method, server and readable storage medium
WO2015120352A1 (en) Universal key performance indicator for the internet of things
CN100421381C (en) Method and device for obtaining information of operation and failure state for network equipment
CN115080363B (en) System capacity evaluation method and device based on service log
CN209897073U (en) Monitoring system of network management equipment
CN114095409A (en) Remote detection method, device, equipment and storage medium for terminal equipment fault
US20060026278A1 (en) Administration system for network management systems
CN112711518A (en) Log uploading method and device
CN112292715A (en) Unmanned aerial vehicle monitoring method and device and storage medium
KR101878409B1 (en) Apparatus and method for data processing
JP2020095362A (en) Remote monitoring system
WO2015065361A1 (en) Method and system for collection of device logs during a remote control session
CN113824592B (en) Quantum network management 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
TA01 Transfer of patent application right

Effective date of registration: 20201104

Address after: 430205 Hubei city of Wuhan province Jiangxia Hidden Dragon Island Tan lake two Road No. 1

Applicant after: Wuhan Hongxin Technology Development Co.,Ltd.

Address before: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Applicant before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant