CN113079061A - Internet of things performance testing method and system - Google Patents

Internet of things performance testing method and system Download PDF

Info

Publication number
CN113079061A
CN113079061A CN202110314678.7A CN202110314678A CN113079061A CN 113079061 A CN113079061 A CN 113079061A CN 202110314678 A CN202110314678 A CN 202110314678A CN 113079061 A CN113079061 A CN 113079061A
Authority
CN
China
Prior art keywords
internet
things
mirror image
performance
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110314678.7A
Other languages
Chinese (zh)
Other versions
CN113079061B (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.)
Guangdong Hailiao Technology Co ltd
Original Assignee
Guangdong Hailiao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Hailiao Technology Co ltd filed Critical Guangdong Hailiao Technology Co ltd
Priority to CN202110314678.7A priority Critical patent/CN113079061B/en
Publication of CN113079061A publication Critical patent/CN113079061A/en
Application granted granted Critical
Publication of CN113079061B publication Critical patent/CN113079061B/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/50Testing arrangements
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method for testing the performance of an Internet of things, which comprises the following steps: constructing a simulation equipment mirror image and an Internet of things server mirror image to be tested; running the internet of things server image to start an internet of things server; running the analog device image to start an analog device; establishing a data transmission channel between the simulation equipment and the Internet of things server; collecting log data; making a test report according to the log data; and evaluating the performance of the Internet of things according to the test report. The invention also discloses a system for testing the performance of the Internet of things. By adopting the method and the device, a test system can be quickly and automatically constructed on the container cluster, a large number of concurrent connections of the Internet of things equipment are simulated, information and other interactions are sent, statistical log data are collected and test reports are produced, the performance parameters of the Internet of things system are verified, when the test reports are not needed to be used, resources can be immediately released, and precious server resources are not wasted.

Description

