CN112583663B - Automatic network performance testing method based on domestic operating system - Google Patents

Automatic network performance testing method based on domestic operating system Download PDF

Info

Publication number
CN112583663B
CN112583663B CN202011422552.3A CN202011422552A CN112583663B CN 112583663 B CN112583663 B CN 112583663B CN 202011422552 A CN202011422552 A CN 202011422552A CN 112583663 B CN112583663 B CN 112583663B
Authority
CN
China
Prior art keywords
test
testing
tool
result
user
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
CN202011422552.3A
Other languages
Chinese (zh)
Other versions
CN112583663A (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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CN202011422552.3A priority Critical patent/CN112583663B/en
Publication of CN112583663A publication Critical patent/CN112583663A/en
Application granted granted Critical
Publication of CN112583663B publication Critical patent/CN112583663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • 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
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic network performance testing method based on a domestic operating system, which comprises the following steps: the method comprises the following steps: automatic building of a test environment, automatic testing, one-key automatic installation and uninstallation of a tool. The invention develops a network performance testing tool of a domestic operating system, covers a plurality of functions of network performance testing, comprises six test items of information acquisition, network bandwidth testing, throughput testing, response time testing, delay testing and stability testing, has a visual interface, supports visual display of a testing process and graphical display of a testing result, has the function of self-defining testing related parameters, supports storage of the testing result, and can lead out the testing result of a single function as required after the result is successfully stored.

Description

Automatic network performance testing method based on domestic operating system
Technical Field
The invention relates to the technical field of network performance testing, in particular to an automatic network performance testing method based on a domestic operating system.
Background
With the rapid development of networks, the demand of people on network resources is gradually increased, and the network applications are also continuously increased, so that users have gradually higher requirements on the performance of the networks. At present, the measurement of network performance indexes is concerned at home and abroad, and the current network can be modeled and analyzed by analyzing test data, so that information such as bandwidth, throughput, response time, delay, packet loss rate and the like of the network can be obtained. From the perspective of network service, operation and maintenance, the network measurement data can be used as an important basis for management and control of the macro network. The development of network devices and the expansion of new services require knowledge of various characteristics within the network.
At present, networks become infrastructure of social life, and bear more and more key applications such as control, finance and military and sensitive applications such as voice and video. With the increasing scale of networks, new devices, services, etc. of the networks appear successively, people pay more attention to the performance characteristics of the networks. The network quality is affected by the indexes of bandwidth, delay, packet loss, jitter and the like. The bandwidth affects the transmission speed of the network, the delay length affects the time consumption, the packet loss rate affects the accuracy of network data transmission, and the jitter refers to the time difference between the maximum delay and the minimum delay, which affects the stability of the network. These metrics can be used to evaluate the quality of a network. The whole process of network management and fault analysis is through the problem of network test, that is, the network test brings an effective discrimination method for the healthy operation of the network.
With the rapid development and popularization of information technology and the internet, electronic commerce has become an irresistible modern business trend, cloud computing and big data application become mature day by day, and a plurality of problems and challenges are brought along. In order to help traditional enterprises develop 'intelligent business transformation', strengthen the deep application of electronic commerce, particularly the environment guarantee construction in the development of mobile electronic commerce, promote the healthy and orderly development of the electronic commerce industry, ensure the technology, economy, laws, rules, integrity and credit related to electronic commerce, establish a safe, reliable and credible electronic commerce environment, ensure the safety of systems and transactions and the confidentiality of information in electronic commerce activities, and become an important subject to be urgently discussed and solved at present. Therefore, research and development and application of the domestic operating system are greatly supported, and users are expected to use the domestic operating system. The domestic operating system has advantages in the aspects of price, usability and the like, but has various problems of poor ecological environment and the like. The current market is full of diverse network performance testing tools, but few network performance automatic testing tools for domestic operating systems.
The current network performance testing tools are various in types but single in function, but are generally used for testing a certain performance index, cannot cover all required functions, are incompatible with a domestic operating system, are various in types of tools, and cannot be matched with the requirements of the domestic operating system by a domestic operating system user, so that the network performance testing tools are inconvenient to install, test, comprehensively analyze the network performance and the like; part of tools are poor in user friendliness, cannot realize automatic testing and automatic installation configuration, and generally require a user to know a certain degree about the installation and testing method of the tools; meanwhile, the size and the number of the data packets cannot be customized, and certain flexibility is lacked; users often need to use the network performance test results for comparative analysis, but part of the test tools do not support the test result storage and export functions. The user test efficiency is reduced.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the prior art, the invention provides an automatic network performance testing method based on a domestic operating system.
The technical scheme is as follows: in order to achieve the purpose, the invention provides the following technical scheme:
an automatic network performance test method based on a domestic operating system comprises the following steps:
the method comprises the following steps: automatic building of a test environment, automatic testing, one-key automatic installation and uninstallation of a tool; the tool can be automatically installed by one key, the correctness of the installation path selected by a user and the sudo password input by the user can be verified, after the correctness of the installation path selected by the user and the sudo password input by the user are ensured, the background is used for gradually installing each test tool, and the background is compiled and installed for each tool according to the selected installation package path;
step two: meanwhile, the test of various network performance test indexes is realized, the requirements of users in various aspects are met, and the working efficiency is improved; the method specifically comprises the following steps:
information acquisition: acquiring basic information such as a link mode, a transmission speed, a transmission mode, a network card drive, a version of the network card drive, an opened port and the like of a network by using commands such as an ethnool and the like of the system, sorting and extracting all the information, and finally displaying a result;
and (3) testing the bandwidth: performing node-to-node communication between two hosts according to the specified transmission time, the size of transmission data and the connected ip address, and respectively acquiring the bandwidth sizes under different transmission protocols;
and (3) throughput testing: after connecting the designated ip, setting the packet grouping and other sizes, and performing connection and data transmission between hosts corresponding to two ip addresses according to the sizes to obtain the network throughput;
response time test: randomly sending data packets to a host, capturing response time in all the data packets, and extracting and displaying maximum response time, minimum response time and average response time;
and (3) testing the stability: simulating a cyclic pressure load, transmitting data packets to a host in a cyclic manner, testing the stability of the operating system network, and obtaining a packet loss rate by comparing the packet loss number with the transmitted data packet number so as to measure the stability of the network;
and (3) delay testing: the method comprises the steps of connecting a host corresponding to an ip address input by a user, transmitting a data packet according to specified parameters, and outputting maximum delay, minimum delay and average delay under different transmission protocols through system calculation;
step three: the tool integrates a library used for testing into an installation package, integrates installation and configuration related information into codes, can be quickly installed in one key mode without an installation and configuration environment by a user, solves the problem of cross-platform incompatibility, and can normally work in various domestic operating systems through testing;
step four: the visualization, storage and export of the test result, after the test is finished, the test result is automatically stored in the database, and the functions of checking the test result and exporting the test result in a table form are provided, so that the user can conveniently compare and manage the test result and comprehensively analyze the network performance of the operating system;
step five: parameters which do not meet the requirements cannot be input, and the corresponding error test cases cannot be executed, so that a large number of error results generated because a user does not know the use of the system are avoided, and the stability and the robustness of the system are enhanced;
step six: the testing processes of all indexes are mutually independent, and a user can specify different client-side and server-side addresses when inputting parameters for different testing tasks.
Preferably, the building of the test environment comprises automatic rendering of a system interface, and initialization of ports and databases required for opening a test tool.
Preferably, the test environment is built to perform comprehensive deployment of the whole interface, the background, the port environment setting of the tool, the database and the like when the tool is opened, so as to provide a premise and a basis for installation and use of the tool.
Preferably, the automatic test is a test of network performance index, including transmission without data packet and transmission with data packet; no test for packet transmission is required: after the test environment is built, acquiring configuration information of an operating system to be tested; tests requiring packet transmission: after the test environment is built, connection is built between the client and the server according to the address input by the user, and a data packet is sent, so that stability test, response time test, bandwidth test, delay test and throughput test are performed.
Preferably, the unloading of the tool is specifically operated as: the method comprises the steps that a background automatically reads stored tool package paths, state codes of all tools and system root directory passwords from a database, when an obtained result is not empty, the background automatically creates a process to execute background execution of terminal commands, tools depended on all task modules are sequentially unloaded and deleted, all unloading details and flows are displayed on an interface in real time in the whole tool unloading process, after tool environments depended on all modules are unloaded, a state code indicating whether the unloading tools are successful or not is obtained at the same time, when all the state codes indicate that the unloading is successful, the unloading tools are displayed on the interface successfully, if part of the state codes indicate that the unloading is failed depending on the tool environments, all details of the unloading failure are displayed on the interface in real time, and after the unloading is completed, the database automatically clears all contents related to the tools, including the tool package paths, the tool installation state codes and the root directory passwords.
Preferably, the visualization of the test result is to acquire test time cascaded by the test items clicked by the user when the user selects to view the test result.
Preferably, the result of the test result is saved in such a way that after any test item is completed, the extracted test result is spliced to be converted into a JSON string format, each parameter item input by the user, the JSON string, the test time and the like are combined into one piece of data, and then the data is inserted into the database, so that each result is saved.
Preferably, the derivation of the test result is to read the whole system directory after receiving the storage result requirement signal, acquire a preset path and perform internal skipping, prompt a user to name the content to be stored, and then automatically call out the QXlsx library at the background to store the result to be stored into the table in rows and columns.
Has the beneficial effects that: the invention has the following beneficial effects:
the invention covers six functions of network performance test, including bandwidth test, throughput test, response time test, delay test, stability test and information acquisition in network. After the tool is installed, the six functions can be used simultaneously, the network performance of the operating system can be tested in an all-round mode, the client and the server are not fixed for each subtask, flexible testing can be conducted according to needs, extraction display of the whole result and permanent storage of the result are supported, repeated comparison and checking of the result are facilitated for a user, and the user can conduct export type storage on the specified test result of each task according to will. For a user, the tool is used only by carrying out one-key installation of the tool, the problem of adaptation between an operating system and the tool is not needed to be worried, the method is simple and rapid, and the user is not required to have professional related knowledge. Meanwhile, the system can be used on a plurality of platforms, and a user does not need to consider the compatibility problem of the system.
The invention develops a network performance testing tool of a domestic operating system, covers a plurality of functions of network performance testing, comprises six test items of information acquisition, network bandwidth testing, throughput testing, response time testing, delay testing and stability testing, has a visual interface, supports visual display of a testing process and graphical display of a testing result, has the function of self-defining testing related parameters, supports storage of the testing result, and can lead out the testing result of a single function as required after the result is successfully stored; meanwhile, the tool is mounted in a one-button mode, a user does not need to configure other environments and well interact with the user in a graphical interface mode, the mounting mode of using a command line by using a traditional tool is replaced, simplicity and rapidness are achieved, and the use threshold is reduced.
The invention can meet the requirements of users in various aspects, effectively help the users to eliminate the network performance bottleneck of the system, save manpower, time and software and hardware resources, and ensure the availability, the usability, the portability, the expandability and the interface friendliness.
The traditional network test system of the operating system excessively depends on instruction input, the professional requirement on a user is high, the system prompts the user, and the user can automatically test the network performance only by inputting corresponding parameters;
meanwhile, the system covers various network performance test functions, and can be used for carrying out package-type test on the network performance of the operating system, so that the problem of single function of the existing tool is solved;
the system is fast and convenient to install, one-click installation can be carried out on the premise of no need of other environments and configurations, a plurality of platforms are compatible, and the problem that the existing tools are incompatible across platforms is solved;
the system can carry out unified management on the test result, supports the storage and export of the specific result and solves the problem of 'test-and-fail' of the test result of the existing tool;
the system is additionally provided with a parameter constraint function, limits the input parameters, avoids the problem that the error data input by a user adds excessive burden to the system, and solves the problem of redundant test caused by the input of commands by the existing tool.
The system is independent to tests of different test indexes, different client sides or server sides can be connected when different test tasks are carried out, and the problems of poor flexibility and poor user friendliness of the existing tool are solved.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a flow chart of the system of the present invention;
FIG. 3 is a network communication diagram of the present invention;
FIG. 4 is a diagram of an automated network performance test architecture based on a domestic operating system according to the present invention;
FIG. 5 is a diagram of a password verification system of the present invention;
fig. 6 is a view showing the structure of the unloading part of the tool of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1 to 6, an automated network performance testing method based on a domestic operating system in an embodiment of the present invention:
(1) Before starting the network performance testing tool, the construction of a testing environment is carried out, including the automatic rendering of a system interface, the initialization of a port and a database required by the opening of the testing tool.
(2) And carrying out automatic test aiming at the parameters input by the user, wherein the test of the network performance index comprises the transmission without a data packet and the transmission with the data packet.
No test for packet transmission is required: after the test environment is built, acquiring configuration information of an operating system to be tested;
testing requiring packet transmission: after the test environment is built, according to the address input by the user, connection is built between the client and the server, and a data packet is sent, so that stability test, response time test, bandwidth test, delay test and throughput test are performed, and a network communication diagram is shown in fig. 3.
(3) And extracting the obtained test result and storing the extracted test result in a database.
Fig. 4 shows a diagram of a provided automated network performance test based on a domestic operating system, according to which a specific implementation of the present invention is illustrated in the following six aspects:
in a first aspect, the present invention provides an automated network performance testing method: the automatic construction of the test environment is realized; the automatic test of the network performance index is realized, and a user only needs to input corresponding parameters without inputting corresponding commands; one-key automatic installation and uninstallation of the tool is realized.
(1) Automatically building a test environment:
when the tool is opened, the whole interface, the background, the port environment setting of the tool, the database and the like are comprehensively deployed, and a premise and a foundation are provided for the installation and the use of the tool.
(2) Automatically testing network performance indexes:
in order to ensure the installation state of the tool, when the task requirement is obtained, the invention can automatically carry out the identification of the installation state of the tool and the verification of the root directory password input by the user, and the tool can be normally used after the installation state code and the root directory password of each tool are verified, wherein the password verification structural diagram is shown in fig. 5. Before executing the task, parameters can be input as required, the tool can perform modeling according to the input parameters, the background performs terminal process operation according to the parameters, all results are displayed on the interface in real time, after the task is executed, the tool extracts required test results from all the results, and the results are displayed on the interface in a concise and clear manner through page rendering. In order to prevent task execution conflict, the invention judges the execution state of each task by setting a mark, and ensures that only one task is executed at each moment.
(3) Automatic installation of tools:
the correctness is checked according to the installation path selected by the user and the sudo password input by the user, after the two are correct, the background is used for gradually installing each testing tool, the background is compiled and installed according to the selected installation package path, the whole process does not need user operation, the user can visually and clearly see the installation process and the installation details of each tool, the installation state of each sub-module task depending on the tool can be given after the installation of the whole tool is finished, and finally, the visual prompt of the installation success or the installation failure of the whole tool is given.
(4) Automatic unloading tool:
fig. 6 shows a structure of a tool unloading part, when a user clicks an unloading tool, a background automatically reads a stored tool package path, a state code of each tool, and a system root directory password from a database, when an obtained result is not empty, the background automatically creates a process to perform background execution of a terminal command, and sequentially unloads and deletes tools dependent on each task module, in the whole tool unloading process, all unloading details and flows are displayed on an interface in real time, after a tool environment dependent on each module is unloaded, a state code indicating whether the unloading tool succeeds or not is obtained at the same time, when all state codes indicate that the unloading succeeds, the unloading tool succeeds, and if a part of the state codes indicate that the unloading fails in the dependent tool environment, all details of the unloading failure are displayed on the interface in real time. After the uninstallation is completed, the database will automatically clear all the contents about the tool, including the tool package path, the tool installation status code and the root directory password.
In the second aspect, the invention realizes the test of multiple network performance test indexes, solves the requirements of users in multiple aspects and improves the working efficiency, wherein the method comprises the following steps:
information acquisition: and (3) acquiring basic information such as a link mode, a transmission speed, a transmission mode, a network card drive, a version and an opened port of the network by using commands such as an ethnool and the like of the system, sorting and extracting all the information, and finally displaying a result.
And (3) testing the bandwidth: and performing node-node communication between the two hosts according to the specified transmission time, the size of the transmission data and the connected ip address, and respectively acquiring the bandwidth sizes under different transmission protocols.
And (3) throughput testing: after the designated ip is connected, the sizes of packet groups and the like are set, connection between hosts corresponding to two ip addresses and data transmission are carried out according to the sizes, and the size of network throughput is obtained.
Response time test: and randomly sending data packets to the host, capturing the response time in all the data packets, and extracting and displaying the maximum response time, the minimum response time and the average response time.
And (3) stability testing: and simulating a cyclic pressure load, transmitting data packets to the host in a cyclic manner, testing the stability of the operating system network, and obtaining the packet loss rate by comparing the packet loss number with the transmitted data packet number so as to measure the stability of the network.
And (3) delay testing: the method comprises the steps of connecting with a host corresponding to an ip address input by a user, transmitting a data packet according to specified parameters, and outputting the maximum delay, the minimum delay and the average delay under different transmission protocols through system calculation.
In a third aspect, the invention provides a tool that can be quickly installed in one click. The tool integrates the library used for testing into the installation package and integrates the installation and configuration related information into the code, so that a user can install the tool quickly in one key mode without installing and configuring the environment; and the problem of cross-platform incompatibility is solved, and the system can normally work in various domestic operating systems through tests.
In a fourth aspect, the invention realizes visualization, storage and export of test results. After the test is finished, the test result can be automatically stored in the database, and the functions of checking the test result and exporting the test result in a table form are provided, so that the user can conveniently compare and manage the test result and comprehensively analyze the network performance of the operating system.
(1) And (4) visualizing the result: when the user selects to check the test result, the test time cascaded by the test item clicked by the user is obtained, the method and the system interact with the database, the database table is searched according to the test time, the corresponding result is extracted, the JSON string of the obtained data is analyzed and disassembled into the forms of the test item and the test result, and the result display in the interface table format is performed through the rendering of the interface again.
(2) And (4) result storage: after any test item is finished, the extracted test result is spliced to be converted into the format of the JSON string, each parameter item input by a user, the JSON string, the test time and the like are combined into one piece of data, and then the data is inserted into the database, so that each result is stored.
(3) And (3) deriving a result: the invention reads the whole system catalog after receiving the storage result demand signal, acquires the preset path and carries out internal skip to prompt the user to name the content to be stored, and then automatically calls out the QXlsx library at the background to store the result to be stored into the table in rows and columns.
In the fifth aspect, the system is added with a parameter constraint function, parameters which do not meet requirements cannot be input, and corresponding wrong test cases cannot be executed. Therefore, a large amount of error results generated because a user does not know the use of the system are avoided, and the stability and the robustness of the system are enhanced.
In a sixth aspect, although the invention realizes multiple network performance test indexes, the test processes of the indexes are independent, and a user can specify different client and server addresses when inputting parameters in different test tasks.
Tool installation example implementation:
the method includes the steps that an executable file in a folder is clicked to run a program, an installation tool is clicked to install tools after the program is run, a correct toolkit path is selected, correct local passwords are input, then installation is clicked to install the tools, after all the tools are installed successfully, installation ending can be prompted, specific test operation of the next stage can be started, if installation of part of the tools fails, installation failure of the corresponding task depending on the tool can be prompted, and therefore the task cannot be used normally.
The specific task execution example:
the whole test task interface consists of a task execution interface, a task executing interface and a task completed interface, after the task execution is clicked, various tests are selected and corresponding parameters are input, then the interface is switched to the task executing interface to display the current task executing flow, and after the task execution is completed, the interface is switched to the task completed interface to display all test results.
Example of result derivation:
and when the test task is finished, exporting the result on a result display interface, and storing the result according to the path selected and stored by the prompt and the name of the stored file.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention, and such modifications and adaptations are intended to be within the scope of the invention.

Claims (4)

1. An automatic network performance testing method based on a domestic operating system is characterized by comprising the following steps:
the method comprises the following steps: automatic building of a test environment, automatic testing, one-key automatic installation and uninstallation of a tool;
the one-key automatic installation of the tool can carry out correctness verification according to an installation path selected by a user and a sudo password input by the user, after the correctness of the installation path selected by the user and the sudo password is ensured, the background carries out gradual installation of various testing tools, and compiling and installation of the background are carried out on each tool according to the selected installation package path;
step two: meanwhile, the test of various network performance test indexes is realized, the requirements of users in various aspects are met, and the working efficiency is improved; the method specifically comprises the following steps:
information acquisition: acquiring a link mode, a transmission speed, a transmission mode, a network card drive, a version and opened port basic information of a network by using an ethtoolol command of a system, sorting and extracting all the information, and finally displaying a result;
and (3) testing the bandwidth: performing node-to-node communication between two hosts according to the specified transmission time, the size of transmission data and the connected ip address, and respectively acquiring the bandwidth sizes under different transmission protocols;
and (3) throughput testing: after connecting the appointed ip, setting the packet size, and performing connection and data transmission between hosts corresponding to two ip addresses according to the packet size to obtain the network throughput;
response time test: randomly sending data packets to a host, capturing response time in all the data packets, and extracting and displaying maximum response time, minimum response time and average response time;
and (3) stability testing: simulating a cyclic pressure load, transmitting data packets to a host in a cyclic manner, testing the stability of the operating system network, and obtaining packet loss rate by comparing the packet loss number with the transmitted data packet number so as to measure the stability of the network;
and (3) delay testing: the method comprises the steps of connecting a host corresponding to an ip address input by a user, transmitting a data packet according to specified parameters, and outputting maximum delay, minimum delay and average delay under different transmission protocols through system calculation;
step three: the tool integrates a library used for testing into an installation package, integrates installation and configuration related information into codes, can be quickly installed in one key mode without an installation and configuration environment by a user, solves the problem of cross-platform incompatibility, and can normally work in various domestic operating systems through testing;
step four: the visualization, storage and export of the test result, after the test is finished, the test result is automatically stored in the database, and the functions of checking the test result and exporting the test result in a tabular form are provided, so that the user can conveniently compare and manage the test result and comprehensively analyze the network performance of the operating system;
step five: parameters which do not meet the requirements cannot be input, and the corresponding error test cases cannot be executed, so that a large number of error results generated because a user does not know the use of the system are avoided, and the stability and the robustness of the system are enhanced;
step six: the testing processes of all indexes are mutually independent, and a user can specify different client-side and server-side addresses when inputting parameters for different testing tasks;
the unloading of the tool specifically operates as follows: the background automatically reads stored tool package paths, state codes of all tools and system root directory passwords from the database, when an obtained result is not empty, the background automatically creates a process to execute a background of a terminal command, tools depending on all task modules are sequentially unloaded and deleted, all unloading details and processes are displayed on an interface in real time in the whole tool unloading process, after the tool environment depending on all modules is unloaded, a state code indicating whether the unloading tool is successful or not is obtained at the same time, when all the state codes indicate that the unloading is successful, the unloading tool is displayed on the interface successfully, if part of the state codes indicate that the unloading is failed depending on the tool environment, all the details of the unloading failure are displayed on the interface in real time, and after the unloading is completed, the database automatically clears all contents related to the tools, including the tool package paths, the tool installation state codes and the system root directory passwords;
the visualization of the test result is that when the user selects to check the test result, the test time cascaded by the test items clicked by the user is obtained, the test time is interacted with the database, the database table is retrieved according to the test time, the corresponding result is extracted, the JSON string of the obtained data is analyzed and disassembled into the forms of the test items and the test result, and the result in the interface table format is displayed through the rendering of the interface again;
the result of the test result is stored in a way that after any test item is finished, the extracted test result is spliced to be converted into a JSON string format, each parameter item input by a user, the JSON string and the test time are combined into one piece of data, and then the data is inserted into a database, so that each result is stored;
and the result derivation of the test result is to read the whole system catalog after receiving a storage result demand signal, acquire a preset path, jump inside, prompt a user to name the content to be stored, and then automatically call out a QXlsx library at the background to store the result to be stored into a table in rows and columns.
2. The method for testing the performance of the automated network based on the domestic operating system of claim 1, wherein the building of the test environment comprises automatic rendering of a system interface, initialization of ports and databases required for opening a test tool.
3. The automated network performance testing method based on the domestic operating system according to claim 1, wherein the testing environment is built to perform the setting of the whole interface, the background, the port environment of the tool and the comprehensive deployment of the database when the tool is opened, so as to provide a premise and a basis for the installation and use of the tool.
4. The method for testing the performance of the automated network based on the domestic operating system according to claim 1, wherein the automated test is a test of network performance indexes, and comprises transmission without a data packet and transmission with a data packet; no test for packet transmission is required: when the test environment is built, acquiring configuration information of the operating system to be tested; tests requiring packet transmission: after the test environment is built, connection is built between the client and the server according to the address input by the user, and a data packet is sent, so that stability test, response time test, bandwidth test, delay test and throughput test are carried out.
CN202011422552.3A 2020-12-08 2020-12-08 Automatic network performance testing method based on domestic operating system Active CN112583663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011422552.3A CN112583663B (en) 2020-12-08 2020-12-08 Automatic network performance testing method based on domestic operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011422552.3A CN112583663B (en) 2020-12-08 2020-12-08 Automatic network performance testing method based on domestic operating system

Publications (2)

Publication Number Publication Date
CN112583663A CN112583663A (en) 2021-03-30
CN112583663B true CN112583663B (en) 2023-01-31

Family

ID=75127695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011422552.3A Active CN112583663B (en) 2020-12-08 2020-12-08 Automatic network performance testing method based on domestic operating system

Country Status (1)

Country Link
CN (1) CN112583663B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792515B (en) * 2021-08-23 2023-02-11 瑞昱半導體股份有限公司 Automatized method and system for certifying compatibility for an operating system
CN114071544B (en) * 2021-11-01 2024-03-15 北京字节跳动网络技术有限公司 Network testing method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1261890C (en) * 2003-01-23 2006-06-28 英业达股份有限公司 Network card testing method capable of balancing loads
US20060045019A1 (en) * 2004-09-01 2006-03-02 Patzschke Till I Network testing agent with integrated microkernel operating system
CN103186457A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and device for automatically generating test case
KR101474842B1 (en) * 2013-05-16 2014-12-19 이화여자대학교 산학협력단 Method for replacing cache memory blocks with for lower amount of write traffic and information processing apparatus having cache subsystem using the same
CN106021049A (en) * 2016-05-18 2016-10-12 中国电子科技集团公司第三十二研究所 Verification platform and establishment method for domestic operating system
CN106789432A (en) * 2016-12-28 2017-05-31 中软信息系统工程有限公司 Test system based on autonomous controllable cloud platform technology
CN106961366B (en) * 2017-05-15 2020-03-31 重庆邮电大学 Network performance comprehensive test evaluation analysis method oriented to Internet of vehicles environment
CN108519932A (en) * 2018-01-24 2018-09-11 中国电子信息产业集团有限公司第六研究所 A kind of more performance testing tools based on homemade chip platform
CN109033816B (en) * 2018-06-15 2020-08-21 中国人民解放军国防科技大学 Domestic office peripheral drive management method and system on kylin operating system platform

Also Published As

Publication number Publication date
CN112583663A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN106330593B (en) Protocol detection method and device
CN112583663B (en) Automatic network performance testing method based on domestic operating system
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN106326088B (en) Method and device for realizing construction of test object and device for realizing service configuration test
CN111897724A (en) Automatic testing method and device suitable for cloud platform
CN115686540B (en) RPA control method and system based on Hongmong system
CN108241582A (en) A kind of software automated testing platform based on RabbitMQ message-oriented middlewares
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN106649073A (en) Test method and device based on dynamic script template
CN113760730A (en) Automatic testing method and device
CN109977012A (en) Joint debugging test method, device, equipment and the computer readable storage medium of system
CN107357721B (en) Method and device for testing system
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN113347060B (en) Method, device and system for detecting power network fault based on process automation
CN108009086B (en) System automation test method based on case decomposition and function learning
CN105550103B (en) A kind of automated testing method based on self-defined test script
CN117370203B (en) Automatic test method, system, electronic equipment and storage medium
CN111464350B (en) Method and system for managing heterogeneous brand network equipment
CN109559121A (en) Transaction path calls exception analysis method, device, equipment and readable storage medium storing program for executing
CN115705190A (en) Method and device for determining dependence degree
CN109189679A (en) Interface test method and system, electronic equipment, storage medium
CN112416734A (en) Test method, device and storage medium
CN111258893A (en) Mobile terminal application automatic testing device for randomly assembling transaction path
CN115248782A (en) Automatic testing method and device and computer equipment
CN113722240A (en) Stability testing method and system for linux operating system management platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant