CN103902456A - Test script processing device, system and method - Google Patents

Test script processing device, system and method Download PDF

Info

Publication number
CN103902456A
CN103902456A CN201410140800.3A CN201410140800A CN103902456A CN 103902456 A CN103902456 A CN 103902456A CN 201410140800 A CN201410140800 A CN 201410140800A CN 103902456 A CN103902456 A CN 103902456A
Authority
CN
China
Prior art keywords
script
data
test script
test
source code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410140800.3A
Other languages
Chinese (zh)
Other versions
CN103902456B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201410140800.3A priority Critical patent/CN103902456B/en
Publication of CN103902456A publication Critical patent/CN103902456A/en
Application granted granted Critical
Publication of CN103902456B publication Critical patent/CN103902456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a test script processing device, system and method. The test script processing device comprises a data structure acquisition device, a script generation device and a script editing device, wherein the data structure acquisition device is used for acquiring interface information and a data structure of a script from an external server, the script generation device is used for generating a script file frame and padding data according to the interface information and the data structure, and the script editing device is used for editing the script file frame padded with the data to a test script file. Or, the test script processing device comprises a script conversion device, a source code compiling and loading device and a parsing and invoking device, the script conversion device is used for receiving the test script file and converting the test script file into program source codes of the test script file, the source code compiling and loading device is used for performing compiling processing on the program source codes of the test script file, and the parsing and invoking device is used for parsing and invoking the program source codes subjected to compiling processing, and interacts with a to-be-tested system to acquire an execution result of the test script file. By the device, system and method, compilation test efficiency of the test script can be improved, and value of script reutilization can be increased.

Description

