CN109522211A - Interface parameters transmission method, device, electronic equipment and storage medium - Google Patents

Interface parameters transmission method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109522211A
CN109522211A CN201811152511.XA CN201811152511A CN109522211A CN 109522211 A CN109522211 A CN 109522211A CN 201811152511 A CN201811152511 A CN 201811152511A CN 109522211 A CN109522211 A CN 109522211A
Authority
CN
China
Prior art keywords
interface
parameter
attribute data
service attribute
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811152511.XA
Other languages
Chinese (zh)
Other versions
CN109522211B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811152511.XA priority Critical patent/CN109522211B/en
Publication of CN109522211A publication Critical patent/CN109522211A/en
Application granted granted Critical
Publication of CN109522211B publication Critical patent/CN109522211B/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of interface parameters transmission method, device, electronic equipment and storage medium.The interface parameters transmission method includes: to obtain the first service attribute data of first interface when receiving parameter transmitting instruction;The parameter of the first interface is extracted according to the first service attribute data;Save the parameter of the first interface;After the parameter for saving the first interface, the second service attribute data of second interface are obtained;Compare the second service attribute data and the first service attribute data;When the second service attribute data are consistent with the first service attribute data, the parameter of preservation is transferred;The parameter of the preservation is transferred to the second interface.The present invention is able to achieve in interface test process, the mutual utilization of parameter between distinct interface, is avoided repetition from inserting parameter and is brought operational inconvenience to user, realizes the automatic processing of parameter transmitting.

Description

