CN106648945A - Interface data testing method and device and electronic equipment - Google Patents

Interface data testing method and device and electronic equipment Download PDF

Info

Publication number
CN106648945A
CN106648945A CN201610873345.7A CN201610873345A CN106648945A CN 106648945 A CN106648945 A CN 106648945A CN 201610873345 A CN201610873345 A CN 201610873345A CN 106648945 A CN106648945 A CN 106648945A
Authority
CN
China
Prior art keywords
file
test
interface data
nonbinary
data
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
CN201610873345.7A
Other languages
Chinese (zh)
Other versions
CN106648945B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610873345.7A priority Critical patent/CN106648945B/en
Publication of CN106648945A publication Critical patent/CN106648945A/en
Application granted granted Critical
Publication of CN106648945B publication Critical patent/CN106648945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses an interface data testing method, an interface data testing device and electronic equipment, relates to an interface testing technology, and can improve the function testing efficiency. The interface data testing method comprises the following steps: constructing a simulation server for interface data testing; setting interface data test parameters in a simulation server and storing the interface data test parameters as a non-binary format file; calling a pre-written file conversion script in the simulation server, and storing a target protocol format file in a binary format of a non-binary format file; and acquiring the target protocol format file according to the data exception test flow so as to carry out data exception test. The invention is suitable for carrying out function test on the interface.

Description

A kind of interface data method of testing, device and electronic equipment
Technical field
The present invention relates to interface testing technology, more particularly to a kind of interface data method of testing, device and electronic equipment.
Background technology
With compunication and the continuous development of Internet technology, the application program of exploitation is also more and more, respectively should Also more and more with the interface developed in program, each application program is carried out data transmission by corresponding interface, for example, an application The X interfaces of program need to call the Y interfaces of Another Application program to obtain data to interact.Two interfaces are mutually passing data Before, both sides can mutually arrange a kind of data exchange form.
Google's caching protocol (Protobuf, Google Protocol Buffer) is provided for Google (google) company A kind of DDL, can be used for the fields such as data storage, communication protocol by structured data sequence, be a kind of and language Unrelated serializing structured data formats unrelated with platform, extendible.The characteristics of its is maximum is to store number based on binary system According to accordingly, with respect to traditional extensible markup language (XML, Extensible Markup Language) data storage lattice Formula or lightweight data interchange format (JSON, JavaScript Object Notation) are little (for example, with data volume Protobuf message sizes only need to XML 1/10~1/3), resolution speed fast (resolution speed is faster than XML 20~100 times), to Lower or upward compatibility is good, and using the compiler of Protobuf, can generate the data access easily used in programming Code, is a kind of structural data storage format of portable and effective, be widely used in data storage or remote procedure call (RPC, Remote Procedure Call) data exchange, for example, the data exchange between interface.
But for interface newly developed, need to carry out normal functional test and the functional test of exception with collecting function survey Examination data, so as to whether the interface for verifying exploitation is correct, interface operation whether processor of the stable and interface to abnormal data The interface functions such as system, in order to the interface function of Optimal Development.And Protobuf files are adopted as the data transfer between interface Form, because the test data in Protobuf file nodes is binary data, it is impossible to direct access its particular content, because And, when needing the test data of modification node to carry out abnormality test, it is impossible to know the string of binary characters in the range of which For the test data of destination node to be modified so that functional test is inefficient.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of interface data method of testing, device and electronic equipment, can be lifted Functional test efficiency, to solve existing interface data method of testing in, need change node test data it is different to carry out Often during test, because the test data in Protobuf file nodes is binary data, it is impossible to know two in the range of which System character string be destination node to be modified test data caused by the inefficient problem of functional test.
In a first aspect, the embodiment of the present invention provides a kind of interface data method of testing, including:
Building one is used for the emulating server of interface data test;
Interface data test parameter is set in emulating server and nonbinary formatted file is stored as;
The file write in advance in the emulating server is called to change script, by the nonbinary formatted file two of storage The target protocol formatted file of system form;
According to data exception testing process, obtain the target protocol formatted file to carry out data exception test.
With reference in a first aspect, in the first embodiment of first aspect, calling and being compiled in advance in the emulating server Write file conversion script, by the nonbinary formatted file of storage be converted to binary format target protocol formatted file it Before, methods described also includes:
According to data exception test target, the interface data test ginseng of the nonbinary formatted file interior joint is changed Number.
With reference to the first embodiment of first aspect, in second embodiment of first aspect, the modification institute The interface data test parameter of nonbinary formatted file interior joint is stated, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
With reference to the first embodiment of first aspect or first aspect, in the third embodiment of first aspect, The nonbinary formatted file is lightweight data interchange format file or extensible markup language document.
With reference to the first embodiment of first aspect or first aspect, in the 4th kind of embodiment of first aspect, The file changes script into object-oriented, explanation type computer programming language script.
Second aspect, the embodiment of the present invention provides a kind of interface data test device, including:Emulating server builds mould Block, parameter setting module, file modular converter and test module, wherein,
Emulating server builds module, and for building one the emulating server of interface data test is used for;
Parameter setting module, for interface data test parameter to be arranged in emulating server and nonbinary lattice are stored as Formula file;
File modular converter, for calling the emulating server in write in advance file conversion script, by storage The target protocol formatted file of nonbinary formatted file binary format;
Test module, for according to data exception testing process, obtaining the target protocol formatted file to carry out data Abnormality test.
With reference to second aspect, in the first embodiment of second aspect, described device also includes:
Parameter editor module, for according to data exception test target, changing the nonbinary formatted file interior joint Interface data test parameter.
With reference to the first embodiment of second aspect, in second embodiment of second aspect, the modification The interface data test parameter of the nonbinary formatted file interior joint, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
With reference to the first embodiment of second aspect or second aspect, in the third embodiment of second aspect, The nonbinary formatted file is lightweight data interchange format file or extensible markup language document.
With reference to the first embodiment of second aspect or second aspect, in the 4th kind of embodiment of second aspect, The file changes script into object-oriented, explanation type computer programming language script.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment includes:Housing, processor, deposit Reservoir, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged On circuit boards;Power circuit, powers for each circuit or device for above-mentioned electronic equipment;Memory is used to store and can hold Line program code;Processor is run and executable program code pair by the executable program code stored in reading memory The program answered, for performing aforementioned arbitrary described interface data method of testing.
A kind of interface data method of testing provided in an embodiment of the present invention, device and electronic equipment, are used for by building one The emulating server of interface data test;Interface data test parameter is set in emulating server and nonbinary lattice are stored as Formula file;The file write in advance in the emulating server is called to change script, by the nonbinary formatted file two of storage The target protocol formatted file of system form;According to data exception testing process, obtain the target protocol formatted file to enter Row data abnormality test, can enhanced feature testing efficiency, to solve existing interface data method of testing in, needing modification The test data of node to carry out during abnormality test, due to the test data in Protobuf file nodes be binary data, Functional test effect caused by the test data that the string of binary characters in the range of which is destination node to be modified cannot be known The not high problem of rate.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is 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 the interface data method of testing schematic flow sheet of embodiments of the invention one;
Fig. 2 is the interface data test device structural representation of embodiments of the invention two;
Fig. 3 is the structural representation of electronic equipment one embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
Fig. 1 is the interface data method of testing schematic flow sheet of embodiments of the invention one, as shown in figure 1, the present embodiment Method can include:
Step 101, building one is used for the emulating server of interface data test;
In the present embodiment, the emulating server (mock server) of structure is applied as upstream, upstream apply with as survey The test data form that the downstream application of examination consults to use is Protobuf forms, and shares a structure description file (.proto File).
In the present embodiment, emulating server is a respond request, for example, data test request, and to transmission test data Interface return response server, for simulation get different result return values.
In the present embodiment, used as an alternative embodiment, the emulating server of structure has following function:
A, using the Protobuf files of interface definition, generates correspondence object-oriented, explanation type computer program design language The file of speech (Python) form.
In the present embodiment, used as an alternative embodiment, the file of Python forms is py files.Python is that one kind is not received Limitation, cross-platform programming language of increasing income.In the present embodiment, the order line for generating py files is as follows:
Protoc--proto_path=ufs_proto/ufs_proto/user_profile.prot o--python_ Out=.
Wherein,
Ufs_proto/ufs_proto/user_profile.proto is the Protobuf files of interface definition.
B, calls the file write in advance to change script, i.e. python scripts, by nonbinary formatted file, for example, JSON files are converted into into the Protobuf files of binary format.
C, test result form in a binary format is returned.
In the present embodiment, as an alternative embodiment, using object-oriented, explanation type computer programming language webpage Framework establishment emulating server.
In the present embodiment, object-oriented, explanation type computer programming language web page frame (Webpy) are a lightweight Increase income python web frameworks, can quickly realize webpage (web) page, be easy to arrange interface data test parameter.
Step 102, interface data test parameter is arranged in emulating server and nonbinary formatted file is stored as;
In the present embodiment, by building the virtual test data for interface function test in emulating server, so Afterwards the test data of structure is saved as into JSON files.
In the present embodiment, used as an alternative embodiment, nonbinary formatted file is lightweight data interchange format file (JSON files) or extensible markup language document (XML file) etc., the present embodiment is not construed as limiting to this.
Step 103, calls the file write in advance in the emulating server to change script, by the nonbinary lattice of storage The target protocol formatted file of formula file binary format;
In the present embodiment, used as an alternative embodiment, file changes script into python scripts.
Step 104, according to data exception testing process, obtains the target protocol formatted file to carry out data exception survey Examination.
In the present embodiment, as an alternative embodiment, downstream interface can be assigned in emulating server and obtain upstream Data.
In the present embodiment, as an alternative embodiment, the file write in advance in the emulating server is called to change pin This, the nonbinary formatted file of storage is converted to before the target protocol formatted file of binary format, and the method is also wrapped Include:
According to data exception test target, the interface data test ginseng of the nonbinary formatted file interior joint is changed Number.
In the present embodiment, as an alternative embodiment, the interface data of the nonbinary formatted file interior joint is changed Test parameter, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
In the present embodiment, if necessary to build abnormal case, only need according in test result modification correspondence JSON files Related content.Certainly, in practical application, it is also possible to directly change the correlation in nonbinary formatted file (JSON files) Content, then, is confirmed whether to reach expected abnormality test purpose according to test result, for example, connects if necessary to checking upstream Mouthful, when lacking a certain default necessary node in the test result content of return, when whether downstream interface can give up to fall dirty data, Can be by changing JSON files, by default necessary node (the total interface data test ginseng of the default necessary node Number) delete, then, python scripts are called, by the JSON file translations of modification into corresponding Protobuf forms, finally with two System form is exported, and downstream interface initiates the related content that request is achieved with the test result file of binary format.Again For example, if necessary to checking Upstream Interface, in the test result content of return, node attribute values are illegal, and whether downstream interface When can give up to fall dirty data, (the default node is corresponding can to pass through the corresponding property value of default node in modification JSON files Attribute data test parameter), then, python scripts are called, by the JSON file translations of modification property value into corresponding Protobuf forms, finally export in a binary format, and downstream interface initiates the test knot that request is achieved with binary format Related content in fruit file.
The interface data method of testing of the present embodiment, by building one the emulating server of interface data test is used for; Interface data test parameter is set in emulating server and nonbinary formatted file is stored as;In calling the emulating server The file conversion script write in advance, by the target protocol form text of the nonbinary formatted file content binary format of storage Part content;Finally export in a binary format.Which so, by parsing nonbinary formatted file, can know in the range of String of binary characters be destination node to be modified test data, then by modification file binary format target protocol Formatted file is tested, such that it is able to carry out abnormality test to the interface of Protobuf storage formats, to reduce predicting risk, Effective enhanced feature testing efficiency;Further, by changing test data in web interface so that upstream and downstream interface need not be repaiied Change code and can be carried out test, can effectively reduce functional test required time and cost.
Fig. 2 is the interface data test device structural representation of embodiments of the invention two, as shown in Fig. 2 the present embodiment Device can include:Emulating server builds module 21, parameter setting module 22, file modular converter 23 and test module 24, wherein,
Emulating server builds module 21, and for building one the emulating server of interface data test is used for;
In the present embodiment, the emulating server (mock server) of structure is applied as upstream, upstream apply with as survey The test data form that the downstream application of examination consults to use is Protobuf forms, and shares a structure description file (.proto File).
In the present embodiment, as an alternative embodiment, using object-oriented, explanation type computer programming language webpage Framework establishment emulating server.
Parameter setting module 22, for interface data test parameter to be arranged in emulating server and nonbinary is stored as Formatted file;
In the present embodiment, by building the virtual test data for interface function test in emulating server, so Afterwards the test data of structure is saved as into JSON files.
In the present embodiment, used as an alternative embodiment, nonbinary formatted file is lightweight data interchange format file Or extensible markup language document.
File modular converter 23, for calling the emulating server in write in advance file conversion script, will store Nonbinary formatted file binary format target protocol formatted file;
In the present embodiment, as an alternative embodiment, downstream interface can be assigned in emulating server and obtain upstream Data.
In the present embodiment, used as an alternative embodiment, file is changed script and is set into object-oriented, explanation type computer program Meter language scripts.
Test module 24, for according to data exception testing process, obtaining the target protocol formatted file to enter line number According to abnormality test.
In the present embodiment, used as an alternative embodiment, the device also includes:
Parameter editor module (not shown), for according to data exception test target, changing the nonbinary lattice The interface data test parameter of formula file interior joint.
In the present embodiment, as an alternative embodiment, the interface data of the nonbinary formatted file interior joint is changed Test parameter, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
In the present embodiment, if necessary to build abnormal case, only need according in test result modification correspondence JSON files Related content.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and skill Art effect is similar to, and here is omitted.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.
For especially for device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, related part is illustrated referring to the part of embodiment of the method.
In flow charts expression or here logic described otherwise above and/or step, for example, are considered use In the order list of the executable instruction for realizing logic function, in may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (as computer based system, the system including processor or other can hold from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass The dress that defeated program is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With the electricity that one or more are connected up Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program or other are suitable Medium, because for example by carrying out optical scanner to paper or other media edlin, interpretation can then be entered or if necessary with it His suitable method is processed to electronically obtain described program, in being then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can in memory and by suitable instruction be performed with storage Software that system is performed or firmware are realizing.For example, if realized with hardware, with another embodiment, can use Any one of following technology well known in the art or their combination are realizing:With for realizing logic work(to data-signal The discrete logic of the logic gates of energy, the special IC with suitable combinational logic gate circuit, programmable gate Array (PGA), field programmable gate array (FPGA) etc..
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes the dress described in aforementioned any embodiment Put.
Fig. 3 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve implemented shown in Fig. 1-2 of the present invention The flow process of example, as shown in figure 3, above-mentioned electronic equipment can include:Housing 31, processor 32, memory 33, circuit board 34 and electricity Source circuit 35, wherein, circuit board 34 is placed in the interior volume that housing 31 is surrounded, and processor 32 and memory 33 are arranged on circuit On plate 34;Power circuit 35, powers for each circuit or device for above-mentioned electronic equipment;Memory 33 is used to store and can hold Line program code;Processor 32 is run and executable program generation by the executable program code stored in reading memory 33 The corresponding program of code, for performing the interface data method of testing described in aforementioned any embodiment.
Processor 32 to the concrete implementation procedure and processor 32 of above-mentioned steps by run executable program code come The step of further performing, may refer to the description of Fig. 1-2 illustrated embodiments of the present invention, will not be described here.
The electronic equipment is present in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, has calculating and processes work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio frequency, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server:The equipment for providing the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, therefore processing energy The aspects such as power, stability, reliability, security, extensibility, manageability require higher.
(5) other have the electronic equipment of data interaction function.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, it is to be divided into various units/modules with function to describe respectively to describe apparatus above.Certainly, exist Implement the function of each unit/module can be realized in same or multiple softwares and/or hardware during the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Realize by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence On prior art is contributed part in other words can be embodied in the form of software product, the computer software product Can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the invention or embodiment Method described in part.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of interface data method of testing, it is characterised in that include:
Building one is used for the emulating server of interface data test;
Interface data test parameter is set in emulating server and nonbinary formatted file is stored as;
Call the file write in advance in the emulating server to change script, the nonbinary formatted file of storage is converted to The target protocol formatted file of binary format;
According to data exception testing process, obtain the target protocol formatted file to carry out data exception test.
2. interface data method of testing according to claim 1, it is characterised in that call in the emulating server in advance The file conversion script write, by the nonbinary formatted file of storage the target protocol formatted file of binary format is converted to Before, methods described also includes:
According to data exception test target, the interface data test parameter of the nonbinary formatted file interior joint is changed.
3. interface data method of testing according to claim 2, it is characterised in that the modification nonbinary form The interface data test parameter of file interior joint, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
4. interface data method of testing according to claim 1 and 2, it is characterised in that the nonbinary formatted file For lightweight data interchange format file or extensible markup language document.
5. interface data method of testing according to claim 1 and 2, it is characterised in that the file changes script into face To object, explanation type computer programming language script.
6. a kind of interface data test device, it is characterised in that include:Emulating server builds module, parameter setting module, text Part modular converter and test module, wherein,
Emulating server builds module, and for building one the emulating server of interface data test is used for;
Parameter setting module, for interface data test parameter to be arranged in emulating server and nonbinary form text is stored as Part;
File modular converter, for calling the emulating server in write in advance file conversion script, will storage non-two The target protocol formatted file of system formatted file binary format;
Test module, for according to data exception testing process, obtaining the target protocol formatted file to carry out data exception Test.
7. interface data test device according to claim 6, it is characterised in that described device also includes:
Parameter editor module, for according to data exception test target, changing connecing for the nonbinary formatted file interior joint Mouth data test parameter.
8. interface data test device according to claim 7, it is characterised in that the modification nonbinary form The interface data test parameter of file interior joint, including:
Delete the specific node data in the nonbinary formatted file;Or
Change the corresponding property value of specific node in the nonbinary formatted file.
9. the interface data test device according to claim 6 or 7, it is characterised in that the nonbinary formatted file For lightweight data interchange format file or extensible markup language document.
10. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Housing, processor, memory, circuit board and electricity Source circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged on circuit boards;Power supply Circuit, powers for each circuit or device for above-mentioned electronic equipment;Memory is used to store executable program code;Process Device runs program corresponding with executable program code by the executable program code stored in reading memory, for holding Interface data method of testing described in the aforementioned any claim 1-5 of row.
CN201610873345.7A 2016-09-30 2016-09-30 Interface data testing method and device and electronic equipment Active CN106648945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610873345.7A CN106648945B (en) 2016-09-30 2016-09-30 Interface data testing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610873345.7A CN106648945B (en) 2016-09-30 2016-09-30 Interface data testing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106648945A true CN106648945A (en) 2017-05-10
CN106648945B CN106648945B (en) 2019-10-15

Family

ID=58853632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610873345.7A Active CN106648945B (en) 2016-09-30 2016-09-30 Interface data testing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106648945B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329890A (en) * 2017-06-06 2017-11-07 北京金山安全软件有限公司 Test method and device based on Mock and server
CN108804271A (en) * 2018-06-28 2018-11-13 北京潘达互娱科技有限公司 Interface tolerating measure method and device
CN108897691A (en) * 2018-06-29 2018-11-27 百度在线网络技术(北京)有限公司 Data processing method, device, server and medium based on interface analog service
CN109656791A (en) * 2018-11-01 2019-04-19 北京奇安信科技有限公司 A kind of gRPC performance test methods and device based on Jmeter
CN109815107A (en) * 2017-11-22 2019-05-28 北京京东尚科信息技术有限公司 The method and apparatus of automatic test
CN110532305A (en) * 2018-05-23 2019-12-03 中国移动通信集团浙江有限公司 A kind of business datum method for cutting over and system
CN110750409A (en) * 2018-07-23 2020-02-04 北京奇虎科技有限公司 Method, device and system for realizing test
CN110781082A (en) * 2019-10-14 2020-02-11 腾讯科技(深圳)有限公司 Method, device, medium and equipment for generating test case of interface
CN111078571A (en) * 2019-12-20 2020-04-28 广州品唯软件有限公司 Test method for simulation response, terminal device and computer readable storage medium
CN111177003A (en) * 2019-12-30 2020-05-19 北京同邦卓益科技有限公司 Test method, device, system, electronic equipment and storage medium
CN111324526A (en) * 2018-12-14 2020-06-23 北京金山云网络技术有限公司 Interface test system, method and server
CN111581097A (en) * 2020-05-09 2020-08-25 深圳市卡数科技有限公司 Performance test method, system, equipment and storage medium of parameterized data
CN111629014A (en) * 2019-02-27 2020-09-04 北京嘀嘀无限科技发展有限公司 Request agent implementation method, implementation device, server and storage medium
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN112491659A (en) * 2020-12-02 2021-03-12 广州品唯软件有限公司 Flow playback test method and device, computer equipment and storage medium
CN112486811A (en) * 2020-11-26 2021-03-12 杭州安恒信息技术股份有限公司 Interface test method, device, equipment and medium
CN112612563A (en) * 2020-12-16 2021-04-06 上海哔哩哔哩科技有限公司 Page test data generation method and device and computer equipment
CN112783753A (en) * 2019-11-07 2021-05-11 北京沃东天骏信息技术有限公司 Test method and device for stream data processing system
CN113704079A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Interface testing method and device based on Protobuf
CN113742408A (en) * 2021-09-03 2021-12-03 唯品会(广州)软件有限公司 Data interaction method based on Protobuf protocol dynamic analysis
CN116257398A (en) * 2023-05-11 2023-06-13 中星联华科技(北京)有限公司 Serial port testing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185734A (en) * 2011-04-18 2011-09-14 华为软件技术有限公司 Automatic interface testing method and server
CN103136095A (en) * 2011-11-28 2013-06-05 阿里巴巴集团控股有限公司 Method, device and system of test application program interface
US20140108589A1 (en) * 2012-10-11 2014-04-17 Sanjeev Dhanda Testing an executable binary file using an injection proxy
CN103970737A (en) * 2013-01-24 2014-08-06 腾讯科技(深圳)有限公司 Data constitution method and device
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185734A (en) * 2011-04-18 2011-09-14 华为软件技术有限公司 Automatic interface testing method and server
CN103136095A (en) * 2011-11-28 2013-06-05 阿里巴巴集团控股有限公司 Method, device and system of test application program interface
US20140108589A1 (en) * 2012-10-11 2014-04-17 Sanjeev Dhanda Testing an executable binary file using an injection proxy
CN103970737A (en) * 2013-01-24 2014-08-06 腾讯科技(深圳)有限公司 Data constitution method and device
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329890A (en) * 2017-06-06 2017-11-07 北京金山安全软件有限公司 Test method and device based on Mock and server
CN109815107A (en) * 2017-11-22 2019-05-28 北京京东尚科信息技术有限公司 The method and apparatus of automatic test
CN109815107B (en) * 2017-11-22 2022-06-07 北京京东尚科信息技术有限公司 Method and device for automatic testing
CN110532305B (en) * 2018-05-23 2022-11-08 中国移动通信集团浙江有限公司 Service data cutting-over method and system
CN110532305A (en) * 2018-05-23 2019-12-03 中国移动通信集团浙江有限公司 A kind of business datum method for cutting over and system
CN108804271A (en) * 2018-06-28 2018-11-13 北京潘达互娱科技有限公司 Interface tolerating measure method and device
CN108897691A (en) * 2018-06-29 2018-11-27 百度在线网络技术(北京)有限公司 Data processing method, device, server and medium based on interface analog service
CN108897691B (en) * 2018-06-29 2022-02-15 百度在线网络技术(北京)有限公司 Data processing method, device, server and medium based on interface simulation service
CN110750409A (en) * 2018-07-23 2020-02-04 北京奇虎科技有限公司 Method, device and system for realizing test
CN109656791A (en) * 2018-11-01 2019-04-19 北京奇安信科技有限公司 A kind of gRPC performance test methods and device based on Jmeter
CN109656791B (en) * 2018-11-01 2022-07-12 奇安信科技集团股份有限公司 gPC performance test method and device based on Jmeter
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
CN111629014A (en) * 2019-02-27 2020-09-04 北京嘀嘀无限科技发展有限公司 Request agent implementation method, implementation device, server and storage medium
CN111629014B (en) * 2019-02-27 2023-03-24 北京嘀嘀无限科技发展有限公司 Request agent implementation method, implementation device, server and storage medium
CN110781082B (en) * 2019-10-14 2022-05-20 腾讯科技(深圳)有限公司 Method, device, medium and equipment for generating test case of interface
CN110781082A (en) * 2019-10-14 2020-02-11 腾讯科技(深圳)有限公司 Method, device, medium and equipment for generating test case of interface
CN112783753B (en) * 2019-11-07 2024-04-12 北京沃东天骏信息技术有限公司 Testing method and device for stream data processing system
CN112783753A (en) * 2019-11-07 2021-05-11 北京沃东天骏信息技术有限公司 Test method and device for stream data processing system
CN111078571A (en) * 2019-12-20 2020-04-28 广州品唯软件有限公司 Test method for simulation response, terminal device and computer readable storage medium
CN111078571B (en) * 2019-12-20 2024-02-02 广州品唯软件有限公司 Test method for analog response, terminal equipment and computer readable storage medium
CN111177003A (en) * 2019-12-30 2020-05-19 北京同邦卓益科技有限公司 Test method, device, system, electronic equipment and storage medium
CN111581097A (en) * 2020-05-09 2020-08-25 深圳市卡数科技有限公司 Performance test method, system, equipment and storage medium of parameterized data
CN111581097B (en) * 2020-05-09 2024-05-17 深圳市卡数科技有限公司 Performance test method, system, equipment and storage medium for parameterized data
CN113704079A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Interface testing method and device based on Protobuf
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN112486811A (en) * 2020-11-26 2021-03-12 杭州安恒信息技术股份有限公司 Interface test method, device, equipment and medium
CN112491659A (en) * 2020-12-02 2021-03-12 广州品唯软件有限公司 Flow playback test method and device, computer equipment and storage medium
CN112612563A (en) * 2020-12-16 2021-04-06 上海哔哩哔哩科技有限公司 Page test data generation method and device and computer equipment
CN113742408B (en) * 2021-09-03 2024-02-02 唯品会(广州)软件有限公司 Protobuf protocol dynamic analysis-based data interaction method
CN113742408A (en) * 2021-09-03 2021-12-03 唯品会(广州)软件有限公司 Data interaction method based on Protobuf protocol dynamic analysis
CN116257398B (en) * 2023-05-11 2023-10-03 中星联华科技(北京)有限公司 Serial port testing method and system
CN116257398A (en) * 2023-05-11 2023-06-13 中星联华科技(北京)有限公司 Serial port testing method and system

Also Published As

Publication number Publication date
CN106648945B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN106648945A (en) Interface data testing method and device and electronic equipment
CN108897691A (en) Data processing method, device, server and medium based on interface analog service
CN107273286A (en) For the scene automatic test platform and method of task application
CN102819766A (en) Method, device and enterprise system for checking forms
CN105791178B (en) Message assemble method and device
CN105955878A (en) Server-side test method and system
CN108932588A (en) A kind of the GROUP OF HYDROPOWER STATIONS Optimal Scheduling and method of front and back end separation
CN112860970B (en) Data processing method and device, electronic equipment and storage medium
CN106301885A (en) The method and system of uniform traffic management
WO2016141685A1 (en) Telecommunications engineering drawing generation method and drawing design client
Le‐Huy et al. Real‐time electromagnetic transient and transient stability co‐simulation based on hybrid line modelling
CN107329849A (en) A kind of data verification method and system based on Java systems
CN116028292B (en) Simulation verification system and method for remote direct memory access simulation verification
CN110289997A (en) A kind of log message checking method, apparatus and system
CN107315646A (en) Data flow control method and device between page assembly
CN111309620A (en) Game protocol testing method and device, electronic equipment and storage medium
CN104408178B (en) WEB controls loading device and method
CN109635993A (en) Operation behavior monitoring method and device based on prediction model
US8667261B2 (en) Systems, methods, and apparatus for utility meter configuration
Ngoc Phat et al. Exponential stabilisation of positive singular linear discrete‐time delay systems with bounded control
CN104426709A (en) TR 069 testing method and system
CN106411626A (en) Test method and device based on DSL network element simulator
CN105335205A (en) Virtual instrument scripting language parser and method thereof
CN104378362A (en) Method and device for carrying out conversion of message interfaces
CN106776285A (en) Webpage front-end adjustment method and device

Legal Events

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