CN108614776A - Across the dynamic fixing method and system of language protocol test request - Google Patents

Across the dynamic fixing method and system of language protocol test request Download PDF

Info

Publication number
CN108614776A
CN108614776A CN201810417995.XA CN201810417995A CN108614776A CN 108614776 A CN108614776 A CN 108614776A CN 201810417995 A CN201810417995 A CN 201810417995A CN 108614776 A CN108614776 A CN 108614776A
Authority
CN
China
Prior art keywords
dynamic
user
remote
parameter
test request
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
CN201810417995.XA
Other languages
Chinese (zh)
Other versions
CN108614776B (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.)
Elongnet Information Technology Beijing Co Ltd
Original Assignee
Elongnet Information Technology Beijing 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 Elongnet Information Technology Beijing Co Ltd filed Critical Elongnet Information Technology Beijing Co Ltd
Priority to CN201810417995.XA priority Critical patent/CN108614776B/en
Publication of CN108614776A publication Critical patent/CN108614776A/en
Application granted granted Critical
Publication of CN108614776B publication Critical patent/CN108614776B/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/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This disclosure relates to which a kind of dynamic fixing method and system across language protocol test request, the described method comprises the following steps:1, each remote method information of remote service category information and each remote service class is configured, configuration file is formed;2, the list of each remote method for calling is shown according to configuration file, dynamic generation and to user;3, the remote method selected from list according to remote service class and user determines remote service class based on configuration file, parses parameter information from interface document, and according to parameter information dynamic generation and to user's display parameters list;4, the required parameter selected from parameter list according to user, dynamic generation and to user's display parameters input interface, user inputted in parameter input interface needed for parameter content;5, according to the particular content of required parameter input by user, across language protocol test request is formed, remote method is called by across language protocol test request;6, it shows the implementing result structuring received and to user.

Description

Across the dynamic fixing method and system of language protocol test request
Technical field
The present invention relates to computer program testing technical field more particularly to a kind of dynamics across language protocol test request Construction method.
Background technology
Currently, based on across the development project (for example, be based on Thrift and protobuf) of language service, there are following Common issue:1, structure is huge;2, structure attribute is more;3, layer of structure is complicated.To in exploitation debugging or software test The construction of Cheng Zhong, client request seem more difficult.
At present in industry, across language protocol client request construction there is a problem in that:
1, without being supported as supporting the public tool (such as postman, restclient) increased income of http agreements Thrift and protobuf;
2, using python scripts, the request of java code constructs, and pattern is all local type, cannot accomplish to share, local The request of formula can also be related to the support of thrift environment, the processes such as installation of language jdk;
3, interface document changes, and the process that script is changed in local compiling again is required for need different parameters every time Script is changed repeatedly;
4, the universal pattern based on the construction request of the html pages can be undergone if interface document changes and compiles, changes again The html pages, the request of modification server-side, assembled parameter process;
5, according to interface attributes, search top level architecture body, reversely from level to level according to Interface Definition Document, not intuitively, and It takes;
If 6, interface document becomes more times, the page, script, server request code are required for repeatedly such step Suddenly.
If 7, increasing thrift interface methods newly, need to develop again, new added pages, increases client request newly and realize.
Fig. 1 is a kind of schematic diagram of existing scheme.As shown in Figure 1, the change of interface document or new introducing thrift texts Part is required for developing, safeguard again that cost is big again.It is assumed that single workload is m, then the modification cost that n times change future is M × n times.Wherein, the workload m is related to following work:Compiling;New Remote call method;The newly-increased or modification page;web It is corresponding with remote requesting entity that end modification receives parameter;Initiate far call.
Invention content
In view of the above problem of the prior art, it is contemplated that the present invention, is related to a kind of across language testing request The method and system of body dynamic construction, wherein according to specified method, the request body of certain format is generated, dynamic masterplate is given, Dynamic masterplate is selected according to user, dynamic generation page-tag, is assembled request data, is sent to server and asks.
According to an embodiment of the invention, a kind of dynamic fixing method across language protocol test request is provided, including with Lower step:Each remote method information of step 1, configuration remote service category information and each remote service class forms configuration File;Step 2, the list that each remote method for calling is shown according to configuration file, dynamic generation and to user;Step 3, the remote method selected from the list according to user determines remote service class based on configuration file, and from interface document In parse parameter information needed for across language protocol test request, and according to the parameter information, dynamic generation and to user Show alternative parameter list;Step 4, the required parameter selected from the parameter list according to user, dynamic generation And to user's display parameters input interface, user inputs the particular content of required parameter in the parameter input interface;Step 5, according to the particular content of required parameter input by user, across language protocol test request is formed, by described across language protocol Test request calls the remote method;Step 6 is shown the implementing result structuring received and to user.
According to an embodiment of the invention, a kind of dynamic construction system across language protocol test request is additionally provided, including Configuration component, dynamic analysis component, dynamic web page template component and dynamic remote invocation component, the configuration component are used for Each remote method information of remote service category information and each remote service class is configured according to interface document, forms configuration File, the dynamic web page masterplate component are shown according to configuration file, dynamic generation and to user for each long-range of calling The list of method, the remote method that the dynamic analysis component is used to be selected from the list according to user, based on configuration text Part determines remote service class, and the parameter information needed for across language protocol test request is parsed from the interface document, and The dynamic web page masterplate component is sent it to, the dynamic web page masterplate component is additionally operable to, according to the parameter information, move State generates and shows alternative parameter list, and the required ginseng selected from the parameter list according to user to user Number, dynamic generation and to user's display parameters input interface, dynamic remote invocation component is used for according to required ginseng input by user Several particular contents forms across language protocol test request, and the remote parties are called by across the language protocol test request Method, and the implementing result of the remote method is received, the dynamic web page masterplate component is additionally operable to the implementing result format Change, and sends it to the dynamic web page masterplate component, the dynamic web page masterplate component dynamic generation result display interface And it is shown to user.
Beneficial effects of the present invention essentially consist in:
1, across language request structuring displaying, it is clear;
2, the new remote method of seamless access, the change that interface defines not need additionally to develop far call workload, With the workload for generating the page;
3, across language request shared model is called.
Description of the drawings
Fig. 1 is the principle schematic for the request construction method for showing the prior art;
Fig. 2 is the functional group for showing the dynamic construction system according to an embodiment of the invention across language protocol test request Part schematic diagram;
Fig. 3 is the schematic diagram for the parameter selection interface for showing dynamic construction according to an embodiment of the invention;
Fig. 4 is the schematic diagram for the parameter input interface for showing dynamic construction according to an embodiment of the invention;
Fig. 5 is to show that the flow of the dynamic fixing method according to an embodiment of the invention across language protocol test request is shown It is intended to.
Fig. 6 shows the running environment of the system according to the ... of the embodiment of the present invention for being mounted with application program.
Specific implementation mode
It will be appreciated by those of skill in the art that although the following description is related to many of embodiment for the present invention Technical detail, but be only for not meaning that any restrictions for illustrating the example of the principle of the present invention.The present invention can be applicable in In different from the occasion except technical detail exemplified below, without departing from the principle and spirit of the invention.
It, may pair can be in description in the present specification in addition, tedious in order to avoid making the description of this specification be limited to The portion of techniques details obtained in prior art data has carried out the processing such as omission, simplification, accommodation, this technology for this field It will be understood by for personnel, and this does not interfere with the open adequacy of this specification.
In the following, being described in further detail to the implementation of technical solution in conjunction with attached drawing.
1, inventive principle is summarized
First, the concept of Thrift and protobuf frames according to the present invention is introduced.
Thrift is a service arrangement frame across language, initially by Facebook in 2007 develop, 2008 into Enter Apache open source projects.Thrift defines the interface sum number of RPC by an intermediate language (IDL, Interface Definition Language) According to type, then by compiler generate different language code (support C++, Java, Python, PHP, Ruby at present, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk and OCaml), and the code by generating be responsible for RPC protocol layers and The realization of transport layer.
Thrift realizes C/S model, and Interface Definition Document is generated server by Code Generator End and client code (can be different language), to realize the support of server-side and client across language.User exists Thirft describes to state the service of oneself in file, these services can generate the code file of corresponding language after compiling, so User realizes that service (client call service, server end propose service) can afterwards.Wherein protocol (protocol layer, it is fixed Adopted data transmission format can be binary system or XML etc.) and transport (transport layer, definition data transfer mode can be with Transmitted for TCP/IP, memory sharing or file-sharing etc.) it is used as run-time library.Thrift supports binary system, compresses lattice The serializing of formula and json formatted datas and unserializing.
Protobuf is the serializing frame of increasing income that Google is provided, and is similar to XML, data indicate as JSON Language, maximum feature are to be based on binary system, therefore indicate efficiently much short and small than traditional XML.Although binary number According to format, but there is no therefore becoming complicated, very easily it can be extended based on binary agreement, and very square Just the version that the protocol-compliant of new version can be allowed old.If xml is too too fat to move, json is easily parsed, more more efficient than xml, is easily expanded Exhibition, then protobuf it can be said that more efficient relative to json, is more easy to extend, and the confidentiality of agreement is stronger.And Protobuf is can to support the mainstream speeches such as c (c++), java, python, the design of very convenient big system across language. Protobuf also has service, interface and readjustment that can be based on its service, to complete the logic of client and server.
2, across the dynamic construction system of language protocol test request
In an embodiment of the present invention, thrift and protobuf document changes only need to compile, real without writing code again Now with the communication means of server.The client class of languages after compiling need to only be configured.
The page can with when open up in fact structuring show thrift ask body change.
The page can when grow directly from seeds into html control pieces, receive user input data, the tectonic styleization that connects request is sent to clothes Business device.
Above-mentioned variation need not develop again, change code or all increase page elements.
Fig. 2 is the functional group for showing the dynamic construction system according to an embodiment of the invention across language protocol test request Part schematic diagram.
It should be noted that Fig. 2 is only the schematic diagram of the general logic function of system, practical business flow is combined And draw, wherein the division of modules is not stringent accurate, this is because the system and module do not mean that hardware reality It is existing, the concept of software view is can also refer to, may exist cross-call relationship between modules, on stricti jurise and dependent Work is actually also difficult to correspond each step in modules and operation flow.Therefore, those skilled in the art Member is completely it is appreciated that Fig. 1 only is used for helping to understand the design summary of the present invention, and is not intended to limit the present invention and embodiment Range, the specific technical solution of the embodiment of the present invention is subject to the verbal description of specification.
As shown in Fig. 2, as working environment, the dynamic structure according to an embodiment of the invention across language protocol test request It includes configuration component S1, dynamic analysis component S2, dynamic web page template component S3, dynamic remote invocation component to build system mainly S4。
Wherein, the configuration component S1 is used for according to clean interface file configuration RPC service class name, wherein example arrangement Process (being based on Java) is as follows:
Option Java_pakage= “com.elong.hotel.da.protobuf.rpcservice.DaRpcService”;
Option Java_outer_classnamee=" DaRpcService ";
In this way, can be with the RPC service class name postponed:
com.elong.hotel.da.protobuf.rpcservice.DaRpcService
Meanwhile the configuration component S1 be additionally operable to configuration remote parties religious name, that is, be locally configured RPC service class under for Whole remote parties religious names of far call, for example, method name can be ParseQuery.
The configuration component S1 generates the configuration file comprising remote parties religious name and RPC service class name as a result,.
Wherein, dynamic web page masterplate component S3 is shown on method choice interface for each long-range of calling for dynamic The title of method, to select one of remote method by user.User can be easily in method choice interface as a result, It checks all methods and selects to need method to be tested, without artificial enquiry clean interface file.
The dynamic analysis component S2 from configuration file for determining the RPC service class name belonging to remote method, and base In the remote parties religious name of user's selection, parameter needed for thrift requests is obtained from interface document and (includes the parameter of parameters Name, data type) and it is shown to user in a structured manner.
Specifically, the dynamic analysis component S2 is according to the RPC service class name and remote parties religious name, from clean interface text Parameter needed for corresponding thrift request is parsed by analysis request structure (AS2DA_Querys) in part, and by its It is assembled into the parameter information of json formats, is then sent to dynamic web page masterplate component S3.
For example, as shown in figure 3, method name ParseQuery here and the clean interface in configuration component S1 configurations Definition in file is consistent.
Dynamic web page masterplate component S3 is used for the parameter letter according to the json formats for coming from the dynamic analysis component S2 Breath generates parameter selection interface, such as the html pages, wherein format (for example, with list mode) show it is right needed for RPC interfaces Answer parameter name and parameter type, user thus can parameter needed for unrestricted choice, for example, being chosen from the list of Fig. 3 several Required parameter.User can easily check whole optional parameters in parameter selection interface and select required parameter as a result, Carry out Selecting All Parameters without artificial enquiry clean interface file and for example, by writing the modes such as code.
Later, user can click " request (request) " button on interactive interface, into parameter input interface, such as Fig. 4 It is shown.
In parameter input interface, ginseng that dynamic web page masterplate component S3 is selected according to user in parameter selection interface Number, the relevant parameter input control of dynamic generation, such as including Text Entry, drop-down selection menus, etc..In this way, due to Dynamic web page masterplate component S3 can be selected by dynamically displaying user parameter input frame (having filtered out irrelevant information), user can Easily all kinds of parameters selected before input, and test request is sent to RPC service device clicking the rear of submission, without logical It crosses the mode such as writing code and is passed to parameter to the relevant interface of RPC service device.
Later, dynamic remote invocation component S4 is according to the request input by user submitted via dynamic web page masterplate component S3 Parameter calls the corresponding method of RPC service, and implementing result structuring/formatting that RPC service device is returned automatically, such as It is converted into Json, shows RPC service interface response results to user in result display interface from dynamic web page masterplate component S3, As shown in Figure 4.
In addition, different embodiments of the invention by software module or can also be stored in one or more computer-readable The mode of computer-readable instruction on medium is realized, wherein the computer-readable instruction is when by processor or equipment group When part executes, different embodiment of the present invention is executed.Similarly, software module, computer-readable medium and Hardware Subdivision The arbitrary combination of part is all expected from the present invention.The software module can be stored in any type of computer-readable storage On medium, such as RAM, EPROM, EEPROM, flash memory, register, hard disk, CD-ROM, DVD etc..
3, across the dynamic fixing method of language protocol test request
Fig. 5 is to show that the flow of the dynamic fixing method according to an embodiment of the invention across language protocol test request is shown It is intended to.
As shown in figure 5, the following steps that the method includes being executed by above-mentioned dynamic construction system:
Step S100, according to each remote of clean interface file configuration RPC service category information and each RPC service class Cheng Fangfa information forms configuration file;
Wherein, the RPC service category information includes whole remote parties religious names under RPC service class name, RPC service class, institute It includes remote method name, relevant parameter name, parameter type etc. to state remote method information.
Step S200, the row of each remote method for calling are shown according to configuration file, dynamic generation and to user Table;
Optionally, the list that all RPC service classes for test can be also shown to user, some is first selected by user RPC service class further shows the list of each remote method under the RPC service class for calling to user, finally by User selects the remote method for needing to call;
Step S300, the remote method selected from the list according to user determines RPC service based on configuration file Class, and the parameter information needed for across language protocol test request is parsed from interface document, and according to the parameter information, move State generates and shows alternative parameter list to user.
Wherein, the parameter information includes the parameter name of parameters, data type etc.;
Specifically, the remote method selected according to the RPC service class name of the RPC service class and user it is remote Journey method name is parsed from clean interface file by analysis request structure (AS2DA_Querys) corresponding across language It says parameter needed for protocol test request, and assembles them into the parameter information of json formats, right rear line shows the parameter Name list;
Step S400, the required parameter (title) selected from the parameter list according to user, to user's Dynamic Announce Parameter input interface, user input the particular content of required parameter in the parameter input interface;
In parameter input interface, ginseng that dynamic web page masterplate component S3 is selected according to user in parameter selection interface Number, the relevant parameter input control of dynamic generation, such as including Text Entry, drop-down selection menus, etc..
Step S500, the particular content of the required parameter inputted in the parameter input interface according to user, formed across Language protocol test request calls the remote method by across the language protocol test request;
Step S600, it shows by the implementing result structuring of the RPC service device for executing remote method return and to user Show.
It can be seen that by the above method, user (including tester and developer) can be in system platform with can Depending on the friendly interactive mode of change, selects RPC service class and need the remote method called, select and input required parameter, and Remote method can be called via system remote, check and return the result, to it is more efficient, easily complete across language protocol test and ask It asks.
3, the system according to an embodiment of the invention for being mounted with application program
With reference to Fig. 5, it illustrates the running environment of the system according to the ... of the embodiment of the present invention for being mounted with application program.
In the present embodiment, the system of the installation application program is installed and is run in electronic device.The electronics Device can be the computing devices such as desktop PC, notebook, palm PC and server.The electronic device may include but not It is limited to memory, processor and display.Fig. 4 illustrates only the electronic device with said modules, it should be understood that simultaneously All components shown realistic are not applied, the implementation that can be substituted is more or less component.
The memory can be the internal storage unit of the electronic device, such as electronics dress in some embodiments The hard disk or memory set.The memory can also be the External memory equipment of the electronic device in further embodiments, Such as the plug-in type hard disk being equipped on the electronic device, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the memory can also both include institute The internal storage unit for stating electronic device also includes External memory equipment.The memory is installed on the electronics dress for storing The application software and Various types of data set, for example, it is described installation application program system program code etc..The memory may be used also For temporarily storing the data that has exported or will export.
The processor can be in some embodiments central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, for running the program code stored in the memory or processing data, Such as execute the system etc. of the installation application program.
The display can be in some embodiments light-emitting diode display, liquid crystal display, touch-control liquid crystal display with And OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..The display is for showing Show the information handled in the electronic device and for showing visual customer interface, such as application menu interface, answers With icon interface etc..The component of the electronic device is in communication with each other by system bus.
Through the above description of the embodiments, those skilled in the art is it will be clearly understood that the above embodiment In method the mode of required general hardware platform can be added to realize by software, naturally it is also possible to realized by hardware, But the former is more preferably embodiment in many cases.Based on this understanding, the technical solution of the application of the present invention is substantially The part that contributes to existing technology can be expressed in the form of software products in other words, which deposits Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can To be mobile phone, computer, server, air conditioner or the network equipment etc.) it executes described in each embodiment of the application of the present invention Method.
That is, according to an embodiment of the invention, additionally providing a kind of computer readable storage medium, the computer The program for executing method according to an embodiment of the invention is stored on readable storage medium storing program for executing, described program is held by processor When row, execute the method the step of.
By upper, it will be appreciated that for illustrative purposes, specific embodiments of the present invention are described herein, still, can make Each modification, without departing from the scope of the present invention.It will be apparent to one skilled in the art that drawn in flow chart step or this In the operation that describes and routine can be varied in many ways.More specifically, the order of step can be rearranged, step can be executed parallel Suddenly, step can be omitted, it may include other steps can make the various combinations or omission of routine.Thus, the present invention is only by appended power Profit requires limitation.