Interface parameters transmission method, device, electronic equipment and storage medium
Technical field
The present invention relates to interface testing technical field more particularly to a kind of interface parameters transmission methods, device, electronic equipment And storage medium.
Background technique
In prior art, when carrying out interface testing, it usually needs the relevant parameter of artificial filling interface testing, and It cannot achieve the multiple utilization of parameter, that is to say, that for identical parameter, tester is also required to repeat to insert, and not only consumes Take the extra time, also expends a large amount of human cost, bring inconvenience to tester.
Summary of the invention
In view of the foregoing, it is necessary to a kind of interface parameters transmission method, device, electronic equipment and storage medium are provided, The mutual utilization that can be realized parameter between distinct interface avoids repeating to insert parameter and brings operational inconvenience to user, thus It is more in line with the requirement of artificial intelligence field, realizes the automatic processing of parameter transmitting.
A kind of interface parameters transmission method, which comprises
When receiving parameter transmitting instruction, the first service attribute data of first interface are obtained;
The parameter of the first interface is extracted according to the first service attribute data;
Save the parameter of the first interface;
After the parameter for saving the first interface, the second service attribute data of second interface are obtained;
Compare the second service attribute data and the first service attribute data;
When the second service attribute data are consistent with the first service attribute data, the parameter of preservation is transferred;
The parameter of the preservation is transferred to the second interface.
Preferred embodiment according to the present invention, the first service attribute data include service provided by the first interface The running environment of type and the first interface;The second service attribute data include provided by the second interface The running environment of service type and the second interface.
Preferred embodiment according to the present invention, the ginseng that the first interface is extracted according to the first service attribute data Number includes:
Using JsonPath rule, according to the first service attribute data acquisition index expression;
According to the index expression, the parameter of the first interface is extracted.
Preferred embodiment according to the present invention, the parameter for saving the first interface include any of the following mode:
The parameter of the first interface is saved to the memory of electronic equipment;Or
The parameter of the first interface is saved to specified database.
Preferred embodiment according to the present invention, after the parameter for saving the first interface, the method also includes:
According to the first service attribute data, the parameter of the first interface is named.
Preferred embodiment according to the present invention, after the parameter for saving the first interface, the method also includes:
Obtain label corresponding with the first service attribute data;
Add the parameter of the label to the first interface.
Preferred embodiment according to the present invention, it is described to work as the second service attribute data and the first service attribute data When consistent, the parameter for transferring preservation includes the combination of following one or more kinds of modes:
According to the first service attribute data, the parameter of preservation is transferred;And/or
According to the first service attribute data, the title of the parameter of the first interface is obtained, according to the title tune It goes bail for the parameter deposited;And/or
According to the first service attribute data, the label of the parameter of the first interface is obtained, is adjusted according to the label It goes bail for the parameter deposited.
A kind of interface parameters transfer device, described device include:
Acquiring unit, for obtaining the first service attribute data of first interface when receiving parameter transmitting instruction;
Extraction unit, for extracting the parameter of the first interface according to the first service attribute data;
Storage unit, for saving the parameter of the first interface;
The acquiring unit is also used to after the parameter for saving the first interface, obtains the second business of second interface Attribute data;
Comparison unit, for comparing the second service attribute data and the first service attribute data;
Unit is transferred, for transferring when the second service attribute data are consistent with the first service attribute data The parameter of preservation;
Transfer unit, for the parameter of the preservation to be transferred to the second interface.
Preferred embodiment according to the present invention, the first service attribute data include service provided by the first interface The running environment of type and the first interface;The second service attribute data include provided by the second interface The running environment of service type and the second interface.
Preferred embodiment according to the present invention, the extraction unit are specifically used for:
Using JsonPath rule, according to the first service attribute data acquisition index expression;
According to the index expression, the parameter of the first interface is extracted.
Preferred embodiment according to the present invention, the parameter that the storage unit saves the first interface includes following any one Kind mode:
The parameter of the first interface is saved to the memory of electronic equipment;Or
The parameter of the first interface is saved to specified database.
Preferred embodiment according to the present invention, described device further include:
Unit is named, for according to the first service attribute data, naming after the parameter for saving the first interface The parameter of the first interface.
Preferred embodiment according to the present invention, the acquiring unit are also used to after the parameter for saving the first interface, obtain Take label corresponding with the first service attribute data;
Described device further include:
Adding unit, for adding the parameter of the label to the first interface.
Preferred embodiment according to the present invention, it is described to work as the second service attribute data and the first service attribute data When consistent, it is described transfer unit transfer preservation parameter include following one or more kinds of mode combination:
According to the first service attribute data, the parameter of preservation is transferred;And/or
According to the first service attribute data, the title of the parameter of the first interface is obtained, according to the title tune It goes bail for the parameter deposited;And/or
According to the first service attribute data, the label of the parameter of the first interface is obtained, is adjusted according to the label It goes bail for the parameter deposited.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the interface parameters transmission method.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium At least one instruction is stated to be executed by the processor in electronic equipment to realize the interface parameters transmission method.
As can be seen from the above technical solutions, the present invention can targetedly extract according to the first service attribute data The parameter of one interface, and the parameter of the first interface is saved, convenient for transferring and utilizing, further compare the second service attribute number According to and the first service attribute data, and when the second service attribute data it is consistent with the first service attribute data When, the parameter of preservation is transferred, the phenomenon for transferring mistake is avoided the occurrence of, and then the parameter is transferred to second interface, for institute It states second interface directly to utilize, realizes the mutual utilization of parameter between distinct interface, avoid repetition from inserting parameter and bring behaviour to user Inconvenience on work realizes the automatic processing of parameter transmitting to be more in line with the requirement of artificial intelligence field, and improves fortune Line efficiency brings better experience to user.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of interface parameters transmission method of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of interface parameters transfer device of the present invention.
Fig. 3 is the structural schematic diagram of the electronic equipment for the preferred embodiment that the present invention realizes interface parameters transmission method.
Main element symbol description
Electronic equipment 1
Memory 12
Processor 13
Interface parameters transfer device 11
Acquiring unit 110
Extraction unit 111
Storage unit 112
Comparison unit 113
Transfer unit 114
Transfer unit 115
Name unit 116
Adding unit 117
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of interface parameters transmission method of the present invention.According to different need It asks, the sequence of step can change in the flow chart, and certain steps can be omitted.
The interface parameters transmission method is applied in one or more electronic equipment, and the electronic equipment is a kind of energy It is enough according to the instruction for being previously set or store, the equipment of automatic progress numerical value calculating and/or information processing, hardware includes but not It is limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), can compiles Journey gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
S10, when receiving parameter transmitting instruction, the electronic equipment obtains the first service attribute number of first interface According to.
In at least one embodiment of the present invention, in order to realize in software specify operation (such as: log in, be linked to it is specified Webpage etc.) function reference, need different interfaces to be supported, it is generally the case that after an interface is successfully invoked, Its parameter can't be retained for subsequent use.That is, being needed again when the electronic equipment will call next interface Parameter is inserted, duplicate operation is made troubles to user.
In at least one embodiment of the present invention, it in order to realize the mutual utilization of parameter between interface, avoids repeating to insert Parameter brings operational inconvenience to user, and the electronic equipment obtains described first and connect when receiving parameter transmitting instruction The first service attribute data of mouth.
Specifically, the first interface may include the interface that the electronic equipment successfully calls, that is to say, that described The parameter of one interface have proven to it is available, and be correctly, in this way, the parameter of the first interface i.e. connect for other Mouth uses.
Such as: the first interface, which can be successfully to adjust, used logs in interface etc..
Further, the electronic equipment can obtain the first service attribute data from associated databases, or It is that the electronic equipment can directly read the first service attribute data from the data of the first interface, the present invention With no restrictions.
Preferably, the first service attribute data include service type provided by the first interface and described The running environment of first interface.
Such as: the electronic equipment get service type provided by an interface be log in, and running environment be In one software, then the electronic equipment determines that the first service attribute data are to log in link.
It is understood that if the parameter of the first interface is used for other interfaces by the electronic equipment, it is described Electronic equipment first has to guarantee other interfaces and the first interface runs on identical running environment, and other interfaces with it is described Service type provided by first interface is consistent, and therefore, the electronic equipment obtains the first business of the first interface Attribute data judges whether second interface can use the first interface according to the first service attribute data convenient for subsequent Parameter, while can also be according to the first service attribute data extracting parameter.
S11, the electronic equipment extract the parameter of the first interface according to the first service attribute data.
In at least one embodiment of the present invention, the parameter of the first interface is according to the first service attribute number According to determining.Such as: when the electronic equipment is by calling first interface realization to log in, then the first interface Parameter may include user name, password etc..
Preferably, the electronic equipment extracts the parameter packet of the first interface according to the first service attribute data It includes:
The electronic equipment is using JsonPath (JavaScript Object Notation Path) rule, according to institute The first service attribute data acquisition index expression is stated, the electronic equipment extracts described first according to the index expression The parameter of interface.
Such as: after the electronic equipment gets the first service attribute data, determine that first service attribute is Logging in link, for the electronic equipment using JsonPath rule, getting index expression is Name () and Password (), Then the electronic equipment can get corresponding sentence Name according to the index expression Name () and Password () (Tom) and Password (123456), that is to say, that the electronic equipment extract the first interface parameter be Tom and 123456。
In at least one embodiment of the present invention, the JSON (JavaScript Object Notation) is a kind of The data interchange format of lightweight, it is not only easy to read, but also convenient for writing, while also facilitating machine and being parsed and generated.Institute State scene, such as the data interaction between website front end and backstage etc. that JSON is suitable for carrying out data interaction.
Further, the JsonPath is a kind of information extraction class libraries, and specifically, the JsonPath is from JSON text Shelves in extract specify information tool, and provide multilingual realize version, comprising: JavaScript, Python, PHP and Java etc..
Certainly, in other embodiments, the electronic equipment can also take other modes to extract the first interface Parameter, the present invention is with no restrictions.
By above embodiment, the electronic equipment can extract the parameter of the first interface, incite somebody to action convenient for subsequent The parameter of the first interface is applied to other interfaces.
S12, the electronic equipment save the parameter of the first interface.
In at least one embodiment of the present invention, the electronic equipment saves the parameter of the first interface, So that other subsequent interfaces are transferred and are utilized.
Preferably, the parameter that the electronic equipment saves the first interface includes, but are not limited to any one following side Formula:
(1) electronic equipment saves the parameter of the first interface to the memory of electronic equipment.
Such as: the electronic equipment is in parameter the Name Tom and Password 123456 for extracting the first interface Afterwards, parameter the Name Tom and Password 123456 of the first interface is directly stored in the electricity by the electronic equipment In the memory of sub- equipment.
It is understood that above-mentioned preserving type is without connecting other databases, operation is more convenient, can satisfy user For the demand of parameter storage.
(2) electronic equipment saves the parameter of the first interface to specified database.
Such as: the electronic equipment is in parameter the Name Tom and Password 123456 for extracting the first interface Afterwards, parameter the Name Tom and Password 123456 of the first interface is stored in and the electronics by the electronic equipment In the specified database that equipment communicates.
It is understood that since the specified database is external data base, no matter in the specified database Amount of storage have much, all will not influence the speed of service of the electronic equipment, that is to say, that if the electronic equipment is by institute The parameter for stating first interface is stored to the specified database, will not be impacted to the performance of the electronic equipment, still In reading speed, mode slightly will be planted with above-mentioned (1) slowly.
In at least one embodiment of the present invention, which kind of mode the electronic equipment takes save the first interface Parameter can be determined according to the actual situation.Such as: when the electronic equipment is fast with greater need for reading speed, then take (2) kind mode is stated, and if taking above-mentioned (1) to plant mode, this hair when the electronic equipment is fast with greater need for the speed of service It is bright with no restrictions.
In at least one embodiment of the present invention, the electronic equipment is after the parameter for saving the first interface, also The parameter of the first interface can be named, so as to the parameter to the first interface according to the first service attribute data More coherent storage is carried out, while also checking and searching for and bring convenience to user, avoids the occurrence of disorderly and unsystematic phenomenon, It will specifically be discussed in detail later.
Preferably, after the parameter for saving the first interface, the method also includes:
The electronic equipment names the parameter of the first interface according to the first service attribute data.
Such as: the electronic equipment after parameter the Name Tom and Password 123456 for saving the first interface, Be to log in link according to the first service attribute data, the electronic equipment by the parameter Name Tom of the first interface and Password 123456 is named as " logging in parameter ".
In at least one embodiment of the present invention, the electronic equipment is after the parameter for saving the first interface, also The parameter of the first interface can be marked.
Preferably, after the parameter for saving the first interface, the method also includes:
The electronic equipment obtains label corresponding with the first service attribute data, and adds described mark to described The parameter of first interface.
Such as: the electronic equipment after parameter the Name Tom and Password 123456 for saving the first interface, Getting label corresponding with the first service attribute data is * ", then the electronic equipment adds the label " * " to institute State parameter the Name Tom and Password 123456 of first interface.
By above embodiment, the electronic equipment be can be realized while storing the parameter of the first interface, Correspond to the label of the first service attribute data, for the parameter addition of the first interface convenient for subsequent according to the label Carry out accurately transferring for the parameter of the first interface.
S13, after the parameter for saving the first interface, the electronic equipment obtains the second service attribute of second interface Data.
In at least one embodiment of the present invention, it in order to realize the mutual utilization of parameter between interface, avoids repeating to insert Parameter brings operational inconvenience to user, and the electronic equipment further obtains second business of the second interface Attribute data.
Specifically, the second interface may include the interface that the electronic equipment will call, that is to say, that described The parameter of two interfaces will utilize the parameter of the first interface of storage.
Such as: the second interface can be will call log in interface etc..
Further, the electronic equipment can obtain the second service attribute data from associated databases, or It is that the electronic equipment can directly read the second service attribute data from the data of the second interface, the present invention With no restrictions.
In at least one embodiment of the present invention, the second service attribute data include that the second interface is provided Service type and the second interface running environment.
Such as: it is to be linked to named web page, and transport that the electronic equipment, which gets service type provided by an interface, Row environment is in software A, then the electronic equipment determines that second service attribute is linked web pages.
It is understood that if the parameter of the first interface is used for the second interface by the electronic equipment, The electronic equipment first has to guarantee the second interface and the first interface runs on identical running environment, and described the Two interfaces are consistent with service type provided by the first interface, and therefore, the electronic equipment obtains described second and connects Mouthful the second service attribute data, judge whether the second interface can be with according to the first service attribute data convenient for subsequent Utilize the parameter of the first interface.
S14, the electronic equipment compare the second service attribute data and the first service attribute data.
In at least one embodiment of the present invention, the electronic equipment is by the second service attribute data and described One service attribute data compare, described to judge whether for the parameter of the first interface to be applied to according to comparing result Second interface.
Specifically, the electronic equipment can by data content included in the second service attribute data with it is described Included data content is compared one by one in first service attribute data, with the parameter of the determination first interface with it is described Whether second interface is adapted to.
S15, when the second service attribute data are consistent with the first service attribute data, the electronic equipment tune It goes bail for the parameter deposited.
In at least one embodiment of the present invention, when the second service attribute data and the first service attribute number According to it is inconsistent when, illustrate that the parameter of the first interface is not adapted to the second interface, therefore, the electronic equipment is not transferred The parameter of preservation.
And when the second service attribute data are consistent with the first service attribute data, illustrate the first interface Parameter be adapted to the second interface, therefore, the electronic equipment will transfer the parameter of preservation, and specifically transferring mode will be rear Face is illustrated.
Preferably, described when the second service attribute data are consistent with the first service attribute data, the electricity The parameter that sub- equipment transfers preservation includes, but are not limited to the combination of following one or more kinds of modes:
(1) electronic equipment transfers the parameter of preservation according to the first service attribute data.
It is understood that due to the parameter be it is corresponding with the first service attribute data, the electricity Sub- equipment can be deployed into the parameter of corresponding preservation according to the first service attribute data.
(2) electronic equipment obtains the title of the parameter of the first interface according to the first service attribute data, The parameter of preservation is transferred according to the title.
It is understood that due to the title of the parameter of the first interface be according to the first service attribute data into Row name, therefore, the electronic equipment can accurately transfer the parameter with the title according to the title.
(3) electronic equipment obtains the label of the parameter of the first interface according to the first service attribute data, The parameter of preservation is transferred according to the label.
It is understood that due to the label of the parameter of the first interface be according to the first service attribute data into Row addition, therefore, the electronic equipment can be accurately located the parameter according to the label, and a step of going forward side by side takes The parameter of preservation.
By above embodiment, the electronic equipment, which can be completed, transfers parameter, and since operating process is all Targetedly, therefore it is possible to prevente effectively from mistake.
The parameter of the preservation is transferred to the second interface by S16, the electronic equipment.
In at least one embodiment of the present invention, since the parameter of the first interface is adapted to the second interface, Therefore, the parameter of the preservation can be transferred to the second interface by the electronic equipment, so that the second interface is direct It utilizes, both higher error rate can occur to avoid manual operation, human cost be reduced, and operational efficiency can be improved, to use Bring better experience in family.
In conclusion the present invention can targetedly extract the parameter of first interface according to the first service attribute data, And the parameter of the first interface is saved, convenient for transferring and utilizing, further compare the second service attribute data and described first Service attribute data, and when the second service attribute data are consistent with the first service attribute data, transfer preservation Parameter, avoid the occurrence of the phenomenon for transferring mistake, and then the parameter be transferred to second interface, so that the second interface is straight Utilization is connect, realizes the mutual utilization of parameter between distinct interface, avoids repetition from inserting parameter and brings operational inconvenience to user, from And it is more in line with the requirement of artificial intelligence field, it realizes the automatic processing of parameter transmitting, and improve operational efficiency, gives user Bring better experience.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of interface parameters transfer device of the present invention.The interface ginseng Number transfer devices 11 include acquiring unit 110, extraction unit 111, storage unit 112, comparison unit 113, transfer unit 114, Transfer unit 115, name unit 116 and adding unit 117.So-called module/the unit of the present invention refers to that one kind can be processed Performed by device 13, and the series of computation machine program segment of fixed function can be completed, storage is in memory 12.In this reality It applies in example, the function about each module/unit will be described in detail in subsequent embodiment.
When receiving parameter transmitting instruction, acquiring unit 110 obtains the first service attribute data of first interface.
In at least one embodiment of the present invention, in order to realize in software specify operation (such as: log in, be linked to it is specified Webpage etc.) function reference, need different interfaces to be supported, it is generally the case that after an interface is successfully invoked, Its parameter can't be retained for subsequent use.That is, being needed again when the electronic equipment will call next interface Parameter is inserted, duplicate operation is made troubles to user.
In at least one embodiment of the present invention, it in order to realize the mutual utilization of parameter between interface, avoids repeating to insert Parameter brings operational inconvenience to user, and the acquiring unit 110 obtains described first when receiving parameter transmitting instruction The first service attribute data of interface.
Specifically, the first interface may include the interface that the electronic equipment successfully calls, that is to say, that described The parameter of one interface have proven to it is available, and be correctly, in this way, the parameter of the first interface i.e. connect for other Mouth uses.
Such as: the first interface, which can be successfully to adjust, used logs in interface etc..
Further, the acquiring unit 110 can obtain the first service attribute data from associated databases, or Person is that the acquiring unit 110 can directly read the first service attribute data from the data of the first interface, this Invention is with no restrictions.
Preferably, the first service attribute data include service type provided by the first interface and described The running environment of first interface.
Such as: it is to log in, and running environment is that the acquiring unit 110, which gets service type provided by an interface, In a software, then the acquiring unit 110 determines that the first service attribute data are to log in link.
It is understood that if the parameter of the first interface is used for other interfaces, institute by the acquiring unit 110 Acquiring unit 110 is stated to first have to guarantee that other interfaces and the first interface run on identical running environment, and other interfaces It is consistent with service type provided by the first interface, therefore, the acquiring unit 110 obtains the first interface First service attribute data, according to the first service attribute data to judge whether second interface can use described convenient for subsequent The parameter of first interface, while can also be according to the first service attribute data extracting parameter.
Extraction unit 111 extracts the parameter of the first interface according to the first service attribute data.
In at least one embodiment of the present invention, the parameter of the first interface is according to the first service attribute number According to determining.Such as: when the electronic equipment is by calling first interface realization to log in, then the first interface Parameter may include user name, password etc..
Preferably, the extraction unit 111 extracts the parameter of the first interface according to the first service attribute data Include:
The extraction unit 111 is indexed according to the first service attribute data acquisition and is expressed using JsonPath rule Formula, the extraction unit 111 extract the parameter of the first interface according to the index expression.
Such as: after the acquiring unit 110 gets the first service attribute data, determine first service attribute To log in link, the extraction unit 111 using JsonPath rule, get index expression be Name () and Password (), then the extraction unit 111 can be got according to the index expression Name () and Password () Corresponding sentence Name (Tom) and Password (123456), that is to say, that the extraction unit 111 extracts described first and connects The parameter of mouth is Tom and 123456.
In at least one embodiment of the present invention, the JSON is a kind of data interchange format of lightweight, is both convenient for It reads, and convenient for writing, while also facilitating machine and being parsed and generated.The JSON is suitable for carrying out the field of data interaction Data interaction etc. between scape, such as website front end and backstage.
Further, the JsonPath is a kind of information extraction class libraries, and specifically, the JsonPath is from JSON text Shelves in extract specify information tool, and provide multilingual realize version, comprising: JavaScript, Python, PHP and Java etc..
Certainly, in other embodiments, the extraction unit 111 can also take other modes to extract the first interface Parameter, the present invention is with no restrictions.
By above embodiment, the extraction unit 111 can extract the parameter of the first interface, convenient for subsequent The parameter of the first interface is applied to other interfaces.
Storage unit 112 saves the parameter of the first interface.
In at least one embodiment of the present invention, the storage unit 112 protects the parameter of the first interface It deposits, so that other subsequent interfaces are transferred and are utilized.
Preferably, the parameter that the storage unit 112 saves the first interface include, but are not limited to it is following any one Mode:
(1) storage unit 112 saves the parameter of the first interface to the memory of electronic equipment.
Such as: the extraction unit 111 is in parameter the Name Tom and Password for extracting the first interface After 123456, the storage unit 112 directly saves parameter the Name Tom and Password 123456 of the first interface In the memory of the electronic equipment.
It is understood that above-mentioned preserving type is without connecting other databases, operation is more convenient, can satisfy user For the demand of parameter storage.
(2) storage unit 112 saves the parameter of the first interface to specified database.
Such as: the extraction unit 111 is in parameter the Name Tom and Password for extracting the first interface After 123456, the storage unit 112 by parameter the Name Tom and Password 123456 of the first interface be stored in In the specified database that the electronic equipment communicates.
It is understood that since the specified database is external data base, no matter in the specified database Amount of storage have much, all will not influence the speed of service of the electronic equipment, that is to say, that if the storage unit 112 The parameter of the first interface is stored to the specified database, the performance of the electronic equipment will not be impacted, But in reading speed, mode slightly will be planted with above-mentioned (1) slowly.
In at least one embodiment of the present invention, which kind of mode is the storage unit 112 take save described first and connect The parameter of mouth, can be determined according to the actual situation.Such as: when the electronic equipment is fast with greater need for reading speed, then institute Stating storage unit 112 takes above-mentioned (2) to plant mode, and if when the electronic equipment is fast with greater need for the speed of service, it is described Storage unit 112 takes above-mentioned (1) to plant mode, and the present invention is with no restrictions.
In at least one embodiment of the present invention, the storage unit 112 is after the parameter for saving the first interface, The parameter of the first interface can also be named, so as to the ginseng to the first interface according to the first service attribute data Number carries out more coherent storages, while also checking and searching for and bring convenience to user, avoids the occurrence of rambling existing As will specifically be discussed in detail later.
Preferably, after the storage unit 112 saves the parameter of the first interface, the method also includes:
It names unit 116 according to the first service attribute data, names the parameter of the first interface.
Such as: the storage unit 112 is in parameter the Name Tom and Password 123456 for saving the first interface It afterwards, is to log in link according to the first service attribute data, the name unit 116 is by the parameter Name of the first interface Tom and Password 123456 are named as " logging in parameter ".
In at least one embodiment of the present invention, the storage unit 112 is after the parameter for saving the first interface, The parameter of the first interface can also be marked.
Preferably, after the storage unit 112 saves the parameter of the first interface, the method also includes:
The acquiring unit 110 obtains label corresponding with the first service attribute data, and adding unit 117 adds institute State the parameter of label to the first interface.
Such as: the storage unit 112 is in parameter the Name Tom and Password 123456 for saving the first interface Afterwards, getting label corresponding with the first service attribute data is * ", then the adding unit 117 adds the label Parameter the Name Tom and Password 123456 of " * " extremely described first interface.
By above embodiment, the electronic equipment be can be realized while storing the parameter of the first interface, Correspond to the label of the first service attribute data, for the parameter addition of the first interface convenient for subsequent according to the label Carry out accurately transferring for the parameter of the first interface.
After the parameter for saving the first interface, the acquiring unit 110 obtains the second service attribute of second interface Data.
In at least one embodiment of the present invention, it in order to realize the mutual utilization of parameter between interface, avoids repeating to insert Parameter brings operational inconvenience to user, and the acquiring unit 110 further obtains described the second of the second interface Service attribute data.
Specifically, the second interface may include the interface that the electronic equipment will call, that is to say, that described The parameter of two interfaces will utilize the parameter of the first interface of storage.
Such as: the second interface can be will call log in interface etc..
Further, the acquiring unit 110 can obtain the second service attribute data from associated databases, or Person is that the acquiring unit 110 can directly read the second service attribute data from the data of the second interface, this Invention is with no restrictions.
In at least one embodiment of the present invention, the second service attribute data include that the second interface is provided Service type and the second interface running environment.
Such as: the acquiring unit 110 get service type provided by an interface be linked to named web page, and Running environment is in software A, then the acquiring unit 110 determines that second service attribute is linked web pages.
It is understood that if the parameter of the first interface is used for the second interface by the acquiring unit 110, Then the acquiring unit 110 first has to guarantee that the second interface and the first interface run on identical running environment, and The second interface is consistent with service type provided by the first interface, and therefore, the acquiring unit 110 obtains institute The second service attribute data of second interface are stated, judge the second interface according to the first service attribute data convenient for subsequent Whether the parameter of the first interface can use.
Comparison unit 113 compares the second service attribute data and the first service attribute data.
In at least one embodiment of the present invention, the comparison unit 113 is by the second service attribute data and institute It states the first service attribute data to compare, to judge whether that the parameter by the first interface is applied to according to comparing result The second interface.
Specifically, the comparison unit 113 can by data content included in the second service attribute data with Included data content is compared one by one in the first service attribute data, with the parameter of the determination first interface and Whether the second interface is adapted to.
When the second service attribute data are consistent with the first service attribute data, transfer unit 114 and transfer guarantor The parameter deposited.
In at least one embodiment of the present invention, when the second service attribute data and the first service attribute number According to it is inconsistent when, illustrate that the parameter of the first interface is not adapted to the second interface, it is therefore, described to transfer unit 114 not Transfer the parameter of preservation.
And when the second service attribute data are consistent with the first service attribute data, illustrate the first interface Parameter be adapted to the second interface, therefore, the parameter transferred unit 114 and will transfer preservation, specifically transfer mode will It is illustrated later.
Preferably, described when the second service attribute data are consistent with the first service attribute data, the tune The parameter for taking unit 114 to transfer preservation includes, but are not limited to the combination of following one or more kinds of mode:
(1) described to transfer unit 114 according to the first service attribute data, transfer the parameter of preservation.
It is understood that due to the parameter be it is corresponding with the first service attribute data, the tune Take unit 114 that can be deployed into the parameter of corresponding preservation according to the first service attribute data.
(2) described to transfer unit 114 according to the first service attribute data, obtain the name of the parameter of the first interface Claim, the parameter of preservation is transferred according to the title.
It is understood that due to the title of the parameter of the first interface be according to the first service attribute data into Row name, therefore, the unit 114 of transferring can accurately transfer the parameter with the title according to the title.
(3) described to transfer unit 114 according to the first service attribute data, obtain the mark of the parameter of the first interface Note transfers the parameter of preservation according to the label.
It is understood that due to the label of the parameter of the first interface be according to the first service attribute data into Row addition, therefore, the unit 114 of transferring can be accurately located the parameter according to the label, a step of going forward side by side It goes bail for the parameter deposited.
By above embodiment, it is described transfer unit 114 and can be completed parameter is transferred, and all due to operating process It is targetedly therefore it is possible to prevente effectively from mistake.
The parameter of the preservation is transferred to the second interface by transfer unit 115.
In at least one embodiment of the present invention, since the parameter of the first interface is adapted to the second interface, Therefore, the parameter of the preservation can be transferred to the second interface by the transfer unit 115, so that the second interface is straight Utilization is connect, both higher error rate can occur to avoid manual operation, and reduce human cost, and operational efficiency can be improved, give User brings better experience.
In conclusion the present invention can targetedly extract the parameter of first interface according to the first service attribute data, And the parameter of the first interface is saved, convenient for transferring and utilizing, further compare the second service attribute data and described first Service attribute data, and when the second service attribute data are consistent with the first service attribute data, transfer preservation Parameter, avoid the occurrence of the phenomenon for transferring mistake, and then the parameter be transferred to second interface, so that the second interface is straight Utilization is connect, realizes the mutual utilization of parameter between distinct interface, avoids repetition from inserting parameter and brings operational inconvenience to user, from And it is more in line with the requirement of artificial intelligence field, it realizes the automatic processing of parameter transmitting, and improve operational efficiency, gives user Bring better experience.
As shown in figure 3, being that the present invention realizes that the structure of electronic equipment of the preferred embodiment of interface parameters transmission method is shown It is intended to.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone, Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13, And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as parameter transmits journey Sequence.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place Reason device 13 executes the application program to realize the step in above-mentioned each interface parameters transmission method embodiment, such as Fig. 1 institute Step S10, S11, S12, S13, S14, S15, the S16 shown.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program The function of member, such as: when receiving parameter transmitting instruction, obtain the first service attribute data of first interface;According to described First service attribute data extract the parameter of the first interface;Save the parameter of the first interface;Saving described first After the parameter of interface, the second service attribute data of second interface are obtained;Compare the second service attribute data and described One service attribute data;When the second service attribute data are consistent with the first service attribute data, preservation is transferred Parameter;The parameter of the preservation is transferred to the second interface.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program in the electronic equipment 1.It is obtained for example, the computer program can be divided into It takes unit 110, extraction unit 111, storage unit 112, comparison unit 113, transfer unit 114, transfer unit 115, name list Member 116 and adding unit 117.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12, Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize that a kind of interface parameters passes Method is passed, the multiple instruction can be performed to realize in the processor 13: when receiving parameter transmitting instruction, obtaining first First service attribute data of interface;The parameter of the first interface is extracted according to the first service attribute data;Save institute State the parameter of first interface;After the parameter for saving the first interface, the second service attribute data of second interface are obtained;It is right Than the second service attribute data and the first service attribute data;When the second service attribute data and described first When service attribute data are consistent, the parameter of preservation is transferred;The parameter of the preservation is transferred to the second interface.
Preferred embodiment according to the present invention, the first service attribute data include service provided by the first interface The running environment of type and the first interface;The second service attribute data include provided by the second interface The running environment of service type and the second interface.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Using JsonPath rule, according to the first service attribute data acquisition index expression;
According to the index expression, the parameter of the first interface is extracted.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The parameter of the first interface is saved to the memory of electronic equipment;Or
The parameter of the first interface is saved to specified database.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
According to the first service attribute data, the parameter of the first interface is named.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Obtain label corresponding with the first service attribute data;
Add the parameter of the label to the first interface.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
According to the first service attribute data, the parameter of preservation is transferred;And/or
According to the first service attribute data, the title of the parameter of the first interface is obtained, according to the title tune It goes bail for the parameter deposited;And/or
According to the first service attribute data, the label of the parameter of the first interface is obtained, is adjusted according to the label It goes bail for the parameter deposited.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of interface parameters transmission method, which is characterized in that the described method includes:
When receiving parameter transmitting instruction, the first service attribute data of first interface are obtained;
The parameter of the first interface is extracted according to the first service attribute data;
Save the parameter of the first interface;
After the parameter for saving the first interface, the second service attribute data of second interface are obtained;
Compare the second service attribute data and the first service attribute data;
When the second service attribute data are consistent with the first service attribute data, the parameter of preservation is transferred;
The parameter of the preservation is transferred to the second interface.
2. interface parameters transmission method as described in claim 1, which is characterized in that the first service attribute data include institute State the running environment of service type provided by first interface and the first interface;The second service attribute data packet Include the running environment of service type provided by the second interface and the second interface.
3. interface parameters transmission method as described in claim 1, which is characterized in that described according to the first service attribute number Include: according to the parameter for extracting the first interface
Using JsonPath rule, according to the first service attribute data acquisition index expression;
According to the index expression, the parameter of the first interface is extracted.
4. interface parameters transmission method as described in claim 1, which is characterized in that the parameter for saving the first interface Include any of the following mode:
The parameter of the first interface is saved to the memory of electronic equipment;Or
The parameter of the first interface is saved to specified database.
5. interface parameters transmission method as described in claim 1, which is characterized in that in the parameter for saving the first interface Afterwards, the method also includes:
According to the first service attribute data, the parameter of the first interface is named.
6. interface parameters transmission method as described in claim 1, which is characterized in that in the parameter for saving the first interface Afterwards, the method also includes:
Obtain label corresponding with the first service attribute data;
Add the parameter of the label to the first interface.
7. interface parameters transmission method as described in claim 1, which is characterized in that described to work as the second service attribute data When consistent with the first service attribute data, the parameter for transferring preservation includes the combination of following one or more kinds of modes:
According to the first service attribute data, the parameter of preservation is transferred;And/or
According to the first service attribute data, the title of the parameter of the first interface is obtained, guarantor is transferred according to the title The parameter deposited;And/or
According to the first service attribute data, the label of the parameter of the first interface is obtained, guarantor is transferred according to the label The parameter deposited.
8. a kind of interface parameters transfer device, which is characterized in that described device includes:
Acquiring unit, for obtaining the first service attribute data of first interface when receiving parameter transmitting instruction;
Extraction unit, for extracting the parameter of the first interface according to the first service attribute data;
Storage unit, for saving the parameter of the first interface;
The acquiring unit is also used to after the parameter for saving the first interface, obtains the second service attribute of second interface Data;
Comparison unit, for comparing the second service attribute data and the first service attribute data;
Unit is transferred, for transferring preservation when the second service attribute data are consistent with the first service attribute data Parameter;
Transfer unit, for the parameter of the preservation to be transferred to the second interface.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize interface as claimed in any of claims 1 to 7 in one of claims Parameter transfer method.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 7 The interface parameters transmission method.
CN201811152511.XA 2018-09-29 2018-09-29 Interface parameter transmission method and device, electronic equipment and storage medium Active CN109522211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811152511.XA CN109522211B (en) 2018-09-29 2018-09-29 Interface parameter transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811152511.XA CN109522211B (en) 2018-09-29 2018-09-29 Interface parameter transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109522211A true CN109522211A (en) 2019-03-26
CN109522211B CN109522211B (en) 2023-07-18