Test script treating apparatus, system and method
Technical field
The present invention relates to software testing technology field, relate in particular to test script treating apparatus, system and method.
Background technology
Software test can adopt interface type of drive or driven by program mode to test, and unit testing, integration testing need the invoked procedure of simulator program to implement test, and the mode that needs service routine to drive drives.Along with software systems expansion, it is large that development teams scale becomes, system becomes increasingly complex, docking port carries out unit testing and integration testing is more aobvious important and to account for work ratio large, test job also tends to the independent independent work that becomes, engage there is business background but do not have technical background personnel participate in.
The mode of common recording and playback is recorded the interactive action that script conventionally can only recording interface produces, or interaction data, cannot meet the test needs of the system of not supporting data recording.If use the common manual compiling procedure script of industry or the mode of source code, work difficulty is high, inefficiency, and style is difficult to be consistent, maintainable reduction.According to the characteristic of test implementation process, for the test of a program assembly, can think that in essence many groups " key-values " are inputted as parameter and information is returned, need user to be familiar with programming, need to do for the message structure of interface or data structure the work of hand weaving, the code of hand weaving is unfavorable for using computer program to realize the synchronous change of data structure.If message structure or data structure are huger and complicated, authorized strength work duplication of labour intensity is large, consuming time many, easily makes mistakes, and the ratio that occupies test job amount is high.Therefore the mode cost of development of original hand woven test script is high, and multiplexing value is low, is difficult to meet interface enormous amount, changes demand frequent and that test fast.
Summary of the invention
The embodiment of the present invention provides a kind of test script treating apparatus, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script treating apparatus comprises:
Data structure acquisition device, for obtaining interface message and the data structure of script from external server;
Script generating apparatus, for according to described interface message and data structure, generation script file framework padding data;
Script editing device, for being compiled as test script file by the script file framework after padding data.
In an embodiment, described script generating apparatus specifically for:
Data structure described in serializing, obtains script file framework;
Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data;
Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
In an embodiment, described data structure acquisition device also for: obtain relevant old script and/or transaction log file from external server;
Described script generating apparatus specifically for: according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data.
In an embodiment, described script generating apparatus specifically for:
Data structure described in serializing, obtains script file framework;
Obtain the numeric field data of described old script and/or transaction log file;
Obtain the data pool of described old script;
Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script;
The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
In an embodiment, described script generating apparatus specifically for:
Generate the script file framework of paging storing information, wherein first page storage interface information, second page storage data structure, the 3rd page of storage data pond.
The embodiment of the present invention also provides another kind of test script treating apparatus, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script treating apparatus comprises:
Script conversion equipment, for receiving test script file, is converted to test script file the program's source code of test script;
Source code compiling charging apparatus, for carrying out process of compilation to the program's source code of test script;
Resolve calling device, for resolving and call the program's source code after process of compilation, with system interaction to be measured, obtain the execution result of test script.
In an embodiment, described script conversion equipment specifically for: from test script file, extract interface message and the data structure of script, generate the program's source code of test script.
In an embodiment, described script conversion equipment specifically for: from the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
In an embodiment, described source code compiling charging apparatus specifically for: calling system compiler carries out process of compilation to the program's source code of test script, and graftabl, provides the interface object of the program's source code after process of compilation to call to resolving calling device.
In an embodiment, described parsing calling device specifically for:
Initiate an interface and resolve executable operations, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing;
The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data;
The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.
In an embodiment, described parsing calling device also for:
From data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
In an embodiment, described test script treating apparatus also comprises:
Test result conversion equipment, for converting the execution result of test script to destination file.
The embodiment of the present invention also provides a kind of test script disposal system, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script disposal system comprises:
Above-mentioned two kinds of test script treating apparatus.
The embodiment of the present invention also provides a kind of test script disposal route, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script disposal route comprises:
Obtain interface message and the data structure of script from external server;
According to described interface message and data structure, generation script file framework padding data;
Script file framework after padding data is compiled as to test script file.
In an embodiment, described according to described interface message and data structure, generation script file framework padding data, comprising:
Data structure described in serializing, obtains script file framework;
Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data;
Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
In an embodiment, described test script disposal route also comprises: obtain relevant old script and/or transaction log file from external server;
Described according to described interface message and data structure, generation script file framework padding data, comprising: according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data.
In an embodiment, described according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data, comprising:
Data structure described in serializing, obtains script file framework;
Obtain the numeric field data of described old script and/or transaction log file;
Obtain the data pool of described old script;
Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script;
The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
In an embodiment, described according to described interface message and data structure, generation script file framework padding data, comprising:
Generate the script file framework of paging storing information, wherein first page storage interface information, second page storage data structure, the 3rd page of storage data pond.
The embodiment of the present invention also provides another kind of test script disposal route, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script disposal route comprises:
Receive test script file, test script file is converted to the program's source code of test script;
The program's source code of test script is carried out to process of compilation;
Resolve and call the program's source code after process of compilation, with system interaction to be measured, obtaining the execution result of test script.
In an embodiment, the described program's source code that test script file is converted to test script, comprising: from test script file, extract interface message and the data structure of script, generate the program's source code of test script.
In an embodiment, described interface message and the data structure that extracts script from test script file, the program's source code of generation test script, comprising:
From the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
In an embodiment, described the program's source code of test script is carried out to process of compilation, comprising: calling system compiler carries out process of compilation to the program's source code of test script, and graftabl, provide the interface object of the program's source code after process of compilation for calling.
In an embodiment, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, comprising:
Initiate an interface and resolve executable operations, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing;
The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data;
The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.
In an embodiment, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, also comprises:
From data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
In an embodiment, described test script disposal route, also comprises:
Convert the execution result of test script to destination file.
The embodiment of the present invention also provides a kind of test script disposal route, and in order to improve the establishment testing efficiency of test script and the value that script can reuse, this test script disposal route comprises:
Obtain test script file by above-mentioned a kind of test script disposal route;
By above-mentioned another kind of test script disposal route, test script file is processed.
It is excessive that the embodiment of the present invention has solved the duplication of labour that establishment and amendment message structure and data structure expend in the middle of common test script system interface testing process, be not suitable for being applied to interface quantity large, revise problem and the defect of application scenarios frequently, Bean, source code treat that by obtaining program's source code, transaction log file and the old script of examining system generate, reduce the artificial duplication of labour that participates in establishment amendment script or source code, reduce the probability of makeing mistakes, improve the establishment testing efficiency of test script, improved the value that script can reuse.The source code that test script generates is the programming language source code that can compile or resolve, and has good extendability and dirigibility, can integrate and move to other system the inside, or realize mutual realization with other system.The parsing executive mode that program that can Complied executing is compared pure script has higher execution efficiency, and can meet pressure test etc. has the application scenarios of requirement to execution speed, improve and use coverage rate.
Further, in the embodiment of the present invention, script comprises message structure (data structure), data, embedded scriptlet fragment, be suitable for artificial treatment and computing machine processing, can support the most of function that realizes modern automation test script, easily realize the operation of common operation and new old edition migration simultaneously, simple implementation, about the difficulty of operation, easily uses advanced market product as script-editor, makes performance history can from market product, obtain benefit.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.In the accompanying drawings:
Fig. 1 is the structural representation of a test script treating apparatus in the embodiment of the present invention;
Fig. 2 is the structural representation of another test script treating apparatus in the embodiment of the present invention;
Fig. 3 is the structural representation of test script disposal system in the embodiment of the present invention;
Fig. 4 is in the embodiment of the present invention, to be the exemplary plot that script generates processing procedure;
Fig. 5 resolves calling device to resolve invoke script flow example figure in the embodiment of the present invention;
Fig. 6 is the schematic diagram of a test script disposal route in the embodiment of the present invention;
Fig. 7 is the schematic diagram of another test script disposal route in the embodiment of the present invention;
Fig. 8 is the instantiation figure of another test script disposal route in the embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing, the embodiment of the present invention is described in further details.At this, schematic description and description of the present invention is used for explaining the present invention, but not as a limitation of the invention.
High in order to overcome based on traditional recording and playback or hand weaving test script and programming difficulty, be difficult to safeguard, the shortcoming that reusability is low, meet the quick of software development process, convenient management, high maintainable needs, a kind of test script treating apparatus is provided in the embodiment of the present invention, this device is generated and is derived test script by the source code of target detection platform, the script using can be described the data structure in invoked procedure, data content, data pool, script expression formula and spread function etc., can substitute the function of most of hand weaving test procedure source code, can be for establishment automatic test script and save data.This device is changed the interface data structure mapping of different sound code files in script file, generation meets the script file of interface data organization definition, and the realization such as tester can padding data content, data pool, data relationship, script expression formula and spread function completes the exploitation of script.If have relationship trading journal file or old script, can also be worth by default according to the some or all of data of these file acquisition transaction.
Fig. 1 is the structural representation of a test script treating apparatus in the embodiment of the present invention, and as shown in Figure 1, this test script treating apparatus can comprise:
Data structure acquisition device 1, for obtaining interface message and the data structure of script from external server;
Script generating apparatus 2, for according to described interface message and data structure, generation script file framework padding data;
Script editing device 3, for being compiled as test script file by the script file framework after padding data.
The treating apparatus of test script shown in Fig. 1 can be implemented by the equipment that can realize its function, this equipment can be for example user terminal, be deployed in subscription client PC or other-end equipment, for ease of describing, in the embodiment of the present invention, describe as user terminal as example taking this test script treating apparatus.
The embodiment of the present invention also provides another test script treating apparatus, this device can convert test script file to other programming languages of energy or script source code text, the source code text of carrying out after conversion by Complied executing or parsing is initiated test, the sound code file that generation can be obtained offers external system to be reduced the duplication of labour and consistent code spice is provided as framework, easily realizes the synchronous change of data structure.In the time of operation test script, this device will be resolved data structure, data content, script expression formula and the spread function of script, conversion can be described the program's source code file of carrying out content, then sound code file is compiled, the program of loading after compiling arrives internal memory, then usage data pond drives the program after compiling to carry out, and the program after compiling is responsible for sending, unpack, check and generate destination file in data content, script expression formula, spread function and the packing of calling system module after analytical Calculation conversion.Fig. 2 is the structural representation of another test script treating apparatus in the embodiment of the present invention, and as shown in Figure 2, this test script treating apparatus can comprise:
Script conversion equipment 5, for receiving test script file, is converted to test script file the program's source code of test script;
Source code compiling charging apparatus 6, for carrying out process of compilation to the program's source code of test script;
Resolve calling device 7, for resolving and call the program's source code after process of compilation, with system interaction to be measured, obtain the execution result of test script.
The treating apparatus of test script shown in Fig. 2 can be implemented by the equipment that can realize its function, this equipment can be for example primary processing unit, can be deployed in client, also can be deployed in server, for ease of describing, in the embodiment of the present invention, describe as primary processing unit as example taking this test script treating apparatus.
Fig. 3 is the structural representation of test script disposal system in the embodiment of the present invention, and as shown in Figure 3, this system comprises above-mentioned user terminal and primary processing unit.Wherein user terminal comprises data structure acquisition device 1, script generating apparatus 2 and script editing device 3, and data structure acquisition device 1 is connected with external server 4, and script editing device 3 can edit script and sent script to script conversion equipment 5.Primary processing unit comprises script conversion equipment 5, source code compiling charging apparatus 6 and resolves calling device; Resolve calling device 7 and connect and treats examining system 9, be responsible for resolving and calling the source code object after compiling, and with treat that examining system 9 is mutual and call.An example that also shows primary processing unit in Fig. 3, in this example, primary processing unit can also comprise test result conversion equipment 8.
Respectively each device is elaborated below.
Data structure acquisition device, is mainly used in obtaining from external server interface message and the data structure of script; When enforcement, can also be used for obtaining relevant old script and/or transaction log file from external server.For example, be responsible for obtaining the required interface message of script, data structure, old script and transaction log file and being delivered to script generating apparatus from external server.Interface message comprises environment, interface name, version etc.Data structure comprises territory and the data limit on interface, sending and return, about the description of territory and data limit refers to the relevant description of script generating apparatus below.Transaction log is the inputoutput data file during by the interface interchange producing until examining system, does not belong to the output of the test script treating apparatus of the embodiment of the present invention, and for trace debug interface, external server has stored these data files.
Script generating apparatus, is mainly used according to described interface message and data structure generation script file framework padding data; When enforcement, obtain relevant old script and/or transaction log file from external server at data structure acquisition device, script generating apparatus is according to interface message and data structure, and old script and/or transaction log file, generation script file framework padding data.For example, script generating apparatus is responsible for according to interface message, data structure, transaction log file generated Bean and padding data.
When enforcement, script generating apparatus can generate the script file framework of paging storing information, wherein first page storage interface information, and second page storage data structure, the 3rd page of storage data pond, thus make script page storing information.
The independent paging of interface message, deposits the information such as the environment relevant with interface, interface name, version.These information flags some attributes of script, can be for determine the mode of operation in operation, also can be for management, the example of interface message is referring to table one:
Table one
Script type Type A
Interface name TI10001
Version 1208
Date of formation 2012-06-19
Running environment Overseas comprehensive A
Data structure and all pagings of numeric field data composition, instantiation is with reference to table two.Data structure paging has comprised multiple territories and numeric field data, and territory comprises domain name/numbering, data limit, annotation etc.Domain name/numbering, for distinguishing different territories, can refer to the content in this territory with domain name and numbering; Annotation only has mark effect, optional, can add the information relevant with territory; Data limit comprises data direction, data type, data length.The content type that data type can limit input is the format content such as integer, character, HEX, with Interface Matching to be tested.Data length limits the total length of content, can also realize automatic cover processing for fixed length system.Data direction indicates this territory for input, output or simultaneously as input and output, for example row of " direction " in table two " I(input) ", " O(output) ", " I/O(I/O) ".
Table two
Figure BDA0000488565840000091
Numeric field data is attached to after territory, has comprised default data, case data, anticipatory data, implies and has comprised test data, return data, referring to table two.Wherein default data, case data, anticipatory data can be the simple datas that can directly use, and can be also scriptlet and the expression formulas with logic function, about the realization of scriptlet, refer in detail and resolve the relevant description of calling device.Default data provides the default value in territory, may be to be extracted by transaction log or old script, may be to generate according to rule, and be likely also manual compiling, can be cited and cover, be generally used for filling multiple case repeating part contents.Rule refers to the unalterable rules built-in at instrument, and one or more territories are judged, if eligible, its default data is modified.Case data comprises the data that can comprise multiple test cases, can quote default data (as used "@" mark to quote default data, using " $ " mark to be replaced parameter).Case data covers default data and is used for resolving to effective test data, and test data is according to after default data and test data parsing, obtains the data that are directly used in packing and submit to.Return data is effective for exporting the data of (or comprising output attribute) for data direction, value in the data of returning that obtain from interface to be measured.Scriptlet belongs to the one of data, scriptlet can finally be resolved to simple data for above delivering to interface to be tested or being resolved into for verifying transaction results, for example in table two example, default data last column is a data base querying scriptlet, parameter of " $ " symbology, it is the reference name of rreturn value, in the end the case data of a line and anticipatory data the inside have been cited respectively, obtain respectively the variation of a transaction front and back database record value, then carry out computing in anticipatory data the inside by expression formula.The result that computing obtains in case data on give, the result that in anticipatory data, computing obtains for checking.
The independent paging of data pool, " domain name/numbering ", annotation and the case data deposited, instantiation is referring to table three.Wherein " domain name/numbering " is the subset of the data structure deposited of second page, can expand and have multiple territories.Wherein case data is used for replacing territory case data of the same name while operation, can expand the needs that have multinomial case data to meet multiple cases operations.
Table three
Domain name/numbering Card number Type of credential Passport NO. Name in an account book The amount of money
Annotation Must debit card 1 I.D. ? ? ?
Case data 1 9558802002914260001 1 200103198603010011 Zhang San 50
Case data 2 9558802002914260002 2 A123456 Li Si 100
Case data 3 9558802002914260003 1 200103198603010013 King five 999999
When concrete enforcement, script generating apparatus can be specifically for: data structure described in serializing, obtains script file framework; Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data; Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
If data structure acquisition device obtains relevant old script and/or transaction log file from external server, script generating apparatus can serializing described in data structure, obtain script file framework; Obtain the numeric field data of described old script and/or transaction log file; Obtain the data pool of described old script; Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script; The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
Script editing device, is mainly used in the script file framework after padding data to be compiled as test script file.Script editing device is the interface tool of user's edit script, can be used as a user terminal part, also can independently use other edit tool products.The script that user generates from script generating apparatus by script editing device editor, is then submitted to the operation of script conversion equipment by user terminal.
Fig. 4 is in the embodiment of the present invention, to be the exemplary plot that script generates processing procedure.In this example, script generating apparatus 2 obtains interface message and data structure by data structure acquisition device, then data structure serializing is converted to the data structure page of two-dimensional structure, data structure page is pressed linescan method and is stored, and deposits the content such as domain name, annotation, data limit and numeric field data in territory.In processing procedure, can comprise:
Step 111, data structure acquisition device receive script and generate request, and generation task starts.
The environment that step 112, data structure acquisition device are specified from request is connected to external server, finds source code or the script of interface to be measured, or alternative data content, obtains data structure and the interface message of this interface.
Acquisition data structure and interface message are sent to script generating apparatus by step 113, data structure acquisition device, and script generating apparatus is generation script file framework accordingly.Obtain after script file framework, be just equivalent to obtain a basic version that is suitable for the script of edit.
Step 114, script generating apparatus judge additional data file in request, and the script that judges whether to have been friends in the past (or transaction log file), if had, forwards corresponding step 119 to, if do not had, continues step 115.
Step 115, script generating apparatus read preset unalterable rules list, and as numeric field data, wherein unalterable rules can be the territories that simulation package contains numeric field data, can be also that one section of code carries out association amendment for multiple territories.
Step 116, script generating apparatus mate the numeric field data of unalterable rules list with the territory of script, or old script and/or the numeric field data of transaction log file and the territory of script are mated, and add corresponding numeric field data in script.
Whether step 117, script generating apparatus detect with data pool, check that with data pool whether its territory is corresponding with script data territory, and then the part that removal can not be corresponding substitutes the data pool page in script.
Step 118, script generating apparatus are preserved amended script file, end process again.
Step 119, script generating apparatus obtain data structure and the numeric field data of old script file or transaction log file.
Step 120, script generating apparatus obtain the data pool content of old script file, proceed to step 116.
After obtaining Bean, user can compile intactly test script file by script editing device, then converts sound code file to script conversion equipment.
Script conversion equipment, is mainly used in receiving test script file, test script file is converted to the program's source code of test script.When concrete enforcement, script conversion equipment can extract interface message and the data structure of script from test script file, generates the program's source code of test script.For example, can be from the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
Script conversion equipment, can be according to interface message, environmental information and script in the time generating the program's source code of test script, the program's source code of compiling and operation on the platform that generation can be disposed at primary processing unit, and give the processing of source code compiling charging apparatus.The program's source code that script conversion equipment generates is with initiating once to conclude the business necessary interface message, environmental information, data structure, numeric field data, can be loaded into and compile, then isolated operation, also can replace and generate new case its numeric field data as an interface object.
The treatment scheme that script converts sound code file to is for example: script conversion equipment obtains interface message, environmental information, interface data structure and numeric field data from call request, then from the source code template of the text formatting of resources bank read test target interface, then according to the corresponding content of interface message, environmental information, replacement source code template.The data structure definition statement that the numeric field data list that script conversion equipment provides according to data structure acquisition device is added a territory each territory in source code template is to definition module, its semanteme is to generate field object, and the content that the parameter of definition statement has comprised domain name, data type, length, data direction, annotation.Then from script, take out reference data and the case data in each territory, the assignment statement of each territory difference generating reference data and case data is to referrer module and assignment module.Finally preserving into sound code file through the source code template of replacing content.Sound code file compiles and packs into through source code compiling and charging apparatus, then gives parsing calling device and calls processing.
Source code compiling charging apparatus, is mainly used in the program's source code of test script to carry out process of compilation.For example, source code compiling charging apparatus is accepted the sound code file after conversion, and calling system compiler carries out process of compilation to source code, and graftabl, then provides interface object to call to resolving calling device.
Resolve calling device, be mainly used in resolving and calling the program's source code after process of compilation, with system interaction to be measured, obtain the execution result of test script.When enforcement, resolve calling device and cooperate, call mutually with interface object, final being responsible for and system interaction to be measured, initiates transaction.Concrete, resolve calling device and can initiate interface parsing executable operations one time, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing; The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data; The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.Wherein resolve scriptlet and the expression formula carried out in numeric field data, computing obtains simple data for packing.Scriptlet and expression formula can service routine class libraries or the script analytical capabilities that provides when operation realize, thereby the difficulty that reduction system realizes.The territory of sending on all needs all completes resolves after execution, then according to interface message, environmental information and system interaction to be measured, packing data and initiation transaction, after initiating transaction, the data that examining system returns are treated in reception, again scriptlet is resolved to execution, obtain execution result, finally script and execution result are passed to test result conversion equipment and keep a record and represent.
If need usage data pond, can also from data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
Fig. 5 resolves calling device to resolve invoke script flow example figure in the embodiment of the present invention, as shown in Figure 5, can comprise the steps:
Step 211, parsing calling device initialization/replacement calling interface object.
Referrer module and the assignment module of step 212, parsing calling device calling interface object.
Step 213, parsing calling device take out a test data from data pool, and these data of mark are used.
Step 214, parsing calling device are the case data of the data replacement corresponding domain of taking out.
Step 215, parsing calling device are resolved and are carried out the front scriptlet of All Activity.
Step 216, parsing calling device read numeric field data list for carrying out test from scripting object.
Step 217, resolve calling device from numeric field data list take out one unmarked be processed territory.
The test data in this territory that step 218, the judgement of parsing calling device are taken out, judges its form, if simple data performs step 219, if scriptlet form performs step 226.
Data mode when step 219, parsing calling device send on domain test data-switching being packaged into directly according to the data type in this territory, length after checking, and this territory of mark is processed.
Step 220, parsing calling device check that whether the list of numeric field data copy is disposed, if be disposed, performs step 221, otherwise turns back to step 217.
Step 221, parsing calling device and system interaction to be measured, submit to the test data in all territories to corresponding interface.
Step 222, parsing calling device receive return data and split assignment in the return data in the territory with return attribute.
Step 223, parsing calling device are resolved and are carried out the rear scriptlet of transaction, and return to the checking in territory.
The service data that step 224, parsing calling device send scripting object, to test result conversion equipment, records the result of operation.
Step 225, parsing calling device check whether data pool is finished, if be finished, finishes this flow process, otherwise gets back to step 211.
Step 226, resolve calling device and resolve and carry out this domain test data stored scriptlets, operation result assignment to domain test data itself.
Test result conversion equipment, is mainly used in converting the execution result of test script to destination file.When enforcement, can be responsible for collecting and record the executing data of resolving calling device according to script file, and be saved in execution journal, database or file.First test result conversion equipment receives the information in interface message, environmental information and each territory that script comprises, then receive and resolve the execution result sending after calling device is carried out, receive execution result at every turn and all carry out associated merging with script, the result of repeatedly carrying out is merged and represents the carrier such as daily record, database or file that request is specified.
If need to be used for pressure test and calling that other need to be encoded, the program's source code generating according to script conversion equipment carries out secondary development.This program's source code content is regular, style unified, and has encapsulated the details that realizes of interface operation, can entirety operate as an interface object, also can modify and adapt to use needs.Carry out secondary development based on this source code program, performance history is simply efficient, and the construction cycle is short, and execution efficiency is higher, and easy to understand, preservation and maintenance can substitute the mode of production of old hand weaving source code.
Based on same inventive concept, in the embodiment of the present invention, also provide a kind of test script disposal route, as described in the following examples.The principle of dealing with problems due to the method and test script treating apparatus, system are similar, and therefore the enforcement of the method can be referring to the enforcement of test script treating apparatus, system, repeats part and repeat no more.
Fig. 6 is the schematic diagram of a test script disposal route in the embodiment of the present invention, as shown in Figure 6, can comprise:
Step 601, obtain interface message and the data structure of script from external server;
Step 602, according to described interface message and data structure, generation script file framework padding data;
Step 603, the script file framework after padding data is compiled as to test script file.
When concrete enforcement, according to described interface message and data structure, generation script file framework padding data, can comprise:
Data structure described in serializing, obtains script file framework;
Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data;
Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
When concrete enforcement, this test script disposal route can also comprise: obtain relevant old script and/or transaction log file from external server;
Described according to described interface message and data structure, generation script file framework padding data, comprising: according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data.
When concrete enforcement, described according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data, can comprise:
Data structure described in serializing, obtains script file framework;
Obtain the numeric field data of described old script and/or transaction log file;
Obtain the data pool of described old script;
Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script;
The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
When concrete enforcement, described according to described interface message and data structure, generation script file framework padding data, can comprise:
Generate the script file framework of paging storing information, wherein first page storage interface information, second page storage data structure, the 3rd page of storage data pond.
Fig. 7 is the schematic diagram of another test script disposal route in the embodiment of the present invention, as shown in Figure 7, can comprise:
Step 701, receive test script file, test script file is converted to the program's source code of test script;
Step 702, the program's source code of test script is carried out to process of compilation;
Step 703, resolve and call the program's source code after process of compilation, with system interaction to be measured, obtain the execution result of test script.
When concrete enforcement, the described program's source code that test script file is converted to test script, can comprise: from test script file, extract interface message and the data structure of script, generate the program's source code of test script.
When concrete enforcement, described interface message and the data structure that extracts script from test script file, the program's source code of generation test script, can comprise:
From the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
When concrete enforcement, described the program's source code of test script is carried out to process of compilation, can comprise: calling system compiler carries out process of compilation to the program's source code of test script, and graftabl, provide the interface object of the program's source code after process of compilation for calling.
When concrete enforcement, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, can comprise:
Initiate an interface and resolve executable operations, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing;
The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data;
The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.
When concrete enforcement, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, can also comprise:
From data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
When concrete enforcement, this test script disposal route can also comprise: convert the execution result of test script to destination file.
Another test script disposal route in the embodiment of the present invention, comprises by the disposal route of test script shown in Fig. 6 (comprising its instantiation) and obtains test script file; By the disposal route of test script shown in Fig. 7 (comprising its instantiation), test script file is processed.Fig. 8 is the instantiation figure of another test script disposal route in the embodiment of the present invention, as shown in Figure 8, can comprise the steps:
Step 1, data structure acquisition device obtain relevant data structure and old script (or transaction log file) by external server, send script generating apparatus conversion generation to and can carry out processing scripts file framework, detailed process for example can be referring to Fig. 4 and description thereof.
Step 2, revise generated script file framework by script editing device, obtain test script file.
Step 3, script conversion equipment extracted data structure and interface message from test script file, the sound code file that generation can Complied executing.
Step 4, source code compiling charging apparatus are accepted the sound code file after conversion, and calling system compiler carries out process of compilation to source code, and graftabl, then provide interface object to call to resolving calling device.
Step 5, from script file, obtain data pool, prepare the data for replacing excuse object.
Step 6, resolve calling device initialization interface object, territory corresponding to data replacement interface object then step 5 being obtained, and treats that examining system carries out alternately, initiating one time test call, and logging test results.About detailed data acquisition and invoked procedure, for example can be referring to Fig. 5 and relevant description thereof.
Step 7, parsing calling device check that whether data pool finishes using, if do not finished using, gets back to step 5, otherwise continues next step.
Step 8, test result conversion equipment convert destination file to the test result of collecting.
In sum, the test script treating apparatus of the embodiment of the present invention, system and method, solve the duplication of labour that establishment and amendment message structure and data structure expend in the middle of common test script system interface testing process excessive, be not suitable for being applied to interface quantity large, revise problem and the defect of application scenarios frequently, reach following effect:
1, Bean, source code treat that by obtaining program's source code, transaction log file and the old script of examining system generate, reduce the artificial duplication of labour that participates in establishment amendment script or source code, reduce the probability of makeing mistakes, improve the establishment testing efficiency of test script, improved the value that script can reuse.
2, script comprises message structure (data structure), data, embedded scriptlet fragment, be suitable for artificial treatment and computing machine processing, can support the most of function that realizes modern automation test script, easily realize the operation of common operation and new old edition migration simultaneously, simple implementation is about the difficulty of operation, easily use advanced market product as script-editor, make performance history can from market product, obtain benefit.
3, the source code that test script generates is the programming language source code that can compile or resolve, and has good extendability and dirigibility, can integrate and move to other system the inside, or realize mutual realization with other system.The parsing executive mode that program that can Complied executing is compared pure script has higher execution efficiency, and can meet pressure test etc. has the application scenarios of requirement to execution speed, improve and use coverage rate.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; the protection domain being not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (26)

1. a test script treating apparatus, is characterized in that, comprising:
Data structure acquisition device, for obtaining interface message and the data structure of script from external server;
Script generating apparatus, for according to described interface message and data structure, generation script file framework padding data;
Script editing device, for being compiled as test script file by the script file framework after padding data.
2. test script treating apparatus as claimed in claim 1, is characterized in that, described script generating apparatus specifically for:
Data structure described in serializing, obtains script file framework;
Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data;
Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
3. test script treating apparatus as claimed in claim 1, is characterized in that, described data structure acquisition device also for: obtain relevant old script and/or transaction log file from external server;
Described script generating apparatus specifically for: according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data.
4. test script treating apparatus as claimed in claim 3, is characterized in that, described script generating apparatus specifically for:
Data structure described in serializing, obtains script file framework;
Obtain the numeric field data of described old script and/or transaction log file;
Obtain the data pool of described old script;
Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script;
The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
5. the test script treating apparatus as described in claim 1 to 4 any one, is characterized in that, described script generating apparatus specifically for:
Generate the script file framework of paging storing information, wherein first page storage interface information, second page storage data structure, the 3rd page of storage data pond.
6. a test script treating apparatus, is characterized in that, comprising:
Script conversion equipment, for receiving test script file, is converted to test script file the program's source code of test script;
Source code compiling charging apparatus, for carrying out process of compilation to the program's source code of test script;
Resolve calling device, for resolving and call the program's source code after process of compilation, with system interaction to be measured, obtain the execution result of test script.
7. test script treating apparatus as claimed in claim 6, is characterized in that, described script conversion equipment specifically for: from test script file, extract interface message and the data structure of script, generate the program's source code of test script.
8. test script treating apparatus as claimed in claim 7, it is characterized in that, described script conversion equipment specifically for: from the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
9. test script treating apparatus as claimed in claim 6, it is characterized in that, described source code compiling charging apparatus specifically for: calling system compiler carries out process of compilation to the program's source code of test script, and graftabl, provide the interface object of the program's source code after process of compilation to call to resolving calling device.
10. test script treating apparatus as claimed in claim 6, is characterized in that, described parsing calling device specifically for:
Initiate an interface and resolve executable operations, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing;
The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data;
The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.
11. test script treating apparatus as claimed in claim 10, is characterized in that, described parsing calling device also for:
From data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
12. test script treating apparatus as described in claim 6 to 11 any one, is characterized in that, also comprise:
Test result conversion equipment, for converting the execution result of test script to destination file.
13. 1 kinds of test script disposal systems, is characterized in that, comprising:
Test script treating apparatus described in claim 1 to 5 any one;
And, the test script treating apparatus described in claim 6 to 12 any one.
14. 1 kinds of test script disposal routes, is characterized in that, comprising:
Obtain interface message and the data structure of script from external server;
According to described interface message and data structure, generation script file framework padding data;
Script file framework after padding data is compiled as to test script file.
15. test script disposal routes as claimed in claim 14, is characterized in that, described according to described interface message and data structure, generation script file framework padding data, comprising:
Data structure described in serializing, obtains script file framework;
Read preset unalterable rules list, described unalterable rules list is defined as to numeric field data;
Numeric field data is mated with the territory of script, add the numeric field data of coupling in script.
16. test script disposal routes as claimed in claim 14, is characterized in that, also comprise: obtain relevant old script and/or transaction log file from external server;
Described according to described interface message and data structure, generation script file framework padding data, comprising: according to described interface message and data structure, and described old script and/or transaction log file, generation script file framework padding data.
17. test script disposal routes as claimed in claim 16, is characterized in that, described according to described interface message and data structure, and described old script and/or transaction log file, and generation script file framework padding data, comprising:
Data structure described in serializing, obtains script file framework;
Obtain the numeric field data of described old script and/or transaction log file;
Obtain the data pool of described old script;
Described old script and/or the numeric field data of transaction log file and the territory of script are mated, add the numeric field data of coupling in script;
The data pool of described old script is mated with the territory of script, with the data pool page in the data pool replacement script of coupling.
18. test script disposal routes as described in claim 14 to 17 any one, is characterized in that, described according to described interface message and data structure, generation script file framework padding data, comprising:
Generate the script file framework of paging storing information, wherein first page storage interface information, second page storage data structure, the 3rd page of storage data pond.
19. 1 kinds of test script disposal routes, is characterized in that, comprising:
Receive test script file, test script file is converted to the program's source code of test script;
The program's source code of test script is carried out to process of compilation;
Resolve and call the program's source code after process of compilation, with system interaction to be measured, obtaining the execution result of test script.
20. test script disposal routes as claimed in claim 19, it is characterized in that, the described program's source code that test script file is converted to test script, comprising: from test script file, extract interface message and the data structure of script, generate the program's source code of test script.
21. test script disposal routes as claimed in claim 20, is characterized in that, described interface message and the data structure that extracts script from test script file, and the program's source code of generation test script, comprising:
From the source code template of the text formatting of resources bank read test target interface, according to the corresponding content of the interface message of the script extracting and data structure replacement source code template, will save as through replacing the source code template of content the program's source code of test script from test script file.
22. test script disposal routes as claimed in claim 19, it is characterized in that, described the program's source code of test script is carried out to process of compilation, comprise: calling system compiler carries out process of compilation to the program's source code of test script, and graftabl, provide the interface object of the program's source code after process of compilation for calling.
23. test script disposal routes as claimed in claim 19, is characterized in that, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, comprising:
Initiate an interface and resolve executable operations, after initialization, call the interface object of the program's source code after process of compilation and obtain each territory, resolve scriptlet and the expression formula carried out in numeric field data, the data that computing is obtained packing;
The territory of sending on needs completes resolves after executable operations, with system interaction to be measured, above send packing data;
The data that examining system returns are treated in reception, and scriptlet is resolved to execution, obtain execution result.
24. test script disposal routes as claimed in claim 23, is characterized in that, described parsing and call the program's source code after process of compilation, with system interaction to be measured, obtains the execution result of test script, also comprises:
From data pool, take out the corresponding case data in territory and replace or quote default data, then initiate an interface and resolve executable operations, so repeat until interruption is used up or carried out to data pool.
25. test script disposal routes as described in claim 19 to 24 any one, is characterized in that, also comprise:
Convert the execution result of test script to destination file.
26. 1 kinds of test script disposal routes, is characterized in that, comprising:
Obtain test script file by the test script disposal route described in claim 14 to 18 any one;
By the test script disposal route described in claim 19 to 25 any one, test script file is processed.
CN201410140800.3A 2014-04-09 2014-04-09 Test script processing meanss, system and method Active CN103902456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410140800.3A CN103902456B (en) 2014-04-09 2014-04-09 Test script processing meanss, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410140800.3A CN103902456B (en) 2014-04-09 2014-04-09 Test script processing meanss, system and method

Publications (2)

Publication Number Publication Date
CN103902456A true CN103902456A (en) 2014-07-02
CN103902456B CN103902456B (en) 2017-03-15

Family

ID=50993791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410140800.3A Active CN103902456B (en) 2014-04-09 2014-04-09 Test script processing meanss, system and method

Country Status (1)

Country Link
CN (1) CN103902456B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279090A (en) * 2015-11-17 2016-01-27 中国建设银行股份有限公司 Test script generating method and test script generating device applied in financial field
CN105760274A (en) * 2016-01-27 2016-07-13 杭州安恒信息技术有限公司 Dynamically activated and adjusted log analyzing method and system
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN106708723A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Testing and verifying methods and apparatuses
CN106909500A (en) * 2015-12-23 2017-06-30 黄正兰 The detection method and system of mistake are introduced in Airborne Software development process
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN107357722A (en) * 2017-06-22 2017-11-17 微梦创科网络科技(中国)有限公司 A kind of social networking service SNS test systems and method based on a large amount of test users
CN109144819A (en) * 2018-08-20 2019-01-04 郑州云海信息技术有限公司 A kind of monitoring method and device of server
CN109460219A (en) * 2018-09-28 2019-03-12 西南电子技术研究所(中国电子科技集团公司第十研究所) The method of rapid serial Interface Control File
CN109710537A (en) * 2019-01-02 2019-05-03 郑州云海信息技术有限公司 A kind of intelligent automation test method and system
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN110532185A (en) * 2019-08-29 2019-12-03 中国工商银行股份有限公司 Test method, device, electronic equipment and computer readable storage medium
CN111324526A (en) * 2018-12-14 2020-06-23 北京金山云网络技术有限公司 Interface test system, method and server
CN111443987A (en) * 2020-02-19 2020-07-24 北京数字精准医疗科技有限公司 Image video script processing system and method based on web system
CN111931460A (en) * 2020-07-02 2020-11-13 上海微亿智造科技有限公司 Variable-row-supporting Excel file analysis method and system
CN113220337A (en) * 2021-03-30 2021-08-06 建信金融科技有限责任公司 Version construction method and device, computer equipment and storage medium
CN113806229A (en) * 2021-09-27 2021-12-17 工银科技有限公司 Interface change test script multiplexing method, device, equipment, medium and product
CN111324526B (en) * 2018-12-14 2024-04-26 北京金山云网络技术有限公司 Interface test system, method and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286431A (en) * 1999-11-30 2001-03-07 深圳市中兴通讯股份有限公司 Embedded software aided debugging method
US20060195894A1 (en) * 2005-02-25 2006-08-31 Microsoft Corporation Windows remote debugger service
CN102270126A (en) * 2010-06-07 2011-12-07 大唐移动通信设备有限公司 Method and equipment for quickly determining interface code and test script parameter value

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286431A (en) * 1999-11-30 2001-03-07 深圳市中兴通讯股份有限公司 Embedded software aided debugging method
US20060195894A1 (en) * 2005-02-25 2006-08-31 Microsoft Corporation Windows remote debugger service
CN102270126A (en) * 2010-06-07 2011-12-07 大唐移动通信设备有限公司 Method and equipment for quickly determining interface code and test script parameter value

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN106708723A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Testing and verifying methods and apparatuses
CN105279090A (en) * 2015-11-17 2016-01-27 中国建设银行股份有限公司 Test script generating method and test script generating device applied in financial field
CN105279090B (en) * 2015-11-17 2018-07-03 中国建设银行股份有限公司 Test script generation method and device applied to financial field
CN106909500A (en) * 2015-12-23 2017-06-30 黄正兰 The detection method and system of mistake are introduced in Airborne Software development process
CN106909500B (en) * 2015-12-23 2021-02-02 黄正兰 Method and system for detecting errors introduced in airborne software development process
CN105760274B (en) * 2016-01-27 2019-01-22 杭州安恒信息技术股份有限公司 A kind of log parsing method and system of dynamic activation and adjustment
CN105760274A (en) * 2016-01-27 2016-07-13 杭州安恒信息技术有限公司 Dynamically activated and adjusted log analyzing method and system
CN107357722A (en) * 2017-06-22 2017-11-17 微梦创科网络科技(中国)有限公司 A kind of social networking service SNS test systems and method based on a large amount of test users
CN107357722B (en) * 2017-06-22 2020-03-31 微梦创科网络科技(中国)有限公司 Social Network Service (SNS) testing system and method based on a large number of testing users
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN109144819A (en) * 2018-08-20 2019-01-04 郑州云海信息技术有限公司 A kind of monitoring method and device of server
CN109460219A (en) * 2018-09-28 2019-03-12 西南电子技术研究所(中国电子科技集团公司第十研究所) The method of rapid serial Interface Control File
CN109460219B (en) * 2018-09-28 2021-09-03 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for quickly serializing interface control file
CN111324526A (en) * 2018-12-14 2020-06-23 北京金山云网络技术有限公司 Interface test system, method and server
CN111324526B (en) * 2018-12-14 2024-04-26 北京金山云网络技术有限公司 Interface test system, method and server
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN109710537A (en) * 2019-01-02 2019-05-03 郑州云海信息技术有限公司 A kind of intelligent automation test method and system
CN110532185A (en) * 2019-08-29 2019-12-03 中国工商银行股份有限公司 Test method, device, electronic equipment and computer readable storage medium
CN110532185B (en) * 2019-08-29 2023-09-19 中国工商银行股份有限公司 Test method, test device, electronic equipment and computer readable storage medium
CN111443987A (en) * 2020-02-19 2020-07-24 北京数字精准医疗科技有限公司 Image video script processing system and method based on web system
CN111931460A (en) * 2020-07-02 2020-11-13 上海微亿智造科技有限公司 Variable-row-supporting Excel file analysis method and system
CN113220337A (en) * 2021-03-30 2021-08-06 建信金融科技有限责任公司 Version construction method and device, computer equipment and storage medium
CN113806229A (en) * 2021-09-27 2021-12-17 工银科技有限公司 Interface change test script multiplexing method, device, equipment, medium and product

Also Published As

Publication number Publication date
CN103902456B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN103902456A (en) Test script processing device, system and method
EP3631618B1 (en) Automated dependency analyzer for heterogeneously programmed data processing system
CN105718251B (en) Multilingual SDK automates realization method and system
CN104063325A (en) Automatic generation device and method for test cases of embedded software
CN105893008A (en) Method and device for customizing multi-channel installation package
CN106649212A (en) Business data processing method and device
CN109564540B (en) System, method, and apparatus for debugging of JIT compiler
CN102222012A (en) Static type checking against external data sources
CN102222039A (en) Using a DSL for calling APIs to test software
US8910133B2 (en) Library conformity checker
CN101908015A (en) Device and method for creating test case based on components
CN104134039A (en) Virus checking and killing method, virus checking and killing client, virus checking and killing server and virus checking and killing system
Kähkönen et al. LCT: An open source concolic testing tool for Java programs
CN104572238A (en) Method and system for generating executable software package efficiently
CN103810092A (en) Application system testing method and device
CN108647147A (en) It is a kind of to execute automatic test machine people and its application method using atlas analysis
CN201435074Y (en) Device for generating test case based on member
Yang et al. Transplantfix: Graph differencing-based code transplantation for automated program repair
CN110795091B (en) Modularized route decoupling method, storage medium, electronic equipment and system
CN111158665B (en) Code generation method and device, electronic equipment and storage medium
CN104536880A (en) GUI program testing case augmentation method based on symbolic execution
Fritzson et al. Metamodelica–a symbolic-numeric modelica language and comparison to julia
CN105607892A (en) Concurrent execution method and system of multiple programs
CN114174983B (en) Method and system for optimized automatic verification of advanced constructs
CN107656738A (en) Model structural design method and device in a kind of Android

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant