CN104852912A - Domain name registration server performance testing system and domain name registration server performance testing method - Google Patents
Domain name registration server performance testing system and domain name registration server performance testing method Download PDFInfo
- Publication number
- CN104852912A CN104852912A CN201510212652.6A CN201510212652A CN104852912A CN 104852912 A CN104852912 A CN 104852912A CN 201510212652 A CN201510212652 A CN 201510212652A CN 104852912 A CN104852912 A CN 104852912A
- Authority
- CN
- China
- Prior art keywords
- simulator
- domain name
- message
- name registration
- service device
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Debugging And Monitoring (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a domain name registration server performance testing system and a domain name registration server performance testing method. The system comprises a controller and multiple distributed simulators. The simulators are responsible for simulating domain name registration clients in multiple threads, generating XML messages, and interacting with a domain name registration server to implement service operation. The controller is responsible for communicating with the multiple simulators, and controlling and managing the multiple simulators in order to realize performance test on the domain name registration server. The controller comprises a configuration file, a communication module, and a report generation module. Each simulator comprises a configuration file, a communication module, a message template, a connection module, a statistics module, and a control module. Statistical analysis can be made effectively on the response time and accuracy of the server, switching among various types of service operation is facilitated, the transmitting frequency can be controlled effectively, and a complex scenario in which multiple clients perform multiple types of service operation at the same time can be simulated.
Description
Technical field
The invention belongs to domain name technology, domain name registration service device technical field of measurement and test, be specifically related to a kind of domain name registration service device Performance Test System and method.
Background technology
Domain name registration service is Internet basic service, and according to domain name registration protocol requirement, client need be undertaken mutual to realize Business Processing by XML (extend markup language) message and server.In the face of a large amount of registered client service request, registrar needs to possess higher performance standard, could meet a large amount of Business Processing requirements, complete service promise that is ageing to Business Processing and correctness.
Usually need simulant-client to the performance test of domain name registration service device, multithreading continues to send a large amount of XML message to server, the then result message of reception server, and the disposal ability of statistics and monitor server.This method has following shortcoming usually: a, be limited to client-server performance and client-side program performance, often can not apply enough large pressure to server; B, effective statistical means is lacked to server response time; C, effective statistics is lacked to server response accuracy; D, when testing the various operation that domain name registrar is supported, be inconvenient to convert; E, be difficult to simulate the real scene that multiple client carries out different business process simultaneously.
Summary of the invention
The present invention is directed to the problems referred to above, a kind of domain name registration service device Performance Test System and method are provided, can realize following object: 1) during performance test, client has sufficient message to send, receives analog capability, reaches the test pressure simulation demand to server; 2) can effectively statistical server response time, accuracy in performance test; 3) convenient switching miscellaneous service action type in performance test process, and can control effectively to transmission frequency; 4) multi-client multiple business can be simulated and operate the complex scene simultaneously carried out.
The technical solution used in the present invention is as follows:
A kind of domain name registration service device Performance Test System, comprises controller and multiple distributed simulator; Described simulator is responsible for multiple thread simulation domain name registered client, and generates XML message, carries out message interaction to realize business operation with domain name registration service device; Described controller is responsible for communicating with multiple simulator, carries out control and management to realize the performance test of domain name registration service device to multiple simulator.
Further, described controller comprises:
Configuration file, its content comprises each thread on the IP of each simulator, port numbers, simulator and sends the quantity of message and send the time interval, the test report file name of message;
Communication module, is responsible for communicating with each simulator, and the time interval of the quantity and transmission message that each thread on simulator are sent message according to configuration file sends to simulator, and receives the statistical information that simulator sends;
Report generation module, is responsible for generating test report according to the statistical information of simulator feedback.
Further, described simulator comprises:
Configuration file, its content comprises: the classes of instructions of execution, Thread Count, domain name registration service device IP, domain name registration service port numbers, registered client ID representated by simulator and connect password and be connected certificate used, path, XML message template place;
Communication module, be responsible for communicating with controller, receiving control information, comprises message quantity forwarded and the time interval, and feedback test statistics;
Message template, namely comprises the XML message of special sign symbol, the corresponding a kind of business operation of each message;
Link block, is responsible for connecting according to client id, password, certificate and domain name registration service device, disconnects after being finished;
Statistical module, is responsible for carrying out the statistics of response time and success rate to the business operation of each thread execution in a test process;
Control module, is responsible for producing multiple thread, during each thread execution according to configuration and controller instruction, corresponding message template file is searched out according to classes of instructions, and by message template generation XML message, carry out service interaction operation with domain name registration service device, and receive returned packet.Control module also controls message transmission frequency and message quantity forwarded simultaneously.
Adopt a domain name registration service device performance test methods for said system, its step comprises:
1) design performance test service scene, according to scene demand, each simulator is configured, comprises classes of instructions, the simulator start line number of passes of simulator client id, password, connection certificate, tested domain name registration service device IP, simulator execution;
2) according to test scene demand Configuration Control Unit, the IP of each simulator, port numbers is comprised;
3) the message template of simulator is write according to test scene;
4) start each simulator, and monitor communication port;
5) start-up connector, controller obtains IP and the port of each simulator service according to configuration, and carries out with it connecting and communicating, and issues testing and control information;
6) simulator receiving control information, connects domain name registrar with multithreading, constantly produces XML message and realize business operation alternately with server according to message template, and statistical operation object information; The connection with domain name registration service device is disconnected after being finished;
7) test report is generated according to the statistical information of simulator.Can be step 6) in simulator statistical information is issued controller, controller receives the statistical information of each simulator and generates test report; Also can according to the statistical information manual compiling test report of simulator.
Feature of the present invention is: double-layer structure a) using controller and simulator, facilitates easy-to-use; B) use distributed simulator as pressure client, real simulation business scenario, produce enough simulated pressures; C) configuration file management is used to test operation option, conveniently different test scenes is converted; D) the message template that utilization is default and identifier substitute mode produce the XML message different in a large number needed for test fast.
Compared with prior art, beneficial effect of the present invention is as follows:
1) use multiple distributed pressure simulation client, enough simulated pressures can be produced;
2) can simulate multiple client operation, each client can perform different business operations simultaneously, closer to real business scenario;
3) can statistical test result, generate test report;
4) business operation can be carried out easily by configuration to switch and different business scenario simulation;
5) a large amount of different XML message automatically required for generation, reduces manual work amount.
Accompanying drawing explanation
Fig. 1 is the module composition schematic diagram of domain name registration service device Performance Test System in embodiment.
Fig. 2 is domain name registration service device performance test flow chart in embodiment.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below by specific embodiments and the drawings, the present invention will be further described.
The present invention proposes a kind of distributed system can carrying out performance test to domain name registration service device, it is characterized in that comprising with lower module or subsystem, as shown in Figure 1.
1) multiple simulators that, controller is responsible for being deployed in multiple servers carry out control and management.Controller comprises configuration file, communication module and report generation module.
2), the content of the configuration file of controller comprises: on the IP of each simulator, port numbers, simulator, each thread sends the quantity of message and sends the time interval, the test report file name of message.
2), the communication module of controller is responsible for each simulator communication, and quantity thread each on test gimulator being sent message according to configuration file and the time interval sending message send to simulator, and receives the test statistics information that simulator sends.
3) statistical information that, the report generation module of controller is fed back according to simulator generates test report, comprising the information such as average response time, response message success rate of domain name registration service device response message in this implementation.
4), simulator is responsible for, with multiple thread simulation domain name registered client, generating XML message, carrying out message interaction realize business operation with domain name registration service device.Simulator comprises configuration file, communication module, message template, link block, statistical module and control module.
5), the content of the configuration file of simulator comprises: the classes of instructions of execution (a corresponding XML message template), Thread Count, domain name registration service device IP, domain name registration service port numbers, registered client ID representated by simulator and connect password and be connected certificate used, path, XML message template place.
6), the communication module of simulator is responsible for to-controller communication, receiving control information: message quantity forwarded, the time interval etc., and feedback test statistics.
7), namely the message template of simulator comprises the XML message of special sign symbol, the corresponding a kind of business operation of each message.Generate in a large amount of message process in circulation, replace the special sign symbol in template at every turn with kinds of characters string, mutual required different XML message can be produced, thus correct business operation can be realized.
8), the link block of simulator is responsible for connecting with domain name registration service device according to client id, password, certificate, disconnects after being finished.
9), the statistical module of simulator is responsible for carrying out the statistics of response time and success rate to the business operation of each thread execution in a test process.
10), the control module of simulator is responsible for producing multiple thread according to configuration and controller instruction, during each thread execution, corresponding message template file is searched out according to classes of instructions, and by message template generation XML message, carry out service interaction operation with domain name registration service device, and receive returned packet; Control message transmission frequency and quantity.
The performance test flow process of the present embodiment as shown in Figure 2.Its step is described below:
1) design performance test service scene, according to scene demand, each simulator is configured: classes of instructions, simulator start line number of passes etc. that simulator client id, password, connection certificate, tested domain name registration service device IP, simulator perform.
2) according to test scene demand, Configuration Control Unit: the IP, port numbers etc. of each simulator.
3) according to test scene, simulator message template is write.
4) start each simulator, monitor communication port.
5) start-up connector, controller obtains IP and the port of each simulator service according to configuration, and carries out with it connecting and communicating, and issues testing and control information.
6) simulator receiving control information, connects domain name registrar with multithreading, constantly produces XML message and realize business operation alternately, statistical module counts operation result information with server according to message template.Disconnect the connection with domain name registration service device after being finished and statistics is issued controller.
7) controller receives the statistical information of each simulator, generates test report.
It should be noted that further, the non-indispensable content of report generation module of middle controller of the present invention, also can according to the statistical information manual compiling test report of simulator.Middle controller of the present invention also can increase the monitoring modular for tested service place server, monitors the performance characteristic of tested server with automatic acquisition or be more convenient for.
Above embodiment is only in order to illustrate technical scheme of the present invention but not to be limited; those of ordinary skill in the art can modify to technical scheme of the present invention or equivalent replacement; and not departing from the spirit and scope of the present invention, protection scope of the present invention should be as the criterion with described in claims.
Claims (9)
1. a domain name registration service device Performance Test System, is characterized in that, comprises controller and multiple distributed simulator; Described simulator is responsible for multiple thread simulation domain name registered client, and generates XML message, carries out message interaction to realize business operation with domain name registration service device; Described controller is responsible for communicating with multiple simulator, carries out control and management to realize the performance test of domain name registration service device to multiple simulator.
2. the system as claimed in claim 1, is characterized in that, described controller comprises:
Configuration file, its content comprises each thread on the IP of each simulator, port numbers, simulator and sends the quantity of message and send the time interval, the test report file name of message;
Communication module, is responsible for communicating with each simulator, and the time interval of the quantity and transmission message that each thread on simulator are sent message according to configuration file sends to simulator, and receives the statistical information that simulator sends;
Report generation module, is responsible for generating test report according to the statistical information of simulator feedback.
3. system as claimed in claim 2, it is characterized in that, described test report comprises the average response time of domain name registration service device response message in this implementation, and response message success rate.
4. system as claimed in claim 1 or 2, it is characterized in that, described simulator comprises:
Configuration file, its content comprises: the classes of instructions of execution, Thread Count, domain name registration service device IP, domain name registration service port numbers, registered client ID representated by simulator and connect password and be connected certificate used, path, XML message template place;
Communication module, be responsible for communicating with controller, receiving control information, comprises message quantity forwarded and the time interval, and feedback test statistics;
Message template, namely comprises the XML message of special sign symbol, the corresponding a kind of business operation of each message;
Link block, is responsible for connecting according to client id, password, certificate and domain name registration service device, disconnects after being finished;
Statistical module, is responsible for carrying out the statistics of response time and success rate to the business operation of each thread execution in a test process;
Control module, is responsible for producing multiple thread, during each thread execution according to configuration and controller instruction, corresponding message template file is searched out according to classes of instructions, and by message template generation XML message, carry out service interaction operation with domain name registration service device, and receive returned packet.
5. system as claimed in claim 4, is characterized in that: generate in a large amount of message process in circulation, replace the special sign in described message template to accord with at every turn with kinds of characters string, to produce mutual required different XML message, realizes correct business operation.
6. system as claimed in claim 4, is characterized in that: the control module of described simulator also controls message transmission frequency and message quantity forwarded.
7. system as claimed in claim 4, is characterized in that: described controller also comprises the monitoring modular for tested domain name registration service device, with automatic acquisition or the performance characteristic being convenient to the tested domain name registration service device of monitoring.
8. adopt a domain name registration service device performance test methods for system described in claim 1, its step comprises:
1) design performance test service scene, according to scene demand, each simulator is configured, comprises classes of instructions, the simulator start line number of passes of simulator client id, password, connection certificate, tested domain name registration service device IP, simulator execution;
2) according to test scene demand Configuration Control Unit, the IP of each simulator, port numbers is comprised;
3) the message template of simulator is write according to test scene;
4) start each simulator, and monitor communication port;
5) start-up connector, controller obtains IP and the port of each simulator service according to configuration, and carries out with it connecting and communicating, and issues testing and control information;
6) simulator receiving control information, connects domain name registrar with multithreading, constantly produces XML message and realize business operation alternately with server according to message template, and statistical operation object information; The connection with domain name registration service device is disconnected after being finished;
7) test report is generated according to the statistical information of simulator.
9. method as claimed in claim 8, is characterized in that: step 6) in simulator statistical information is issued controller, receive the statistical information of each simulator by controller and generate test report; Or according to the statistical information manual compiling test report of simulator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510212652.6A CN104852912B (en) | 2015-04-29 | 2015-04-29 | Domain name registration service device Performance Test System and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510212652.6A CN104852912B (en) | 2015-04-29 | 2015-04-29 | Domain name registration service device Performance Test System and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104852912A true CN104852912A (en) | 2015-08-19 |
CN104852912B CN104852912B (en) | 2018-07-06 |
Family
ID=53852268
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510212652.6A Active CN104852912B (en) | 2015-04-29 | 2015-04-29 | Domain name registration service device Performance Test System and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104852912B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955872A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Server performance test method and system |
CN106412141A (en) * | 2016-07-14 | 2017-02-15 | 厦门易名科技股份有限公司 | Processing method and system for domain name template registration |
CN106649099A (en) * | 2016-11-15 | 2017-05-10 | 中国互联网络信息中心 | Automatic testing method and system for DNS monitoring service |
CN106789360A (en) * | 2017-02-15 | 2017-05-31 | 中国互联网络信息中心 | A kind of DNS flow simulations system |
CN107342910A (en) * | 2017-04-20 | 2017-11-10 | 上海斐讯数据通信技术有限公司 | Simulate automated testing method and instrument that multi-user carries out network access |
CN110098978A (en) * | 2019-04-12 | 2019-08-06 | 网宿科技股份有限公司 | A kind of test method, device and the network equipment of DNS scheduling |
CN110825625A (en) * | 2019-10-24 | 2020-02-21 | 上海钧正网络科技有限公司 | Test method and device based on battery replacement cabinet simulator and readable storage medium |
CN110908354A (en) * | 2018-09-17 | 2020-03-24 | 浙江宇视科技有限公司 | Automatic test detection device and method |
CN111404763A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Core network performance test method, device and system |
CN112054941A (en) * | 2020-09-07 | 2020-12-08 | 平安科技(深圳)有限公司 | Automatic testing method, device and equipment for private domain name and storage medium |
CN113079070A (en) * | 2021-06-07 | 2021-07-06 | 中国电子信息产业集团有限公司第六研究所 | Method and device for monitoring response performance of domain name system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882105A (en) * | 2010-06-01 | 2010-11-10 | 华南理工大学 | Method for testing response time of Web page under concurrent environment |
CN103064778A (en) * | 2011-10-20 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Method, device and system of server performances testing |
CN103138995A (en) * | 2011-11-24 | 2013-06-05 | 中兴通讯股份有限公司 | Method and device for server performance test |
CN104407910A (en) * | 2014-10-29 | 2015-03-11 | 华南理工大学 | Virtualization server performance monitoring method and system |
-
2015
- 2015-04-29 CN CN201510212652.6A patent/CN104852912B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882105A (en) * | 2010-06-01 | 2010-11-10 | 华南理工大学 | Method for testing response time of Web page under concurrent environment |
CN103064778A (en) * | 2011-10-20 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Method, device and system of server performances testing |
CN103138995A (en) * | 2011-11-24 | 2013-06-05 | 中兴通讯股份有限公司 | Method and device for server performance test |
CN104407910A (en) * | 2014-10-29 | 2015-03-11 | 华南理工大学 | Virtualization server performance monitoring method and system |
Non-Patent Citations (1)
Title |
---|
韩国峰: "Web系统分布式性能测试工具的研究与实现", 《万方数据》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955872A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Server performance test method and system |
CN106412141A (en) * | 2016-07-14 | 2017-02-15 | 厦门易名科技股份有限公司 | Processing method and system for domain name template registration |
CN106649099A (en) * | 2016-11-15 | 2017-05-10 | 中国互联网络信息中心 | Automatic testing method and system for DNS monitoring service |
CN106649099B (en) * | 2016-11-15 | 2019-04-26 | 中国互联网络信息中心 | A kind of DNS monitoring automatization of service test method and system |
CN106789360A (en) * | 2017-02-15 | 2017-05-31 | 中国互联网络信息中心 | A kind of DNS flow simulations system |
CN107342910A (en) * | 2017-04-20 | 2017-11-10 | 上海斐讯数据通信技术有限公司 | Simulate automated testing method and instrument that multi-user carries out network access |
CN110908354A (en) * | 2018-09-17 | 2020-03-24 | 浙江宇视科技有限公司 | Automatic test detection device and method |
CN111404763A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Core network performance test method, device and system |
CN110098978A (en) * | 2019-04-12 | 2019-08-06 | 网宿科技股份有限公司 | A kind of test method, device and the network equipment of DNS scheduling |
CN110098978B (en) * | 2019-04-12 | 2021-02-26 | 网宿科技股份有限公司 | DNS scheduling test method and device, network equipment and storage medium |
CN110825625A (en) * | 2019-10-24 | 2020-02-21 | 上海钧正网络科技有限公司 | Test method and device based on battery replacement cabinet simulator and readable storage medium |
CN112054941A (en) * | 2020-09-07 | 2020-12-08 | 平安科技(深圳)有限公司 | Automatic testing method, device and equipment for private domain name and storage medium |
CN112054941B (en) * | 2020-09-07 | 2023-03-24 | 平安科技(深圳)有限公司 | Automatic testing method, device and equipment for private domain name and storage medium |
CN113079070A (en) * | 2021-06-07 | 2021-07-06 | 中国电子信息产业集团有限公司第六研究所 | Method and device for monitoring response performance of domain name system |
CN113079070B (en) * | 2021-06-07 | 2021-08-27 | 中国电子信息产业集团有限公司第六研究所 | Method and device for monitoring response performance of domain name system |
Also Published As
Publication number | Publication date |
---|---|
CN104852912B (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104852912A (en) | Domain name registration server performance testing system and domain name registration server performance testing method | |
CN102185733B (en) | Network card testing method and system | |
CN107079057A (en) | Data transmission method, device, system, electronic equipment and computer program product | |
CN104579822A (en) | Automatic performance test system and method of mobile application based on Http protocol | |
CN107168873B (en) | Network testing system and method based on script | |
CN107094091B (en) | A kind of intelligent substation station level network configuration method of calibration and system | |
CN110138617A (en) | Data transmission quality test method, system, electronic equipment and storage medium | |
CN107819611A (en) | Client method of testing based on the more service end emulation of IEC61850 | |
CN105450479A (en) | Method and apparatus for monitoring module | |
CN104239217A (en) | Method and system for testing railway signal software | |
CN107658866B (en) | High-reliability cross-region transmission test system and method thereof | |
CN105049543A (en) | P2P communication system and method crossing asymmetric NAT between intelligent routers | |
CN208888641U (en) | A kind of industry spot automation equipment data collection analysis system based on TCP network | |
CN111885119A (en) | Data transmission method and device of monitoring unit | |
CN103441955B (en) | A kind of test system and method for testing for being used to test dynamic bandwidth allocation device | |
CN105262628A (en) | Campus dormitory network management system based on multi-operator link sharing | |
CN112312376B (en) | Method and system for remotely and interactively managing multifunctional electric meter | |
CN105282541B (en) | A kind of test device and method of testing applied to video on-demand system | |
CN104980495B (en) | General device integrated manager | |
CN103152207B (en) | Based on the implementation method of the passive light network maintaining-managing system of tunnel style | |
CN106411601A (en) | System and method for batch configuration of cloud terminal time | |
CN114221882A (en) | Method, device, equipment and storage medium for detecting fault link | |
CN104994180A (en) | Method for acquiring equipment management IP address | |
CN103414875A (en) | Method for uniformly controlling conference scene showing of video conference system | |
CN103747088A (en) | Data transmission method for full-range analog machine and data transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |