CN109302305A - A kind of clustering performance test method based on industrial control system - Google Patents
A kind of clustering performance test method based on industrial control system Download PDFInfo
- Publication number
- CN109302305A CN109302305A CN201810897812.9A CN201810897812A CN109302305A CN 109302305 A CN109302305 A CN 109302305A CN 201810897812 A CN201810897812 A CN 201810897812A CN 109302305 A CN109302305 A CN 109302305A
- Authority
- CN
- China
- Prior art keywords
- server
- script
- performance test
- web
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to industrial control systems, it is desirable to provide a kind of clustering performance test method based on industrial control system.Clustering performance test method of this kind based on industrial control system is comprising steps of importing script, configuration sweep parameter, obtaining server info, matching script, performance test and management test report.The present invention obtains server info by bottom engine, greatly reduces in the manpower financial capacity for obtaining message context investment;And by the matching of script needed for web and the process name and performance test module of the operation of Middleware implementation server, it is mixed and disorderly to solve the problems, such as that performance test script manages.The present invention is directed to the characteristic of industrial production environment, and realization meets in the accurate situation of data, greatly reduces the workload of tester, and improve work efficiency.
Description
Technical field
The present invention relates to industrial control system field, in particular to a kind of clustering performance based on industrial control system is surveyed
Method for testing.
Background technique
Industrial control system is the requirement to the big data quantities such as image, voice signal, high rate data transmission, and is expedited the emergence of
Currently in the combination of the fashionable Ethernet of commercial field and control network.This strand of industrial control system networking tide again will such as
A variety of current popular techniques such as embedded, multi-standard industrial control network interconnection, wireless technology, which are integrated into, to be come, to expand work
The development space of industry control field brings new opportunity to develop.Usual industrial control system can be quite huge, in conjunction with multiple systems
System, forms the cluster of oneself.Therefore, it in face of huge system, needs to guarantee to simplify when doing performance test, automation, height
Effectization.
In huge industrial production environment, there can be the case where multiple system cluster collective effects.Under the scene to
Performance test on the spot is carried out, the information such as the IP of each server of manual query, the system of operation is needed, needs to put into a large amount of people
Power financial resources and also can be comparatively laborious for the management of script.
At present to the performance test of server in huge industrial production environment, without preferably method.It uses now
Method is nothing more than two kinds:
Method 1) laboratory simulation site environment, each system is disposed, is tested for the property.The disadvantage is that, the environment of simulation
Can not be completely similar to complicated industrial production environment in detail, so test result is not accurate enough, data can only be as ginseng
It examines.
Method 2) do performance test, data ratio method 1 on the spot) test method it is accurate.But there are still disadvantage, for
For the industrial production environment that system is huge, system quantity is more, script management of such performance test for performance test
Can be more mixed and disorderly, early period obtains the larger workload of the topology information of server info and system, thus required financial resources and people
Power is larger.
Summary of the invention
It is a primary object of the present invention to overcome deficiency in the prior art, providing a kind of can significantly simplify in work
Hold, reduces the clustering performance test method based on industrial control system of manpower and financial resources investment.In order to solve the above technical problems,
Solution of the invention is:
A kind of clustering performance test method based on industrial control system is provided, specifically include the following steps:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported
For as the performance test script for not homologous ray;Wherein, the script name of performance test script is scanned for matching
Process name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs ip range, scanning area and the system process of scanning respectively
Name;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including
The scanning area and system process name for inputting typing in ip, and selection step (2) (use newly-increased function in the Resources list page
Can, the scanning area and process title that ip is directly inputted in input frame, selects typing in step (2));Then web is used
Bottom engine is called to carry out spy work to the server being manually entered, server that will be ping logical marks upper ip and is presented in web
Interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, calling bottom with web
Engine is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning,
Server that will be ping logical marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in the server of web interface
All processes, and the system process name inputted in process and step (2) is matched: if in the server of scanning, have with
The process to match in the system process name inputted in step (2) as matching process, and can click server and check and select
It selects;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the property is selected
It can test script of the test script as the matching process;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, (performance test module is that calling is matched
Test script carries out the module of performance evaluation after perform script to server and test macro), test is set in web interface
Scene, then selection needs the performance indicator obtained, and is transferred to performance test module, invocation performance test module by interface
It is tested for the property;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, every
Second number of request, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates chart by interface to web transmission performance test
The test report of form, and being automatically imported under test report file to the corresponding operation program of this server, as backup,
It can export and check test report.
In the present invention, the corresponding test script of homologous ray is not according to system different performance test agreement used and to connect
It is mouthful different, and write in advance test script that debugging completes (system different performance test agreement used, interface is not also identical,
Script needs software engineer to write in advance for different systems, debug completion).
In the present invention, in the step (2), when configuring sweep parameter:
The ip range, which will do it, checks whether to meet specification;
The scanning area is the selective input in the form of pulling down check box, and pulls down the option in check box and recorded
The information entered is corresponding (such as existing typing scanning area one, scanning area two, then can only be from wherein selection);
The system process name refers to the process name of system operation, and system process name is in the form of pulling down check box for choosing
Input is selected, and it is corresponding with the information of typing (such as existing typing process title one, process title to pull down the option in check box
Two, then can only be from wherein selection);
For the information as option in scanning area, system process name drop-down check box, the mode of typing is: passing through
SQL statement is directed in database as initial information.
In the present invention, in the step (3), for the server info being manually entered, when with web calling bottom
When engine scanning server, if the system information scanned and the system information added manually are inconsistent, the system that scans
Information covers the system information added manually, and ip as unique identification (since the information manually added always exists, if
Other servers have scanning demand, and the information of the server manually added has been swept to while scanning, should when what is scanned
When information and the system information manually added are inconsistent, the information scanned can cover the information manually added).
In the present invention, server ping logical in the step (3) (including the server being manually entered and scans
Server), periodically (range in period 5-10 second arbitrarily select) carries out spy work:
If energy ping is logical, without any processing;
If it is logical to be unable to ping, which is shown into grey in web interface, and can not be selected.
In the present invention, in the step (4) while selection performance test script, then using original script as standard, separately
It saves as the url parameterized in the script (i.e. by operation) adaptively to be changed, i.e., the url parameterized in script is changed to match
Ip afterwards.
In the present invention, the performance indicator of the step (5), including user's business class performance indicator, CPU, memory class
It can index and network class performance indicator;
User's business class performance indicator includes: Average Transaciton Response Time (affairs average response
Time), Transactions per Second (per second by number of transactions, to write a Chinese character in simplified form TPS), Total Transactions per
Second (per second to pass through affairs sum), Transaction Performance Sunmmary (affairs performance abstract);
CPU, memory class performance indicator include: %processor time (processor_total), %Disk time
(physicaldisk_total),Availiable bytes(memory),Page write/sec;
Network class performance indicator includes: Hits per Second (number of clicks per second), Throughput (throughput).
A kind of storage equipment is provided, wherein being stored with a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported
For as the performance test script for not homologous ray;Wherein, the script name of performance test script is scanned for matching
Process name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs ip range, scanning area and the system process of scanning respectively
Name;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including
The scanning area and system process name for inputting typing in ip, and selection step (2) (use newly-increased function in the Resources list page
Can, the scanning area and process title that ip is directly inputted in input frame, selects typing in step (2));Then web is used
Bottom engine is called to carry out spy work to the server being manually entered, server that will be ping logical marks upper ip and is presented in web
Interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, calling bottom with web
Engine is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning,
Server that will be ping logical marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in the server of web interface
All processes, and the system process name inputted in process and step (2) is matched: if in the server of scanning, have with
The process to match in the system process name inputted in step (2) as matching process, and can click server and check and select
It selects;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the property is selected
It can test script of the test script as the matching process;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, (performance test module is that calling is matched
Test script carries out the module of performance evaluation after perform script to server and test macro), test is set in web interface
Scene, then selection needs the performance indicator obtained, and is transferred to performance test module, invocation performance test module by interface
It is tested for the property;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, every
Second number of request, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates chart by interface to web transmission performance test
The test report of form, and being automatically imported under test report file to the corresponding operation program of this server, as backup,
It can export and check test report.
A kind of mobile terminal, including processor are provided, each instruction is adapted for carrying out;And storage equipment, it is suitable for storing a plurality of
Instruction, described instruction are suitable for being loaded and being executed by processor:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported
For as the performance test script for not homologous ray;Wherein, the script name of performance test script is scanned for matching
Process name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs ip range, scanning area and the system process of scanning respectively
Name;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including
The scanning area and system process name for inputting typing in ip, and selection step (2) (use newly-increased function in the Resources list page
Can, the scanning area and process title that ip is directly inputted in input frame, selects typing in step (2));Then web is used
Bottom engine is called to carry out spy work to the server being manually entered, server that will be ping logical marks upper ip and is presented in web
Interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, calling bottom with web
Engine is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning,
Server that will be ping logical marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in the server of web interface
All processes, and the system process name inputted in process and step (2) is matched: if in the server of scanning, have with
The process to match in the system process name inputted in step (2) as matching process, and can click server and check and select
It selects;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the property is selected
It can test script of the test script as the matching process;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, (performance test module is that calling is matched
Test script carries out the module of performance evaluation after perform script to server and test macro), test is set in web interface
Scene, then selection needs the performance indicator obtained, and is transferred to performance test module, invocation performance test module by interface
It is tested for the property;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, every
Second number of request, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates chart by interface to web transmission performance test
The test report of form, and being automatically imported under test report file to the corresponding operation program of this server, as backup,
It can export and check test report.
The principle of the present invention: calling bottom engine scanning server by web, obtain the information of each server, including IP,
The process name etc. of operation, matching performance test script after confirmation, runnability test module are tested for the property, management test report
It accuses.
Compared with prior art, the beneficial effects of the present invention are:
The present invention obtains server info by bottom engine, greatly reduces in the manpower for obtaining message context investment
Financial resources;And by the matching of script needed for web and the process name and performance test module of the operation of Middleware implementation server, solve
Performance test script manages mixed and disorderly problem.
The present invention is directed to the characteristic of industrial production environment, and realization meets in the accurate situation of data, greatly reduces survey
The workload of examination personnel, and improve work efficiency.
The present invention combines the functional module of multiple independent researches to carry out clustering performance test, can apply to huge test wrapper
In border, automation is high, obtains great convenience in utilization and information management.
Detailed description of the invention
Fig. 1 is flow chart of the invention.
Specific embodiment
Firstly the need of explanation, the present invention is a kind of application of the computer technology in container technical field.In the present invention
Realization during, the application of multiple software function modules can be related to.It is applicant's understanding that such as read over application documents,
After accurate understanding realization principle and goal of the invention of the invention, in the case where combining existing well-known technique, art technology
The software programming technical ability that personnel can grasp completely with it realizes the present invention.Category this model that all the present patent application files refer to
Farmland, applicant will not enumerate.
Present invention is further described in detail with specific embodiment with reference to the accompanying drawing:
A kind of clustering performance test method based on industrial control system as shown in Figure 1, specifically include the following steps:
Step (1): script is imported
On-the-spot test personnel pass through the script import feature of web, and the corresponding test script of homologous ray is imported, this
The script imported a bit is used for as the performance test script for not homologous ray;Wherein, the script name of performance test script is used
In the process name that matching scans.
Because system different performance test agreement used, interface is not identical, not the corresponding test script of homologous ray
Also not identical;These scripts need software engineer to write in advance for different systems, debug completion.
Step (2): configuration sweep parameter
It is configured with the scan setting function of web, inputs ip range, scanning area and the system process of scanning respectively
Name.
The ip range, which will do it, checks whether to meet specification.
The scanning area is the selective input in the form of pulling down check box, and pulls down the option in check box and recorded
The information entered is corresponding, such as existing typing scanning area one, scanning area two, then can only be from wherein selecting.
The system process name refers to the process name of system operation, and system process name is in the form of pulling down check box for choosing
Input is selected, and the option pulled down in check box is corresponding with the information of typing, such as existing typing process title one, process title
Two, then it can only be from wherein selecting.
For the information as option in scanning area, system process name drop-down check box, the mode of typing is: at this
When invention deployment, this two category information is directed in database by SQL statement as initial information.
Step (3): server info is obtained
By being manually entered server info or bottom engine scanning server, server info is obtained.
The server info that is manually entered refers to: if the information of known scanned system, can directly manually add letter
Breath, skips scanning step;Then call bottom engine to carry out spy work to the server being manually entered with web, will ping it is logical
Server mark upper ip and be presented in web interface.Since the information manually added always exists, if other servers have
Scanning demand, and the information of the server manually added has been swept to while scanning, when the information scanned and craft add
When the system information added is inconsistent, the information scanned can cover the information manually added, take ip as unique identification,
To ensure the uniqueness of ip, the generation of dirty data is avoided.
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, calling bottom with web
Engine is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning,
Server that will be ping logical marks upper ip and is presented in web interface.
Then, the server that some is presented in web interface is inquired with the ps order in linux using SSH agreement
All processes, and the system process name inputted in process and step (2) is matched: if in the server of scanning, have with
The process to match in the system process name inputted in step (2) can then click server and check, select as matching process.
For the server that ping leads to, spy work periodically can be carried out to the server led to of ping, if can ping
General rule is without any processing, and on the contrary then this server shows grey in web interface, and can not be selected.
Step (4): matching script
The matching process in step (3) is selected, matching performance test script:
When the script name imported in step (1) can be matched with the process name in server info has been obtained in step (3)
When, then select the performance test script as the test script of the matching process.
While selecting script, the url parameterized in the script (i.e. by operation) can be saved as using original script as standard
It is adaptively changed, that is to say, that the url parameterized in script can be changed to the ip after matching.
Step (5): performance test
After choosing performance test script, by web invocation performance test module, test scene is set in web interface,
Then selection needs the performance indicator obtained, and is transferred to performance test module by interface, and invocation performance test module carries out
Performance test.
The performance test module specifically refers to: matched test script is called, to server and test after perform script
The module of system progress performance evaluation.
The test scene is divided into two kinds, and one kind is object-oriented, and one kind is manual setting.User may be selected in object-oriented
Number of request several, per second is used as load, stability test.Manual setting, settable number of users are used as pressure test.
Based on different agreements, different request types, performance Index Calculation slightly difference, important performance indexes are as follows
(take http protocol POST type for):
1, user's business class;
It is performed an analysis by the request response to http protocol POST type.
1. Average Transaciton Response Time (affairs average response time):
The affairs within each second during test scene operation, which are calculated, by http protocol executes average time used.It rings
It is transmission POST request to the time interval for receiving response between seasonable.
2. Transactions per Second (per second by number of transactions, to write a Chinese character in simplified form TPS):
It is calculated by http protocol and runs interior every second, the number that each affairs pass through, fail and stop in scene
Amount.
3. Total Transactions per Second (per second to pass through affairs sum):
By http protocol calculate scene operation when, pass through within each second affairs sum, failure affairs sum with
And the affairs sum stopped.
4. Transaction Performance Sunmmary (affairs performance abstract):
Minimum, the maximum and average execution time of all affairs in statistical project.
2, CPU, memory class;
Server CPU, memory category information are obtained by SSH agreement, important indicator is as follows.
1. %processor time (processor_total):
Obtain the processor time quantity of server consumption.
2. %Disk time (physicaldisk_total):
Selected disc driver is obtained to be busy with to read or write request and providing the percentage of service time used.
3. Availiable bytes (memory):
Obtain physical memory number.
4. Page write/sec:
Obtain the number of pages that the physical database of (page/second write) execution per second is write.
3, network class;
1. Hits per Second (number of clicks per second):
The HTTP request number per second submitted to server of Virtual User during Run-time scenario is calculated by http protocol.
2. Throughput (throughput):
The handling capacity per second of the server in scene operational process is calculated by HTTP.Its linear module is byte, table
Show the data volume that Virtual User is obtained in any given each second from server.
Step (6): management test report
After the completion of performance test, performance test module reports that web generates chart by interface to web transmission performance test
The test report of form, and be automatically imported under test report file to the corresponding operation program of this server, as backup, also
It can export and check test report.
Finally it should be noted that the above enumerated are only specific embodiments of the present invention.It is clear that the invention is not restricted to
Above embodiments can also have many variations.Those skilled in the art can directly lead from present disclosure
Out or all deformations for associating, it is considered as protection scope of the present invention.
Claims (9)
1. a kind of clustering performance test method based on industrial control system, which is characterized in that specifically include the following steps:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported are used for
As the performance test script for not homologous ray;Wherein, the script name of performance test script be used for match scan into
Journey name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs the ip range, scanning area and system process name of scanning respectively;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including input
The scanning area and system process name of typing in ip, and selection step (2);Then call bottom engine to manual with web
The server of input carries out spy work, and server that will be ping logical marks upper ip and is presented in web interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, bottom engine is called with web,
It is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning, it will
Ping logical server marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in all of the server of web interface
Process, and the system process name inputted in process and step (2) is matched: if in the server of scanning, having and step
(2) process to match in the system process name inputted in as matching process, and can click server and check and select;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the performance is selected to survey
This test script as the matching process of training;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, test scene is set in web interface, then
Selection needs the performance indicator obtained, and is transferred to performance test module by interface, and invocation performance test module carries out performance
Test;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, per second ask
It asks several, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates diagrammatic form by interface to web transmission performance test
Test report, and be automatically imported under test report file to the corresponding operation program of this server, as backup, can also lead
Test report is checked out.
2. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
It states in step (1), the corresponding test script of homologous ray is not different according to the test of system different performance agreement and interface used,
And the test script that debugging is completed is write in advance.
3. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
It states in step (2), when configuring sweep parameter:
The ip range, which will do it, checks whether to meet specification;
The scanning area is the selective input in the form of pulling down check box, and pulls down the option in check box and typing
Information is corresponding;
The system process name refers to the process name of system operation, and system process name is selective defeated in the form of pulling down check box
Enter, and the option pulled down in check box is corresponding with the information of typing;
For the information as option in scanning area, system process name drop-down check box, the mode of typing is: passing through SQL language
Sentence, is directed in database as initial information.
4. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
It states in step (3), for the server info being manually entered, when calling bottom engine scanning server with web, if sweeping
When the system information described and the inconsistent system information added manually, the system information scanned covers the system added manually
Information, and ip is as unique identification.
5. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
Server ping logical in step (3) is stated, spy work is periodically carried out:
If energy ping is logical, without any processing;
If it is logical to be unable to ping, which is shown into grey in web interface, and can not be selected.
6. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
While stating selection performance test script in step (4), then using original script as standard, parameterized in the script that saves as
Url is adaptively changed, i.e., the url parameterized in script is changed to the ip after matching.
7. a kind of clustering performance test method based on industrial control system according to claim 1, which is characterized in that institute
State the performance indicator of step (5), including user's business class performance indicator, CPU, memory class performance indicator and network class performance
Index;
User's business class performance indicator includes: Average Transaciton Response Time, Transactions per
Second,Total Transactions per Second,Transaction Performance Sunmmary;
CPU, memory class performance indicator include: %processor time, %Disk time, Availiable bytes, Page
write/sec;
Network class performance indicator includes: Hits per Second, Throughput.
8. a kind of storage equipment, wherein being stored with a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported are used for
As the performance test script for not homologous ray;Wherein, the script name of performance test script be used for match scan into
Journey name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs the ip range, scanning area and system process name of scanning respectively;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including input
The scanning area and system process name of typing in ip, and selection step (2);Then call bottom engine to manual with web
The server of input carries out spy work, and server that will be ping logical marks upper ip and is presented in web interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, bottom engine is called with web,
It is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning, it will
Ping logical server marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in all of the server of web interface
Process, and the system process name inputted in process and step (2) is matched: if in the server of scanning, having and step
(2) process to match in the system process name inputted in as matching process, and can click server and check and select;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the performance is selected to survey
This test script as the matching process of training;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, test scene is set in web interface, then
Selection needs the performance indicator obtained, and is transferred to performance test module by interface, and invocation performance test module carries out performance
Test;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, per second ask
It asks several, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates diagrammatic form by interface to web transmission performance test
Test report, and be automatically imported under test report file to the corresponding operation program of this server, as backup, can also lead
Test report is checked out.
9. a kind of mobile terminal, including processor are adapted for carrying out each instruction;And storage equipment, it is suitable for storing a plurality of instruction, institute
Instruction is stated to be suitable for being loaded and being executed by processor:
Step (1): script is imported;
By the script import feature of web, the corresponding test script of homologous ray is imported, these scripts imported are used for
As the performance test script for not homologous ray;Wherein, the script name of performance test script be used for match scan into
Journey name;
Step (2): configuration sweep parameter;
It is configured with the scan setting function of web, inputs the ip range, scanning area and system process name of scanning respectively;
Step (3): server info is obtained;
By being manually entered server info or bottom engine scanning server, server info is obtained;
The server info that is manually entered refers to: the information of known scanned system, manual add-on system information, including input
The scanning area and system process name of typing in ip, and selection step (2);Then call bottom engine to manual with web
The server of input carries out spy work, and server that will be ping logical marks upper ip and is presented in web interface;
The bottom engine scanning server refers to: in the scanning area that step (2) is chosen, bottom engine is called with web,
It is scanned in the ip range of step (2) input;Learn that the corresponding ip of which server is led to by ping by scanning, it will
Ping logical server marks upper ip and is presented in web interface;
Then, using SSH agreement, with the ps order in linux, inquiry is each presented in all of the server of web interface
Process, and the system process name inputted in process and step (2) is matched: if in the server of scanning, having and step
(2) process to match in the system process name inputted in as matching process, and can click server and check and select;
Step (4): matching script;
The matching process in step (3) is selected, matching performance test script:
When the script name of the performance test script imported in step (1) can be matched with the process name, then the performance is selected to survey
This test script as the matching process of training;
Step (5): performance test;
After choosing performance test script, by web invocation performance test module, test scene is set in web interface, then
Selection needs the performance indicator obtained, and is transferred to performance test module by interface, and invocation performance test module carries out performance
Test;
The test scene is divided into two kinds, respectively object-oriented and manual setting;Object-oriented can select number of users, per second ask
It asks several, is used as load, stability test;Number of users can be arranged in manual setting, be used as pressure test;
Step (6): management test report;
After the completion of performance test, performance test module reports that web generates diagrammatic form by interface to web transmission performance test
Test report, and be automatically imported under test report file to the corresponding operation program of this server, as backup, can also lead
Test report is checked out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810897812.9A CN109302305A (en) | 2018-08-08 | 2018-08-08 | A kind of clustering performance test method based on industrial control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810897812.9A CN109302305A (en) | 2018-08-08 | 2018-08-08 | A kind of clustering performance test method based on industrial control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109302305A true CN109302305A (en) | 2019-02-01 |
Family
ID=65168145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810897812.9A Pending CN109302305A (en) | 2018-08-08 | 2018-08-08 | A kind of clustering performance test method based on industrial control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109302305A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389900A (en) * | 2019-07-10 | 2019-10-29 | 深圳市腾讯计算机系统有限公司 | A kind of distributed experiment & measurement system test method, device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7197480B1 (en) * | 2000-09-07 | 2007-03-27 | International Business Machines Corporation | System and method for front end business logic and validation |
CN102075384A (en) * | 2010-12-20 | 2011-05-25 | 创新科存储技术有限公司 | Performance test system and method |
CN103581247A (en) * | 2012-07-30 | 2014-02-12 | 杭州洱海科技有限公司 | Method for testing distributed type Web based on cloud computing environment |
CN104333488A (en) * | 2014-11-04 | 2015-02-04 | 哈尔滨工业大学 | Cloud service platform performance test method |
CN105468490A (en) * | 2015-12-11 | 2016-04-06 | 珠海金山网络游戏科技有限公司 | Server performance automatic test method and system and device |
CN106484624A (en) * | 2016-10-21 | 2017-03-08 | 天津海量信息技术股份有限公司 | The method of testing of interface automatic test |
CN107347078A (en) * | 2017-08-30 | 2017-11-14 | 杭州安恒信息技术有限公司 | A kind of operating system weak passwurd safety detection method based on cloud service |
CN107623581A (en) * | 2016-07-15 | 2018-01-23 | 阿里巴巴集团控股有限公司 | Service list generation method, apparatus and system, acquisition, report method and device |
US20180205549A1 (en) * | 2017-01-17 | 2018-07-19 | Go Daddy Operating Company, LLC | Script verification using a hash |
-
2018
- 2018-08-08 CN CN201810897812.9A patent/CN109302305A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7197480B1 (en) * | 2000-09-07 | 2007-03-27 | International Business Machines Corporation | System and method for front end business logic and validation |
CN102075384A (en) * | 2010-12-20 | 2011-05-25 | 创新科存储技术有限公司 | Performance test system and method |
CN103581247A (en) * | 2012-07-30 | 2014-02-12 | 杭州洱海科技有限公司 | Method for testing distributed type Web based on cloud computing environment |
CN104333488A (en) * | 2014-11-04 | 2015-02-04 | 哈尔滨工业大学 | Cloud service platform performance test method |
CN105468490A (en) * | 2015-12-11 | 2016-04-06 | 珠海金山网络游戏科技有限公司 | Server performance automatic test method and system and device |
CN107623581A (en) * | 2016-07-15 | 2018-01-23 | 阿里巴巴集团控股有限公司 | Service list generation method, apparatus and system, acquisition, report method and device |
CN106484624A (en) * | 2016-10-21 | 2017-03-08 | 天津海量信息技术股份有限公司 | The method of testing of interface automatic test |
US20180205549A1 (en) * | 2017-01-17 | 2018-07-19 | Go Daddy Operating Company, LLC | Script verification using a hash |
CN107347078A (en) * | 2017-08-30 | 2017-11-14 | 杭州安恒信息技术有限公司 | A kind of operating system weak passwurd safety detection method based on cloud service |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389900A (en) * | 2019-07-10 | 2019-10-29 | 深圳市腾讯计算机系统有限公司 | A kind of distributed experiment & measurement system test method, device and storage medium |
CN110389900B (en) * | 2019-07-10 | 2022-09-23 | 深圳市腾讯计算机系统有限公司 | Distributed database cluster testing method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7596546B2 (en) | Method and apparatus for organizing, visualizing and using measured or modeled system statistics | |
CN107748717A (en) | Automatic interface testing method, device, storage medium and computer equipment | |
US8701092B1 (en) | System and method for testing applications | |
CN101241467B (en) | Automatized white box test system and method facing to WEB application | |
CN109062780B (en) | Development method of automatic test case and terminal equipment | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN108628748B (en) | Automatic test management method and automatic test management system | |
CN106095673A (en) | Automated testing method based on WEB interface and system | |
CN108710569A (en) | Test cases generation method, data creation method, device, equipment and medium | |
CN106021099A (en) | System and method for achieving UI automatic test of intelligent terminal | |
US7926024B2 (en) | Method and apparatus for managing complex processes | |
WO2001016751A1 (en) | Method and system for web based software object testing | |
CN107832207A (en) | Interface performance test method, apparatus, storage medium and computer equipment | |
CN101882105A (en) | Method for testing response time of Web page under concurrent environment | |
CN105760296A (en) | Automation testing control method, device and terminal | |
CN101867501A (en) | Method and system for automatically testing consistence of SNMP (Simple Network Management Protocol) interface information model | |
CN103902458A (en) | Universal storage software test design method | |
CN109784818A (en) | Product data processing method, device, equipment and storage medium based on BOM | |
CN107133175A (en) | A kind of software test platform based on cloud computing | |
CN1734428A (en) | Automatic validation and calibration of transaction-based performance models | |
CN109376079A (en) | The test method and server that interface calls | |
US6691259B1 (en) | Terminal server data file extraction and analysis application | |
CN110928796B (en) | Automatic test platform | |
CN115576817A (en) | Automatic test system, method, electronic equipment and storage medium | |
US8601431B2 (en) | Method and system for identifying software applications for offshore testing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190201 |
|
RJ01 | Rejection of invention patent application after publication |