Internet of things performance testing method and system
Technical Field
The invention relates to the field of Internet of things testing, in particular to a method and a system for testing the performance of the Internet of things.
Background
When the pressure test is performed on the internet of things system, a machine is required to simulate a large amount of equipment for concurrent use, so errors such as defects of memory overflow errors, limitation of connection number and the like are easily caused. The number of concurrencies of a single server is limited (only 65535 at most), and if multiple servers are used for concurrency, statistical data can be difficult to collect, testing accuracy is affected, and server resources are wasted.
Disclosure of Invention
The invention aims to provide a method and a system for testing the performance of the Internet of things, which can solve the problems of low accuracy and resource waste of the existing Internet of things performance test.
In order to solve the technical problem, the invention provides a method for testing the performance of the internet of things, which comprises the following steps: constructing a simulation equipment mirror image and an Internet of things server mirror image to be tested; running the internet of things server image to start an internet of things server; running the analog device image to start an analog device; establishing a data transmission channel between the simulation equipment and the Internet of things server; collecting log data; making a test report according to the log data; and evaluating the performance of the Internet of things according to the test report.
Preferably, the step of constructing the simulation device image and the to-be-tested internet of things server image comprises; pulling the mirror image code of the simulation equipment and the mirror image code of the Internet of things server to be tested from the code warehouse; constructing a container mirror image according to the simulation equipment mirror image code and the internet of things server mirror image code; and constructing a simulation equipment copy and an Internet of things server copy to be tested according to the container mirror image.
Preferably, the step of evaluating the performance of the internet of things according to the test report comprises; the performance of the Internet of things is evaluated according to the CPU usage amount, the memory usage amount, the simultaneous connection number and the hard disk read-write times.
Preferably, the step of evaluating the performance of the internet of things according to the test report is further included; and judging whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds, and automatically constructing a new Internet of things server copy when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds.
Preferably, the internet of things testing method further comprises the following steps: and after the performance of the Internet of things is evaluated, compiling a destruction program by using container cluster service, and destroying the Internet of things server copy.
The invention also provides a system for testing the performance of the Internet of things, which comprises: the mirror image construction module is used for constructing a simulation equipment mirror image and an Internet of things server mirror image to be tested; the first operation module is used for operating the mirror image of the Internet of things server to start the Internet of things server; the second operation module is used for operating the analog equipment mirror image so as to start the analog equipment; the data connection module is used for establishing a data transmission channel between the simulation equipment and the Internet of things server; the log collection module is used for collecting log data; the report making module is used for making a test report according to the log data; and the performance evaluation module is used for evaluating the performance of the Internet of things according to the test report.
Preferably, the mirror image building module comprises: the code pulling unit is used for pulling the mirror image code of the simulation equipment and the mirror image code of the Internet of things server to be tested from the code warehouse; the container mirror image construction unit is used for constructing a container mirror image according to the simulation equipment mirror image code and the internet of things server mirror image code; and the mirror image construction unit is used for constructing a simulation equipment copy and an Internet of things server copy to be tested according to the container mirror image.
Preferably, the performance evaluation module is configured to evaluate the performance of the internet of things according to the CPU usage amount, the memory usage amount, the simultaneous connection number, and the hard disk read-write frequency.
Preferably, the internet of things performance test system further includes: and the judging module is used for judging whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds or not, and automatically constructing a new Internet of things server copy when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds.
Preferably, the internet of things performance test system further includes: and the destruction module is used for compiling a destruction program by using the container cluster service after the performance of the Internet of things is evaluated, and destroying the Internet of things server copy.
The beneficial effects of the implementation of the invention are as follows:
according to the invention, by constructing a simulation equipment mirror image and an internet of things server mirror image to be tested, operating the internet of things server mirror image to start an internet of things server, operating the simulation equipment mirror image to start simulation equipment, establishing a data transmission channel between the simulation equipment and the internet of things server, collecting log data, making a test report according to the log data, and evaluating the performance of the internet of things according to the test report, a test system can be quickly and automatically constructed on a container cluster, a large number of concurrent connections of the internet of things equipment are simulated, information and other interactions are sent, statistical log data are collected and a test report is produced, the performance parameters of the internet of things system are verified, when the test system is not required to be used, resources can be immediately released, and precious server resources are not wasted.
Drawings
FIG. 1 is a flow chart of a method for testing the performance of the Internet of things provided by the invention;
FIG. 2 is a flow chart of a mirror image construction method of the Internet of things performance test method provided by the invention;
FIG. 3 is a schematic diagram of a performance testing system of the Internet of things provided by the invention;
FIG. 4 is a schematic diagram of a mirror construction module provided by the present invention;
fig. 5 is a schematic diagram of another embodiment of the performance testing system of the internet of things provided by the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is only noted that the invention is intended to be limited to the specific forms set forth herein, including any reference to the drawings, as well as any other specific forms of embodiments of the invention.
As shown in fig. 1, the invention provides a method for testing the performance of the internet of things, which comprises the following steps:
s101, establishing a simulation equipment mirror image and an Internet of things server mirror image to be tested.
And S102, operating the mirror image of the Internet of things server to start the Internet of things server.
S103, operating the simulation equipment mirror image to start the simulation equipment.
And S104, establishing a data transmission channel between the simulation equipment and the Internet of things server.
And S105, collecting log data.
And S106, making a test report according to the log data.
And S107, evaluating the performance of the Internet of things according to the test report.
When a pressure test is carried out on an internet of things system, errors are easily caused when a machine is needed to simulate a large amount of equipment to be used concurrently, such as the defect of memory overflow errors, connection number limitation and the like. The prior art has the following defects: the number of concurrent servers is limited (only 65535 at most), the concurrent servers are used for concurrent operation, the statistical data is difficult to collect, the test accuracy is affected, and the waste of server resources is easily caused.
According to the invention, by constructing a simulation equipment mirror image and an internet of things server mirror image to be tested, operating the internet of things server mirror image to start an internet of things server, operating the simulation equipment mirror image to start simulation equipment, establishing a data transmission channel between the simulation equipment and the internet of things server, collecting log data, making a test report according to the log data, and evaluating the performance of the internet of things according to the test report, a test system can be quickly and automatically constructed on a container cluster, a large number of concurrent connections of the internet of things equipment are simulated, information and other interactions are sent, statistical log data are collected and a test report is produced, the performance parameters of the internet of things system are verified, when the test system is not required to be used, resources can be immediately released, and precious server resources are not wasted.
Specifically, an automatic container construction script is compiled by utilizing a container cluster service, so that the specified codes are automatically pulled, a program running environment is constructed, an analog equipment script program is run, and all logs of equipment running are recorded. A plurality of container services can be constructed at one time, the connection number of simulation equipment is enabled to be larger than 65535, and the connection of a large number of Internet of things equipment under a real condition can be simulated. By utilizing container cluster service, compiling a program script to automatically collect log contents in all containers (the program can record running logs, debugging is convenient, and the container service platform can collect logs of all containers), then carrying out statistical analysis, summarizing data and testing reports in a form (analyzing logs, knowing data such as the number of analog equipment, the sending quantity, the consumption information quantity of the platform of the Internet of things, the error rate and the like, and then making a report). After all tasks are completed, the container cluster service is utilized, scripts are compiled to enable the containers to be automatically destroyed, and server resources are not occupied. The series of actions can be similar to a pipeline operation through program script, the whole process is automatic, and the operation parameters can be dynamically adjusted by transmitting environment variables when a container is constructed. And in the later period, no programmer is needed for maintenance, general testers can directly start the test device by one key, and the learning cost is low (for example, different types of simulation equipment can be used, the environment variable parameters can be transmitted by transmitting in, then different containers can transmit different simulation equipment signals, and different transmission frequencies and types of transmitted information are adjusted).
As shown in fig. 2, preferably, the step of constructing the simulation device image and the internet of things server image to be tested includes;
s201, the mirror image code of the simulation equipment and the mirror image code of the Internet of things server to be tested are pulled from the code warehouse.
S202, constructing a container mirror image according to the simulation equipment mirror image code and the internet of things server mirror image code.
S203, establishing a simulation equipment copy and an Internet of things server copy to be tested according to the container mirror image.
The invention is characterized in that the mirror image code of the simulation equipment and the mirror image code of the internet of things server are stored in the code warehouse in advance, the container mirror image is constructed according to the simulation equipment mirror image code and the internet of things server mirror image code, and the simulation equipment copy and the internet of things server copy to be tested are constructed according to the container mirror image.
Preferably, the step of evaluating the performance of the internet of things according to the test report comprises; the performance of the Internet of things is evaluated according to the CPU usage amount, the memory usage amount, the simultaneous connection number and the hard disk read-write times.
It should be noted that, the evaluation of the performance of the internet of things is mainly based on the usage amount of the CPU, the usage amount of the memory, the number of simultaneous connections, and the number of times of reading and writing the hard disk, but is not limited thereto.
Further, the step of evaluating the performance of the internet of things according to the test report is also included after the step of evaluating the performance of the internet of things according to the test report; and judging whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds, and automatically constructing a new Internet of things server copy when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds.
It should be noted that, on the container management platform, rules may be set, such as: when the CPU of the system is insufficient, the memory is insufficient and the connection number is insufficient, a new networking server copy is created again, and then the subsequent connection test of the simulation equipment is carried out, so that the detection efficiency of the performance of the Internet of things is improved. Specifically, whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds is judged, and when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds, a new Internet of things server copy is automatically constructed.
Preferably, the method for testing the performance of the internet of things further comprises the following steps:
and after the performance of the Internet of things is evaluated, compiling a destruction program by using container cluster service, and destroying the Internet of things server copy.
It should be noted that, in the invention, after the performance evaluation of the internet of things is completed, the container cluster service is used for compiling the destruction program, the copy of the internet of things server is destroyed, and after all tasks are completed, the container cluster service is used for compiling the script to enable the container to be automatically destroyed, so that the server resources are not occupied.
As shown in fig. 3, the present invention further provides an internet of things performance testing system 100, which includes: the mirror image construction module 1 is used for constructing a simulation equipment mirror image and an internet of things server mirror image to be tested; the first operation module 2 is used for operating the mirror image of the Internet of things server to start the Internet of things server; the second operation module 3 is used for operating the analog equipment mirror image to start the analog equipment; the data connection module 4 is used for establishing a data transmission channel between the simulation equipment and the Internet of things server; the log collection module 5 is used for collecting log data; a report making module 6, configured to make a test report according to the log data; and the performance evaluation module 7 is used for evaluating the performance of the internet of things according to the test report.
When a pressure test is carried out on an internet of things system, errors are easily caused when a machine is needed to simulate a large amount of equipment to be used concurrently, such as the defect of memory overflow errors, connection number limitation and the like. The prior art has the following defects: the number of concurrent servers is limited (only 65535 at most), the concurrent servers are used for concurrent operation, the statistical data is difficult to collect, the test accuracy is affected, and the waste of server resources is easily caused.
In the invention, a simulation equipment mirror image and an internet of things server mirror image to be tested are constructed by a mirror construction module 1, the internet of things server mirror image is operated by a first operation module 2 to start the internet of things server, the simulation equipment mirror image is operated by a second operation module 3 to start the simulation equipment, a data transmission channel between the simulation equipment and the internet of things server is established by a data connection module 4, log data is collected by a log collection module 5, a test report is made by a report making module 6 according to the log data, the internet of things performance is evaluated by a performance evaluation module 7 according to the test report, a test system can be rapidly and automatically constructed on a container cluster, a large number of internet of things equipment are simulated to be connected in parallel, information and other interaction is sent, statistical log data is collected and a test report is produced, and the performance parameters of the internet of, when the server is not needed to be used, the resources can be released immediately, and precious server resources are not wasted.
Specifically, an automatic container construction script is compiled by utilizing a container cluster service, so that the specified codes are automatically pulled, a program running environment is constructed, an analog equipment script program is run, and all logs of equipment running are recorded. A plurality of container services can be constructed at one time, the connection number of simulation equipment is enabled to be larger than 65535, and the connection of a large number of Internet of things equipment under a real condition can be simulated. By utilizing container cluster service, compiling a program script to automatically collect log contents in all containers (the program can record running logs, debugging is convenient, and the container service platform can collect logs of all containers), then carrying out statistical analysis, summarizing data and testing reports in a form (analyzing logs, knowing data such as the number of analog equipment, the sending quantity, the consumption information quantity of the platform of the Internet of things, the error rate and the like, and then making a report). After all tasks are completed, the container cluster service is utilized, scripts are compiled to enable the containers to be automatically destroyed, and server resources are not occupied. The series of actions can be similar to a pipeline operation through program script, the whole process is automatic, and the operation parameters can be dynamically adjusted by transmitting environment variables when a container is constructed. And in the later period, no programmer is needed for maintenance, general testers can directly start the test device by one key, and the learning cost is low (for example, different types of simulation equipment can be used, the environment variable parameters can be transmitted by transmitting in, then different containers can transmit different simulation equipment signals, and different transmission frequencies and types of transmitted information are adjusted).
As shown in fig. 4, preferably, the mirror image building block 1 includes: the code pulling unit 101 is used for pulling the mirror image code of the simulation equipment and the mirror image code of the internet of things server to be tested from the code warehouse; a container mirror image constructing unit 102, configured to construct a container mirror image according to the simulation device mirror image code and the internet of things server mirror image code; and the mirror image construction unit 103 is used for constructing a simulation equipment copy and an internet of things server copy to be tested according to the container mirror image.
The invention is characterized in that the mirror image code of the simulation equipment and the mirror image code of the internet of things server are stored in the code warehouse in advance, the container mirror image is constructed according to the simulation equipment mirror image code and the internet of things server mirror image code, and the simulation equipment copy and the internet of things server copy to be tested are constructed according to the container mirror image.
Preferably, the performance evaluation module is configured to evaluate the performance of the internet of things according to the CPU usage amount, the memory usage amount, the simultaneous connection number, and the hard disk read-write frequency.
It should be noted that, the evaluation of the performance of the internet of things is mainly based on the usage amount of the CPU, the usage amount of the memory, the number of simultaneous connections, and the number of times of reading and writing the hard disk, but is not limited thereto.
As shown in fig. 5, further, the internet of things performance testing system further includes: a judging module 8, configured to judge whether the usage amount of the CPU, the usage amount of the memory, and the number of simultaneous connections of the internet of things exceed respective preset thresholds, and automatically construct a new copy of the internet of things server when the usage amount of the CPU or the usage amount of the memory, or the number of simultaneous connections of the internet of things exceeds a preset threshold
It should be noted that, on the container management platform, rules may be set, such as: when the CPU of the system is insufficient, the memory is insufficient and the connection number is insufficient, a new networking server copy is created again, and then the subsequent connection test of the simulation equipment is carried out, so that the detection efficiency of the performance of the Internet of things is improved. Specifically, whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds is judged, and when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds, a new Internet of things server copy is automatically constructed.
Preferably, the internet of things performance test system further comprises: and the destruction module 9 is used for compiling a destruction program by using the container cluster service after the performance of the internet of things is evaluated, and destroying the internet of things server copy.
It should be noted that, in the invention, after the performance evaluation of the internet of things is completed, the container cluster service is used for compiling the destruction program, the copy of the internet of things server is destroyed, and after all tasks are completed, the container cluster service is used for compiling the script to enable the container to be automatically destroyed, so that the server resources are not occupied.
In summary, according to the method and system for testing the performance of the internet of things provided by the invention, the same system service can be automatically constructed through the container service, and scripts in the system service can be automatically run; the log information in all the containers can be collected uniformly, analysis is convenient, and CPU and memory resources occupied by the containers can be dynamically adjusted; after the test is finished, the device can be automatically destroyed. Therefore, the test service can be simply and quickly constructed, and the server resources can be saved. The invention constructs the same service in batches according to the requirement, and can be destroyed immediately when not needed; and the inside of the container can communicate with each other; each service can be regarded as one server, the limitation of the number of the TCP of each server can be easily broken through, a large amount of simulation equipment can be simulated, and the simulation equipment is connected with an Internet of things system to carry out concurrent testing; through setting up elastic expansion, thing networking system can deal with a large amount of equipment connections according to setting for the rule, automatic expansion service, through the simulation means, can test the equipment quantity that single server probably can deal with, also can test the time of thing networking system dilatation response etc..
While the present disclosure has been described in considerable detail and with particular reference to a few illustrative embodiments thereof, it is not intended to be limited to any such details or embodiments or any particular embodiments, but it is to be construed as effectively covering the intended scope of the disclosure by providing a broad, potential interpretation of such claims in view of the prior art with reference to the appended claims. Furthermore, the foregoing describes the disclosure in terms of embodiments foreseen by the inventor for which an enabling description was available, notwithstanding that insubstantial modifications of the disclosure, not presently foreseen, may nonetheless represent equivalent modifications thereto.

Claims (10)

1. A method for testing the performance of the Internet of things is characterized by comprising the following steps:
constructing a simulation equipment mirror image and an Internet of things server mirror image to be tested;
running the internet of things server image to start an internet of things server;
running the analog device image to start an analog device;
establishing a data transmission channel between the simulation equipment and the Internet of things server;
collecting log data;
making a test report according to the log data;
and evaluating the performance of the Internet of things according to the test report.
2. The method for testing the performance of the internet of things as claimed in claim 1, wherein the step of constructing the simulation device image and the server image of the internet of things to be tested comprises;
pulling the mirror image code of the simulation equipment and the mirror image code of the Internet of things server to be tested from the code warehouse;
constructing a container mirror image according to the simulation equipment mirror image code and the internet of things server mirror image code;
and constructing a simulation equipment copy and an Internet of things server copy to be tested according to the container mirror image.
3. The method for testing the performance of the internet of things as claimed in claim 1, wherein the step of evaluating the performance of the internet of things according to the test report comprises:
the performance of the Internet of things is evaluated according to the CPU usage amount, the memory usage amount, the simultaneous connection number and the hard disk read-write times.
4. The method for testing the performance of the internet of things of claim 3, further comprising, after the step of evaluating the performance of the internet of things according to the test report:
judging whether the usage amount of the CPU, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds,
and when the usage amount of a CPU (Central processing Unit) or the usage amount of a memory of the Internet of things or the number of simultaneous connections exceeds a preset threshold value, automatically creating a new Internet of things server copy.
5. The internet of things performance testing method of claim 4, further comprising:
and after the performance of the Internet of things is evaluated, compiling a destruction program by using container cluster service, and destroying the Internet of things server copy.
6. An internet of things performance testing system, comprising:
the mirror image construction module is used for constructing a simulation equipment mirror image and an Internet of things server mirror image to be tested;
the first operation module is used for operating the mirror image of the Internet of things server to start the Internet of things server;
the second operation module is used for operating the analog equipment mirror image so as to start the analog equipment;
the data connection module is used for establishing a data transmission channel between the simulation equipment and the Internet of things server;
the log collection module is used for collecting log data;
the report making module is used for making a test report according to the log data;
and the performance evaluation module is used for evaluating the performance of the Internet of things according to the test report.
7. The internet of things performance testing system of claim 6, wherein the image construction module comprises:
the code pulling unit is used for pulling the mirror image code of the simulation equipment and the mirror image code of the Internet of things server to be tested from the code warehouse;
the container mirror image construction unit is used for constructing a container mirror image according to the simulation equipment mirror image code and the internet of things server mirror image code;
and the mirror image construction unit is used for constructing a simulation equipment copy and an Internet of things server copy to be tested according to the container mirror image.
8. The system for testing the performance of the internet of things of claim 6, wherein the performance evaluation module is used for evaluating the performance of the internet of things according to the CPU usage amount, the memory usage amount, the simultaneous connection number and the hard disk read-write times.
9. The internet of things performance testing system of claim 8, further comprising:
and the judging module is used for judging whether the CPU usage amount, the memory usage amount and the simultaneous connection number of the Internet of things exceed respective preset thresholds or not, and automatically constructing a new Internet of things server copy when the CPU usage amount, the memory usage amount or the simultaneous connection number of the Internet of things exceed the preset thresholds.
10. The internet of things performance testing system of claim 6, further comprising:
and the destruction module is used for compiling a destruction program by using the container cluster service after the performance of the Internet of things is evaluated, and destroying the Internet of things server copy.
CN202110314678.7A 2021-03-24 2021-03-24 Internet of things performance testing method and system Active CN113079061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110314678.7A CN113079061B (en) 2021-03-24 2021-03-24 Internet of things performance testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110314678.7A CN113079061B (en) 2021-03-24 2021-03-24 Internet of things performance testing method and system