Family

ID=65771587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811152511.XA Active CN109522211B (en) 2018-09-29 2018-09-29 Interface parameter transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109522211B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189508A (en) * 2021-04-14 2022-03-15 郑州华润燃气股份有限公司 Weekly checking system and method for gas meter

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050187930A1 (en) * 2004-02-19 2005-08-25 Oracle International Corporation Integration functionality for a test tool for application programming interfaces
US9021443B1 (en) * 2013-04-12 2015-04-28 Google Inc. Test automation API for host devices
CN105138461A (en) * 2015-09-23 2015-12-09 网易(杭州)网络有限公司 Interface testing method and device for application program
CN105224461A (en) * 2015-10-23 2016-01-06 网易(杭州)网络有限公司 A kind of generation method and apparatus of integration testing use-case
CN105302709A (en) * 2014-07-03 2016-02-03 阿里巴巴集团控股有限公司 Test data generating method and device
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN107301122A (en) * 2017-05-10 2017-10-27 深圳市小牛在线互联网信息咨询有限公司 interface test method, device, storage medium and computer equipment
CN107391379A (en) * 2017-07-28 2017-11-24 武汉斗鱼网络科技有限公司 Interface automatic test approach and device
CN107832227A (en) * 2017-11-24 2018-03-23 平安科技(深圳)有限公司 Interface parameters method of testing, device, equipment and the storage medium of operation system
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium
CN107908485A (en) * 2017-10-26 2018-04-13 中国平安人寿保险股份有限公司 Interface parameters transmission method, device, equipment and computer-readable recording medium
CN108153670A (en) * 2017-11-30 2018-06-12 北京奇艺世纪科技有限公司 A kind of interface test method, device and electronic equipment
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050187930A1 (en) * 2004-02-19 2005-08-25 Oracle International Corporation Integration functionality for a test tool for application programming interfaces
US9021443B1 (en) * 2013-04-12 2015-04-28 Google Inc. Test automation API for host devices
CN105302709A (en) * 2014-07-03 2016-02-03 阿里巴巴集团控股有限公司 Test data generating method and device
CN105138461A (en) * 2015-09-23 2015-12-09 网易(杭州)网络有限公司 Interface testing method and device for application program
CN105224461A (en) * 2015-10-23 2016-01-06 网易(杭州)网络有限公司 A kind of generation method and apparatus of integration testing use-case
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN107301122A (en) * 2017-05-10 2017-10-27 深圳市小牛在线互联网信息咨询有限公司 interface test method, device, storage medium and computer equipment
CN107391379A (en) * 2017-07-28 2017-11-24 武汉斗鱼网络科技有限公司 Interface automatic test approach and device
CN107908485A (en) * 2017-10-26 2018-04-13 中国平安人寿保险股份有限公司 Interface parameters transmission method, device, equipment and computer-readable recording medium
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium
CN107832227A (en) * 2017-11-24 2018-03-23 平安科技(深圳)有限公司 Interface parameters method of testing, device, equipment and the storage medium of operation system
CN108153670A (en) * 2017-11-30 2018-06-12 北京奇艺世纪科技有限公司 A kind of interface test method, device and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Z CHENG等: "Automatic parameter recommendation for practical API usage", 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) *
叶波等: "软件接口自动化测试技术研究与实现", 《信息化研究》 *
林萍: "数据分层的接口自动化测试框架设计与应用", 《信息技术》 *
蒋灵仙: "基于 Testng 的 Web 接口测试的自动化框架设计与实现", 中国优秀硕士学位论文全文数据库 信息科技辑 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189508A (en) * 2021-04-14 2022-03-15 郑州华润燃气股份有限公司 Weekly checking system and method for gas meter
CN114189508B (en) * 2021-04-14 2024-04-26 郑州华润燃气股份有限公司 Week checking system and method for gas meter