Claims (10)

1. a kind of dynamic fixing method across language protocol test request, it is characterised in that include the following steps:
Step 1 configures remote service category information and each remote method letter of each remote service class according to interface document Breath forms configuration file;
Step 2, the list that each remote method for calling is shown according to configuration file, dynamic generation and to user;
Step 3, the remote method selected from the list according to user determine remote service class based on configuration file, and from The parameter information needed for across language protocol test request is parsed in the interface document, and according to the parameter information, dynamic It generates and shows alternative parameter list to user;
Step 4, the required parameter selected from the parameter list according to user, dynamic generation are simultaneously inputted to user's display parameters Interface, user input the particular content of required parameter in the parameter input interface;
Step 5, according to the particular content of required parameter input by user, form across language protocol test request, by it is described across Language protocol test request calls the remote method;
Step 6 is shown the implementing result structuring received and to user.
2. the dynamic fixing method according to claim 1 across language protocol test request, which is characterized in that step 2 is wrapped Include following steps:
Step 2-1, the list that all remote service classes for test are shown to user, some remote service is selected by user Class;
Step 2-2, dynamic generation and the list of each remote method under selected remote service class for calling is shown to user, The remote method for needing to call is selected by user again.
3. the dynamic fixing method according to claim 1 across language protocol test request, which is characterized in that the parameter Information includes one of the following or multiple:The parameter name of parameters, data type, value range, meaning of parameters explanation.
4. the dynamic fixing method according to claim 1 across language protocol test request, which is characterized in that in the ginseng In number input interface, according to the parameter selected in user, the relevant parameter input control of dynamic generation, including radio box, final election At least one of frame, Text Entry, drop-down selection menus.
5. the dynamic fixing method according to claim 1 across language protocol test request, which is characterized in that in step 6 In, the method implementing result returned from remote server is formatted, and is shown to user in result display interface.
6. the dynamic fixing method according to claim 1 across language protocol test request, which is characterized in that in step 3 In, after parsing the parameter information needed for across language protocol test request in interface document, by the parameter information format Change, dynamic generation and show alternative parameter list to user later,
Wherein, the list of the remote method, the parameter list, the parameter input interface are to show in a browser Webpage.
7. for realizing according to any of claim 1 to 6 across the dynamic construction side of language protocol test request The dynamic construction system of method, which is characterized in that the dynamic construction system includes configuration component, dynamic analysis component, Dynamic Networks Page template component and dynamic remote invocation component,
The configuration component is used to configure each remote of remote service category information and each remote service class according to interface document Cheng Fangfa information forms configuration file,
The dynamic web page masterplate component shows each remote parties for calling according to configuration file, dynamic generation and to user The list of method,
The remote method that the dynamic analysis component is used to be selected from the list according to user is determined remote based on configuration file Journey services class, and the parameter information needed for across language protocol test request is parsed from the interface document, and is sent to To the dynamic web page masterplate component,
The dynamic web page masterplate component is additionally operable to show according to the parameter information, dynamic generation and to user alternative Parameter list, and the required parameter selected from the parameter list according to user, dynamic generation are simultaneously defeated to user's display parameters Enter interface,
Dynamic remote invocation component is used for the particular content according to required parameter input by user, forms across language protocol test and asks It asks, the remote method is called by across the language protocol test request, and receive the implementing result of the remote method,
The dynamic web page masterplate component is additionally operable to format the implementing result, and sends it to the dynamic web page mould Version component, the dynamic web page masterplate component dynamic generation result display interface are simultaneously shown to user.
8. the dynamic construction system according to claim 7 across language protocol test request, which is characterized in that described across language Say that protocol test request is based on thrift and/or protobuf frames.
9. the dynamic construction system according to claim 7 across language protocol test request, which is characterized in that the dynamic Parsing masterplate component is additionally operable to the parameter information being formatted as JSON formats, and sends it to the dynamic web page masterplate Component.
10. the dynamic construction system according to claim 9 across language protocol test request, which is characterized in that described dynamic State far call component is additionally operable to the implementing result being formatted as JSON formats, and is sent to the dynamic web page masterplate group Part.
CN201810417995.XA 2018-05-04 2018-05-04 Dynamic construction method and system for cross-language protocol test request Active CN108614776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810417995.XA CN108614776B (en) 2018-05-04 2018-05-04 Dynamic construction method and system for cross-language protocol test request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810417995.XA CN108614776B (en) 2018-05-04 2018-05-04 Dynamic construction method and system for cross-language protocol test request

Publications (2)

Publication Number Publication Date
CN108614776A true CN108614776A (en) 2018-10-02
CN108614776B CN108614776B (en) 2021-08-31

Family

ID=63662064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810417995.XA Active CN108614776B (en) 2018-05-04 2018-05-04 Dynamic construction method and system for cross-language protocol test request

Country Status (1)

Country Link
CN (1) CN108614776B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032458A (en) * 2019-04-12 2019-07-19 重庆天蓬网络有限公司 A kind of across language unity calling system of PHP
CN110058864A (en) * 2019-04-18 2019-07-26 成都四方伟业软件股份有限公司 The dispositions method and device of micro services
CN110278144A (en) * 2019-05-21 2019-09-24 北京字节跳动网络技术有限公司 A kind of card message method, device, medium and electronic equipment
CN110430222A (en) * 2019-09-12 2019-11-08 北京许继电气有限公司 A kind of service interface implementation method based on protocol mode
CN110489323A (en) * 2019-07-09 2019-11-22 北京字节跳动网络技术有限公司 Visual RPC API adjustment method, device, medium and equipment
CN110554865A (en) * 2019-09-10 2019-12-10 联想(北京)有限公司 Visual programming method, device, computing equipment and medium
CN111752820A (en) * 2019-03-29 2020-10-09 上海哔哩哔哩科技有限公司 Pressure testing method of gPC interface, computer equipment and storage medium
CN111866047A (en) * 2019-04-30 2020-10-30 北京达佳互联信息技术有限公司 Data decoding method and device, computer equipment and storage medium
CN111930534A (en) * 2020-07-29 2020-11-13 北京字节跳动网络技术有限公司 Data calling method and device and electronic equipment
CN112199219A (en) * 2020-11-17 2021-01-08 南开大学 Cross-language operation remote calling method
CN112765023A (en) * 2021-01-19 2021-05-07 上海幻电信息科技有限公司 Test case generation method and device
CN113630295A (en) * 2021-08-17 2021-11-09 网易(杭州)网络有限公司 Protocol testing method and device
CN113704087A (en) * 2021-07-09 2021-11-26 奇安信科技集团股份有限公司 File service testing method and device of cross-domain transmission equipment and electronic equipment
CN114124748A (en) * 2021-10-15 2022-03-01 青岛海尔科技有限公司 Hypertext transfer protocol interface debugging tool and method based on IDEA platform
WO2024055890A1 (en) * 2022-09-15 2024-03-21 International Business Machines Corporation Auto-wrappering tools with guidance from exemplar commands

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110072231A1 (en) * 2009-09-21 2011-03-24 Samsung Electronics Co., Ltd. Device, method and computer-readable medium relocating remote procedure call data in heterogeneous multiprocessor system on chip
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105630517A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Configuration information setting method, configuration information setting device and communication system
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN106648940A (en) * 2017-03-13 2017-05-10 北京百悟科技有限公司 Remote procedure call method and device
CN106919509A (en) * 2017-03-09 2017-07-04 腾讯科技(深圳)有限公司 A kind of client generation method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110072231A1 (en) * 2009-09-21 2011-03-24 Samsung Electronics Co., Ltd. Device, method and computer-readable medium relocating remote procedure call data in heterogeneous multiprocessor system on chip
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105630517A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Configuration information setting method, configuration information setting device and communication system
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN106919509A (en) * 2017-03-09 2017-07-04 腾讯科技(深圳)有限公司 A kind of client generation method, device and electronic equipment
CN106648940A (en) * 2017-03-13 2017-05-10 北京百悟科技有限公司 Remote procedure call method and device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752820B (en) * 2019-03-29 2024-01-19 上海哔哩哔哩科技有限公司 gRPC interface pressure test method, computer equipment and storage medium
CN111752820A (en) * 2019-03-29 2020-10-09 上海哔哩哔哩科技有限公司 Pressure testing method of gPC interface, computer equipment and storage medium
CN110032458B (en) * 2019-04-12 2020-07-10 重庆天蓬网络有限公司 PHP cross-language unified calling system
CN110032458A (en) * 2019-04-12 2019-07-19 重庆天蓬网络有限公司 A kind of across language unity calling system of PHP
CN110058864B (en) * 2019-04-18 2023-08-22 成都四方伟业软件股份有限公司 Micro-service deployment method and device
CN110058864A (en) * 2019-04-18 2019-07-26 成都四方伟业软件股份有限公司 The dispositions method and device of micro services
CN111866047A (en) * 2019-04-30 2020-10-30 北京达佳互联信息技术有限公司 Data decoding method and device, computer equipment and storage medium
CN111866047B (en) * 2019-04-30 2023-07-07 北京达佳互联信息技术有限公司 Data decoding method, device, computer equipment and storage medium
CN110278144B (en) * 2019-05-21 2021-09-14 北京字节跳动网络技术有限公司 Card message sending method, device, medium and electronic equipment
CN110278144A (en) * 2019-05-21 2019-09-24 北京字节跳动网络技术有限公司 A kind of card message method, device, medium and electronic equipment
CN110489323B (en) * 2019-07-09 2023-04-25 北京字节跳动网络技术有限公司 Visual RPC API debugging method, device, medium and equipment
CN110489323A (en) * 2019-07-09 2019-11-22 北京字节跳动网络技术有限公司 Visual RPC API adjustment method, device, medium and equipment
CN110554865A (en) * 2019-09-10 2019-12-10 联想(北京)有限公司 Visual programming method, device, computing equipment and medium
CN110430222A (en) * 2019-09-12 2019-11-08 北京许继电气有限公司 A kind of service interface implementation method based on protocol mode
CN111930534A (en) * 2020-07-29 2020-11-13 北京字节跳动网络技术有限公司 Data calling method and device and electronic equipment
CN112199219A (en) * 2020-11-17 2021-01-08 南开大学 Cross-language operation remote calling method
CN112765023B (en) * 2021-01-19 2023-10-03 上海幻电信息科技有限公司 Test case generation method and device
CN112765023A (en) * 2021-01-19 2021-05-07 上海幻电信息科技有限公司 Test case generation method and device
CN113704087A (en) * 2021-07-09 2021-11-26 奇安信科技集团股份有限公司 File service testing method and device of cross-domain transmission equipment and electronic equipment
CN113704087B (en) * 2021-07-09 2024-01-19 奇安信科技集团股份有限公司 File service testing method and device of cross-domain transmission equipment and electronic equipment
CN113630295A (en) * 2021-08-17 2021-11-09 网易(杭州)网络有限公司 Protocol testing method and device
CN114124748A (en) * 2021-10-15 2022-03-01 青岛海尔科技有限公司 Hypertext transfer protocol interface debugging tool and method based on IDEA platform
CN114124748B (en) * 2021-10-15 2024-04-19 青岛海尔科技有限公司 Device and method for debugging hypertext transfer protocol interface based on IDEA platform
WO2024055890A1 (en) * 2022-09-15 2024-03-21 International Business Machines Corporation Auto-wrappering tools with guidance from exemplar commands
US12020007B2 (en) 2022-09-15 2024-06-25 International Business Machines Corporation Auto-wrappering tools with guidance from exemplar commands

Also Published As

Publication number Publication date
CN108614776B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN108614776A (en) Across the dynamic fixing method and system of language protocol test request
US10592319B2 (en) API notebook tool
US10628132B2 (en) Inversion of control framework for multiple behaviors of a process
US7756905B2 (en) System and method for building mixed mode execution environment for component applications
US8943463B2 (en) Method and apparatus for representing and configuring flexible and extensible presentation patterns
US7509649B2 (en) System and method for conversion of generic services' applications into component based applications for devices
US8694968B2 (en) System for creating personalized and customized mobile devices
US7814404B2 (en) System and method for applying workflow of generic services to component based applications for devices
US9395956B2 (en) Declarative representation of networked applications
US9645989B2 (en) Techniques to generate custom electronic forms using custom content
De Farias et al. COMFIT: A development environment for the Internet of Things
US8615750B1 (en) Optimizing application compiling
CN105138448A (en) Method and device for page test at front end
AU2008332701A1 (en) Templating system and method for updating content in real time
US20160085662A1 (en) Web portal api test report generation
US20120089931A1 (en) Lightweight operation automation based on gui
CN106997298A (en) A kind of application resource acquisition methods and device
US20200125336A1 (en) System and method for enhancing component based development models with auto-wiring
Naily et al. A framework for modelling variable microservices as software product lines
CN109271160A (en) Active rule construction method, device and computer system, medium
Miravet et al. Framework for the declarative implementation of native mobile applications
Herbold et al. Combining usage-based and model-based testing for service-oriented architectures in the industrial practice
US20180074799A1 (en) Integration for next-generation applications
Wanderley et al. MBA: A system of systems architecture model for supporting collaborative work
US20220035606A1 (en) System and method for tailoring a customizer for integration process modeling visual element to a domain specific language for business integrations

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhou Tingting

Inventor after: Jiang Hao

Inventor before: Jiang Hao

GR01 Patent grant
GR01 Patent grant