CN104360951B - A kind of script method of testing and device - Google Patents

A kind of script method of testing and device Download PDF

Info

Publication number
CN104360951B
CN104360951B CN201410748124.8A CN201410748124A CN104360951B CN 104360951 B CN104360951 B CN 104360951B CN 201410748124 A CN201410748124 A CN 201410748124A CN 104360951 B CN104360951 B CN 104360951B
Authority
CN
China
Prior art keywords
script
test
simulation files
facility information
network equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410748124.8A
Other languages
Chinese (zh)
Other versions
CN104360951A (en
Inventor
刘刚国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201410748124.8A priority Critical patent/CN104360951B/en
Publication of CN104360951A publication Critical patent/CN104360951A/en
Application granted granted Critical
Publication of CN104360951B publication Critical patent/CN104360951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of script method of testing and device, is related to the communications field, is capable of the script of network apparatus test automatically, so that the consumption of man power and material is reduced, including:Receive the service requesting information that operational system is sent;According to the facility information of storage and the corresponding relation of test script, corresponding first script of facility information of the network equipment is determined;If it is determined that the pattern that the mode parameter is indicated is test pattern, then loads and perform first script;According to the facility information of storage and the corresponding relation of simulation files, corresponding first simulation files of facility information of the network equipment are determined;When going to the in first script first test instruction, the corresponding relation included according to first simulation files obtains the first returning result corresponding with the described first test instruction;First returning result is sent to the operational system.The script method of testing and device that the present invention is provided are applied to automatic test.

Description

A kind of script method of testing and device
Technical field
The present invention relates to communication system, more particularly to a kind of script method of testing and device.
Background technology
The regular maintenance management of current network device management, especially equipment is in the starting stage, in every profession and trade network system In system, all exist checked for network equipment operational factor, device version upgrading, configuration backup, the operation and maintenance tools of configuration distributing, Flow etc..And SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreements and TR069 Agreement is the most-often used agreement of NMS, but many network equipments can not all support snmp protocol or TR069 to assist View, therefore, the script type of the network equipment certainly exists differentiation.
Different by unit type in the case that the unit type that system is supported is more and more, type of service is write and protected Substantial amounts of script (script type is various) is deposited also different, for the test work of the corresponding script of substantial amounts of different vendor's model device Work amount is huge.Specifically, when test system performs a script, tester is accomplished by artificial enquiry and gone out and order pair in script The correct returning result answered, the number of devices if desired tested is huge, and the task amount for inquiring about work is also very huge.Therefore, Need to consume a large amount of manpower and materials in the test process.
The content of the invention
Embodiments of the invention provide a kind of script method of testing and device, are capable of the script of network apparatus test automatically, So as to reduce the consumption of man power and material.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
First aspect there is provided a kind of script method of testing, including:
The service requesting information that operational system is sent is received, the service requesting information includes the facility information of the network equipment With the mode parameter of the business execution pattern for indicating the operational system;
According to the facility information of storage and the corresponding relation of test script, the facility information pair of the network equipment is determined The first script answered;
If it is determined that the pattern that the mode parameter is indicated is test pattern, then loads and perform first script;
According to the facility information of storage and the corresponding relation of simulation files, the facility information pair of the network equipment is determined The first simulation files answered;First simulation files include the instruction of the network equipment and the corresponding relation of returning result;
When going to the in first script first test instruction, according to including first simulation files Corresponding relation, obtains the first returning result corresponding with the described first test instruction;
First returning result is sent to the operational system, in order to which the operational system is returned according to described first As a result final result is generated, and final result is sent to test system, the test system judges whether final result conforms to Ask.
Second aspect there is provided a kind of script test device, including:
Receiving unit, the service requesting information for receiving operational system transmission, the service requesting information includes network The facility information of equipment and for the mode parameter for the business execution pattern for indicating the operational system;
Script unit is determined, for the facility information and the corresponding relation of test script according to storage, the net is determined Corresponding first script of facility information of network equipment;
Execution unit, for when the pattern that the mode parameter is indicated is test pattern, then loading and performing described One script;
Simulation files unit is determined, for the facility information and the corresponding relation of simulation files according to storage, institute is determined State corresponding first simulation files of facility information of the network equipment;First simulation files include the instruction of the network equipment With the corresponding relation of returning result;
Acquiring unit, for when going to the in first script first test instruction, according to the described first simulation The corresponding relation that file includes, obtains the first returning result corresponding with the described first test instruction;
Transmitting element, for sending first returning result to the operational system, in order to the operational system root Final result is generated according to first returning result, and final result is sent to test system, the test system judges final As a result whether meet the requirements.
A kind of script method of testing and device that the present invention is provided, can be from the instruction including the network equipment and returning result Corresponding relation simulation files in, obtain automatically and send the survey in the first script corresponding with the facility information of the network equipment Corresponding first returning result of examination instruction, and first returning result is sent to operational system, in order to operational system according to First returning result generates final result, and sends final result to test system, and test system judges that final result is It is no to meet the requirements.Compared to prior art, the present invention no longer needs tester to participate in test process, only needs issuing service to ask Information, it becomes possible to be automatically performed the script of network apparatus test, so as to reduce the consumption of man power and material.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of script method of testing provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of test system provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another script method of testing provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of script test device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another script test device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Script, is to use a kind of specific descriptive language, the executable file write according to certain form, also referred to as Grand or autoexec.Briefly, script is exactly the written order of a rule, these written orders be it can be seen that (such as Can be opened with notepad and check, edit), shell script is an interpreter by system, by the one rule upon execution Machine recognizable instruction is translated into, and is performed by program order.Because the script many upon execution processes of translation, institute together It is more slightly lower than binary program execution efficiency with it.Script generally can be called and performed temporarily by application program.It is all kinds of Script is widely used in webpage design, because script can not only reduce the scale of webpage and improve web page browsing speed Degree, and the performance of webpage, such as animation, sound can be enriched.
Test system can include test system, script test device, operational system and the network equipment.Wherein, test system Unite for automatic test, automatic test is a kind of process for the behavioral test taking human as driving being converted into machine execution. Generally, devise test case and by evaluation after, by code of the tester according to described in test case step by step Test is performed, the comparison of actual result and expected result is obtained.In the process, in order to save manpower, time or hardware resource, Testing efficiency is improved, the concept of automatic test is just introduced;Script test device is used to produce contrast returning result, in order to The result run with test system is contrasted, and is result with what is obtained;The effect of operational system is similar to system maintenance, the former More lay particular emphasis on safeguards system normally to run, O&M has operation and safeguards two layers of meaning.For a system, us are malfunctioned sometimes It can not predict, system is more complicated, its maintenance difficulties is bigger, in order to reduce loss, we go to prevent various mistakes as much as possible, right In emergency case, go to repair as much as possible;The network equipment is equipment to be tested.
Embodiment one
The embodiments of the invention provide a kind of script method of testing, applied to script test device, the script test device Directly it is connected with the network equipment and operational system, as shown in figure 1, can include:
Step 101, the service requesting information for receiving operational system transmission, the service requesting information include setting for the network equipment For information and for the mode parameter for the business execution pattern for indicating operational system.
The corresponding relation of step 102, the facility information according to storage and test script, determines the equipment letter of the network equipment Cease corresponding first script.
Step 103, if it is determined that mode parameter indicate pattern be test pattern, then load and perform the first script.
The corresponding relation of step 104, the facility information according to storage and simulation files, determines the equipment letter of the network equipment Cease corresponding first simulation files;First simulation files include the instruction of the network equipment and the corresponding relation of returning result.
Step 105, when go to first in the first script test instruction when, according to including the first simulation files Corresponding relation, obtains the first returning result corresponding with the first test instruction.
Step 106, to operational system first returning result is sent, in order to which operational system is according to the first returning result Final result is generated, and final result is sent to test system, the test system judges whether final result meets the requirements.
Compared to prior art, the present invention no longer needs tester to participate in test process, only needs operational system to issue industry Business solicited message, it becomes possible to the script of network apparatus test is automatically performed, so as to reduce the consumption of man power and material.
Further, the facility information includes IP (agreement interconnected between Internet Protocol, network) Location, step 102 can be specifically included:According to the corresponding relation of IP address and simulation files, the IP of the network equipment is determined Corresponding first simulation files in address.
Specifically, according to the facility information of storage and the corresponding relation of test script, determining setting for the network equipment Standby corresponding first script of information can include following two situations.
The first, when facility information includes the IP address of only the first simulation files, which script test device is not aware that Script is the script of the network equipment, then obtains all scripts, in order to perform each script successively, so that literary from the first simulation The corresponding returning result of the instruction issued in script is inquired in part.What deserves to be explained is, whether a upper script has return value Have no effect on the execution of next script.
Second, when the identification of the manufacturer and model identification of facility information including the network equipment, according to the identification of the manufacturer of storage, The corresponding relation of model identification and script, determines the first script corresponding with the identification of the manufacturer and model identification of the network equipment, In order to only carry out first script.
Further, methods described also includes:When it is determined that the pattern that the mode parameter is indicated is not test pattern, lead to Cross telnet (Telnet) passages or SSH (Secure Shell, safety shell protocol) passage completes the first script industry The execution of business.
The script that the present invention is provided can be the unified version of all-network equipment.In the prior art, all-network equipment Shell (computer shell) can be supported to operate, accordingly, it is preferred that script includes Javascript scripts.Wherein, A kind of literal translation formula scripts of JavaScript, are a kind of regime type, weak type, the language based on prototype, built-in support class Type.Its interpreter is referred to as JavaScript engine, is a part for browser, is widely used in the script of client, To be used on HTML (Hyper Text Markup Language, using HTML) webpage earliest, for Html web page increases dynamic function.
It is preferred that, the simulation files are XML (eXtensible Markup Language, extensible markup language) lattice Formula.Wherein, XML is a kind of simple data storage language, and using a series of simple mark description data, and these marks can To be set up with convenient mode, although the space that extensible markup language takes will take more spaces than binary data, But extensible markup language is extremely simple to be easy to grasp and uses.
Further, methods described can also include:Collect the identification of the manufacturer of new access network device, model identification, refer to Order and returning result;Identification of the manufacturer, model identification, instruction and the returning result of the new access network device are fabricated to simulation File;IP address is distributed for the simulation files.Wherein, the IP address of simulation files is exactly the IP of new access network device Location.This method can also include:Create the configuration file for causing simulation files to be loaded into the script test device, the configuration file Include IP address, identification of the manufacturer and the model identification of the new access network device.
Embodiment two
The embodiments of the invention provide another script method of testing, applied to test system as shown in Fig. 2 the system can With including test system, operational system, script test device and multiple network equipments.In the system, operational system can be direct Communicated with test system and script test device, script test device is directly connected with each network equipment.Script test dress The script for network apparatus test is put, the script test device can also preserve script and simulation files, and the present invention is implemented Script in example is the Javascript scripts that each network equipment is all supported.
As shown in figure 3, this method can include:
Step 201, script test device collect facility information, instruction and the returning result of each network equipment.
When in the scenario process of the test system and test network equipment, script test device collects the instruction of each in script and should The returning result of instruction, and will instruct and returning result and IP address, identification of the manufacturer and the model of the network equipment belonging to script Mark is corresponding.Wherein, identification of the manufacturer and model identification can recognize that a network equipment jointly.The IP address of the network equipment The as IP address of simulation files.
The facility information of same equipment, instruction and returning result are fabricated to a simulation by step 202, script test device File, is loaded onto the script engine of script test device.
Example, it is assumed that facility information includes IP address, identification of the manufacturer and model identification, and simulation files are same templates XML file, in store identification of the manufacturer, model identification, instruction and returning result in this document, and instruction and returning result are phases It is corresponding.Example, simulation files specifically can be as shown in table 1.The simulation files are the simulation files of any network equipment, note The corresponding relation of identification of the manufacturer, model identification and instruction and returning result has been recorded, for example, has instructed 1 and the correspondence of returning result 1, instruction 2 and the correspondence of returning result 2 etc..
Table 1
Specifically, by IP address, identification of the manufacturer, model identification, instruction and the returning result of the new access network device Being fabricated to simulation files can be performed by following procedure:
<data>
<cmd>show mac-address</cmd>
<resultType>withDynamicMac<resultType>
<result>……</result>
</data>
<data>
<cmd>show mac-address</cmd>
<resultType>withStaticMac<resultType>
<result>……</result>
</data>
Wherein, cmd is the order issued, and resultType is the description of various situations, and in this case result is Shell returned datas.
What deserves to be explained is, the information not limited to this stored in simulation files can also include system version number, network and set Standby other information etc., accordingly, generates configuration information, script test device is according to the configuration information, by simulation files Index is loaded into script engine.
Step 203, script test device store the mark of the script of each network equipment.
Script test device can be according to the script of the identifier lookup to the corresponding network equipment.
Step 204, test system send solicited message to operational system, and the solicited message is with including the IP of the network equipment Location, identification of the manufacturer and model identification.
Tester selects the network equipment for needing to test on the interface of test system, and accordingly, test system is just The identification of the manufacturer and model identification for the network equipment that tester can be selected are sent.What deserves to be explained is, initial situation Under, and without identification of the manufacturer and model identification, only store IP address in system, identification of the manufacturer and model identification are follow-up mistakes Cheng Zhong, is inquired according to IP address.
Step 205, operational system request to create parameter, the required parameter indicate the business execution pattern of operational system.
Example, required parameter includes analog parameter isTest, return type parameter resultType, if present mode is Test pattern, then set isTest=true, represents that simulation test is genuine, i.e., is currently test pattern, resultType= WithDynamicMac, returning result type is withDynamicMac in the case of representing test pattern.
Step 206, operational system send service requesting information to script test device, and the service requesting information includes request Parameter, the IP address of the network equipment, identification of the manufacturer and model identification.
Step 207, script test device according to the corresponding relation of the identification of the manufacturer of storage, model identification and script, it is determined that Go out the first script corresponding with the identification of the manufacturer and model identification of the network equipment.
Step 208, script test device are that first script creates actuator, and the actuator is used to perform first pin This.
Step 209, script test device determine whether the pattern that mode parameter is indicated is test pattern.If so, then performing Step 210;If it is not, then performing step 215.
Script test device may determine that whether isTest is equal to true.If being equal to, then it is assumed that present mode is test mould Formula;If being not equal to, then it is assumed that present mode is not test pattern.
If the pattern that step 210, mode parameter are indicated is test pattern, script test device creates simulator.
Step 211, the actuator of script test device load and perform the first script.
First script is loaded onto the script engine of script test device by script test device, and the script engine refers to calculate The interpreter of machine language.
Step 212, script test device determine the network equipment according to the corresponding relation of storage IP address and simulation files Corresponding first simulation files of facility information.
What deserves to be explained is, if script test device can be according to the corresponding relation of IP address and simulation files, it is determined that not Go out the first simulation files corresponding with the IP address of the network equipment, then according to pair of identification of the manufacturer, model identification and simulation files It should be related to, determine corresponding first simulation files of facility information of the network equipment.
Step 213, when actuator go in the first script first test instruction when, script test device is according to first The corresponding relation that simulation files include, obtains the first returning result corresponding with the first test instruction.
Specifically, when actuator goes to the first test instruction of the first script, the first test instruction is sent extremely Simulator, so that the corresponding relation that simulator includes according to the first simulation files, obtains return corresponding with the first test instruction As a result, if the first test instruction correspond to multiple returning results, the result type in test parameter determines which is returned It is the first returning result to return value.For example returning result type is withDynamicMac, then, be by type WithDynamicMac returning result is used as the first returning result.
Step 214, script test device send the first returning result to test system, in order to which operational system is according to first Returning result generates final result, and final result is sent to test system, and the test system judges whether final result meets It is required that.
Step 215, script test device complete the execution of the first script business by Telnet passages or SSH passages.
What deserves to be explained is, if solicited message only includes the IP address of the network equipment, the controller of script test device All scripts are obtained according to the mark of the script of storage, and perform each script successively, the instruction that each script is issued is the Whether inquired about in one script has returning result corresponding with the instruction, if so, returning result then is sent to test system, if nothing, Then continue executing with next script.
A kind of script method of testing and device that the present invention is provided, can be from the instruction including the network equipment and returning result Corresponding relation simulation files in, obtain automatically and send the survey in the first script corresponding with the facility information of the network equipment Corresponding first returning result of examination instruction, and first returning result is sent to operational system, in order to operational system according to First returning result generates final result, and sends final result to test system, and test system judges that final result is It is no to meet the requirements.Compared to prior art, the present invention no longer needs tester to participate in test process, only needs operational system to issue Service requesting information, it becomes possible to be automatically performed the script of network apparatus test, so as to reduce the consumption of man power and material.
Embodiment three
The embodiments of the invention provide a kind of script test device 30, as shown in figure 4, can include:
Receiving unit 301, the service requesting information for receiving operational system transmission, the service requesting information includes net The facility information of network equipment and for the mode parameter for the business execution pattern for indicating the operational system.
Script unit 302 is determined, for the facility information and the corresponding relation of test script according to storage, is determined described Corresponding first script of facility information of the network equipment.
Execution unit 303, for if it is determined that the mode parameter indicate pattern be test pattern, then load and perform institute State the first script.
Simulation files unit 304 is determined, for the facility information and the corresponding relation of simulation files according to storage, is determined Corresponding first simulation files of facility information of the network equipment;First simulation files include the finger of the network equipment Order and the corresponding relation of returning result.
Acquiring unit 305, for when going to the in first script first test instruction, according to first mould Intend the corresponding relation that file includes, obtain the first returning result corresponding with the described first test instruction.
Transmitting element 306, for sending first returning result to the operational system, in order to the operational system Final result is generated according to first returning result, and final result is sent to test system, the test system judges most Whether termination fruit meets the requirements.
Compared to prior art, the present invention no longer needs tester to participate in test process, only needs operational system to issue industry Business solicited message, it becomes possible to the script of network apparatus test is automatically performed, so as to reduce the consumption of man power and material.
Further, the facility information includes the IP address of the network equipment,
The determination simulation files unit 304 specifically for:
According to the corresponding relation of IP address and simulation files, corresponding first mould of IP address of the network equipment is determined Intend file.
Further, as shown in figure 5, described device 30 also includes:
Execution unit 307, for when the present mode of the mode parameter instruction network equipment is not test pattern, leading to Cross telnet passages or SSH passages perform first script.
It is preferred that, the script includes Javascript scripts.
It is preferred that, the simulation files are XML formats.
It should be noted that the sequencing of script method of testing step provided in an embodiment of the present invention can be carried out suitably Adjustment, step according to circumstances can also accordingly be increased and decreased, any one skilled in the art the invention discloses Technical scope in, the method that can readily occur in change should be all included within the scope of the present invention, thus no longer go to live in the household of one's in-laws on getting married State.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of script method of testing, it is characterised in that including:
The service requesting information that operational system is sent is received, the service requesting information includes the facility information and use of the network equipment In the mode parameter for the business execution pattern for indicating the operational system;
According to the facility information of storage and the corresponding relation of test script, determine that the facility information of the network equipment is corresponding First script;
If it is determined that the pattern that the mode parameter is indicated is test pattern, is then loaded on actuator and perform first pin This;
According to the facility information of storage and the corresponding relation of simulation files, determine that the facility information of the network equipment is corresponding First simulation files;First simulation files include the instruction of the network equipment and the corresponding relation of returning result;
When going to the in first script first test instruction, the correspondence included according to first simulation files Relation, obtains the first returning result corresponding with the described first test instruction;
First returning result is sent to the operational system, in order to which the operational system is according to first returning result Final result is generated, and final result is sent to test system, the test system judges whether final result meets the requirements.
2. according to the method described in claim 1, it is characterised in that the facility information includes the net of first simulation files The Protocol IP address interconnected between network,
The facility information and the corresponding relation of simulation files according to storage, determines the facility information pair of the network equipment The first simulation files answered include:
According to the corresponding relation of IP address and simulation files, the corresponding first simulation text of IP address of the network equipment is determined Part.
3. method according to claim 2, it is characterised in that methods described also includes:
If it is determined that the pattern that the mode parameter is indicated is not test pattern, then it is outer by Telnet telnet passages or safety Shell agreement SSH passages complete the execution of the first script business.
4. method according to claim 3, it is characterised in that the script includes Javascript scripts.
5. according to the method described in claim 1, it is characterised in that the simulation files are expandable mark language XML forms.
6. the method according to any one of claim 1 to 5 claim, it is characterised in that methods described also includes:
Collect identification of the manufacturer, model identification, instruction and the returning result of new access network device;
Identification of the manufacturer, model identification, instruction and the returning result of the new access network device are fabricated to simulation files;
IP address is distributed for the simulation files.
7. a kind of script test device, it is characterised in that including:
Receiving unit, the service requesting information for receiving operational system transmission, the service requesting information includes the network equipment Facility information and for the mode parameter for the business execution pattern for indicating the operational system;
Script unit is determined, for the facility information and the corresponding relation of test script according to storage, determines that the network is set Corresponding first script of standby facility information;
Execution unit, for when the pattern that the mode parameter is indicated is test pattern, then loading and performing first pin This, wherein, the execution unit is created by script test device;
Simulation files unit is determined, for the facility information and the corresponding relation of simulation files according to storage, the net is determined Corresponding first simulation files of facility information of network equipment;First simulation files include the instruction of the network equipment and returned Return the corresponding relation of result;
Acquiring unit, for when going to the in first script first test instruction, according to first simulation files Including the corresponding relation, obtain and test corresponding first returning result of instruction with described first;
Transmitting element, for sending first returning result to the operational system, in order to which the operational system is according to institute The first returning result generation final result is stated, and final result is sent to test system, the test system judges final result Whether meet the requirements.
8. device according to claim 7, it is characterised in that the facility information includes the IP of first simulation files Address,
It is described determination simulation files unit specifically for:
According to the corresponding relation of IP address and simulation files, the corresponding first simulation text of IP address of the network equipment is determined Part.
9. device according to claim 8, it is characterised in that described device also includes:
Execution unit, for when it is determined that the pattern that the mode parameter is indicated is not test pattern, by telnet passages or SSH passages complete the execution of the first script business.
10. device according to claim 9, it is characterised in that the script includes Javascript scripts.
CN201410748124.8A 2014-12-09 2014-12-09 A kind of script method of testing and device Active CN104360951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410748124.8A CN104360951B (en) 2014-12-09 2014-12-09 A kind of script method of testing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410748124.8A CN104360951B (en) 2014-12-09 2014-12-09 A kind of script method of testing and device

Publications (2)

Publication Number Publication Date
CN104360951A CN104360951A (en) 2015-02-18
CN104360951B true CN104360951B (en) 2017-09-29

Family

ID=52528215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410748124.8A Active CN104360951B (en) 2014-12-09 2014-12-09 A kind of script method of testing and device

Country Status (1)

Country Link
CN (1) CN104360951B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255654A (en) * 2018-01-10 2018-07-06 辽宁省计量科学研究院 Automatic testing method and device
CN108804317A (en) * 2018-05-24 2018-11-13 北京握奇智能科技有限公司 A kind of method and system for script of seeking unity of action
CN109726107A (en) * 2018-06-01 2019-05-07 平安普惠企业管理有限公司 Test method, device, equipment and storage medium
CN109361562B (en) * 2018-10-31 2020-10-30 广东电网有限责任公司信息中心 Automatic testing method based on associated network equipment access
CN109871671A (en) * 2018-12-15 2019-06-11 中国平安人寿保险股份有限公司 O&M script execution, device, electronic equipment and storage medium
CN109902006A (en) * 2019-02-20 2019-06-18 北京安和瑞福信息技术有限公司 Automated testing method and device
CN112583621B (en) * 2019-09-30 2022-03-25 华为技术有限公司 Method, equipment and system for automatically quitting commissioning
CN111343015A (en) * 2020-02-18 2020-06-26 中国银联股份有限公司 Operation and maintenance method and device for network equipment
CN111352843B (en) * 2020-02-29 2022-11-25 苏州浪潮智能科技有限公司 Method and system for realizing test script verification
CN112685322B (en) * 2021-01-12 2022-10-04 武汉思普崚技术有限公司 Customized test method, device and system
CN115987863A (en) * 2023-01-05 2023-04-18 中国联合网络通信集团有限公司 Testing method and device for optical modem and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996265A (en) * 2006-12-18 2007-07-11 华为技术有限公司 Method and system for implementing automatic testing
CN101505241A (en) * 2008-08-20 2009-08-12 北京星网锐捷网络技术有限公司 Method and apparatus for generating test instances
JP2009237707A (en) * 2008-03-26 2009-10-15 Nec Corp Program test automation system, program test automation method and program
CN103024790A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Automatic network communication quality automatic testing method and automatic network communication quality testing system
CN103412817A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing script offline debugging method and system
CN104077218A (en) * 2013-03-29 2014-10-01 百度在线网络技术(北京)有限公司 Test method and device of MapReduce distributed system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012103791A (en) * 2010-11-08 2012-05-31 Mitsubishi Electric Corp Program testing device, program testing method and program testing program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996265A (en) * 2006-12-18 2007-07-11 华为技术有限公司 Method and system for implementing automatic testing
JP2009237707A (en) * 2008-03-26 2009-10-15 Nec Corp Program test automation system, program test automation method and program
CN101505241A (en) * 2008-08-20 2009-08-12 北京星网锐捷网络技术有限公司 Method and apparatus for generating test instances
CN103024790A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Automatic network communication quality automatic testing method and automatic network communication quality testing system
CN104077218A (en) * 2013-03-29 2014-10-01 百度在线网络技术(北京)有限公司 Test method and device of MapReduce distributed system
CN103412817A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing script offline debugging method and system

Also Published As

Publication number Publication date
CN104360951A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN104360951B (en) A kind of script method of testing and device
CN106101242B (en) The construction method and device of block chain cloud service platform
Wettinger et al. Standards-based DevOps automation and integration using TOSCA
US8661132B2 (en) Enabling service virtualization in a cloud
CN102004659B (en) Integration environment generator
CN107632842A (en) Rule configuration and dissemination method, system, equipment and storage medium
CN104423983A (en) Method and device for developing, testing and deploying application
CN102880532A (en) Cloud technology-based test system and method
CN109710528B (en) Test script generation method, device, equipment and medium
CN105847088A (en) Virtual machine performance testing system based on cloud service
CN110286941A (en) Gray scale dissemination method, device, storage medium and electronic equipment
CN104050275A (en) Method and system for reviewing project
CN105426165A (en) Script tool processing method and apparatus
CN107908432A (en) Collocation method and device, the terminal device and readable storage medium storing program for executing of application program
CN107071036A (en) A kind of method, the webserver and system for downloading driving file
CN106681854A (en) Information checking method, device and system
CN109783355A (en) Page elements acquisition methods, system, computer equipment and readable storage medium storing program for executing
Zietsch et al. Enabling smart manufacturing through a systematic planning framework for edge computing
CN114186697A (en) Method and device for generating and applying deep learning model based on deep learning framework
US9612944B2 (en) Method and system for verifying scenario based test selection, execution and reporting
CN104252413B (en) A kind of automatized script generation method, apparatus and system
CN108427635A (en) Quickly method, server and the computer readable storage medium of test web page
CN108255914A (en) webpage generating method and application server
CN117290250A (en) Automatic test framework establishment method, computer equipment and computer storage medium
CN108038584A (en) A kind of flow method of adjustment, device and equipment as the occasion requires

Legal Events

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