Also Published As

Publication number Publication date
CN109522211B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
Young Digital signal integrity: modeling and simulation with interconnects and packages
CA3033859C (en) Method and system for automatically extracting relevant tax terms from forms and instructions
CN104246759B (en) Application programming interfaces testing service
CN109558525B (en) Test data set generation method, device, equipment and storage medium
CN107391500A (en) Text interpretation method, device and equipment
CN109359026A (en) Log reporting method, device, electronic equipment and computer readable storage medium
CN108073429B (en) Payment mode configuration method, device, equipment and storage medium
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
CN109542757A (en) Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN110851136A (en) Data acquisition method and device, electronic equipment and storage medium
JP2023036681A (en) Task processing method, processing device, electronic equipment, storage medium, and computer program
CN115599359A (en) Code generation method, device, equipment and medium
CN111625567A (en) Data model matching method, device, computer system and readable storage medium
CN102929596A (en) Code checking method and device
CN114168149A (en) Data conversion method and device
CN109828759A (en) Code compiling method, device, computer installation and storage medium
CN117093619A (en) Rule engine processing method and device, electronic equipment and storage medium
CN109522211A (en) Interface parameters transmission method, device, electronic equipment and storage medium
CN111124883A (en) Test case library introduction method, system and equipment based on tree form
CN113792232B (en) Page feature calculation method, page feature calculation device, electronic equipment, page feature calculation medium and page feature calculation program product
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
CN113642295B (en) Page typesetting method, device and computer program product
US20160070564A1 (en) Dynamically schematized log messages for software applications
CN108241607A (en) Automatically imported method, server and the storage medium of test of heuristics case
CN109783134B (en) Front-end page configuration method and device and electronic equipment

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