Publications (2)

Publication Number Publication Date
CN113079061A true CN113079061A (en) 2021-07-06
CN113079061B CN113079061B (en) 2023-04-18

Family

ID=76610163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110314678.7A Active CN113079061B (en) 2021-03-24 2021-03-24 Internet of things performance testing method and system

Country Status (1)

Country Link
CN (1) CN113079061B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478570A (en) * 2023-12-27 2024-01-30 深圳万物安全科技有限公司 Equipment testing method and device based on containerization technology and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677442A (en) * 2015-12-28 2016-06-15 湖南蚁坊软件有限公司 Deployment method based on container virtualization
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN111124850A (en) * 2019-11-12 2020-05-08 上海移远通信科技有限公司 MQTT server performance testing method, system, computer equipment and storage medium
CN111224844A (en) * 2020-01-02 2020-06-02 内蒙古大学 Internet of things testing system and working process thereof
CN111290936A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Interface testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677442A (en) * 2015-12-28 2016-06-15 湖南蚁坊软件有限公司 Deployment method based on container virtualization
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN111290936A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Interface testing method and device
CN111124850A (en) * 2019-11-12 2020-05-08 上海移远通信科技有限公司 MQTT server performance testing method, system, computer equipment and storage medium
CN111224844A (en) * 2020-01-02 2020-06-02 内蒙古大学 Internet of things testing system and working process thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478570A (en) * 2023-12-27 2024-01-30 深圳万物安全科技有限公司 Equipment testing method and device based on containerization technology and storage medium
CN117478570B (en) * 2023-12-27 2024-03-22 深圳万物安全科技有限公司 Equipment testing method and device based on containerization technology and storage medium

Also Published As

Publication number Publication date
CN113079061B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
Perez et al. A test-suite diagnosability metric for spectrum-based fault localization approaches
CN109302522B (en) Test method, test device, computer system, and computer medium
CN106874187B (en) Code coverage rate collection method and device
CN105068925B (en) Software safety defect finds system
US20130132933A1 (en) Automated compliance testing during application development
CN108717393A (en) A kind of applied program testing method and mobile terminal
CN107797919A (en) The method and computing device of a kind of automatic test
CN111124919A (en) User interface testing method, device, equipment and storage medium
KR101935105B1 (en) Apparatus and Method for verifying automation based robustness using mutation Application Programming Interface
CN112433948A (en) Simulation test system and method based on network data analysis
Eldh et al. A framework for comparing efficiency, effectiveness and applicability of software testing techniques
CN113079061B (en) Internet of things performance testing method and system
CN105653455B (en) A kind of detection method and detection system of program bug
CN110765007A (en) Crash information online analysis method for android application
CN102073590A (en) Event simulation-based user interface test method and device
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN113535538B (en) Method, device, electronic equipment and storage medium for automatically testing application full link
Perez et al. A theoretical and empirical analysis of program spectra diagnosability
CN110633199A (en) Testing apparatus, method, and medium for block chain supporting intelligent contract
Alvaro et al. Towards a software component certification framework
CN112433947A (en) Chaos engineering method and system based on network data
CN113282504A (en) Incremental code coverage rate detection method and service development method and device
CN114036034A (en) Performance test method applied to real-time streaming computation
CN111694752A (en) Application testing method, electronic device and storage medium
CN112084108A (en) Test script generation method and device and related components

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