CN107659468A - A kind of method of testing of Router Security reliability - Google Patents
A kind of method of testing of Router Security reliability Download PDFInfo
- Publication number
- CN107659468A CN107659468A CN201710935260.1A CN201710935260A CN107659468A CN 107659468 A CN107659468 A CN 107659468A CN 201710935260 A CN201710935260 A CN 201710935260A CN 107659468 A CN107659468 A CN 107659468A
- Authority
- CN
- China
- Prior art keywords
- jmeter
- testing
- jdk
- security reliability
- configuration
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- 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/50—Testing arrangements
Abstract
The invention provides a kind of method of testing of Router Security reliability, comprise the following steps:S1, write URL library;S2, installation network address access tool Jmeter;S3, configuration Jmeter pressure access url storehouses.The beneficial effects of the invention are as follows:Solves the http access performances test for only relying on testcenter modelings, efficiency improves about more than 50%, reduces cost.
Description
Technical field
The present invention relates to router, more particularly to a kind of method of testing of Router Security reliability.
Background technology
Traditional Router Security reliability needs to buy simulation test instrument testcenter, it is necessary to professional and technical personnel
Complete test operation, testcenter modelings:Multiple http-servers are established, then analog subscriber does request to http-server and visited
Ask operation.
Three shortcomings be present in the method:
1st, Testcenter models http-server quantity and relatively limited to, and is accessed for larger environmentally ten thousand http and there is limitation;
2nd, Testcenter uses emulating server and client access process, and not actual outer net http is accessed and used
Family actual experience;
3rd, Testcenter instrument costs are more than hundreds thousand of, and need special senior technician to model uses, answer
Miscellaneous degree and cost are higher.
The content of the invention
In order to solve the problems of the prior art, the invention provides a kind of survey of inexpensive Router Security reliability
Method for testing.
The invention provides a kind of method of testing of Router Security reliability, comprise the following steps:
S1, write URL library;
S2, installation network address access tool Jmeter;
S3, configuration Jmeter pressure access url storehouses.
As a further improvement on the present invention, step S2 includes following sub-step:
1. downloading Jmeter and JDK installation kit, JDK is the SDK of java language;
2. first carrying out java environment JDK installation and configuration, JDK environmental variances are configured, whether checking JDK installations are correct;
3. carrying out Jmeter installation kit decompressions, Jmeter startups are carried out after configuring system environment variable for Jmeter.
As a further improvement on the present invention, step S3 includes following sub-step:
1. double-clicking jmeter.bat starts Jmeter softwares;
2. configuration testing plan and sets of threads, parametrization configuration is realized using CSV data set config, carries out url storehouses
Cyclic access.
As a further improvement on the present invention, in addition to step S4, Consumer's Experience are tested.
The beneficial effects of the invention are as follows:Solves the http access performances test for only relying on testcenter modelings, efficiency
About more than 50% is improved, reduces cost.
Embodiment
With reference to embodiment, the invention will be further described.
A kind of method of testing of Router Security reliability, extract user as much as possible and use network address, then simulation is true
Real user carries out network address access, just as very multi-user being carried out outer net network address access action, is manufactured on real user
Dictyosome tests environment and flow, and while this big flow, making for a variety of outer net applications is carried out using the computer of a necessary being
With;Have can carry out Performance Evaluation of the router with machine amount above at 2 points:1st, simulation multi-user access network address performance can be examined
The dns resolution ability and forwarding performance of router;2nd, true computer does Consumer's Experience test, can feed back real user now
Whether good online experience is;Have by index:Dns resolution percent of pass, http Access Success Rates, ping delays, video playback are suitable
Smooth degree(True PC), instant messaging service etc..
A kind of method of testing of Router Security reliability, realizes that step is as follows:
The first step:Write URL library
InterURL http://top.chinaz.com/Html/site is arranged all external user network address access frequencys
Sequence, outer net network address have had, it would be desirable to which what is done is exactly the URL library that these network address are changed into Jmeter and can identified;Method
Have a lot, these network address of manual editing can be selected as a url storehouses .txt file;Automatized script can also be write, from net
It is a url storehouses .txt file that these network address are extracted in the complete works of page automation in location;Method is of all kinds, it would be desirable to draws
It is exactly the URL library of a txt file form, network address much can also extract previous hundred with regard to present user's access frequency;
Suggestion library can be a little with the more typings of network address, so simultaneously can be with the compatibility of address test.
Second step:Network address access tool -- Jmeter is installed
Apache JMeter are the pressure test instruments based on Java of Apache organization developments, can be used for the sum to static state
Dynamic resource(File, Servlet, perl script, java objects, database and inquiry, ftp server etc.)Performance
Tested.
1. downloading Jmeter and JDK installation kit, JDK is the SDK of java language, according to oneself computer
System choose suitable version in official website and download
2. first carry out java environment JDK installation and configuration, it is necessary to pay attention to the configuration of JDK environmental variances:
Right button computer attribute->Advanced system setting->System property->Advanced->Environmental variance->Following system is added to become
Amount:
Variable name:【JAVA_HOME】
Variate-value:【D:\Program Files\Java\jdk1.8.0_92】【JDK installation paths】
Variable name:【path】
Variate-value:【\;%JAVA_HOME%\bin;】
Variable name:【classpath】
Variate-value:【.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;】【Can not leak】
Verify that JDK installs correct method:Run cmd->Input java-version->Display java versions mean that JDK pacifies
Dress up work(.
3. carrying out Jmeter installation kit decompressions, Jmeter startups are carried out after configuring system environment variable for Jmeter
【Variable name】JMETER_HOME
【Variate-value】F:\CYL\test\jmeter\apache-jmeter-3.0(Filled out according to the jmeter of reality decompressions path
Write)
【Variable name】classpath
【Variate-value】
%JMETER_HOME\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\
jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar;
Double-click Jmeter decompressions path(apache-jmeter-3.1\bin)Bin below jmeter.bat can start
Jmeter。
3rd step:Configure Jmeter pressure and access url storehouses
1. double-clicking jmeter.bat starts Jmeter softwares
2. configuration testing plan and sets of threads, parametrization configuration is realized using CSV data set config, url can be carried out
The cyclic access in storehouse, lifting access operating efficiency.
Pay attention to:Test outer net needs to ensure enough operator's bandwidth, to ensure that outer net bandwidth is not performance test bottleneck;
4th step:Consumer's Experience is tested
Above three steps have added extranet access pressure of the relative routing device with machine in the router, it is now desired to which what is done is exactly
The application experience test of outer net is carried out using real PC, can be done according to the demand of different product market orientation and properties of product
The change of PC increase and application experience;
One of test result embodiment:Configure different url access rates and embody route to check that Jmeter http accesses result
Device forwarding performance and dns resolution performance;The result that http is accessed can be intuitively in Jmeter administration page " watching bearing-age tree "
See the inside;
The two of test result embodiment:Actual computer, which is connected to, carries out common Consumer's Experience test in router network;Such as
Carry out common shopping network address access, the broadcasting of instant QQ, wechat business, Online Video etc.;By standard with actual user's body
Test and be defined, such as:The network address load time is real-time no more than 7s interior energies loading broadcasting, instant messaging after 5s, video playback F.F., depending on
Frequency voice is no-delay etc. without interim card;
A kind of method of testing of Router Security reliability provided by the invention has advantages below:
1st, tester can update url storehouses with real-time online, and up to ten thousand url of addition conduct interviews, and the access amount of accomplishing in url storehouses is big
It is and true.
2nd, based on the true feedback network performance of user perspective, Consumer's Experience test is belonged to closer to user.
3rd, it is less demanding to tester's technical quality, it is only necessary to open software and check result and do the outer net of user perspective
Tested using accessing, be more Consumer's Experience test, difficulty of test is smaller.
4th, Consumer's Experience test category, is close to the users and tests, and true feedback user impression, solves existing performance pressures and surveys
The examination high band machine amount means of testing breach that Consumer's Experience is tested again.
5th, solves the http access performances test for only relying on testcenter modelings, efficiency improves more than 50%.
A kind of method of testing of Router Security reliability provided by the invention, can applied to high band machine amount Router Security
By property method of testing, typical case can be tested more than router of hundred people with machine.The test of high band machine router is most one of basic to be exactly
Tape machine measures examination, and Web vector graphic amount is unrealistic more than the band machine test environment of hundred people, and the invention is in line with analog subscriber multithreading
Pressure accesses http network address, the dns parsings and http access action of actual high connection number, high pressure is manufactured, from actual user
The angle of experience examines the safety and stability performance of router.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to is assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.
Claims (4)
1. a kind of method of testing of Router Security reliability, it is characterised in that comprise the following steps:
S1, write URL library;
S2, installation network address access tool Jmeter;
S3, configuration Jmeter pressure access url storehouses.
2. the method for testing of Router Security reliability according to claim 1, it is characterised in that step S2 includes following
Sub-step:
1. downloading Jmeter and JDK installation kit, JDK is the SDK of java language;
2. first carrying out java environment JDK installation and configuration, JDK environmental variances are configured, whether checking JDK installations are correct;
3. carrying out Jmeter installation kit decompressions, Jmeter startups are carried out after configuring system environment variable for Jmeter.
3. the method for testing of Router Security reliability according to claim 2, it is characterised in that step S3 includes following
Sub-step:
1. double-clicking jmeter.bat starts Jmeter softwares;
2. configuration testing plan and sets of threads, parametrization configuration is realized using CSV data set config, carries out url storehouses
Cyclic access.
4. the method for testing of Router Security reliability according to claim 1, it is characterised in that:Also include step S4,
Consumer's Experience is tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935260.1A CN107659468A (en) | 2017-10-10 | 2017-10-10 | A kind of method of testing of Router Security reliability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935260.1A CN107659468A (en) | 2017-10-10 | 2017-10-10 | A kind of method of testing of Router Security reliability |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107659468A true CN107659468A (en) | 2018-02-02 |
Family
ID=61117522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710935260.1A Pending CN107659468A (en) | 2017-10-10 | 2017-10-10 | A kind of method of testing of Router Security reliability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107659468A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070150568A1 (en) * | 2005-12-28 | 2007-06-28 | Jon Ruiz | Non-destructive synthetic transaction configuration |
CN101014072A (en) * | 2007-02-15 | 2007-08-08 | 北京互联易通信息技术有限公司 | Method and apparatus for obtaining and analyzing data information aimed at data object |
CN101079056A (en) * | 2007-02-06 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Retrieving method and system |
US20120130856A1 (en) * | 2010-11-24 | 2012-05-24 | Digital River, Inc. | Modularized In Application Commerce System and Method |
US20130055028A1 (en) * | 2011-08-31 | 2013-02-28 | Ebay Inc. | Methods and systems for creating software tests as executable resources |
US8555273B1 (en) * | 2003-09-17 | 2013-10-08 | Palm. Inc. | Network for updating electronic devices |
CN104714788A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for automatically generating software installation package |
CN104866425A (en) * | 2015-05-22 | 2015-08-26 | 国云科技股份有限公司 | Database pressure testing method |
CN104869030A (en) * | 2015-04-08 | 2015-08-26 | 太仓市同维电子有限公司 | Access terminal product multiuser simulation test method |
US20160147643A1 (en) * | 2014-11-26 | 2016-05-26 | Hewlett-Packard Development Company, L.P. | Web browser emulator |
-
2017
- 2017-10-10 CN CN201710935260.1A patent/CN107659468A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8555273B1 (en) * | 2003-09-17 | 2013-10-08 | Palm. Inc. | Network for updating electronic devices |
US20070150568A1 (en) * | 2005-12-28 | 2007-06-28 | Jon Ruiz | Non-destructive synthetic transaction configuration |
CN101079056A (en) * | 2007-02-06 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Retrieving method and system |
CN101014072A (en) * | 2007-02-15 | 2007-08-08 | 北京互联易通信息技术有限公司 | Method and apparatus for obtaining and analyzing data information aimed at data object |
US20120130856A1 (en) * | 2010-11-24 | 2012-05-24 | Digital River, Inc. | Modularized In Application Commerce System and Method |
US20130055028A1 (en) * | 2011-08-31 | 2013-02-28 | Ebay Inc. | Methods and systems for creating software tests as executable resources |
CN104714788A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for automatically generating software installation package |
US20160147643A1 (en) * | 2014-11-26 | 2016-05-26 | Hewlett-Packard Development Company, L.P. | Web browser emulator |
CN104869030A (en) * | 2015-04-08 | 2015-08-26 | 太仓市同维电子有限公司 | Access terminal product multiuser simulation test method |
CN104866425A (en) * | 2015-05-22 | 2015-08-26 | 国云科技股份有限公司 | Database pressure testing method |
Non-Patent Citations (6)
Title |
---|
AMBERLY: "《[Jmeter]jmeter之参数化》", 《博客园》 * |
SANDHYA KIRAN等: "《Experiences in performance testing of web applications with Unified Authentication platform using Jmeter》", 《IEEE XPLORE》 * |
SINGLEITMAN: "《jmeter参数化设置》", 《CSDN博客》 * |
SLIMINA: "《DNS BIND 压力测试 - queryperf》", 《CSDN博客》 * |
WEIXIN_33704591: "《Jmeter进行数据库压力测试使用步骤说明》", 《CSDN博客》 * |
YOFFICER: "《[python] 爬取网站所有的URL》", 《CSDN博客》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109597761A (en) | A kind of automatic interface testing method based on Jmeter | |
US9417992B2 (en) | Web portal API test report generation | |
CN104579822A (en) | Automatic performance test system and method of mobile application based on Http protocol | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN107454384A (en) | A kind of live performance test methods and device | |
CN103136095A (en) | Method, device and system of test application program interface | |
CN103246606B (en) | The performance test methods of ESB platform and system | |
CN108809755B (en) | Automatic testing method and system for home gateway compatible with command line and WEB interface | |
CN107562637B (en) | Method, device, system and storage medium for software testing | |
CN110032454A (en) | Remote invocation method, system and relevant device and computer readable storage medium | |
CN104008055B (en) | The method of software test, equipment and system | |
CN108063691A (en) | One kind buries point data consistency detecting method, apparatus and system | |
CN104299464A (en) | Simulating training system for electric safety skills | |
CN107818046A (en) | The A/B method of testings and device of the application program page | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
Šandi et al. | pypmu—open source python package for synchrophasor data transfer | |
Beilharz et al. | Continuously testing distributed iot systems: An overview of the state of the art | |
CN108875011A (en) | Page status information acquisition method, device, equipment and the medium of third-party application | |
CN105162664A (en) | Automatic platform testing method and system developed based on intermediate layers of instruments | |
Wang et al. | MetaOJ: A massive distributed online judge system | |
CN106301976A (en) | A kind of intelligent substation schedule information automated testing method | |
CN104317594A (en) | Method for browsing webpage information and timely editing release content | |
CN112269562B (en) | Tenant isolation method and terminal in componentized product | |
CN105450462B (en) | The monitoring method and system of presence | |
CN107659468A (en) | A kind of method of testing of Router Security reliability |
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: 20180202 |
|
RJ01 | Rejection of invention patent application after publication |